2ac8b8a6356a998414dc6282f274cbd147be7948
[platform/upstream/glibc.git] / ChangeLog
1 2014-07-09  Will Newton  <will.newton@linaro.org>
2
3         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
4         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7         * sysdeps/hppa/start.S (_start): Likewise.
8
9 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
10
11         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
12
13         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
14         defined.
15
16 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17
18         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
19         after checking that it is non-NULL.
20
21         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
22
23 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24
25         * sysdeps/powerpc/memmove.c: Remove file.
26         * sysdeps/powerpc/powerpc32/power4/memcopy.h
27         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
28         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
30         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
31         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
32         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
33         string memmove instead of removed powerpc one.
34
35         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36         [weak_alias]: Fix compiler warning due trailing data.
37         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
38         [weak_alias]: Likewise.
39         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
40         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
41
42         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43         (__libc_ifunc_impl_list): Add memmove functions.
44
45 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46
47         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
48         Remove code.
49         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
50         Likewise
51         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
52         Likewise
53         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
54         Likewise
55         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
56         Likewise
57         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
58         Likewise
59         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
60         Likewise
61         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
62         Likewise
63         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
64         Likewise
65         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
66         Likewise
67         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
68         Likewise
69         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
70         Likewise
71         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
72         Likewise
73         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
74         Likewise
75         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
76         Likewise
77         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
78         Likewise
79         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
80         Likewise
81
82 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83
84         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
85         to avoid alignment traps in non-cacheable memory.
86         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
87
88         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
89         multiarch objects.
90         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
91         file: multiarch power7 memmove.
92         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
93         multiarch default memmove.
94         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
95         multiarch memove for powerpc32/power4.
96
97         * string/bcopy.c: Use full path to include memmove.c.
98         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
99         multiarch objects.
100         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
101         bcopy for powerpc64.
102         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
103         bcopy for powerpc64.
104         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
105         and memmove implementations.
106         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
107         optimized multiarch memmove for POWER7/powerpc64.
108         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
109         default multiarch memmove for powerpc64.
110         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
111         multiarch for powerpc64.
112         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
113         for POWER7/powerpc64.
114         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
115         memmove for POWER7/powerpc64.
116
117         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
118         glibc default one.
119
120         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
121         __ELF_NATIVE_CLASS equal to 64.
122
123 2014-07-07  Roland McGrath  <roland@hack.frob.com>
124
125         * sysdeps/nptl/lowlevellock.h: File removed.
126
127         * NEWS: NPTL is no longer an add-on!
128         * nptl/internaltypes.h: Moved ...
129         * sysdeps/nptl/internaltypes.h: ... here.
130         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
131         * sysdeps/nptl/fork.c: Likewise.
132         * sysdeps/nptl/gai_misc.h: Likewise.
133         * sysdeps/nptl/librt-cancellation.c: Likewise.
134         * sysdeps/nptl/jmp-unwind.c: Likewise.
135         * sysdeps/nptl/setxid.h: Likewise.
136         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
137         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
138         * sysdeps/unix/sysv/linux/arm/Implies: New file.
139         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
140         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
141         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
142         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
143         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
144         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
145         * sysdeps/unix/sysv/linux/mips/Implies: New file.
146         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
147         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
148         * sysdeps/unix/sysv/linux/sh/Implies: New file.
149         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
150         * sysdeps/unix/sysv/linux/tile/Implies: New file.
151         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
152         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
153         * nptl/Makeconfig: Moved ...
154         * sysdeps/nptl/Makeconfig: ... here.
155         * nptl/configure: File removed.
156         * nptl/ANNOUNCE: File removed.
157         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
158         * sysdeps/unix/sysv/linux/configure: Regenerated.
159
160         * nptl/Makefile (routines): Add libc_pthread_init,
161         libc_multiple_threads, register-atfork and unregister-atfork.
162         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
163         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
164         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
165         pthread-pi-defines.sym, structsem.sym.
166         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
167         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
168         [$(subdir) = nptl] (tests): Add tst-setgetname.
169         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
170         * sysdeps/unix/sysv/linux/sigaction.c: Just include
171         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
172         [!LIBC_SIGACTION]: Remove aliases.
173         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
174         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
175         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
176         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
177         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
178         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
179         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
180         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
181         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
182         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
183         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
184         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
185         __libc_allocate_rtsig_private.
186         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
187         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
188         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
189         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
190         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
191         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
192         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
193         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
194         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
195         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
196         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
197         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
198         * nptl/internaltypes.h: ... here.
199         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
200         * sysdeps/nptl/jmp-unwind.c: ... here.
201         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
202         * nptl/libc-lowlevellock.c: ... here.
203         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
204         * nptl/libc_multiple_threads.c: ... here.
205         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
206         * nptl/libc_pthread_init.c: ... here.
207         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
208         * nptl/lowlevelbarrier.sym: ... here.
209         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
210         * nptl/lowlevelcond.sym: ... here.
211         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
212         * nptl/lowlevellock.c: ... here.
213         * nptl/lowlevellock.h: Moved ...
214         * sysdeps/nptl/lowlevellock.h: ... here.
215         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
216         * nptl/lowlevelrobustlock.c: ... here.
217         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
218         * nptl/lowlevelrobustlock.sym: ... here.
219         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
220         * nptl/lowlevelrwlock.sym: ... here.
221         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
222         * nptl/pt-fork.c: ... here.
223         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
224         * nptl/pthread-pi-defines.sym: ... here.
225         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
226         * nptl/pthread_attr_getaffinity.c: ... here.
227         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
228         * nptl/pthread_attr_setaffinity.c: ... here.
229         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
230         * nptl/pthread_mutex_cond_lock.c: ... here.
231         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
232         Update #include.
233         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
234         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
235         * nptl/pthread_once.c: ... here, replacing old file.
236         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
237         * nptl/pthread_yield.c: ... here.
238         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
239         * nptl/register-atfork.c: ... here.
240         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
241         * nptl/sem_post.c: ... here.
242         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
243         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
244         * nptl/sem_timedwait.c: ... here.
245         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
246         * nptl/sem_trywait.c: ... here.
247         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
248         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
249         * nptl/sem_wait.c: ... here.
250         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
251         * nptl/structsem.sym: ... here.
252         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
253         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
254         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
255         * nptl/unregister-atfork.c: ... here.
256         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
257         * nptl/unwindbuf.sym: ... here.
258         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
259         * sysdeps/nptl/fork.c: ... here.
260         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
261         * sysdeps/nptl/fork.h: ... here.
262         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
263         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
264         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
265         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
266         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
267         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
268         * sysdeps/unix/sysv/linux/getpid.c: ... here.
269         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
270         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
271         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
272         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
273         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
274         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
275         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
276         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
277         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
278         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
279         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
280         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
281         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
282         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
283         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
284         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
285         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
286         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
287         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
288         * sysdeps/unix/sysv/linux/raise.c: ... here.
289         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
290         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
291         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
292         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
293         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
294         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
295         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
296         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
297         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
298         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
299         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
300         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
301         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
302         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
303         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
304
305 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
306
307         * sysdeps/generic/memcopy.h: Add comment for
308         MEMCPY_OK_FOR_FWD_MEMMOVE.
309
310 2014-07-04  Will Newton  <will.newton@linaro.org>
311
312         * string/memchr.c: Merge from gnulib.
313         [_LIBC]: Remove conditionals.
314         (__ptr_t): Remove define.
315         (LONG_MAX_32_BITS): Likewise.
316         (LONG_MAX): Likewise.
317         (MEMCHR): Use ANSI prototype and optimize algorithm.
318
319         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
320
321 2014-07-03  Roland McGrath  <roland@hack.frob.com>
322
323         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
324         (lll_futex_timed_wait_bitset): Fix syscall argument count.
325
326         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
327         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
328         in a bare environment with no <stdlib.h> installed.
329         * sysdeps/nptl/configure: Regenerated.
330
331         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
332
333         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
334         AC_EGREP_CPP for kernel header checks, so they only succeed if
335         including <linux/version.h> actually works right.
336         * sysdeps/unix/sysv/linux/configure: Regenerated.
337
338         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
339         value so it's not diagnosed as unused.
340
341         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
342         thing) with "ifeq ($(subdir),rt)".
343
344 2014-07-03  Richard Henderson  <rth@redhat.com>
345
346         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
347         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
348         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
349
350         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
351         (math_force_eval): New.
352
353         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
354         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
355
356         * sysdeps/alpha/fpu/s_round.c: Remove file.
357         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
358
359         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
360         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
361         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
362         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
363         (_dl_start, print_statistics): Likewise.
364         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
365         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
366
367         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
368         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
369         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
370         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
371         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
372         (HP_SMALL_TIMING_AVAIL): Define.
373         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
374         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
375         (HP_SMALL_TIMING_AVAIL): Define.
376         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
377         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
378
379         * sysdeps/aarch64/hp-timing.h: New file.
380
381         * sysdeps/generic/hp-timing.h: Remove dead comment.
382         * sysdeps/generic/hp-timing-common.h: New file.
383         * sysdeps/alpha/hp-timing.h: Include it.
384         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
385         * sysdeps/i386/i686/hp-timing.h: Likewise.
386         * sysdeps/ia64/hp-timing.h: Likewise.
387         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
388         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
389         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
390         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
391         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
392         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
393         (hp_timing_t): New.
394
395         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
396         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
397         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
398         * elf/rtld.c (_dl_start_final): Likewise.
399         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
400         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
401         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
402         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
403         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
404         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
405         (HP_TIMING_DIFF_INIT): Remove.
406         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
407         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
408         (HP_TIMING_DIFF_INIT): Remove.
409         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
410         * sysdeps/i386/i686/hp-timing.c: Remove file.
411         * sysdeps/x86_64/hp-timing.c: Remove file.
412         * sysdeps/ia64/hp-timing.c: Remove file.
413         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
414         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
415         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
416         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
417
418         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
419         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
420         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
421         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
422         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
423         (HP_TIMING_ACCUM): Remove.
424         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
425         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
426         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
427
428         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
429         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
430         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
431         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
432         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
433         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
434         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
435         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
436
437         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
438
439 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
440
441         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
442
443 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
444
445         Sync up with gettext.
446         * intl/loadmsgcat.c: Define O_BINARY if not defined.
447         [_MSC_VER]: Include malloc.h
448         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
449         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
450         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
451         TEMP_FAILURE_RETRY.  Cast return of alloca.
452         [!_LIBC] Call gl_rwlock_init.
453         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
454
455 2014-07-02  Roland McGrath  <roland@hack.frob.com>
456
457         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
458         before checking its value.
459
460 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
461
462         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
463
464         * debug/memcpy_chk.c: Don't include pagecopy.h.
465         * debug/mempcpy_chk.c: Likewise.
466         * string/memcpy.c: Likewise.
467         * string/memmove.c: Likewise.
468         * sysdeps/powerpc/memmove.c: Likewise.
469         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
470         definition of PAGE_COPY_FWD_MAYBE here...
471         * sysdeps/generic/pagecopy.h: ... from here.
472         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
473
474 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
475             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
476
477         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
478         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
479         optimizations.
480         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
481         (__libc_ifunc_impl_list): Likewise.
482         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
483         multiarch strcat for PPC64.
484         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
485         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
486
487 2014-07-02  Roland McGrath  <roland@hack.frob.com>
488
489         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
490
491 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
492
493         * intl/loadmsgcat.c: Remove declaration of
494         get_sysdep_segment_value.
495         (get_sysdep_segment_value): Use ISO C style.
496         (_nl_load_domain): Use ISO C style.  Get rid of redundant
497         semicolon.  Fix typo and formatting in comment.
498         (_nl_unload_domain): Use ISO C style.
499
500         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
501
502 2014-07-02  Will Newton  <will.newton@linaro.org>
503
504         * malloc/obstack.c: Merge from gnulib master.
505         [HAVE_CONFIG_H]: Remove conditional code.
506         [!_LIBC]: Include config.h.
507         [!ELIDE_CODE]: Don't include inttypes.h, include
508         stdint.h unconditionally.
509         (print_and_abort): Mark as _Noreturn.
510         (_obstack_allocated_p): Mark as __attribute_pure__.
511         (obstack_free): Rename to __obstack_free.
512         [!__attribute__]: Remove conditional code.
513         * malloc/obstack.h: Merge from gnulib master.
514         [__cplusplus]: Move conditional down.
515         [!__attribute_pure__]: Define __attribute_pure__ here
516         if it is not already defined.
517         (_obstack_memory_used): Mark as __attribute_pure__.
518         [!__obstack_free]: Define as obstack_free.
519         [__GNUC__]: Remove check for ancient NeXT gcc.
520
521 2014-07-02  Will Newton  <will.newton@linaro.org>
522             Paul Eggert  <eggert@cs.ucla.edu>
523
524         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
525
526 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
527
528         * resolv/gethnamaddr.c: Add comment warning that the file is
529         not maintained.
530
531 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
532
533         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
534         entries.
535
536         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
537         entry for aio_cancel and aio_cancel64.
538         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
539         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
540         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
541         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
542         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
543         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
544         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
545         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
546         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
547         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
548         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
549         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
550         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
551
552 2014-07-01  Roland McGrath  <roland@hack.frob.com>
553
554         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
555         * nptl/pthread_mutex_lock.c: Likewise.
556         * nptl/pthread_mutex_timedlock.c: Likewise.
557         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
558
559 2014-07-01  Richard henderson  <rth@redhat.com>
560
561         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
562         (__isnan, __isnanl): Remove.
563         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
564
565         * sysdeps/alpha/fpu/libm-test-ulps: Update.
566
567 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
568
569         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
570
571 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
572
573         * resolv/nss_dns/dns-host.c (getanswer_r)
574         [MULTI_PTRS_ARE_ALIASES]: Remove code.
575
576 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
577
578         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
579         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
580         undefine.
581         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
582         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
583
584 2014-07-01  Roland McGrath <roland@hack.frob.com>
585
586         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
587         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
588
589         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
590         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
591
592         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
593         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
594         ... here.
595         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
596         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
597
598         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
599         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
600         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
601         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
602
603         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
604         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
605         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
606         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
607         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
608         Moved ...
609         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
610         ... here.
611         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
612         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
613         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
614         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
615         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
616         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
617         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
618         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
619         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
620         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
621         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
622         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
623         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
624         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
625         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
626         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
627         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
628         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
629         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
630         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
631         ... here.
632         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
633         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
634         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
635         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
636         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
637         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
638         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
639         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
640
641 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
642
643         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
644         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
645         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
646         Add sysdep.
647
648 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
649
650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
651
652 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
653
654         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
655         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
656
657         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
658
659         * sysdeps/arm/libm-test-ulps: Regenerated.
660
661 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
662             Roland McGrath <roland@hack.frob.com>
663
664         * test-skeleton.c (signal_handler): Kill the whole process group
665         before killing the child individually.
666         (main): Report any failure on `setpgid'.
667
668 2014-06-30  Roland McGrath  <roland@hack.frob.com>
669
670         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
671         from _TLS_H to _ARM_NPTL_TLS_H.
672         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
673         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
674
675 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
676
677         [BZ #16539]
678         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
679         (__expm1l): Return argument unchanged when small but not
680         subnormal.
681
682         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
683         include macro name.
684         (_FP_UNPACK_RAW_1_P): Likewise.
685         (_FP_PACK_RAW_1): Likewise.
686         (_FP_PACK_RAW_1_P): Likewise.
687         (_FP_MUL_MEAT_1_wide): Likewise.
688         (_FP_MUL_MEAT_DW_1_hard): Likewise.
689         (_FP_MUL_MEAT_1_hard): Likewise.
690         (_FP_DIV_MEAT_1_imm): Likewise.
691         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
692         (_FP_DIV_MEAT_1_udiv): Likewise.
693         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
694         (_FP_UNPACK_RAW_2): Likewise.
695         (_FP_UNPACK_RAW_2_P): Likewise.
696         (_FP_PACK_RAW_2): Likewise.
697         (_FP_PACK_RAW_2_P): Likewise.
698         (_FP_MUL_MEAT_DW_2_wide): Likewise.
699         (_FP_MUL_MEAT_2_wide): Likewise.
700         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
701         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
702         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
703         (_FP_MUL_MEAT_2_gmp): Likewise.
704         (_FP_DIV_MEAT_2_udiv): Likewise.
705         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
706         (_FP_FRAC_SRL_4): Likewise.
707         (_FP_FRAC_SRST_4): Likewise.
708         (_FP_FRAC_SRS_4): Likewise.
709         (_FP_UNPACK_RAW_4): Likewise.
710         (_FP_UNPACK_RAW_4_P): Likewise.
711         (_FP_PACK_RAW_4): Likewise.
712         (_FP_PACK_RAW_4_P): Likewise.
713         (_FP_MUL_MEAT_DW_4_wide): Likewise.
714         (_FP_MUL_MEAT_4_wide): Likewise.
715         (_FP_MUL_MEAT_4_gmp): Likewise.
716         (umul_ppppmnnn): Likewise.
717         (_FP_DIV_MEAT_4_udiv): Likewise.
718         (__FP_FRAC_ADD_4): Likewise.
719         (__FP_FRAC_SUB_3): Likewise.
720         (__FP_FRAC_SUB_4): Likewise.
721         (__FP_FRAC_DEC_3): Likewise.
722         (__FP_FRAC_DEC_4): Likewise.
723         (__FP_FRAC_ADDI_4): Likewise.
724         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
725         (_FP_FRAC_SRL_8): Likewise.
726         (_FP_FRAC_SRS_8): Likewise.
727
728         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
729         include macro name.
730         (FP_UNPACK_RAW_EP): Likewise.
731         (FP_PACK_RAW_E): Likewise.
732         (FP_PACK_RAW_EP): Likewise.
733         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
734         (_FP_ISSIGNAN): Likewise.
735         (_FP_ADD_INTERNAL): Likewise.
736         (_FP_FMA): Likewise.
737         (_FP_CMP): Likewise.
738         (_FP_SQRT): Likewise.
739         (_FP_TO_INT): Likewise.
740         (_FP_FROM_INT): Likewise.
741         (FP_EXTEND): Likewise.
742         (_FP_DIV_MEAT_N_loop): Likewise.
743
744 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
745
746         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
747         throughout.
748
749 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
750
751         [BZ #17097]
752         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
753         result with correct sign in case of exponents that produce
754         overflow except for X very close to 1.
755
756 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
757
758         mktime: merge #if/#ifdef usage from glibc
759         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
760         as that works with both Glibc's and Gnulib's style.
761         See thread starting at Siddhesh Poyarekar's bug report at:
762         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
763
764 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
765
766         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
767         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
768         * sysdeps/tile/tilegx/memmove.c: Remove file.
769
770 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
771
772         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
773         abi-name definition.
774         * scripts/soversions.awk: Do not handle or generate ABI lines.
775         * shlib-versions: Remove ABI entries.
776         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
777         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
778
779 2014-06-27  Roland McGrath  <roland@hack.frob.com>
780
781         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
782         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
783         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
784         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
785         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
786         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
787         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
788         Moved ...
789         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
790         ... here.
791         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
792         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
793         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
794         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
795         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
796         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
797         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
798         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
799         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
800         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
801         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
802         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
803         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
804         Moved ...
805         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
806         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
807         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
808         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
809         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
810         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
811         Moved ...
812         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
813         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
814         Moved ...
815         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
816         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
817         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
818         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
819         Moved ...
820         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
821         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
822         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
823         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
824         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
825         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
826         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
827         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
828         Moved ...
829         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
830         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
831         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
832         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
833         Moved ...
834         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
835         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
836         Moved ...
837         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
838         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
839         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
840         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
841         Moved ...
842         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
843         ... here.
844         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
845         Identical file removed.
846         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
847         Moved ...
848         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
849         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
850         Identical file removed.
851         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
852         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
853         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
854         Moved ...
855         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
856         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
857         Identical file removed.
858         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
859         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
860         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
861         Identical file removed.
862         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
863         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
864         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
865         Identical file removed.
866         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
867         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
868         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
869         Identical file removed.
870         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
871         Moved ...
872         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
873         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
874         Identical file removed.
875         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
876         Moved ...
877         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
878         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
879         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
880         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
881         Identical file removed.
882         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
883         Moved ...
884         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
885         ... here.
886         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
887         Identical file removed.
888         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
889         Moved ...
890         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
891         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
892         Identical file removed.
893         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
894         Moved ...
895         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
896         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
897         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
898         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
899         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
900         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
901         Moved ...
902         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
903         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
904         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
905
906         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
907         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
908         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
909         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
910         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
911
912 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
913
914         [BZ #17092]
915         * nscd/nscd.c (monitor_child): Return exit status of child
916         instead of return value from wait syscall.
917
918 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
919
920         * configure.ac (libc_commonpagesize): Remove variable.
921         (libc_relro_required): Likewise.
922         (libc_cv_z_relro): Remove configure test.
923         * configure: Regenerated.
924         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
925         variable.
926         (libc_relro_required): Likewise.
927         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
928         (libc_relro_required): Likewise.
929         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
930         (libc_relro_required): Likewise.
931         * sysdeps/arm/preconfigure: Regenerated.
932         * sysdeps/ia64/preconfigure: Remove file.
933         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
934         variable.
935         (libc_relro_required): Likewise.
936
937         [BZ #16561]
938         [BZ #16562]
939         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
940         (__ieee754_yn): Set FE_TONEAREST mode internally and then
941         recompute overflowing results in original rounding mode.
942         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
943         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
944         recompute overflowing results in original rounding mode.
945         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
946         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
947         recompute overflowing results in original rounding mode.
948         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
949         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
950         recompute overflowing results in original rounding mode.
951         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
952         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
953         recompute overflowing results in original rounding mode.
954         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
955         (libc_feholdsetround_ctx): New macro.
956         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
957         * sysdeps/i386/fpu/libm-test-ulps: Update.
958         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
959
960 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
961
962         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
963         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
964         corresponding .cpsetup call.
965
966 2014-06-26  Roland McGrath  <roland@hack.frob.com>
967
968         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
969         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
970         * sysdeps/arm/Makefile [$(subdir) = csu]
971         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
972         (static-only-routines): Add aeabi_read_tp here.
973         (shared-only-routines): Add libc-aeabi_read_tp here.
974         (CFLAGS-libc-start.c): Add -fexceptions here.
975         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
976         (sysdep_routines, static-only-routines, shared-only-routines):
977         Don't add to these here.
978         (CFLAGS-libc-start.c): Likewise.
979
980         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
981         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
982         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
983         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
984         * sysdeps/arm/Makefile [$(subdir) = rt]
985         (librt-sysdep_routines, librt-shared-only-routines):
986         Append rt-aeabi_unwind_cpp_pr1 here.
987         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
988         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
989         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
990         (libpthread-sysdep_routines, libpthread-shared-only-routines):
991         Append nptl-aeabi_unwind_cpp_pr1 here.
992         (tests): Filter out tst-cleanupx4 here.
993         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
994         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
995         Don't do those here.
996
997 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
998
999         * scripts/list-sources.sh: Do not handle ports specially.
1000
1001 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1002
1003         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1004         * sysdeps/arm/feupdateenv.c: Likewise.
1005
1006         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1007
1008 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1009
1010         * manual/texinfo.tex: Update to version 2014-05-05.10 with
1011         trailing whitespace removed.
1012         * scripts/config.guess: Update to version 2014-03-23.
1013         * scripts/config.sub: Update to version 2014-05-01
1014         * scripts/install-sh: Update to version 2013-12-25.23.
1015         * scripts/move-if-change: Update from gnulib.
1016
1017 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1018
1019         * debug/memmove_chk.c: Remove pagecopy.h include.
1020
1021 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
1022
1023         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
1024         identical to gnulib mktime.
1025
1026 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1027
1028         * configure.ac: Do not test for machine being rs6000.  Do not test
1029         for powerpc*-*soft.
1030         * configure: Regenerated.
1031
1032         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1033         test.
1034         * configure: Regenerated.
1035         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1036         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1037         Remove configure test.
1038         * sysdeps/arm/configure: Regenerated.
1039         * sysdeps/nptl/configure.ac: Do not check
1040         libc_cv_asm_cfi_directives.
1041         * sysdeps/nptl/configure: Regenerated.
1042         * sysdeps/x86_64/nptl/configure.ac: Remove file.
1043         * sysdeps/x86_64/nptl/configure: Remove generated file.
1044         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1045         unconditional.
1046         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1047
1048 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1049
1050         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1051         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1052         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1053         it is defined.
1054
1055         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1056         instead of whether it is defined.
1057         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1058         * sysdeps/hppa/dl-machine.h: Likewise.
1059         * sysdeps/ia64/dl-machine.h: Likewise.
1060         * sysdeps/m68k/dl-machine.h: Likewise.
1061         * sysdeps/microblaze/dl-machine.h: Likewise.
1062         * sysdeps/mips/dl-machine.: Likewise.
1063         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1064         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1065         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1066         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1067         * sysdeps/sh/dl-machine.h: Likewise.
1068         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1069         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1070         * sysdeps/tile/dl-machine.h: Likewise.
1071         * sysdeps/x86_64/dl-machine.h: Likewise.
1072
1073         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1074         code.
1075         (verify_persistent_db): Likewise.
1076
1077 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1078
1079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1080         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1082         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1084         Moved ...
1085         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1086         ... here.
1087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1088         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1090         Identical file removed.
1091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1092         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1094         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1096         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1098         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1100         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1102         Moved ...
1103         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1105         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1107         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1109         Moved ...
1110         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1112         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1114         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1116         Identical file removed.
1117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1118         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1120         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1122         Moved ...
1123         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1124         ... here.
1125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1126         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1128         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1130         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1132         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1134         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1136         Moved ...
1137         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1139         Moved ...
1140         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1142         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1144         Moved ...
1145         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1147         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1148
1149         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1150         folded into ...
1151         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1152         * sysdeps/unix/sysv/linux/s390/Versions
1153         (libpthread: GLIBC_2.19): New version set.
1154         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1155         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1156         (librt: GLIBC_2.3.3): New version set.
1157         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1158         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1159         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1160         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1161         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1162         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1163         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1164         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1165         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1166         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1167         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1168         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1169         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1170         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1171         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1172         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1173         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1174         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1175         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1176         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1177         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1178         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1179         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1180         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1181         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1182         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1183         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1184         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1185         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1186         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1187         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1188         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1189         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1190         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1191         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1192         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1193         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1194         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1195         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1196         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1197         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1198         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1199         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1200         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1201         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1202
1203         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1204         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1205         (__libc_vfork): Define the function under this name.
1206         [!NOT_IN_libc] (__vfork): Make this an alias.
1207         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1208         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1209         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1210         (__libc_vfork): Define the function under this name.
1211         [!NOT_IN_libc] (__vfork): Make this an alias.
1212         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1213         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1214         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1215         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1216         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1217         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1218
1219         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1220         code that was previously under [RESET_PID].
1221         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1222         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1223         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1224
1225         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1226         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1227         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1228         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1229         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1230         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1231         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1232         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1233         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1234         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1235         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1236         Moved ...
1237         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1238         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1239         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1240         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1241         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1242         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1243         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1244         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1245         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1246         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1247         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1248         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1249         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1250         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1251         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1252         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1253         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1254         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1255         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1256         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1257         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1258         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1259         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1260         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1261         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1262         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1263         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1264         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1265         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1266
1267 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1268
1269         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1270         that was previously under [RESET_PID].
1271         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1272
1273 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1274
1275         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1276         not undefine and redefine.
1277         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1278         [O_CLOEXEC]: Make code unconditional.
1279         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1280         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1281         <kernel-features.h>.
1282         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1283         conditional variable definition.
1284         (shm_open) [O_CLOEXEC]: Make code unconditional.
1285         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1286         code.
1287
1288         * configure.ac (USE_REGPARMS): Don't define here.
1289         * configure: Regenerated.
1290         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1291         * sysdeps/i386/configure: Regenerated.
1292
1293         * nptl/createthread.c: Don't include kernel-features.h.
1294         * nptl/pthread_cancel.c: Likewise.
1295         * nptl/pthread_condattr_setclock.c: Likewise.
1296         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1297         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1298         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1299         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1300         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1301         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1302         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1303         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1304         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1305         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1306         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1307         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1308         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1309         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1310         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1311         * nscd/gai.c: Likewise.
1312         * nss/nss_db/db-open.c: Likewise.
1313         * sysdeps/generic/ldsodefs.h: Likewise.
1314         * sysdeps/sh/nptl/tls.h: Likewise.
1315         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1316         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1317         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1318         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1319         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1320         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1321         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1322         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1323         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1324         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1325         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1326         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1327         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1328         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1329         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1330         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1331         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1332         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1333         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1334         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1335         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1336         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1337         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1338         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1339         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1340         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1341         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1342         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1343         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1344         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1345         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1346         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1347         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1348         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1349         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1350         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1351         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1352         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1353         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1354         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1355         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1356         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1357         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1358         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1359         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1360         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1361         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1362         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1363         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1364         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1365         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1366         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1367         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1368         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1369         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1370         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1371         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1372         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1395         * sysdeps/unix/sysv/linux/pread.c: Likewise.
1396         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1397         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1398         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1399         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1400         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1401         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1402         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1403         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1404         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1405         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1406         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1407         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1408         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1409         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1410         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1411         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1412         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1413         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1414         * sysdeps/unix/sysv/linux/system.c: Likewise.
1415         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1416         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1417         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1418         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1419         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1420         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1421         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1422
1423         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1424         * configure: Regenerated.
1425         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1426
1427         * configure.ac (base_machine): Do not set specially for particular
1428         machines here.
1429         * configure: Regenerated.
1430         * sysdeps/powerpc/preconfigure: Move machine and base_machine
1431         settings from configure.ac.
1432         * sysdeps/i386/preconfigure: New file.
1433         * sysdeps/s390/preconfigure: Likewise.
1434         * sysdeps/sh/preconfigure: Likewise.
1435         * sysdeps/sparc/preconfigure: Likewise.
1436
1437 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1438
1439         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1440         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1441         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1442         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1443         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1444         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1445         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1446         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1447         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1448         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1449         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1450         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1451         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1452         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1453         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1454         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1455         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1456         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1457         * sysdeps/sparc/sparc64/Makefile: ... appended here.
1458
1459         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1460         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1461         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1462         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1463         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1464         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1465         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1466         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1467         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1468         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1469         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1470         * sysdeps/sparc/sparc32/sem_post.c: ... here.
1471         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1472         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1473         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1474         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1475         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1476         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1477         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1478         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1479         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1480         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1481         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1482         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1483         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1484         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1485         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1486         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1487         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1488         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1489         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1490         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1491         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1492         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1493         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1494         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1495         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1496         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1497
1498         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1499         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1500         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1501         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1502         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1503         Moved ...
1504         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1505         ... here.
1506         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1507         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1508         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1509         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1510         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1511         Moved ...
1512         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1513         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1514         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1515         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1516         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1518         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1519         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1520         Moved ...
1521         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1522         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1523         Moved ...
1524         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1525         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1526         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1527         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1528         Moved ...
1529         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1530         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1531         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1533         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1534         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1535         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1537         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1538         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1539         Moved ...
1540         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1541         ... here.
1542         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1543         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1544         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1545         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1546         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1547         Moved ...
1548         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1549         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1550         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1551         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1552         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1553         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1554         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1556         Moved ...
1557         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1558         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1559         Moved ...
1560         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1561         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1562         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1564         Moved ...
1565         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1566         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1567         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1569         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1570
1571 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1572
1573         * timezone/checktab.awk: Update from tzcode 2014e.
1574         * timezone/private.h: Likewise.
1575         * timezone/tzfile.h: Likewise.
1576         * timezone/zdump.c: Likewise.
1577         * timezone/zic.c: Likewise.
1578
1579         * sysdeps/unix/sysv/linux/kernel-features.h
1580         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1581         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1582         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1583         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1584         Remove conditional code.
1585
1586 2014-06-25  Will Newton  <will.newton@linaro.org>
1587
1588         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1589         (_dl_arm_cap_flags): Add HWCAP2 values.
1590         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1591         (_DL_HWCAP_COUNT): Increase to 37.
1592         (_DL_HWCAP_LAST): New define.
1593         (_DL_HWCAP2_LAST): New define.
1594         (_dl_procinfo): Add support for printing
1595         AT_HWCAP2 entries.
1596         (_dl_string_hwcap): Use _dl_hwcap_string.
1597
1598 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1599
1600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1601
1602 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1603
1604         * README: Do not mention ports directory.
1605
1606         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1607         Remove macro.
1608         * sysdeps/unix/sysv/linux/futimes.c: Do not include
1609         <kernel-features.h>.
1610         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1611         conditional variable definition.
1612         (__futimes): Update comment.
1613         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1614         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1615
1616         [BZ #16560]
1617         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1618         arguments close to 0.
1619         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1620         Likewise.
1621         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1622         Likewise.
1623         * math/auto-libm-test-in: Add more tests of exp10.
1624         * math/auto-libm-test-out: Regenerated.
1625         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1626
1627         * sysdeps/unix/sysv/linux/kernel-features.h
1628         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1629         * sysdeps/unix/sysv/linux/readv.c: Do not include
1630         <kernel-features.h>.
1631         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1632         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1633         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1634         unconditional.
1635         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1636         conditional code.
1637         * sysdeps/unix/sysv/linux/writev.c: Do not include
1638         <kernel-features.h>.
1639         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1640         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1641         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1642         unconditional.
1643         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1644         conditional code.
1645
1646 2014-06-25  Will Newton  <will.newton@linaro.org>
1647
1648         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1649         comment changes throughout the file.  Remove checks
1650         for HAVE_*_H definitions that are not required.
1651         (__gen_tempname): Call abort if an unknown kind value is
1652         passed.
1653
1654 2014-06-25  Andreas Schwab  <schwab@suse.de>
1655
1656         [BZ #17086]
1657         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1658         scalbln, scalblnf, scalblnl in libc.
1659
1660 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1661
1662         [BZ #17086]
1663         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1664         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1665         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1666
1667 2014-06-24  Roland McGrath  <roland@hack.frob.com>
1668
1669         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1670         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1671         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1672         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1673         Update #include.
1674         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1675         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1676         Update #include.
1677         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1678         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1679         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1680         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1681         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1682         * sysdeps/x86/bits/pthreadtypes.h: ... here.
1683         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1684         * sysdeps/x86/bits/semaphore.h: ... here.
1685         * sysdeps/x86/nptl/elide.h: Moved ...
1686         * sysdeps/x86/elide.h: ... here.
1687         * sysdeps/x86_64/nptl/Implies: File removed.
1688         * sysdeps/i386/nptl/Implies: File removed.
1689
1690 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
1691
1692         [BZ #16539]
1693         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1694         return the argument for normal arguments with exponent below -64.
1695         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1696         Likewise.
1697         * math/auto-libm-test-in: Add another test of expm1.
1698         * math/auto-libm-test-out: Regenerated.
1699
1700         [BZ #16287]
1701         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1702         calling __erfcl for arguments at least 16.
1703         * math/auto-libm-test-in: Add more tests of erf.
1704         * math/auto-libm-test-out: Regenerated.
1705
1706         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1707         individual architectures.
1708         * sysdeps/unix/sysv/linux/configure: Regenerated.
1709         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1710         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1711         * sysdeps/unix/sysv/linux/powerpc/configure.ac
1712         (ldd_rewrite_script): Define variable.
1713         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1715         file.
1716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1717         generated file.
1718         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1719         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1720         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1721         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1722         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1723         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1724         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1725         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1726
1727 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1728
1729         [BZ #17084]
1730         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1731         Rename member __data.d to __data.__elision_data.
1732
1733 2014-06-24  Wilco  <wdijkstr@arm.com>
1734
1735         * NEWS: Add 16918 to fixed bug list.
1736
1737 2014-06-24  Wilco  <wdijkstr@arm.com>
1738
1739         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1740
1741 2014-06-24  Wilco  <wdijkstr@arm.com>
1742
1743         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1744         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1745         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1746         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1747         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1748         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1749         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1750         Use _FPU_MASK_RM.
1751
1752 2014-06-24  Wilco  <wdijkstr@arm.com>
1753
1754         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1755
1756 2014-06-24  Wilco  <wdijkstr@arm.com>
1757
1758         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1759         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1760         * sysdeps/arm/fesetround.c (fesetround): Remove space.
1761         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1762
1763 2014-06-24  Wilco  <wdijkstr@arm.com>
1764
1765         [BZ #16918]
1766         * sysdeps/arm/feupdateenv.c (feupdateenv):
1767         Rewrite to reduce FPSCR accesses and fix return value.
1768
1769 2014-06-24  Wilco  <wdijkstr@arm.com>
1770
1771         * sysdeps/arm/fclrexcpt.c (feclearexcept):
1772         Optimize to avoid unnecessary FPSCR writes.
1773         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1774         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1775         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1776         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1777
1778 2014-06-24  Wilco  <wdijkstr@arm.com>
1779
1780         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1781         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1782         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1783         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1784         Call libc_fetestexcept_vfp.
1785         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1786         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1787         __SOFTFP__ ifdef so that they can be built for softfp.
1788
1789 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1790
1791         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1792         argument type signed char.
1793
1794         * Makerules (check-abi): Dump diff of symlist if the test
1795         fails.
1796
1797 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1798
1799         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1800         using abort.
1801
1802         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1803         Remove unused variable ST.
1804
1805 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1806
1807         [BZ #16354]
1808         [BZ #17061]
1809         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1810         small arguments before calling __expm1.
1811         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1812         small arguments before calling __expm1f.
1813         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1814         small arguments before calling __expm1l.
1815         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1816         Likewise.
1817         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1818         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
1819         spurious underflow for some cosh tests.
1820         * math/auto-libm-test-out: Regenerated.
1821         * sysdeps/i386/fpu/libm-test-ulps: Update.
1822
1823         [BZ #17050]
1824         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1825         (__ieee754_y1): Set errno if return value overflows.
1826         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1827         (__ieee754_y1f): Set errno if return value overflows.
1828         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1829         (__ieee754_y1l): Set errno if return value overflows.
1830         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1831         (__ieee754_y1l): Set errno if return value overflows.
1832         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1833         * math/auto-libm-test-out: Regenerated.
1834
1835         * math/gen-auto-libm-tests.c: Document use of
1836         ignore-zero-inf-sign.
1837         (input_flag_type): Add value flag_ignore_zero_inf_sign.
1838         (input_flags): Add ignore-zero-inf-sign.
1839         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1840         * math/gen-libm-test.pl (generate_testfile): Handle
1841         ignore-zero-inf-sign.
1842         * math/auto-libm-test-in: Mark some cpow tests with
1843         ignore-zero-inf-sign and some with xfail-rounding.
1844         * math/auto-libm-test-out: Regenerated.
1845         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1846         * sysdeps/i386/fpu/libm-test-ulps: Update.
1847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1848
1849         [BZ #16315]
1850         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1851         overflowing or underflowing operations take place with sign of
1852         result.
1853         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1854         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1855         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1856         (__ieee754_pow): Recompute overflowing and underflowing results in
1857         original rounding mode.
1858         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1859         (__powl_helper): Allow negative argument X and scale negated value
1860         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
1861         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1862         overflowing or underflowing operations take place with sign of
1863         result.
1864         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1865         Include <math.h>.
1866         * math/auto-libm-test-in: Add more tests of pow.
1867         * math/auto-libm-test-out: Regenerated.
1868         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1869         (pow_tonearest_test_data): Remove.
1870         (pow_test_tonearest): Likewise.
1871         (pow_towardzero_test_data): Likewise.
1872         (pow_test_towardzero): Likewise.
1873         (pow_downward_test_data): Likewise.
1874         (pow_test_downward): Likewise.
1875         (pow_upward_test_data): Likewise.
1876         (pow_test_upward): Likewise.
1877         (main): Don't call removed functions.
1878         * sysdeps/i386/fpu/libm-test-ulps: Update.
1879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1880
1881 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1882
1883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1884         Moved ...
1885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1887         Moved ...
1888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1890         Moved ...
1891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1893         Moved ...
1894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1896         File removed.
1897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1898         File removed.
1899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1900         File removed.
1901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1902         File removed.
1903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1904         File removed.
1905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1906         File removed.
1907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1908         File removed.
1909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1910         File removed.
1911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1912         File removed.
1913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1914         File removed.
1915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1916         File removed.
1917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1918         File removed.
1919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1920         Moved ...
1921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1923         Moved ...
1924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1925         ... here.
1926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1927         Moved ...
1928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1930         Moved ...
1931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1933         Moved ...
1934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1936         Moved ...
1937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1939         Moved ...
1940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1942         Moved ...
1943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1945         Moved ...
1946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1949         ... here.
1950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1951         Moved ...
1952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1954         Moved ...
1955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1956         ... here.
1957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1958         Moved ...
1959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1960         ... here.
1961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1962         Moved ...
1963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1964         ... here.
1965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1966         Moved ...
1967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1969         Moved ...
1970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1974         Moved ...
1975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1976         ... here.
1977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1978         Moved ...
1979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1980         ... here.
1981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1982         Moved ...
1983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1985         Moved ...
1986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1988         Moved ...
1989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1991         Moved ...
1992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1994         Moved ...
1995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1996         ... here.
1997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1998         Moved ...
1999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2001         Moved ...
2002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2004         Moved ...
2005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2007         Moved ...
2008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2012         Moved ...
2013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2015         Moved ...
2016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2018         Moved ...
2019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2020         ... here.
2021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2022         Moved ...
2023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2024         ... here.
2025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2026         Moved ...
2027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2028         ... here.
2029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2030         Moved ...
2031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2033         Moved ...
2034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2036         Moved ...
2037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2039         Moved ...
2040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2041         ... here.
2042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2043         Moved ...
2044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2045         ... here.
2046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2047         Moved ...
2048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2049         ... here.
2050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2051         Moved ...
2052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2054         Moved ...
2055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2056
2057 2014-06-23  Will Newton  <will.newton@linaro.org>
2058             Wilco  <wdijkstr@arm.com>
2059
2060         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2061         implementation.  Include get-rounding-mode.h.
2062         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2063         [!libc_feholdsetround_noex_ctx]: Define
2064         libc_feholdsetround_noex_ctx.
2065         [!libc_feholdsetround_noexf_ctx]: Define
2066         libc_feholdsetround_noexf_ctx.
2067         [!libc_feholdsetround_noexl_ctx]: Define
2068         libc_feholdsetround_noexl_ctx.
2069         (libc_feholdsetround_ctx): New function.
2070         (libc_feresetround_ctx): New function.
2071         (libc_feholdsetround_noex_ctx): New function.
2072         (libc_feresetround_noex_ctx): New function.
2073
2074 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2075
2076         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2077         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2078         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2079         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2080         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2081         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2082
2083         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2084         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2085         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2086         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2087         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2088         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2089         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2090         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2091         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2092         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2093         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2094         Moved ...
2095         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2096         ... here.
2097         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2098         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2099         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2100         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2101         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2102         Moved ...
2103         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2104         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2105         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2106         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2107         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2108         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2109         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2110         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2111         Moved ...
2112         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2113         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2114         Moved ...
2115         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2116         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2117         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2118         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2119         Moved ...
2120         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2121         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2122         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2123         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2124         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2125         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2126         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2127         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2128         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2129         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2130         Moved ...
2131         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2132         ... here.
2133         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2134         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2135         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2136         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2137         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2138         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2139         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2140         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2141         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2142         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2143         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2144         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2145         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2146         Moved ...
2147         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2148         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2149         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2150         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2151         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2152         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2153         Moved ...
2154         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2155         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2156         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2157         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2158         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2159
2160         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2161         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2162         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2163         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2164         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2165         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2166         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2167         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2168         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2169         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2170         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2171         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2172         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2173         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2174         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2175         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2176         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2177         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2178         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2179         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2180         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2181         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2182         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2183         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2184         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2185         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2186         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2187         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2188
2189 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2190
2191         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2192         (FALLOC_FL_COLLAPSE_RANGE): New macro.
2193         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2194         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2195         (IPV6_PMTUDISC_INTERFACE): Likewise.
2196         (IPV6_PMTUDISC_OMIT): Likewise.
2197
2198 2014-06-23  Andreas Schwab  <schwab@suse.de>
2199
2200         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2201         Remove unused errout label.
2202
2203 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2204
2205         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2206         macro: hardware supports Vector Crypto instructions.
2207
2208 2014-06-23  Will Newton  <will.newton@linaro.org>
2209
2210         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2211         rather than __builtin_expect.
2212
2213         * elf/dl-lookup.c (undefined_msg): Remove variable.
2214         (_dl_lookup_symbol_x): Replace undefined_msg with string
2215         literal.
2216
2217         * elf/dl-lookup.c (do_lookup_unique): New function.
2218         (do_lookup_x): Move STB_GNU_UNIQUE handling code
2219         to a separate function.
2220
2221 2014-06-23  Andreas Schwab  <schwab@suse.de>
2222
2223         [BZ #17079]
2224         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2225         before reading the next line.
2226
2227 2014-06-23  Will Newton  <will.newton@linaro.org>
2228
2229         * test-skeleton.c (signal_handler): Use printf and %m
2230         rather than perror.  Use printf rather than fprintf to
2231         stderr.  Use puts rather than fputs to stderr.
2232         (main): Likewise.
2233
2234 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
2235
2236         * nscd/nscd.c (thread_info_t): Remove typedef.
2237         (thread_info): Remove variable.
2238
2239 2014-06-21  Allan McRae  <allan@archlinux.org>
2240
2241         * NEWS: Mention CVE-2014-4043.
2242
2243 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2244
2245         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2246         * nptl/smp.h: ... here.
2247
2248         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2249
2250         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2251         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2252         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2253         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2254
2255         * nptl/allocatestack.c: Include <stack-aliasing.h>.
2256         * nptl/stack-aliasing.h: New file.
2257         * sysdeps/i386/i686/stack-aliasing.h: New file.
2258         * sysdeps/i386/i686/nptl/Makefile: File removed.
2259         * sysdeps/x86_64/stack-aliasing.h: New file.
2260         * sysdeps/x86_64/nptl/Makefile
2261         (CFLAGS-pthread_create.c): Variable removed.
2262
2263         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2264         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2265         old file.
2266         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2267         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2268         old file.
2269
2270 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
2271
2272         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2273         (__ASSUME_SIGFRAME_V2): Remove macro.
2274         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2275         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2276         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2277         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2278         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2279         Declare as function.  Remove conditional macro definitions.
2280         (__default_rt_sa_restorer): Likewise.
2281         (__default_sa_restorer_v1): Remove declaration.
2282         (__default_sa_restorer_v2): Likewise.
2283         (__default_rt_sa_restorer_v1): Likewise.
2284         (__default_rt_sa_restorer_v2): Likewise.
2285         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2286         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2287         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2288
2289 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2290
2291         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2292         (libpthread-routines): Add sysdep.
2293         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2294         * sysdeps/unix/sysv/linux/sparc/Versions
2295         (libpthread: GLIBC_2.3.3): New version set.
2296         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2297         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2298         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2299         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2300         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
2301         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2302         Moved ...
2303         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2304         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2305         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2306         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2307         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2308         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2309         * sysdeps/sparc/nptl/sem_init.c: ... here.
2310         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2311         * sysdeps/sparc/nptl/sem_post.c: ... here.
2312         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2313         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2314         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2315         * sysdeps/sparc/nptl/sem_wait.c: ... here.
2316         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2317         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2318         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2319         (libpthread-routines): Add cpu_relax.
2320         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2321         File removed.
2322         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2323         (librt: GLIBC_2.3.3): New version set.
2324         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2325         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2326         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2327         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2328         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2329         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2330         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2331         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2332         Moved ...
2333         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2334         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2335         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2336         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2337         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2339         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2340         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2341         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2342         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2343         Moved ...
2344         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2345         Update #include.
2346         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2347         Moved ...
2348         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2349         Update #include.
2350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2351         Moved ...
2352         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2353         Update #include.
2354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2355         Moved ...
2356         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2357         Update #include.
2358         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2359         Moved ...
2360         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2361         Update #include.
2362         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2363         Moved ...
2364         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2365         Update #include.
2366         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2367         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2368         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2369         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2370         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2371         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2372         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2373         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2374         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2375         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2376         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2377         Moved ...
2378         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2379         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2380         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2381         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2382         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2383
2384 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2385
2386         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2387         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2388         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2389         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2390         * nscd/nscd.c: Likewise.
2391         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2392         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2393         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2394         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2395
2396         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2397         <kernel-features.h>.
2398         (init_mq_netlink): Remove conditional have_sock_cloexec
2399         definitions.  Remove code conditional on have_sock_cloexec < 0.
2400         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2401         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2402         * sysdeps/unix/sysv/linux/opensock.c: Do not include
2403         <kernel-features.h>.
2404         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2405         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2406
2407 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2408
2409         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2410         Add tests for memset_chk and memset.
2411
2412         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2413         with AVX2_Usable.
2414
2415 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2416
2417         [BZ #16046]
2418         * elf/tst-dl-iter-static.c: New file.
2419         * elf/Makefile (tests-static): Add tst-dl-iter-static.
2420
2421         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2422         error.
2423
2424 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2425
2426         * sysdeps/unix/sysv/linux/kernel-features.h
2427         (__ASSUME_F_GETOWN_EX): Remove macro.
2428         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2429         <kernel-features.h>.
2430         (miss_F_GETOWN_EX): Remove variable or macro.
2431         (do_fcntl): Do not check miss_F_GETOWN_EX.
2432         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2433
2434         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2435         Remove macro.
2436         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2437         [!__ASSUME_AT_RANDOM]: Remove conditional code.
2438         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2439
2440         * sysdeps/unix/sysv/linux/kernel-features.h
2441         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2442         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2443         [ADJ_OFFSET_SS_READ]: Make code unconditional.
2444         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2445
2446 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2447
2448         [BZ #17075]
2449         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2450         Fix calculation of the symbol's value.
2451         * sysdeps/arm/tst-armtlsdescloc.c: New file.
2452         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2453         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2454         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2455         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2456         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2457         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2458         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2459         (modules-names): Add `tst-armtlsdescmod',
2460         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2461         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2462         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2463         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2464         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2465         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2466         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2467         ($(objpfx)tst-armtlsdescloc): New dependency.
2468         ($(objpfx)tst-armtlsdescextnow): Likewise.
2469         ($(objpfx)tst-armtlsdescextlazy): Likewise.
2470         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2471         TLS scheme support.
2472         * sysdeps/arm/configure: Regenerate.
2473
2474 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2475
2476         * include/fcntl.h (__atfct_seterrno): Remove prototype.
2477         (__atfct_seterrno_2): Likewise.
2478         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2479         <kernel-features.h>.
2480         (__ASSUME_ATFCTS): Do not undefine and redefine.
2481         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2482         (__have_atfcts): Remove conditional definition.
2483         (__fxstatat([__NR_fstatat64]: Make code unconditional.
2484         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2485         unreachable if [__ASSUME_ATFCTS].
2486         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2487         not undefine and redefine.
2488         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2489         <kernel-features.h>.
2490         (faccessat) [__NR_faccessat]: Make code unconditional.
2491         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2492         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2493         <kernel-features.h>.
2494         (fchmodat) [__NR_fchmodat]: Make code unconditional.
2495         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2496         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2497         <kernel-features.h>.
2498         (fchownat) [__NR_fchownat]: Make code unconditional.
2499         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2500         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2501         <kernel-features.h>.
2502         (futimesat) [__NR_futimesat]: Make code unconditional.
2503         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2504         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2505         <kernel-features.h>.
2506         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2507         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2508         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2509         <kernel-features.h>.
2510         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2511         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2512         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2513         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2514         <kernel-features.h>.
2515         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2516         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2517         * sysdeps/unix/sysv/linux/linkat.c: Do not include
2518         <kernel-features.h>.
2519         (linkat) [__NR_linkat]: Make code unconditional.
2520         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2521         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2522         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2523         <kernel-features.h>.
2524         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2525         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2526         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2527         <kernel-features.h>.
2528         (mkdirat) [__NR_mkdirat]: Make code unconditional.
2529         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2530         * sysdeps/unix/sysv/linux/openat.c: Do not include
2531         <kernel-features.h>.
2532         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2533         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2534         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2535         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2536         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2537         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2538         <kernel-features.h>.
2539         (readlinkat) [__NR_readlinkat]: Make code unconditional.
2540         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
2541         result of INLINE_SYSCALL directly, not via int variable.
2542         * sysdeps/unix/sysv/linux/renameat.c: Do not include
2543         <kernel-features.h>.
2544         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2545         (renameat) [__NR_renameat]: Make code unconditional.
2546         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2547         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2548         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2549         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2550         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2551         (__ASSUME_ATFCTS): Do not undefine and redefine.
2552         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2553         <kernel-features.h>.
2554         (symlinkat) [__NR_symlinkat]: Make code unconditional.
2555         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2556         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2557         <kernel-features.h>.
2558         (unlinkat) [__NR_unlinkat]: Make code unconditional.
2559         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2560         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2561         (__ASSUME_ATFCTS): Do not undefine and redefine.
2562         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2563         <kernel-features.h>.
2564         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2565         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2566         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2567         <kernel-features.h>.
2568         (__xmknodat) [__NR_mknodat]: Make code unconditional.
2569         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2570
2571 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2572
2573         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2574
2575 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
2576
2577         [BZ #17069]
2578         * posix/regcomp.c (parse_reg_exp): Deallocate partially
2579         constructed tree before returning error.
2580         * posix/bug-regexp36.c: Expand test case.
2581
2582 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2583
2584         [BZ #6803]
2585         * math/libm-test.inc (scalbln_test_date):
2586         Add errno expectations.
2587         * math/w_scalblnf.c: New File.
2588         Add wrapper which checks for setting errno to ERANGE.
2589         Add weak_alias for corresponding scalbln function.
2590         * math/w_scalbln.c: Likewise.
2591         * math/w_scalblnl.c: Likewise.
2592         * math/Makefile (libm-calls): Add w_scalbln.
2593         * sysdeps/ieee754/flt-32/s_scalblnf.c:
2594         Remove weak_alias for corresponding scalbln function.
2595         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2596         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2597         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2598         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2599         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2600         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2601         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2602         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2603         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2604         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2605         Remove long_double_symbol for scalblnl function in libm, libc.
2606         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2607         Add wrapper which checks for setting errno to ERANGE.
2608         Add long_double_symbol for scalblnl function in libm, libc.
2609         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2610         Remove long_double_symbol for scalblnl in libm.
2611         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2612         Add wrapper which checks for setting errno to ERANGE.
2613         Add long_double_symbol for scalblnl function in libm.
2614         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2615         Do not use wrapper because of own implementation.
2616
2617 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
2618
2619         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2620         3 bytes for __pad1 for x32.
2621         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2622
2623 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
2624             H.J. Lu  <hongjiu.lu@intel.com>
2625
2626         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2627         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2628         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2629         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2630         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2631
2632 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
2633
2634         [BZ #17069]
2635         * posix/regcomp.c (parse_expression): Deallocate partially
2636         constructed tree before returning error.
2637         * posix/Makefile.c (tests): Add bug-regex36.
2638         (generated): Add bug-regex36.mtrace.
2639         (tests-special): Add $(objpfx)bug-regex36-mem.out
2640         (bug-regex36-ENV): New variable.
2641         ($(objpfx)bug-regex36-mem.out): New rule.
2642         * posix/bug-regex36.c: New file.
2643
2644 2014-06-19  Will Newton  <will.newton@linaro.org>
2645
2646         * malloc/malloc.c (systrim): If extra is zero then return
2647         early.
2648
2649 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2650
2651         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2652
2653 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
2654
2655         * sysdeps/aarch64/strchr.S: New file.
2656
2657 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2658
2659         [BZ #17022]
2660         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2661         from arguments -2 or below.
2662         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2663         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2664
2665 2014-06-18  Andreas Schwab  <schwab@suse.de>
2666
2667         [BZ #17062]
2668         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2669         of a bracket expr not to run off the end of the string.
2670         * posix/Makefile (tests): Add tst-fnmatch3.
2671         * posix/tst-fnmatch3.c: New file.
2672
2673 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2674
2675         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2676         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2677         [$(cross-compiling) = no]: Likewise.
2678         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2679         [$(cross-compiling) = no]: Likewise.
2680
2681 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2682
2683         [BZ #17031]
2684         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2685         double, adjusted for any remainder from the high double.
2686         * math/libm-test.inc (nearbyint): Add tests.
2687         (rint): Likewise.
2688
2689 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2690
2691         * nptl/sysdeps/powerpc/Makefile: Moved ...
2692         * sysdeps/powerpc/nptl/Makefile: ... here.
2693         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2694         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2695         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2696         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2697         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2698         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2699         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2700         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2701         * nptl/sysdeps/powerpc/tls.h: Moved ...
2702         * sysdeps/powerpc/nptl/tls.h: ... here.
2703
2704 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
2705
2706         [BZ #16681]
2707         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2708         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2709         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2710         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2711         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2712         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2713         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2714         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2715         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2716
2717 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
2718
2719         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2720
2721 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
2722
2723         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2724         defined operator.
2725
2726         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2727         $TIMEOUTFACTOR.
2728
2729 2014-06-16  Florian Weimer  <fweimer@redhat.com>
2730
2731         [BZ #17058]
2732         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2733         non-executed part of the test.
2734
2735 2014-06-16  Andreas Schwab  <schwab@suse.de>
2736
2737         * string/bits/string2.h (strdup, strndup): Update feature guard.
2738
2739 2014-06-14  David S. Miller  <davem@davemloft.net>
2740
2741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2742
2743 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
2744
2745         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2746         that was previously under [RESET_PID].
2747         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2748
2749         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2750         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2751         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2752         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2753         (__libc_vfork): New strong alias.
2754         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2755
2756 2014-06-14 Andi Kleen  <ak@linux.intel.com>
2757
2758         * sysdeps/generic/elide.h: New file.
2759
2760 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2761
2762         * Makefile (installed-headers): Adjust path of pthread.h header.
2763
2764 2014-06-13  Roland McGrath  <roland@hack.frob.com>
2765
2766         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2767         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2768         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2769         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2770
2771         * nptl/sysdeps/s390/Makefile: Moved ...
2772         * sysdeps/s390/nptl/Makefile: ... here.
2773         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2774         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2775         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2776         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2777         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2778         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2779         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2780         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2781         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2782         * sysdeps/s390/nptl/pthreaddef.h: ... here.
2783         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2784         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2785         * nptl/sysdeps/s390/tls.h: Moved ...
2786         * sysdeps/s390/nptl/tls.h: ... here.
2787
2788         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2789         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2790
2791 2014-06-13  David S. Miller  <davem@davemloft.net>
2792
2793         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2794         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2795         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2796         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2797         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2798         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2799         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2800         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2801         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2802         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2803         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2804         Remove RESET_PID cpp guards.
2805         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2806         Remove RESET_PID cpp guards.
2807         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2808
2809 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
2810
2811         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2812         __sp to uintptr_t.
2813
2814 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2815
2816         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2817         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2818         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2819         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2820         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2821         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2822         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2823         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2824         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2825         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2826         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2827         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2828         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2829         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2830         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2831         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2832         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2833         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2834         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2835         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2836
2837         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2838         (pthread_rwlock_rdlock): Add elision.
2839         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2840         (pthread_rwlock_wrlock): Add elision.
2841         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2842         (pthread_rwlock_trywrlock): Add elision.
2843         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2844         (pthread_rwlock_tryrdlock): Add elision.
2845         * nptl/pthread_rwlock_unlock.c: Include elide.h.
2846         (pthread_rwlock_tryrdlock): Add elision unlock.
2847         * nptl/sysdeps/pthread/pthread.h:
2848         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2849         (PTHREAD_RWLOCK_INITIALIZER,
2850         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2851         Handle new elision field.
2852         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2853         * sysdeps/arm/nptl/bits/pthreadtypes.h
2854         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2855         * sysdeps/sh/nptl/bits/pthreadtypes.h
2856         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2857         * sysdeps/tile/nptl/bits/pthreadtypes.h
2858         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2859         * sysdeps/a/nptl/bits/pthreadtypes.h
2860         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2861         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2862         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2863         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2864         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2865         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2866         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2867         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2868         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2869         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2870         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2871         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2872         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2873         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2874         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2875         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2876         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2877         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2878         (elision_init): Set try_xbegin to zero when no RTM.
2879         * sysdeps/x86/nptl/bits/pthreadtypes.h
2880         (pthread_rwlock_t): Change __pad1 to __rwelision.
2881         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2882
2883 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2884
2885         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2886         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2887         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2888         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2889
2890 2014-06-13  Meador Inge  <meadori@codesourcery.com>
2891
2892         [BZ #16996]
2893         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2894         that the cached result has been set before returning it.
2895
2896 2014-06-12  Roland McGrath  <roland@hack.frob.com>
2897
2898         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2899         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2900         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2901         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2902         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2903         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2904
2905         * nptl/sysdeps/sparc/Makefile: Moved ...
2906         * sysdeps/sparc/nptl/Makefile: ... here.
2907         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2908         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2909         * nptl/sysdeps/sparc/tls.h: Moved ...
2910         * sysdeps/sparc/nptl/tls.h: ... here.
2911         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2912         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2913         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2914         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2915         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2916         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2917         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2918         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2919         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2920         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2921         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2922         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2923         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2924         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2925         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2926         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2927         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2928         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2929         Update #include.
2930         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2931         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2932         Update #include.
2933         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2934         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2935         Update #include.
2936         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2937         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2938         Update #include.
2939
2940         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2941
2942         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2943         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2944
2945         * sysdeps/pthread/posix-timer.h: Include <list.h>.
2946         (struct list_links): Type removed.
2947         (struct thread_node, struct timer_node): Replace struct list_links
2948         with struct list_head.
2949         (list_unlink_ip): Likewise.
2950         * sysdeps/pthread/timer_routines.c
2951         (timer_free_list, thread_free_list, thread_active_list): Likewise.
2952         (list_append, list_insbefore): Likewise.
2953         (list_init): Function removed.
2954         (thread_init, init_module): Use INIT_LIST_HEAD instead.
2955         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2956         * sysdeps/pthread/Makefile: ... here, new file.
2957
2958         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2959         * sysdeps/nptl/Implies: ... here.
2960         * sysdeps/unix/sysv/linux/Implies: Add nptl.
2961         * nptl/sysdeps/pthread/list.h: Moved ...
2962         * include/list.h: ... here.
2963         * nptl/sysdeps/pthread/createthread.c: Moved ...
2964         * nptl/createthread.c: ... here.
2965         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2966         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2967         * nptl/pt-longjmp.c: ... here.
2968         * nptl/sysdeps/pthread/Makefile: Moved ...
2969         * sysdeps/nptl/Makefile: ... here.
2970         * nptl/sysdeps/pthread/Subdirs: Moved ...
2971         * sysdeps/nptl/Subdirs: ... here.
2972         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2973         * sysdeps/nptl/aio_misc.h: ... here.
2974         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2975         * sysdeps/nptl/bits/libc-lock.h: ... here.
2976         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2977         * sysdeps/nptl/bits/libc-lockP.h: ... here.
2978         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2979         * sysdeps/nptl/bits/stdio-lock.h: ... here.
2980         * nptl/sysdeps/pthread/configure: Moved ...
2981         * sysdeps/nptl/configure: ... here.
2982         * nptl/sysdeps/pthread/configure.ac: Moved ...
2983         * sysdeps/nptl/configure.ac: ... here.
2984         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2985         * sysdeps/nptl/gai_misc.h: ... here.
2986         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2987         * sysdeps/nptl/librt-cancellation.c: ... here.
2988         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2989         * sysdeps/nptl/malloc-machine.h: ... here.
2990         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2991         * sysdeps/nptl/pthread-functions.h: ... here.
2992         * nptl/sysdeps/pthread/pthread.h: Moved ...
2993         * sysdeps/nptl/pthread.h: ... here.
2994         * nptl/sysdeps/pthread/setxid.h: Moved ...
2995         * sysdeps/nptl/setxid.h: ... here.
2996         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2997         * sysdeps/nptl/sigfillset.c: ... here.
2998         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2999         * sysdeps/nptl/tcb-offsets.h: ... here.
3000         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3001         * sysdeps/nptl/tst-mqueue8x.c: ... here.
3002         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3003         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3004         * nptl/sysdeps/pthread/allocalim.h: Moved ...
3005         * sysdeps/pthread/allocalim.h: ... here.
3006         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3007         * sysdeps/pthread/bits/sigthread.h: ... here.
3008         * nptl/sysdeps/pthread/flockfile.c: Moved ...
3009         * sysdeps/pthread/flockfile.c: ... here.
3010         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3011         * sysdeps/pthread/ftrylockfile.c: ... here.
3012         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3013         * sysdeps/pthread/funlockfile.c: ... here.
3014         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3015         * sysdeps/pthread/posix-timer.h: ... here.
3016         * nptl/sysdeps/pthread/timer_create.c: Moved ...
3017         * sysdeps/pthread/timer_create.c: ... here.
3018         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3019         * sysdeps/pthread/timer_delete.c: ... here.
3020         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3021         * sysdeps/pthread/timer_getoverr.c: ... here.
3022         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3023         * sysdeps/pthread/timer_gettime.c: ... here.
3024         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3025         * sysdeps/pthread/timer_routines.c: ... here.
3026         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3027         * sysdeps/pthread/timer_settime.c: ... here.
3028         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3029         * sysdeps/pthread/tst-timer.c: ... here.
3030         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3031         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3032
3033         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3034         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3035
3036         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3037         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3038         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3039         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3040         Update #include target.
3041         * nptl/sysdeps/i386/i686/Makefile: Moved ...
3042         * sysdeps/i386/i686/nptl/Makefile: ... here.
3043         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3044         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3045         Update #include target.
3046         * nptl/sysdeps/i386/i686/tls.h: Moved ...
3047         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
3048         * nptl/sysdeps/i386/Makefile: Moved ...
3049         * sysdeps/i386/nptl/Makefile: ... here.
3050         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3051         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3052         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3053         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3054         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3055         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3056         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3057         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3058         * sysdeps/i386/nptl/pthreaddef.h: ... here.
3059         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3060         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3061         * nptl/sysdeps/i386/tls.h: Moved ...
3062         * sysdeps/i386/nptl/tls.h: ... here.
3063
3064         * sysdeps/sh/Makefile [$(subdir) = csu]
3065         (gen-as-const-headers): Add tcb-offsets.sym.
3066         * nptl/sysdeps/sh/Makefile: File removed.
3067         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3068         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3069         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3070         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3071         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3072         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3073         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3074         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3075         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3076         * sysdeps/sh/nptl/pthreaddef.h: ... here.
3077         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3078         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3079         * nptl/sysdeps/sh/tls.h: Moved ...
3080         * sysdeps/sh/nptl/tls.h: ... here.
3081         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3082         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3083         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3084         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3085         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3086         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3087         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3088         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3089         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3090         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3091         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3092         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3093         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3094         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3095         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3096         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3097         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3098         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3099         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3100         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3101         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3102         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3103         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3104         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3105         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3106         Moved ...
3107         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3108         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3109         Moved ...
3110         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3111         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3112         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3113         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3114         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3115         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3116         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3117         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3118         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3119         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3120         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3121         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3122         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3123         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3124         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3125         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3126         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3127         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3128         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3129
3130 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3131
3132         * posix/spawn_faction_addopen.c: Include string.h.
3133
3134 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3135
3136         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3137         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3138         * nptl/sysdeps/x86_64/Makefile: Moved ...
3139         * sysdeps/x86_64/nptl/Makefile: ... here.
3140         * nptl/sysdeps/x86_64/configure: Moved ...
3141         * sysdeps/x86_64/nptl/configure: ... here.
3142         * nptl/sysdeps/x86_64/configure.ac: Moved ...
3143         * sysdeps/x86_64/nptl/configure.ac: ... here.
3144         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3145         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3146         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3147         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3148         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3149         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3150         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3151         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3152         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3153         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3154         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3155         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3156         * nptl/sysdeps/x86_64/tls.h: Moved ...
3157         * sysdeps/x86_64/nptl/tls.h: ... here.
3158         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3159         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3160         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3161         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3162
3163         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3164
3165 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3166
3167         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3168
3169 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
3170
3171         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3172         type.
3173         [POSIX] (off_t): Likewise.
3174         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3175         [POSIX] (S_ISBLK): Require macro.
3176         [POSIX] (S_ISCHR): Likewise.
3177         [POSIX] (S_ISDIR): Likewise.
3178         [POSIX] (S_ISFIFO): Likewise.
3179         [POSIX] (S_ISREG): Likewise.
3180         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3181         optional-macro.
3182         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3183         type.
3184         [POSIX] (time_t): Likewise.
3185         [POSIX] (timer_t): Likewise.
3186
3187 2014-06-11  Florian Weimer  <fweimer@redhat.com>
3188
3189         [BZ #17048]
3190         * posix/spawn_int.h (struct __spawn_action): Make the path string
3191         non-const to support deallocation.
3192         * posix/spawn_faction_addopen.c
3193         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3194         * posix/spawn_faction_destroy.c
3195         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
3196         path in all spawn_do_open actions.
3197         * posix/tst-spawn.c (do_test): Exercise the copy operation in
3198         posix_spawn_file_actions_addopen.
3199
3200 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
3201
3202         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3203         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3204         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3205         conditional code always true.
3206         (__libc_vfork): New alias.
3207
3208 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3209
3210         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3211         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3212
3213         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3214
3215         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3216         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3217
3218         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3219         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3220
3221         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3222         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3223
3224 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3225
3226         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3227         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3228         multiarch strcmp for PPC64.
3229         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3230         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3231         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3232         multiarch optimizations.
3233         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3234         (__libc_ifunc_impl_list): Likewise.
3235
3236 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3237
3238         * benchtests/scripts/validate_benchout.py: New script.
3239         * benchtests/Makefile (bench-func): Call it.
3240         * benchtests/scripts/benchout.schema.json: New file.
3241
3242 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
3243
3244         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3245         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3246         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3247         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3248         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3249         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3250         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3251         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3252         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3253         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3254         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3255         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3256         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3257         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3258         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3259         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3261         Moved ...
3262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3263         ... here.
3264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3265         Moved ...
3266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3268         Moved ...
3269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3270         ... here.
3271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3272         Moved ...
3273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3274         ... here.
3275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3276         Moved ...
3277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3279         Moved ...
3280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3281         ... here.
3282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3283         Moved ...
3284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3285         ... here.
3286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3287         Moved ...
3288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3290         Moved ...
3291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3292         ... here.
3293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3294         Moved ...
3295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3296         ... here.
3297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3298         Moved ...
3299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3300         ... here.
3301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3302         Moved ...
3303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3305         Moved ...
3306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3307         ... here.
3308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3309         Moved ...
3310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3311         ... here.
3312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3313         Moved ...
3314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3315         ... here.
3316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3317         Moved ...
3318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3320         Moved ...
3321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3322         ... here.
3323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3324         Moved ...
3325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3326         ... here.
3327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3328         Moved ...
3329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3331         Moved ...
3332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3333         ... here.
3334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3335         Moved ...
3336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3338         Moved ...
3339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3341         Moved ...
3342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3343         ... here.
3344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3345         Moved ...
3346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3347         ... here.
3348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3349         Moved ...
3350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3351         ... here.
3352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3353         Moved ...
3354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3356         Moved ...
3357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3358         ... here.
3359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3360         Moved ...
3361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3362         ... here.
3363         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3364         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3365         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3366         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3367         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3368         Moved ...
3369         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3370         ... here.
3371         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3372         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3373         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3374         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3375         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3376         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3377         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3378         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3379         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3380         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3381         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3382         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3383         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3384         Moved ...
3385         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3386         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3387         Moved ...
3388         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3389         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3390         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3391         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3392         Moved ...
3393         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3394         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3395         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3396         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3397         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3398         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3399         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3400
3401 2014-06-10  Wilco  <wdijkstr@arm.com>
3402
3403         * math/test-fenv-return.c: New file.
3404         * math/Makefile: Add new test test-fenv-return.
3405
3406 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
3407
3408         [BZ #17042]
3409         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3410         when x - 1 is zero.
3411         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3412         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3413         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3414         0.0L for an argument of 1.0L.
3415         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3416         Likewise.
3417         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3418         value when x - 1 is zero.
3419         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3420         * sysdeps/i386/fpu/libm-test-ulps: Update.
3421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3422
3423 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
3424
3425         [BZ #15119]
3426         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3427
3428 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3429
3430         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3431         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3432
3433 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3434
3435         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3436         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3437
3438         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3439         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3440
3441         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3442         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3443
3444         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3445         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3446
3447         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3448         if not already defined.
3449         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3450         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3451         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3452         (TLS_INIT_TP): Use it.
3453         (TLS_DEFINE_INIT_TP): New macro.
3454         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3455
3456 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
3457
3458         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3459         constant.
3460         [POSIX] (IXANY): Likewise.
3461         [POSIX] (OLCUC): Likewise.
3462         [POSIX || POSIX2008] (CBAUD): Do not allow.
3463         [POSIX || POSIX2008] (DEFECHO): Likewise.
3464         [POSIX || POSIX2008] (ECHOCTL): Likewise.
3465         [POSIX || POSIX2008] (ECHOKE): Likewise.
3466         [POSIX || POSIX2008] (ECHOPRT): Likewise.
3467         [POSIX || POSIX2008] (EXTA): Likewise.
3468         [POSIX || POSIX2008] (EXTB): Likewise.
3469         [POSIX || POSIX2008] (FLUSHO): Likewise.
3470         [POSIX || POSIX2008] (LOBLK): Likewise.
3471         [POSIX || POSIX2008] (PENDIN): Likewise.
3472         [POSIX || POSIX2008] (SWTCH): Likewise.
3473         [POSIX || POSIX2008] (VDISCARD): Likewise.
3474         [POSIX || POSIX2008] (VDSUSP): Likewise.
3475         [POSIX || POSIX2008] (VLNEXT): Likewise.
3476         [POSIX || POSIX2008] (VREPRINT): Likewise.
3477         [POSIX || POSIX2008] (VSTATUS): Likewise.
3478         [POSIX || POSIX2008] (VWERASE): Likewise.
3479         (B*): Change to B[0123456789]*.
3480         * conform/data/time.h-data [POSIX || UNIX98]
3481         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3482         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3483         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3484         [POSIX] (tm_*): Do not allow.
3485
3486 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
3487
3488         * Makefile (install): Don't set LANGUAGE.
3489         * Makefile.in (install): Likewise.
3490         * assert/Makefile (test-assert-ENV): Remove variable.
3491         (test-assert-perr-ENV): Likewise.
3492         * elf/Makefile (neededtest4-ENV): Likewise.
3493         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3494         [$(cross-compiling) = no]: Don't set LANGUAGE.
3495         * io/ftwtest-sh (LANG): Remove variable.
3496         * libio/Makefile (tst-widetext-ENV): Likewise.
3497         * manual/install.texi (Running make install): Don't refer to
3498         environment settings for make install.
3499         * INSTALL: Regenerated.
3500         * nptl/tst-tls6.sh: Don't set LANG.
3501         * posix/globtest.sh (LANG): Remove variable.
3502         * string/Makefile (tester-ENV): Likewise.
3503         (inl-tester-ENV): Likewise.
3504         (noinl-tester-ENV): Likewise.
3505         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3506         [$(cross-compiling) = no]: Don't set LANGUAGE.
3507         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3508         without explicit environment settings.
3509
3510 2014-06-06  Roland McGrath  <roland@hack.frob.com>
3511
3512         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3513         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3514         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3515         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3516
3517 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
3518
3519         * crypt/crypt-private.h [DOS]: Add some includes taken from the
3520         other files in the crypt directory.
3521         * crypt/crypt.c: Remove duplicate includes.
3522         * crypt/crypt-entry.c: Likewise.
3523         * crypt/crypt_util.c: Likewise.
3524
3525 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
3526
3527         * Makeconfig (run-program-env): New variable.
3528         (run-program-prefix-before-env): Likewise.
3529         (run-program-prefix-after-env): Likewise.
3530         (run-program-prefix): Define in terms of new variables.
3531         (built-program-cmd-before-env): New variable.
3532         (built-program-cmd-after-env): Likewise.
3533         (built-program-cmd): Define in terms of new variables.
3534         (test-program-prefix-before-env): New variable.
3535         (test-program-prefix-after-env): Likewise.
3536         (test-program-prefix): Define in terms of new variables.
3537         (test-program-cmd-before-env): New variable.
3538         (test-program-cmd-after-env): Likewise.
3539         (test-program-cmd): Define in terms of new variables.
3540         * Rules (make-test-out): Use $(run-program-env).
3541         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3542         (help): Do not mention environment variables.  Mention
3543         --timeoutfactor option.
3544         (timeoutfactor): New variable.
3545         (blacklist_exports): Remove function.
3546         (exports): Remove variable.
3547         (command): Do not include ${exports}.
3548         * manual/install.texi (Configuring and compiling): Do not mention
3549         test wrappers preserving environment variables.  Mention that last
3550         assignment to a variable must take precedence.
3551         * INSTALL: Regenerated.
3552         * benchtests/Makefile (run-bench): Use $(run-program-env).
3553         * catgets/Makefile ($(objpfx)test1.cat): Use
3554         $(built-program-cmd-before-env), $(run-program-env) and
3555         $(built-program-cmd-after-env).
3556         ($(objpfx)test2.cat): Do not specify environment variables
3557         explicitly.
3558         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3559         $(run-program-env) and $(built-program-cmd-after-env).
3560         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3561         $(run-program-env) and $(test-program-cmd-after-env).
3562         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3563         explicitly.
3564         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3565         run_program_env and test_program_cmd_after_env arguments.
3566         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3567         * elf/tst-pathopt.sh: Use run_program_env argument.
3568         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3569         $(test-wrapper-env) and $(run-program-env).
3570         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3571         run_program_env arguments.
3572         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3573         * intl/Makefile ($(objpfx)tst-gettext.out): Use
3574         $(test-program-prefix-before-env), $(run-program-env) and
3575         $(test-program-prefix-after-env).
3576         ($(objpfx)tst-gettext2.out): Likewise.
3577         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3578         run_program_env and test_program_prefix_after_env arguments.
3579         * intl/tst-gettext2.sh: Likewise.
3580         * intl/tst-gettext4.sh: Do not set environment variables
3581         explicitly.
3582         * intl/tst-gettext6.sh: Likewise.
3583         * intl/tst-translit.sh: Likewise.
3584         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3585         $(test-program-prefix-before-env), $(run-program-env) and
3586         $(test-program-prefix-after-env).
3587         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3588         run_program_env and test_program_prefix_after_env arguments.
3589         * math/Makefile (run-regen-ulps): Use $(run-program-env).
3590         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3591         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
3592         explicitly with each use of ${test_wrapper_env}.
3593         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3594         $(test-program-prefix-before-env), $(run-program-env) and
3595         $(test-program-prefix-after-env).
3596         * posix/tst-getconf.sh: Do not set environment variables
3597         explicitly.
3598         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3599         run_program_env and test_program_prefix_after_env arguments.
3600         * stdio-common/tst-printf.sh: Do not set environment variables
3601         explicitly.
3602         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3603         $(test-program-prefix-before-env), $(run-program-env) and
3604         $(test-program-prefix-after-env).
3605         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3606         run_program_env and test_program_prefix_after_env arguments.
3607         Split $test calls into $test_pre and $test.
3608         * timezone/Makefile (build-testdata): Use
3609         $(built-program-cmd-before-env), $(run-program-env) and
3610         $(built-program-cmd-after-env).
3611
3612 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3613
3614         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3615         strlen for non SHARED builds.
3616
3617 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3618
3619         * nptl/allocatestack.c (check_list): Inlined function...
3620         (__reclaim_stacks): ... here.
3621
3622 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3623
3624         [BZ #15698]
3625         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3626         memory overrun.
3627
3628 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
3629
3630         * Rules (make-test-out): Include
3631         LOCPATH=$(common-objpfx)localedata in default environment.
3632         * debug/Makefile (tst-chk1-ENV): Remove variable.
3633         (tst-chk2-ENV): Likewise.
3634         (tst-chk3-ENV): Likewise.
3635         (tst-chk4-ENV): Likewise.
3636         (tst-chk5-ENV): Likewise.
3637         (tst-chk6-ENV): Likewise.
3638         (tst-lfschk1-ENV): Likewise.
3639         (tst-lfschk2-ENV): Likewise.
3640         (tst-lfschk3-ENV): Likewise.
3641         (tst-lfschk4-ENV): Likewise.
3642         (tst-lfschk5-ENV): Likewise.
3643         (tst-lfschk6-ENV): Likewise.
3644         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3645         (tst-iconv7-ENV): Likewise.
3646         * intl/Makefile (LOCPATH-ENV): Likewise.
3647         (tst-codeset-ENV): Likewise.
3648         (tst-gettext3-ENV): Likewise.
3649         (tst-gettext5-ENV): Likewise.
3650         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3651         (tst-fopenloc-ENV): Likewise.
3652         (tst-fgetws-ENV): Remove variable.
3653         (tst-ungetwc1-ENV): Likewise.
3654         (tst-ungetwc2-ENV): Likewise.
3655         (bug-ungetwc2-ENV): Likewise.
3656         (tst-swscanf-ENV): Likewise.
3657         (bug-ftell-ENV): Likewise.
3658         (tst-fgetwc-ENV): Likewise.
3659         (tst-fseek-ENV): Likewise.
3660         (tst-ftell-partial-wide-ENV): Likewise.
3661         (tst-ftell-active-handler-ENV): Likewise.
3662         (tst-ftell-append-ENV): Likewise.
3663         * posix/Makefile (tst-fnmatch-ENV): Likewise.
3664         (tst-regexloc-ENV): Likewise.
3665         (bug-regex1-ENV): Likewise.
3666         (tst-regex-ENV): Likewise.
3667         (tst-regex2-ENV): Likewise.
3668         (bug-regex5-ENV): Likewise.
3669         (bug-regex6-ENV): Likewise.
3670         (bug-regex17-ENV): Likewise.
3671         (bug-regex18-ENV): Likewise.
3672         (bug-regex19-ENV): Likewise.
3673         (bug-regex20-ENV): Likewise.
3674         (bug-regex22-ENV): Likewise.
3675         (bug-regex23-ENV): Likewise.
3676         (bug-regex25-ENV): Likewise.
3677         (bug-regex26-ENV): Likewise.
3678         (bug-regex30-ENV): Likewise.
3679         (bug-regex32-ENV): Likewise.
3680         (bug-regex33-ENV): Likewise.
3681         (bug-regex34-ENV): Likewise.
3682         (bug-regex35-ENV): Likewise.
3683         (tst-rxspencer-ENV): Likewise.
3684         (tst-rxspencer-no-utf8-ENV): Likewise.
3685         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3686         (tst-sscanf-ENV): Likewise.
3687         (tst-swprintf-ENV): Likewise.
3688         (tst-swscanf-ENV): Likewise.
3689         (test-vfprintf-ENV): Likewise.
3690         (scanf13-ENV): Likewise.
3691         (bug14-ENV): Likewise.
3692         (tst-grouping-ENV): Likewise.
3693         * stdlib/Makefile (tst-strtod-ENV): Likewise.
3694         (tst-strtod3-ENV): Likewise.
3695         (tst-strtod4-ENV): Likewise.
3696         (tst-strtod5-ENV): Likewise.
3697         (testmb2-ENV): Likewise./
3698         * string/Makefile (tst-strxfrm-ENV): Likewise.
3699         (tst-strxfrm2-ENV): Likewise.
3700         (bug-strcoll1-ENV): Likewise.
3701         (test-strcasecmp-ENV): Likewise.
3702         (test-strncasecmp-ENV): Likewise.
3703         * time/Makefile (tst-strptime-ENV): Likewise.
3704         (tst-ftime_l-ENV): Likewise.
3705         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3706         (tst-mbrtowc-ENV): Likewise.
3707         (tst-wcrtomb-ENV): Likewise.
3708         (tst-mbrtowc2-ENV): Likewise.
3709         (tst-c16c32-1-ENV): Likewise.
3710         (tst-mbsnrtowcs-ENV): Likewise.
3711
3712 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3713
3714         * manual/resource.texi (How to get information about the memory
3715         subsystem?): Fix typo.
3716         Reported by Peon de la Parra Ivan <peon@keba.com>
3717
3718 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
3719
3720         [BZ #16882]
3721         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3722         (pthread_spin_lock): Branch out of spin loop to proper location.
3723         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3724         (pthread_spin_lock): Likewise.
3725
3726         * nptl/tst-spin4.c: New test.
3727         * nptl/Makefile (tests): Add tst-spin4.
3728
3729 2014-06-03  Andreas Schwab  <schwab@suse.de>
3730
3731         [BZ #15946]
3732         * resolv/res_send.c (send_dg): Reload file descriptor after
3733         calling reopen.
3734
3735 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
3736
3737         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3738
3739 2014-06-03  Richard Henderson  <rth@redhat.com>
3740
3741         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3742         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3743         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3744         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
3745         in the SAVE_PID block.
3746         (__libc_vfork): New alias.
3747         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3748
3749         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3750         child in registers, not on the stack.  Remove RESET_PID conditionals.
3751         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3752
3753 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3754
3755         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3756
3757 2014-06-03  Wilco  <wdijkstr@arm.com>
3758
3759         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3760         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3761         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3762         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3763         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3764         Likewise.
3765
3766 2014-06-03  Wilco  <wdijkstr@arm.com>
3767
3768         * sysdeps/aarch64/fpu/math_private.h
3769         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3770         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3771         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3772         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3773         Fix declarations.
3774
3775 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3776
3777         * crypt/crypt-private.h: Include ufc-crypt.h.
3778         (__b64_from_24bit): Declare extern.
3779         * crypt/crypt_util.c(__b64_from_24bit): New function.
3780         (b64t): New static const variable.
3781         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3782         (b64t): Remove variable.
3783         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3784         * crypt/sha256-crypt.c: Include crypt-private.h.
3785         (b64t): Remove variable.
3786         (__sha256_crypt_r): Remove b64_from_24bit and replace
3787         with __b64_from_24bit.
3788         * crypt/sha512-crypt.c: Likewise.
3789
3790 2014-06-02  Roland McGrath  <roland@hack.frob.com>
3791
3792         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3793         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3794         Label the code __libc_vfork rather than __vfork.
3795         [!NOT_IN_libc] (vfork): Define as weak alias.
3796         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3797         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3798         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3799
3800 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3801
3802         * malloc/malloc.c (malloc_info): Fix format specifier for
3803         n_mmaps.
3804
3805 2014-06-02  Wilco  <wdijkstr@arm.com>
3806
3807         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3808         FPCR write.
3809
3810 2014-06-02  Wilco  <wdijkstr@arm.com>
3811
3812         [BZ #17009]
3813         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3814         Rewrite to reduce FPCR/FPSR accesses.
3815
3816 2014-06-01  David S. Miller  <davem@davemloft.net>
3817
3818         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3819
3820 2014-05-31  David S. Miller  <davem@davemloft.net>
3821
3822         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3823         to occur in round to nearest mode when |x| >= 2.0
3824
3825 2014-05-30  Richard Henderson  <rth@twiddle.net>
3826
3827         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3828         (PSEUDO_RET_NOERRNO): Remove.
3829         (ret): Don't redefine.
3830         (ret_NOERRNO): Define in terms of ret.
3831         (ret_ERRVAL): Likewise.
3832
3833         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3834         use of PSEUDO_RET; perform the error check directly.
3835
3836 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
3837
3838         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3839         with __int128_t.
3840
3841 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3842
3843         * malloc/malloc (malloc_info): Fix formatting.
3844
3845 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3846             Roland McGrath  <roland@hack.frob.com>
3847
3848         * malloc/malloc (malloc_info): Also print mmapped statistics.
3849
3850 2014-05-30  Roland McGrath  <roland@hack.frob.com>
3851
3852         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3853         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3854
3855 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
3856
3857         * malloc/malloc.c (malloc_info): Inline mi_arena.
3858
3859 2014-05-29  Richard Henderson  <rth@twiddle.net>
3860
3861         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3862         Remove comma before expanding ASM_ARGS_##nr.
3863         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3864         Make _x0 a strict output; make _x8 a strict input; adjust expansion
3865         of ASM_ARGS_##nr.
3866         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3867         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3868         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3869         (ASM_ARGS_1): Add leading comma.
3870
3871         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3872         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3873         to __errno_location.
3874         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3875         Remove the expected plt for __errno_location.
3876
3877         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3878         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3879         call to __read_tp.
3880
3881         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3882         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
3883         it and break it down.
3884         (DOCARGS_0, DOCARGS_1): Do nothing.
3885         (DOCARGS_2): Update to store into the new stack frame.
3886         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3887         (UNDOCARGS_1): Update to restore from the new stack frame.
3888         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3889         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3890
3891         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3892         (SINGLE_THREAD_P): New parameter for result regno.
3893         (PSEUDO): Update to match; use cbz instead of beq.
3894
3895         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3896         Use ENTRY to define the _nocancel entry point.  Share the syscall
3897         and syscall error check paths with the cancel path.
3898         (PSEUDO_END): New.
3899
3900         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3901         whitespace; tabs before and after asm mnemonics.
3902
3903 2014-05-29  Eric Wong  <normalperson@yhbt.net>
3904
3905         [BZ #15132]
3906         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3907         Call fstat64 or stat64 internally, depending on arguments passed.
3908         Replace stat buffer argument with file descriptor argument.
3909         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3910         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3911         Pass fd to __internal_statvfs instead of calling fstat64.
3912         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3913         Pass fd to __internal_statvfs64 instead of calling fstat64.
3914         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3915         Pass -1 to __internal_statvfs instead of calling stat64.
3916         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3917         Pass -1 to __internal_statvfs64 instead of calling stat64.
3918
3919 2014-05-28  Roland McGrath  <roland@hack.frob.com>
3920
3921         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3922         that was previously under [RESET_PID].
3923         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3924
3925         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3926         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3927
3928 2014-05-27  Roland McGrath  <roland@hack.frob.com>
3929
3930         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3931
3932         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3933         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3934
3935 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
3936
3937         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3938
3939 2014-05-27  Andreas Schwab  <schwab@suse.de>
3940
3941         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3942         TLS_INIT_TP macro.
3943         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3944         * elf/rtld.c (init_tls, dl_main): Likewise.
3945         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3946         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3947         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3948         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3949         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3950         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3951         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3952         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3953         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3954         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3955         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3956         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3957         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3958         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3959         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3960         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3961         * sysdeps/generic/tls.h: Update description.
3962
3963 2014-05-27  Will Newton  <will.newton@linaro.org>
3964
3965         [BZ #16990]
3966         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3967         and restore r2 rather than just restoring.
3968
3969 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3970
3971         [BZ #16724]
3972         * libio/tst-ftell-append.c: New test case.
3973         * libio/Makefile (tests): Add test case.
3974         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3975         append mode.
3976         * libio/wfileops.c (do_ftell_wide): Likewise.
3977
3978 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3979
3980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3981
3982         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3983         ...
3984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3986         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3987         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3988         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3989         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3990         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3991         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3992         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3993         Moved ...
3994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3995         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3996         Moved ...
3997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3998         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3999         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4000         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4001         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4002         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4003         ...
4004         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4005         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4006         Moved ...
4007         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4008         here.
4009         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4010         ...
4011         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4012         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4013         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4014
4015         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4016         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4017         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4018         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4019
4020         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4021         merge into ...
4022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4023         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4024         ...
4025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4026         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4027         ...
4028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4029         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4030         Moved ...
4031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4032         here.
4033         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4034         Moved ...
4035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4036         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4037         Moved ...
4038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4039
4040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4041         conditional [RESET_PID].
4042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4043         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4044         removed.
4045         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4046         removed.
4047
4048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4049         <tcb-offsets.h>.
4050         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4051         (__libc_vfork): New strong alias.
4052         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4053         removed.
4054         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4055         Removed.
4056
4057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4058         <tcb-offsets.h>.
4059         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4060         (__libc_vfork): New strong alias.
4061         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4062         removed.
4063         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4064         removed.
4065
4066 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
4067
4068         * malloc/malloc.c (mi_arena): New function.
4069         (malloc_info): Remove nested function mi_arena. Call non-nosted
4070         function mi_arena.
4071
4072 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4073
4074         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4075         by insrwi.
4076         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4077         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4078         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4079         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4080         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4081         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4082         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4083
4084 2014-05-26  Andreas Schwab  <schwab@suse.de>
4085
4086         [BZ #16984]
4087         * locale/programs/repertoire.c (repertoire_read): Add slash
4088         between I18NPATH element and file name.
4089         * locale/programs/locfile.c (locfile_read): Likewise.
4090
4091 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4092
4093         * nptl/pthread_mutexattr_settype.c
4094         (__pthread_mutexattr_settype):
4095         Disable lock elision for PTHREAD_MUTEX_NORMAL.
4096
4097 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4098
4099         * nptl/tst-mutex5 (do_test):
4100         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4101
4102 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4103
4104         * benchtests/README: Document 'init' directive.
4105         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4106         BENCH_INIT.
4107         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4108         (parse_file): Recognize 'init' directive.
4109
4110 2014-05-26  Kyle McMartin  <kyle@redhat.com>
4111
4112         [BZ #16796]
4113         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4114         alignment of struct pthread.
4115
4116 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4117
4118         [BZ #16878]
4119         * nscd/netgroupcache.c (addgetnetgrentX): Look for
4120         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4121         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4122         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4123
4124 2014-05-25  Richard Henderson  <rth@twiddle.net>
4125
4126         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4127         (SINGLE_THREAD_P_PIC): Remove.
4128         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4129         (SINGLE_THREAD_P_PIC): Remove.
4130
4131         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4132         branch to syscall error ...
4133         (PSEUDO): ... here.
4134         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4135         from __local_syscall_error to .Lsyscall_error.
4136         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4137         (SYSCALL_ERROR): Update label name.
4138
4139         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4140         Do not use DOARGS/UNDOARGS.
4141         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4142         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4143         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4144         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4145         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4146
4147         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4148         block comment.
4149
4150         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4151         define if !NOT_IN_libc.
4152         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4153         define with non-default symbol versions.
4154
4155 2014-05-23  Richard Henderson  <rth@twiddle.net>
4156
4157         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4158         (vfork, __vfork): Define via compat_symbol.
4159
4160         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4161         [!HAVE_IFUNC] (vfork_compat): Remove.
4162         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4163
4164 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4165
4166         [BZ #16978]
4167         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4168         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4169         variable.
4170
4171 2014-05-23  Richard Henderson  <rth@twiddle.net>
4172
4173         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4174         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4175         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4176         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4177
4178         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4179         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4180         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4181         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4182         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4183         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4184         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4185         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4186         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4187         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4188         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4189         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4190         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4191         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4192         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4193         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4194         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4195         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4196         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4197         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4198         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4199         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4200         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4201         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4202         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4203         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4204         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4205         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4206         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4207         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4208         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4209         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4210         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4211         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4212         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4213         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4214         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4215         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4216         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4217         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4218         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4219         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4220         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4221         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4222         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4223         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4224         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4225         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4226         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4227         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4228         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4229         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4230         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4231         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4232         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4233         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4234
4235         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4236         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4237         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
4238         before exiting on error.
4239         (__libc_vfork): New strong alias.
4240         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4241         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4242
4243         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4244         that was previously under [RESET_PID].
4245         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4246
4247         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4248
4249 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4250
4251         [BZ #16977]
4252         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4253         value when x - 1 is zero.
4254         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4255         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4256         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4257         0.0L for an argument of 1.0L.
4258         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4259         Likewise.
4260         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4261         value when x - 1 is zero.
4262         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4263         * sysdeps/i386/fpu/libm-test-ulps: Update.
4264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4265
4266 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4267
4268         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4269         alphasort and versionsort.
4270
4271 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4272
4273         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4274         macro.
4275         [copysignf]: Likewise.
4276
4277 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4278
4279         * crypt/md5-crypt.c: Fix formatting.
4280
4281 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4282
4283         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4284         (b64_from_24bit): New function.
4285
4286 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4287
4288         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4289         libc_hidden_builtin_def to ifunc.
4290         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4291         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4292
4293 2014-05-21  Roland McGrath  <roland@hack.frob.com>
4294
4295         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4296         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4297
4298 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
4299
4300         * nscd/Depend (linuxthreads): Remove.
4301         (nptl): Add.
4302         * resolv/Depend (linuxthreads): Remove.
4303         * rt/Depend (linuxthreads): Remove.
4304
4305         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4306         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4307         $(common-objpfx)elf/.
4308         (link-libc-before-gnulib): Likewise.
4309         (elfobjdir): Remove variable.
4310         * Makefile (install): Use $(elf-objpfx) instead of
4311         $(common-objpfx)elf/.
4312         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4313         $(elfobjdir)/.
4314         (link-libc-deps): Likewise.
4315         ($(common-objpfx)libc.so): Likewise.
4316         ($(common-objpfx)linkobj/libc.so): Likewise.
4317         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4318         instead of $(common-objpfx)elf/.
4319         (symbolic-link-list): Likewise.
4320         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4321         [$(cross-compiling) = no]: Likewise.
4322         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4323         $(elfobjdir)/.
4324         (static-gnulib-arch): Likewise.
4325         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4326         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4327         $(common-objpfx)elf/.
4328
4329 2014-05-21  Richard Henderson  <rth@redhat.com>
4330
4331         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4332         (SINGLE_THREAD_P): Use the correct width load.  Fold
4333         into the ldr offset.
4334
4335         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4336         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4337
4338 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
4339
4340         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4341         (libgcc_s_resume): Use __attribute_used__.
4342         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4343         Likewise.
4344
4345 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4346
4347         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4348         optimization when used with float constants.
4349
4350         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4351
4352 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
4353
4354         [BZ #16915]
4355         * locale/nl_langinfo_l.c: Make direct reference to every
4356         _nl_current_CATEGORY symbol.
4357         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4358         (tests-static): Add tst-langinfo-static.
4359         (tests-special): Add tst-langinfo-static.out.
4360         ($(objpfx)tst-langinfo.out): Redirect output.
4361         ($(objpfx)tst-langinfo-static.out): New.
4362         * localedata/tst-langinfo.sh: Send output to stdout.
4363         * localedata/tst-langinfo-static.c: New file.
4364
4365         [BZ #16965]
4366         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4367         when the shift amount is modulo the limb size.
4368
4369 2014-05-20  Richard Henderson  <rth@redhat.com>
4370
4371         [BZ #16967]
4372         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4373         Change type of sa_flags from unsigned int to int.
4374
4375         [BZ #16966]
4376         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4377
4378         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4379
4380 2014-05-20  Will Newton  <will.newton@linaro.org>
4381
4382         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4383         Test the return value of the system call in the nocancel case.
4384
4385 2014-05-20  Will Newton  <will.newton@linaro.org>
4386             Yvan Roux  <yvan.roux@linaro.org>
4387
4388         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4389         #include of asm/ptrace.h.
4390         (PTRACE_GET_THREAD_AREA): Remove #undef.
4391         (PTRACE_GETHBPREGS): Likewise.
4392         (PTRACE_SETHBPREGS): Likewise.
4393         (struct user_regs_struct): New structure.
4394         (struct user_fpsimd_struct): New structure.
4395         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4396         #include of asm/ptrace.h and second #include of sys/user.h.
4397         (PTRACE_GET_THREAD_AREA): Remove #undef.
4398         (PTRACE_GETHBPREGS): Likewise.
4399         (PTRACE_SETHBPREGS): Likewise.
4400         (ELF_NGREG): Use new struct user_regs_struct.
4401         (elf_fpregset_t): Use new struct user_fpsimd_struct.
4402
4403 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4404
4405         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4406         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4407
4408 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
4409
4410         [BZ #16958]
4411         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4412         membar to avoid block loads/stores to overlap previous stores.
4413
4414 2014-05-17  Richard Henderson  <rth@redhat.com>
4415
4416         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4417         Create the __##syscall_name##_nocancel entry point.
4418         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4419         Remove; let the sysdep-cancel.h code create it.
4420
4421 2014-05-17  David S. Miller  <davem@davemloft.net>
4422
4423         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4424         Protect with __USE_GNU.
4425         (TIOCSET_TEMPT): Likewise.
4426         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4427         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4428         these are already provided in bits/ioctl-types.h
4429
4430 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4431
4432         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4433         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4434
4435         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4436         Use wait4 regardless of [__NR_waitpid].
4437
4438 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
4439
4440         PR libgcc/60166
4441         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4442         (_FP_NANSIGN_Q): Set the quiet bit.
4443
4444 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
4445
4446         * benchtests/Makefile
4447         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4448         not $(common-objpfx)math/libm.so.
4449         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4450         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4451         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4452         $(common-objpfx)dlfcn/libdl.so.
4453         ($(objpfx)tst-audit8): Depend on $(libm), not
4454         $(common-objpfx)math/libm.so.
4455         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4456         not $(common-objpfx)dlfcn/libdl.so.
4457         * math/Makefile
4458         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4459         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
4460         [$(build-shared) = yes].
4461         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4462         $(common-objpfx)nptl/libpthread.so.
4463         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4464         $(common-objpfx)math/libm.so$(libm.so-version) or
4465         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4466         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4467         $(common-objpfx)dlfcn/libdl.so.
4468         * setjmp/Makefile (link-libm): Remove variable.
4469         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4470         * stdio-common/Makefile (link-libm): Remove variable.
4471         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4472         * stdlib/Makefile (link-libm): Remove variable.
4473         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4474         ($(objpfx)tst-strtod-round): Likewise.
4475         ($(objpfx)tst-tininess): Likewise.
4476         ($(objpfx)tst-strtod-underflow): Likewise.
4477         ($(objpfx)tst-strtod6): Likewise.
4478         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4479         $(libdl), not $(common-objpfx)nptl/libpthread.so and
4480         $(common-objpfx)dlfcn/libdl.so.
4481
4482 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4483
4484         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4485         BSD terminal modes definitions.
4486
4487 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4488
4489         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4490         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4491
4492         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4493         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4494         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4495         Don't do #include_next.
4496         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4497         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4498         Don't do #include_next.
4499         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4500         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4501         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4502         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4503
4504 2014-05-16  Allan McRae  <allan@archlinux.org>
4505
4506         * po/sv.po: Update Swedish translation from translation project.
4507
4508         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4509         in sed expression.
4510
4511 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
4512
4513         [BZ #16917]
4514         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4515         errno if the TIOCGPTN ioctl fails with an error different than
4516         EINVAL.
4517         * login/tst-ptsname.c: New file.
4518         * login/Makefile (tests): Add tst-ptsname.
4519
4520         [BZ #16943]
4521         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4522         and prlimit64.
4523
4524 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4525
4526         [BZ #16849]
4527         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4528         herrno to return EAI_AGAIN.
4529
4530 2014-05-14  Roland McGrath  <roland@hack.frob.com>
4531
4532         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4533         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4534         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4535         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4536         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4537         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4538         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4539         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4540         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4541         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4542         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4543         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4544         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4545         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4546         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4547         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4548         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4549         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4550         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4551         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4552         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4553         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4554         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4555         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4556         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4557         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4558         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4559         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4560         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4561         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4562         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4563         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4564         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4565         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4566         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4567         Moved ...
4568         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4569         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4570         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4571         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4572         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4573         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4574         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4575         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4576         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4577         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4578         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4579         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4580         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4581         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4582         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4583         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4584         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4585         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4586         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4587         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4588         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4589         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4590         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4591         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4592         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4593         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4594         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4595         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4596         Moved ...
4597         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4598         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4599         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4600         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4601         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4602         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4603         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4604         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4605         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4606         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4607         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4608         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4609         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4610         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4611         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4612         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4613         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4614         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4615         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4616         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4617         Moved ...
4618         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4620         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4621
4622         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4623         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4624         (libpthread-sysdep_routines): Add elision-related stuff here instead.
4625         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4626         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4627         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4628         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4629         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4630         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4631         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4632         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4633         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4634         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4635         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4636         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4637         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4638         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4639         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4640         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4641         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4642         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4643         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4644         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4645         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4646         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4647         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4648         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4649         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4650         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4651         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4652         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4653
4654         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4655         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4656
4657         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4658         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4659         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4660         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4661         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4662         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4663         Moved ...
4664         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4665         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4666         Moved ...
4667         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4668         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4669         Moved ...
4670         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4671         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4672         Moved ...
4673         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4674         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4675         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4676         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4677         Moved ...
4678         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4679         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4680         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4681         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4682         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4683         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4684         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4685         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4686         Moved ...
4687         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4688         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4689         Moved ...
4690         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4691         ... here.
4692         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4693         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4694         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4695         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4696         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4697         Moved ...
4698         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4699         ... here.
4700         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4701         Moved ...
4702         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4703         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4704         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4705         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4706         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4707         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4708         Moved ...
4709         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4710         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4711         Moved ...
4712         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4713         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4714         Moved ...
4715         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4716         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4717         Moved ...
4718         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4719         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4720         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4721         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4722         Moved ...
4723         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4724         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4725         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4726         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4727         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4728         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4729         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4730         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4731         Moved ...
4732         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4733         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4734         Moved ...
4735         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4736         ... here.
4737         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4738         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4739         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4740         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4741         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4742         Moved ...
4743         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4744         ... here.
4745         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4746         Moved ...
4747         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4748         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4749         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4750         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4751         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4752         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4753         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4754         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4755         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4756         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4757         Moved ...
4758         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4759         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4760         Moved ...
4761         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4762         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4763         Moved ...
4764         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4765         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4766         Moved ...
4767         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4768         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4769         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4770         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4771         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4772         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4773         Moved ...
4774         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4775         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4776         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4777         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4778         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4779         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4780         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4781         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4782         Moved ...
4783         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4784         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4785         Moved ...
4786         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4787         ... here.
4788         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4789         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4790         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4791         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4792         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4793         Moved ...
4794         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4795         ... here.
4796         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4797         Moved ...
4798         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4799         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4800         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4801         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4802         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4803         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4804         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4805         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4806         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4807         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4808         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4809
4810         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4811         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4812
4813         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4814         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4815
4816         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4817         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4818         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4819         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4820         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4821         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4822         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4823         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4824         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4825         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4826         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4827         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4828         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4829         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4830         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4831         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4832         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4833         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4834         Moved ...
4835         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4836         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4837         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4838         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4839         Moved ...
4840         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4841         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4842         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4843         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4844         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4845         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4846         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4847         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4848         Moved ...
4849         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4850         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4851         Moved ...
4852         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4853         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4854         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4855         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4856         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4857         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4858         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4859         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4860         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4861         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4862         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4863         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4864         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4865         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4866         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4867         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4868         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4869
4870         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4871         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4872         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4873         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4874         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4875
4876         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4877         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4878         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4879         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4880         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4881         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4882         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4883         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4884         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4885         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4886
4887         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4888         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4889
4890         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4891         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4892         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4893         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4894         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4895         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4896         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4897         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4898         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4899         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4900         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4901         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4902         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4903         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4904         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4905         Update #include.
4906         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4907         Likewise.
4908         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4909         Likewise.
4910         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4911         Likewise.
4912         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4913         Likewise.
4914         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4915         Likewise.
4916         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4917         Likewise.
4918         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4919         Likewise.
4920         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4921         Likewise.
4922         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4923         Likewise.
4924         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4925         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4926         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4927         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4928         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4929         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4930         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4931         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4932         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4933         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4934         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4935         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4936         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4937         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
4938         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
4939
4940         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4941         that was previously under [RESET_PID].
4942         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4943         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4944         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4945
4946         * sysdeps/i386/nptl/Implies: New file.
4947         * sysdeps/x86_64/nptl/Implies: New file.
4948         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4949         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4950         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4951         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4952
4953         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4954         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4955         (__libc_vfork): New strong alias.
4956         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4957         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4958
4959         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4960         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4961         (__libc_vfork): New strong alias.
4962         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4963         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4964
4965         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4966         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4967         (__libc_vfork): New strong alias.
4968         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4969         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4970         * nptl/pt-vfork.c: New file.
4971         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4972         (libpthread: GLIBC_2.20): New version set (empty).
4973
4974 2014-05-14  Will Newton  <will.newton@linaro.org>
4975
4976         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4977         rather than #if.
4978
4979 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4980
4981         [BZ #16564]
4982         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4983         arguments with exponent 65 or above.
4984         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4985         arguments 0x1p113L or above.
4986         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4987         to arguments 0x1p107L or above.
4988         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4989         positive arguments with exponent 65 or above.
4990         * math/auto-libm-test-in: Add more tests of log1p.
4991         * math/auto-libm-test-out: Regenerated.
4992
4993         [BZ #16928]
4994         * math/s_cacos.c (__cacos): Ensure zero real part of result from
4995         non-finite arguments is +0.
4996         * math/s_cacosf.c (__cacosf): Likewise.
4997         * math/s_cacosl.c (__cacosl): Likewise.
4998         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4999         * sysdeps/i386/fpu/libm-test-ulps: Update.
5000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5001
5002         [BZ #16927]
5003         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5004         value.
5005         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5006         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5007         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5008         for explicit high bit of mantissa when testing for argument equal
5009         to 1.
5010         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5011         * sysdeps/i386/fpu/libm-test-ulps: Update.
5012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5013
5014         [BZ #16516]
5015         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5016         (__erf): Scale by 16 instead of 8 in potentially underflowing
5017         case.  Ensure exception if result actually underflows.
5018         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5019         (__erff): Scale by 16 instead of 8 in potentially underflowing
5020         case.  Ensure exception if result actually underflows.
5021         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5022         (efx8): Remove variable.
5023         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5024         case.  Ensure exception if result actually underflows.
5025         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5026         (efx8): Remove variable.
5027         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5028         case.  Ensure exception if result actually underflows.
5029         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5030         (efx8): Remove variable.
5031         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5032         case.  Ensure exception if result actually underflows.
5033         * math/auto-libm-test-in: Add more tests of erf.
5034         * math/auto-libm-test-out: Regenerated.
5035
5036 2014-05-14  Andreas Schwab  <schwab@suse.de>
5037
5038         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5039         Remove code conditionalized on USE___THREAD.
5040
5041         * config.h.in (HAVE_PT_CHOWN): Define as 0.
5042         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5043         not definedness.
5044
5045 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5046
5047         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5048         Define unconditionally.
5049         (__ASSUME_O_CLOEXEC): Likewise.
5050         (__ASSUME_SOCK_CLOEXEC): Likewise.
5051         (__ASSUME_IN_NONBLOCK): Likewise.
5052         (__ASSUME_PIPE2): Likewise.
5053         (__ASSUME_EVENTFD2): Likewise.
5054         (__ASSUME_SIGNALFD4): Likewise.
5055         (__ASSUME_DUP3): Likewise.
5056         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5057         (__ASSUME_DUP3): Do not define.
5058         (__ASSUME_EVENTFD2): Likewise.
5059         (__ASSUME_IN_NONBLOCK): Likewise.
5060         (__ASSUME_O_CLOEXEC): Likewise.
5061         (__ASSUME_PIPE2): Likewise.
5062         (__ASSUME_SIGNALFD4): Likewise.
5063         (__ASSUME_SOCK_CLOEXEC): Likewise.
5064         (__ASSUME_UTIMES): Undefine.
5065         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5066         (__ASSUME_UTIMES): Do not define.
5067         (__ASSUME_O_CLOEXEC): Likewise.
5068         (__ASSUME_SOCK_CLOEXEC): Likewise.
5069         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5070         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5071         0x020621].
5072         (__ASSUME_PIPE2): Likewise.
5073         (__ASSUME_EVENTFD2): Likewise.
5074         (__ASSUME_SIGNALFD4): Likewise.
5075         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5076         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5077         Do not define.
5078         (__ASSUME_EVENTFD2): Likewise.
5079         (__ASSUME_SIGNALFD4): Likewise.
5080         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5081         (__ASSUME_32BITUIDS): Likewise.
5082         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5083         (__ASSUME_IPC64): Likewise.
5084         (__ASSUME_ST_INO_64_BIT): Likewise.
5085         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5086         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5087         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5088         (__ASSUME_UTIMES): Do not define.
5089         (__ASSUME_PSELECT): Likewise.
5090         (__ASSUME_PPOLL): Likewise.
5091         (__ASSUME_O_CLOEXEC): Likewise.
5092         (__ASSUME_SOCK_CLOEXEC): Likewise.
5093         (__ASSUME_IN_NONBLOCK): Likewise.
5094         (__ASSUME_PIPE2): Likewise.
5095         (__ASSUME_EVENTFD2): Likewise.
5096         (__ASSUME_SIGNALFD4): Likewise.
5097         (__ASSUME_DUP3): Likewise.
5098         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5099         (__ASSUME_UTIMES): Likewise.
5100         (__ASSUME_O_CLOEXEC): Likewise.
5101         (__ASSUME_SOCK_CLOEXEC): Likewise.
5102         (__ASSUME_IN_NONBLOCK): Likewise.
5103         (__ASSUME_PIPE2): Likewise.
5104         (__ASSUME_EVENTFD2): Likewise.
5105         (__ASSUME_SIGNALFD4): Likewise.
5106         (__ASSUME_DUP3): Likewise.
5107         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5108         (__ASSUME_UTIMES): Likewise.
5109         (__ASSUME_O_CLOEXEC): Likewise.
5110         (__ASSUME_SOCK_CLOEXEC): Likewise.
5111         (__ASSUME_IN_NONBLOCK): Likewise.
5112         (__ASSUME_PIPE2): Likewise.
5113         (__ASSUME_EVENTFD2): Likewise.
5114         (__ASSUME_SIGNALFD4): Likewise.
5115         (__ASSUME_DUP3): Likewise.
5116         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5117         Likewise.
5118         (__ASSUME_UTIMES): Likewise.
5119         (__ASSUME_EVENTFD2): Likewise.
5120         (__ASSUME_SIGNALFD4): Likewise.
5121         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5122         (__ASSUME_O_CLOEXEC): Likewise.
5123         (__ASSUME_SOCK_CLOEXEC): Likewise.
5124         (__ASSUME_IN_NONBLOCK): Likewise.
5125         (__ASSUME_PIPE2): Likewise.
5126         (__ASSUME_EVENTFD2): Likewise.
5127         (__ASSUME_SIGNALFD4): Likewise.
5128         (__ASSUME_DUP3): Likewise.
5129         (__ASSUME_UTIMES): Undefine.
5130
5131         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5132         feclearexcept.  Remove symbol versioning code.
5133         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
5134         symbol versioning code.
5135         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
5136         symbol versioning code.
5137         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5138         feupdateenv.  Remove symbol versioning code.
5139         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5140         fegetexceptflag.  Remove symbol versioning code.
5141         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5142         fesetexceptflag.  Remove symbol versioning code.
5143         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5144         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
5145         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5146         (__posix_fadvise64_l32): Remove prototype.
5147         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5148         code.
5149
5150 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5151
5152         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5153         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5154         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5155         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5156
5157 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
5158
5159         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5160         current working directory
5161
5162 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5163
5164         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5165         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5166         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5167         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5168         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5169         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5170         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5171         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5172         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5173         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5174         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5175         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5176         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5177         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5178         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5179         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5180         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5181         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5182         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5183         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5184         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5185         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5186         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5187         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5188         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5189         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5190         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5191         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5192         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5193         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5194         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5195         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5196         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5197         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5198         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5199         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5200         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5201         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5202         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5203         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5204         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5205         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5206
5207         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5208         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5209
5210         * sysdeps/unix/sysv/linux/arm/Makefile
5211         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5212         Add rt-aeabi_unwind_cpp_pr1.
5213         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5214         Add nptl-aeabi_unwind_cpp_pr1.
5215         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5216         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5217         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5218         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5219         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5220         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5221
5222         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5223         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5224         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5225         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5226
5227         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5228         Deconditionalize the code that was previously under [RESET_PID].
5229         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5230
5231         * sysdeps/generic/exit-thread.h: New file.
5232         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5233         * include/unistd.h (__exit_thread): Remove declaration.
5234         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5235         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5236         * csu/libc-start.c: Include <exit-thread.h>.
5237         (LIBC_START_MAIN): Pass no argument to __exit_thread.
5238         * nptl/pthread_create.c: Include <exit-thread.h>.
5239         (start_thread): Call __exit_thread in place of __exit_thread_inline.
5240         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5241         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5242         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5243         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5244         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5245         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5246         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5247         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5248         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5249         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5250         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5251         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5252         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5253         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5254         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5255         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5256
5257 2014-05-13  Andreas Schwab  <schwab@suse.de>
5258
5259         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5260
5261 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
5262
5263         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5264         (__ASSUME_UTIMES): Do not condition on kernel version.
5265         (__ASSUME_PSELECT): Define unconditionally.
5266         (__ASSUME_PPOLL): Likewise.
5267         (__ASSUME_ATFCTS): Likewise.
5268         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5269         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5270         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5271         (__ASSUME_UTIMENSAT): Define unconditionally.
5272         (__ASSUME_PRIVATE_FUTEX): Likewise.
5273         (__ASSUME_FALLOCATE): Likewise.
5274         (__ASSUME_O_CLOEXEC): Likewise.
5275         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5276         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5277         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5278         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5279         (__ASSUME_IN_NONBLOCK): Likewise.
5280         (__ASSUME_PIPE2): Likewise.
5281         (__ASSUME_EVENTFD2): Likewise.
5282         (__ASSUME_SIGNALFD4): Likewise.
5283         (__ASSUME_DUP3): Likewise.
5284         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5285         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5286         (__ASSUME_AT_RANDOM): Likewise.
5287         (__ASSUME_PREADV): Likewise.
5288         (__ASSUME_PWRITEV): Likewise.
5289         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5290         (__ASSUME_F_GETOWN_EX): Define unconditionally.
5291         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5292         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5293         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5294         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5295         (__ASSUME_O_CLOEXEC): Define unconditionally.
5296         (__ASSUME_PSELECT): Do not undefine conditionally.
5297         (__ASSUME_PPOLL): Likewise.
5298         (__ASSUME_ATFCTS): Likewise.
5299         (__ASSUME_SET_ROBUST_LIST): Likewise.
5300         (__ASSUME_UTIMENSAT): Likewise.
5301         (__ASSUME_FDATASYNC): Define unconditionally.
5302         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5303         (__ASSUME_SIGFRAME_V2): Likewise.
5304         )__ASSUME_EVENTFD2): Likewise.
5305         (__ASSUME_SIGNALFD4): Likewise.
5306         (__ASSUME_PSELECT): Do not undefine conditionally.
5307         (__ASSUME_PPOLL): Likewise.
5308         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5309         (__ASSUME_PSELECT): Define unconditionally.
5310         (__ASSUME_PPOLL): Likewise.
5311         (__ASSUME_O_CLOEXEC): Likewise.
5312         (__ASSUME_SOCK_CLOEXEC): Likewise.
5313         (__ASSUME_IN_NONBLOCK): Likewise.
5314         (__ASSUME_PIPE2): Likewise.
5315         (__ASSUME_EVENTFD2): Likewise.
5316         (__ASSUME_SIGNALFD4): Likewise.
5317         (__ASSUME_DUP3): Likewise.
5318         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5319         (__ASSUME_O_CLOEXEC): Likewise.
5320         (__ASSUME_SOCK_CLOEXEC): Likewise.
5321         (__ASSUME_IN_NONBLOCK): Likewise.
5322         (__ASSUME_PIPE2): Likewise.
5323         (__ASSUME_EVENTFD2): Likewise.
5324         (__ASSUME_SIGNALFD4): Likewise.
5325         (__ASSUME_DUP3): Likewise.
5326         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5327         (__ASSUME_EVENTFD2): Likewise.
5328         (__ASSUME_SIGNALFD4): Likewise.
5329         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5330
5331 2014-05-12  Andreas Schwab  <schwab@suse.de>
5332
5333         [BZ #16932]
5334         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5335         (_nss_nis_gethostbyname4_r): Return error if item length is larger
5336         than maximum RPC packet size.
5337         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5338         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5339         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5340         (_nss_nis_getservbyport_r): Likewise.
5341
5342 2014-05-12  Will Newton  <will.newton@linaro.org>
5343
5344         * malloc/Makefile (tests): Add tst-mallopt.
5345         * malloc/tst-mallopt.c: New file.
5346
5347 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5348
5349         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5350         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5351
5352 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5353
5354         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5355         (tst-tlsmod6.so): Likewise.
5356
5357 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5358
5359         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5360
5361 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
5362
5363         [BZ #16064]
5364         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5365         and <dl-procinfo.h>.
5366         (__fegetenv): Save SSE state in envp->__eip if supported.
5367         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5368         envp->__eip if supported.
5369         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5370         and <dl-procinfo.h>.
5371         (__fesetenv): Always set __eip, __cs_selector, __opcode,
5372         __data_offset and __data_selector in environment to 0.  Set SSE
5373         state if supported.
5374         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5375         test-fenv-sse.
5376         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5377         -mfpmath=sse.
5378         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5379
5380 2014-05-09  Will Newton  <will.newton@linaro.org>
5381
5382         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5383         and libc_relro_required for ARM.
5384         * sysdeps/arm/preconfigure: Regenerate.
5385
5386 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
5387             Stefan Liebler  <stli@linux.vnet.ibm.com>
5388
5389         * config.make.in (enable-lock-elision): New Makefile variable.
5390         * configure.ac: Likewise.
5391         * configure: Regenerate.
5392         * sysdeps/s390/configure.ac:
5393         Add check for gcc transactions support.
5394         * sysdeps/s390/configure: Regenerate.
5395         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5396         Build elision files if enabled.
5397         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5398         Add lock elision support for s390.
5399         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5400         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5401         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5402         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5403         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5404         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5405         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5406         Likewise.
5407         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5408         Likewise.
5409         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5410         Likewise.
5411         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5412         Likewise.
5413         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5414         (__lll_timedlock_elision, __lll_lock_elision)
5415         (__lll_unlock_elision, __lll_trylock_elision)
5416         (lll_timedlock_elision, lll_lock_elision)
5417         (lll_unlock_elision, lll_trylock_elision): Add.
5418         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5419         (pthread_mutex_t): Add lock elision support for s390.
5420
5421 2014-05-14  Wilco  <wdijkstr@arm.com>
5422
5423         * sysdeps/arm/fclrexcpt.c: Cleanup.
5424         * sysdeps/arm/fedisblxcpt.c: Cleanup.
5425         * sysdeps/arm/feenablxcpt.c: Cleanup.
5426         * sysdeps/arm/fegetenv.c: Cleanup.
5427         * sysdeps/arm/fegetexcept.c: Cleanup.
5428         * sysdeps/arm/fegetround.c: Cleanup.
5429         * sysdeps/arm/feholdexcpt.c: Cleanup.
5430         * sysdeps/arm/fesetenv.c: Cleanup.
5431         * sysdeps/arm/fesetround.c: Cleanup.
5432         * sysdeps/arm/feupdateenv.c: Cleanup.
5433         * sysdeps/arm/fgetexcptflg.c: Cleanup.
5434         * sysdeps/arm/fraiseexcpt.c: Cleanup.
5435         * sysdeps/arm/fsetexcptflg.c: Cleanup.
5436         * sysdeps/arm/ftestexcept.c: Cleanup.
5437         * sysdeps/arm/get-rounding-mode.h: Cleanup.
5438         * sysdeps/arm/setfpucw.c: Cleanup.
5439
5440 2014-05-09  Will Newton  <will.newton@linaro.org>
5441
5442         * sysdeps/arm/armv7/strcmp.S: New file.
5443         * NEWS: Mention addition of ARMv7 optimized strcmp.
5444
5445 2014-05-08  Roland McGrath  <roland@hack.frob.com>
5446
5447         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5448         look for %.ac rather than %.in.
5449
5450         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5451         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5452         * sysdeps/mach/hurd/configure: Regenerated.
5453         * sysdeps/unix/sysv/linux/configure: Regenerated.
5454
5455         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5456
5457 2014-05-07  Steve Ellcey  <sellcey@mips.com>
5458
5459         [BZ# 16922]
5460         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5461         (LONG_SUB): Ditto.
5462         (PTR_SUB): Ditto.
5463
5464 2014-05-07  Andreas Schwab  <schwab@suse.de>
5465
5466         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5467         when skipping over non-matching result from nscd.
5468
5469 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
5470
5471         [BZ #16876]
5472         * nptl/sockperf.c (client): Check socket return value.
5473
5474         [BZ #16877]
5475         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5476         nscd security class.
5477
5478 2014-05-06  Roland McGrath  <roland@hack.frob.com>
5479
5480         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5481         * sysdeps/arm/unwind.h: ... here.
5482
5483 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
5484
5485         [BZ# 16916]
5486         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5487         Define.
5488
5489 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5490
5491         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5492         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5493         multiarch strncpy for PPC64.
5494         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5495         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5496         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5497         multiarch optimizations.
5498         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5499         (__libc_ifunc_impl_list): Likewise.
5500         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5501         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5502         multiarch stpncpy for PPC64.
5503         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5504         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5505
5506 2014-05-06  Andreas Schwab  <schwab@suse.de>
5507
5508         [BZ #16912]
5509         * gmon/mcount.c (_MCOUNT_DECL): Use
5510         atomic_compare_and_exchange_bool_acq instead of
5511         catomic_compare_and_exchange_bool_acq.
5512
5513 2014-05-05  Roland McGrath  <roland@hack.frob.com>
5514
5515         * elf/Makefile (others, install-bin): Remove pldd.
5516         (pldd-modules): Variable removed.
5517         ($(objpfx)pldd): Target removed.
5518         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5519         (others, install-bin): Append pldd here.
5520         ($(objpfx)pldd): New target.
5521
5522         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5523         to 0, so the first #if test emitted later doesn't see it undefined.
5524         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5525         * sysdeps/gnu/errlist.c: Regenerated.
5526
5527 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5528
5529         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5530         [libc_hidden_builtin_def]: Define to empty value.
5531         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5532         [libc_hidden_builtin_def]: Likewise.
5533         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5534         [libc_hidden_builtin_def]: Likewise.
5535         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5536         [libc_hidden_builtin_def]: Likewise.
5537         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5538         __redirect_memcpy and define ifunc as default hidden symbol.
5539         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5540         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5541
5542 2014-05-04  Adam Conrad  <adconrad@0c3.net>
5543
5544         * locale/iso-4217.def: Reintroduce XDR currency.
5545
5546 2014-05-04  Allan McRae  <allan@archlinux.org>
5547
5548         * po/eo.po: Update Esperanto translation from translation project.
5549
5550 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
5551
5552         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5553         and FEATURE_INDEX_MAX to 1.
5554         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5555
5556 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5557
5558         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5559         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5560         * iconvdata/big5.c (ONE_DIRECTION): Define.
5561         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5562         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5563         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5564         * iconvdata/cp932.c (ONE_DIRECTION): Define.
5565         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5566         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5567         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5568         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5569         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5570         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5571         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5572         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5573         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5574         * iconvdata/gbk.c (ONE_DIRECTION): Define.
5575         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5576         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5577         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5578         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5579         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5580         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5581         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5582         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5583         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5584         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5585         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5586         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5587         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5588         * iconvdata/iso646.c (ONE_DIRECTION): Define.
5589         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5590         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5591         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5592         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5593         * iconvdata/johab.c (ONE_DIRECTION): Define.
5594         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5595         * iconvdata/sjis.c (ONE_DIRECTION): Define.
5596         * iconvdata/t.61.c (ONE_DIRECTION): Define.
5597         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5598         * iconvdata/tscii.c (ONE_DIRECTION): Define.
5599         * iconvdata/uhc.c (ONE_DIRECTION): Define.
5600         * iconvdata/unicode.c (ONE_DIRECTION): Define.
5601         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5602         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5603         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5604
5605 2014-05-01  Roland McGrath  <roland@hack.frob.com>
5606
5607         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5608         (_IO_JUMPS_OFFSET): Define to 0.
5609
5610         * nptl/sysdeps/pthread/bits/libc-lock.h
5611         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5612         (__libc_lock_define_initialized_recursive): Always define using
5613         initializer.  Modern compilers treat uninitialized (implicit zero) and
5614         explicit zero initializers the same (i.e. put the datum in bss).
5615
5616 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5617
5618         * nscd/nscd-client.h: Include <string.h>.
5619
5620 2014-05-01  David S. Miller  <davem@davemloft.net>
5621
5622         [BZ #16885]
5623         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5624         multiple zero bytes exist at the end of a string.
5625         Reported by Aurelien Jarno <aurelien@aurel32.net>
5626
5627         * string/test-strcmp.c (check): Add explicit test for situations where
5628         there are multiple zero bytes after the first.
5629
5630 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5631
5632         [BZ #16890]
5633         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5634         when compiling wprintf.
5635         * stdio-common/tstdiomisc.c (t3): New function.
5636         (main): Call it.
5637
5638 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5639
5640         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5641         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5642         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5643         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5644
5645 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5646
5647         * stdlib/longlong.h: Updated from GCC.
5648
5649 2014-05-01  Will Newton  <will.newton@linaro.org>
5650             Bernard Ogden  <bernie.ogden@linaro.org>
5651
5652         * NEWS: Update fixed bug list.
5653
5654         [BZ #15119]
5655         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5656
5657 2014-04-30  David S. Miller  <davem@davemloft.net>
5658
5659         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5660         (libc_feholdexcept_setround_sparc_ctx): New function.
5661         (libc_fesetenv_sparc_ctx): Likewise.
5662         (libc_feupdateenv_sparc_ctx): Likewise.
5663         (libc_feholdsetround_sparc_ctx): Likewise.
5664         (libc_feholdexcept_setround_ctx): Define.
5665         (libc_feholdexcept_setroundf_ctx): Likewise.
5666         (libc_feholdexcept_setroundl_ctx): Likewise.
5667         (libc_fesetenv_ctx): Likewise.
5668         (libc_fesetenvf_ctx): Likewise.
5669         (libc_fesetenvl_ctx): Likewise.
5670         (libc_feupdateenv_ctx): Likewise.
5671         (libc_feupdateenvf_ctx): Likewise.
5672         (libc_feupdateenvl_ctx): Likewise.
5673         (libc_feresetround_ctx): Likewise.
5674         (libc_feresetroundf_ctx): Likewise.
5675         (libc_feresetroundl_ctx): Likewise.
5676         (libc_feholdsetround_ctx): Likewise.
5677         (libc_feholdsetroundf_ctx): Likewise.
5678         (libc_feholdsetroundl_ctx): Likewise.
5679
5680         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5681         with __USE_GNU instead of XOPEN cpp guards.
5682
5683         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5684         0.
5685
5686         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5687         with XOPEN cpp guards.
5688
5689 2014-04-30  Julian Brown  <julian@codesourcery.com>
5690
5691         [BZ #16888]
5692         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5693         handling.
5694
5695 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
5696
5697         [BZ #9894]
5698         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5699         Change to 2.6.32.
5700         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5701         * sysdeps/unix/sysv/linux/configure: Regenerated.
5702         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5703         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5704         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5705         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5706         * README: Update reference to required Linux kernel version.
5707         * manual/install.texi (Linux): Update reference to required Linux
5708         kernel headers version.
5709         * INSTALL: Regenerated.
5710
5711         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5712         header inclusion.
5713         [POSIX] (limits.h): Likewise.
5714         [POSIX] (math.h): Likewise.
5715         [POSIX] (sys/wait.h): Likewise.
5716         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5717         function.
5718         [POSIX] (stddef.h): Do not allow header inclusion.
5719
5720 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5721
5722         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5723
5724 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
5725
5726         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5727         Return immediately after lll_futex_wake.
5728
5729 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5730
5731         [BZ #16791]
5732         * nscd/nscd-client.h (datahead_init_common): Initialize entire
5733         structure.
5734         (datahead_init_pos): Call datahead_init_common early.
5735         (datahead_init_neg): Likewise.
5736
5737         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5738         datahead_init_neg): New functions.
5739         * nscd/aicache.c (addhstaiX): Use them.
5740         * nscd/grpcache.c (cache_addgr): Likewise.
5741         * nscd/hstcache.c (cache_addhst): Likewise.
5742         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5743         * nscd/netgroupcache.c (do_notfound): Likewise.
5744         (addgetnetgrentX): Likewise.
5745         (addinnetgrX): Likewise.
5746         * nscd/pwdcache.c (cache_addpw): Likewise.
5747         * nscd/servicescache.c (cache_addserv): Likewise.
5748
5749 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5750             Atsushi Onoe  <atsushi@onoe.org>
5751
5752         [BZ #14308]
5753         [BZ #12994]
5754         [BZ #13651]
5755         * resolv/res_query.c (__libc_res_nsearch): Return if at least
5756         one response is valid.
5757         * resolv/res_send.c (send_dg): Check for validity of other
5758         response if the current response is a referral.
5759
5760 2014-04-29  Steve Ellcey  <sellcey@mips.com>
5761
5762         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5763
5764 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
5765
5766         [BZ #16823]
5767         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5768         Always divide by positive zero when computing -Inf result.
5769         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5770         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5771
5772 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5773
5774         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5775         FPSCR if value do not change.
5776         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5777         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5778         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5779         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5780         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5781         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5782         function.
5783
5784 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
5785
5786         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5787         * sysdeps/unix/sysv/linux/hppa: Move directory from
5788         ports/systeps/unix/sysv/linux/hppa.
5789         * README: Update listing for hppa-*-linux-gnu.
5790
5791 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
5792
5793         [BZ #16754]
5794         * manual/stdio.texi (Hook functions): Fix types of stream hook
5795         functions.
5796         [BZ #16854]
5797         * socket/sys/socket.h: Fix typo in comment.
5798
5799 2014-04-28  Wilco  <wdijkstr@arm.com>
5800
5801         * sysdeps/arm/fenv_private.h: New file.
5802         * sysdeps/arm/math_private.h: New file.
5803         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5804
5805 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
5806
5807         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5808         with __int128_t.
5809         (La_x86_64_retval): Likewise.
5810
5811 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
5812
5813         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5814         fpsr if value didn't change.
5815         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5816         to fpcr if value didn't change.
5817         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5818         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5819         fpsr or fpcr if value didn't change.
5820         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5821         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5822         fpcr if value didn't change.
5823         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5824         to fpsr if value didn't change.
5825
5826 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5827
5828         * nptl/tst-sem3.c: Use test-skeleton.c
5829         (main): Rename to do_test.  Use return instead of
5830         exit.
5831         * nptl/tst-sem4.c: Use test-skeleton.c
5832         (main): Rename to do_test.
5833
5834 2014-04-22  David S. Miller  <davem@davemloft.net>
5835
5836         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5837         (struct sigaction): New struct member __glibc_reserved0, change
5838         type of sa_flags to int.
5839
5840 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
5841
5842         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5843         (COUNT_LEADING_ZEROS_0): Define for AArch64.
5844
5845 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5846
5847         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5848         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5849
5850 2014-04-22  Will Newton  <will.newton@linaro.org>
5851             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
5852
5853         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5854         (__longjmp): Add longjmp and longjmp_target SystemTap
5855         probes.
5856         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5857         (__sigsetjmp): Add setjmp SystemTap probe.
5858
5859 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
5860
5861         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5862         match manual order.
5863
5864 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5865
5866         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5867
5868         * sysdeps/powerpc/fpu/fenv_private.h
5869         (libc_feholdexcept_setroundl_ctx): Define to
5870         libc_feholdexcept_setround_ppc_ctx.
5871         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5872         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5873         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5874         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5875
5876 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5877
5878         * sysdeps/aarch64/math-tests.h: New file.
5879
5880 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
5881
5882         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5883         New.
5884         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5885         Check and set bit_AVX2_Usable.
5886         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5887         macro.
5888         (bit_AVX2): Likewise.
5889         (index_AVX2_Usable): Likewise.
5890         (CPUID_AVX2): Likewise.
5891         (HAS_AVX2): Likewise.
5892
5893 2014-04-17  Will Newton  <will.newton@linaro.org>
5894
5895         * manual/setjmp.texi (System V contexts): Add note that
5896         calling setcontext on a context created by a call to a
5897         signal handler is undefined.  Update text to note that
5898         setcontext from a signal handler is possible but not
5899         recommended.
5900
5901         [BZ #16629]
5902         * stdlib/tst-setcontext.c: Include signal.h.
5903         (main): Check that the signal stack before and
5904         after swapcontext is the same.
5905
5906         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5907         Re-implement to restore registers in user code and avoid
5908         rt_sigreturn system call.
5909
5910 2014-04-17  Wilco  <wdijkstr@arm.com>
5911
5912         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5913         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5914         * math/test-fenv.c: Skip exception trap tests on targets which only
5915         support non-stop mode.
5916
5917 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5918             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5919
5920         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5921         (libc_feholdsetround_aarch64_ctx)
5922         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5923         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5924         (libc_feresetround_ctx, libc_feresetroundf_ctx)
5925         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5926         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5927         (libc_feresetround_noexl_ctx): Define.
5928
5929 2014-04-16  Richard Henderson  <rth@redhat.com>
5930
5931         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5932
5933         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5934         unwind tables.
5935
5936         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5937         const from the non-libc, non-ldso copy.
5938
5939         * sysdeps/alpha/libm-test-ulps: Regenerate.
5940
5941 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
5942             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5943
5944         * sysdeps/aarch64/fpu/math_private.h: New file.
5945
5946 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5947
5948         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5949
5950 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
5951
5952         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5953         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5954         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5955         Intel MPX bound registers before _dl_profile_fixup.
5956         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5957         registers after _dl_profile_fixup.  Save and restore bound
5958         registers bnd0/bnd1 when calling _dl_call_pltexit.
5959         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5960         (LR_BND_OFFSET): Likewise.
5961         (LRV_BND0_OFFSET): Likewise.
5962         (LRV_BND1_OFFSET): Likewise.
5963
5964 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5965
5966         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5967         to...
5968         * sysdeps/mach/hurd/i386/tls.h: ... here.
5969         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5970         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5971         fields.
5972
5973 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5974
5975         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5976
5977 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5978
5979         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5980
5981 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5982
5983         [BZ #14770]
5984         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5985         * sysdeps/s390/configure: Regenerate.
5986
5987         [BZ #16824]
5988         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5989         Set round-to-nearest internally to reduce error accumulation.
5990
5991 2014-04-16  Alan Modra  <amodra@gmail.com>
5992
5993         [BZ #16740]
5994         [BZ #16619]
5995         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5996         * math/libm-test.inc (frexp_test_data): Add tests.
5997         * NEWS: Update fixed bug list.
5998
5999 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6000
6001         * benchtests/Makefile: Depend on libraries in build directory.
6002         (bench-math): Separate out math tests.
6003         (bench-pthread): Separate out pthread tests.
6004         (bench): Include math and pthread tests.
6005
6006 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
6007
6008         [BZ #16831]
6009         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6010         _dl_debug_initialize.
6011
6012         * configure.ac: Remove SELinux header check.
6013         * configure: Regenerate.
6014         * nscd/selinux.c (perms): Array of const char* to permission names.
6015         (nscd_request_avc_has_perm): Call security_deny_unknown to find
6016         default policy. Call string_to_security_class and string_to_av_perm to
6017         translate strings. Enforce default policy and call avs_has_perm with
6018         results of translated strings.
6019
6020 2014-04-13  David S. Miller  <davem@davemloft.net>
6021
6022         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6023
6024 2014-04-12  Allan McRae  <allan@archlinux.org>
6025
6026         [BZ #16838]
6027         * manual/string.texi (Collation Functions): Fix qsort argument
6028         order in example.
6029         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6030
6031 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
6032
6033         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6034         Make the test a no-op if there are no exceptions defined.
6035
6036 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6037
6038         * elf/Makefile (tests): make tst-dlopen-aout conditional on
6039         enable-hardcoded-path-in-tests
6040
6041 2014-04-11  Will Newton  <will.newton@linaro.org>
6042
6043         * benchtests/Makefile (extra-objs): Add json-lib.o.
6044         (bench-func): Tidy up JSON output.
6045         * benchtests/bench-skeleton.c: Include json-lib.h.
6046         (main): Use JSON library functions to do output of
6047         benchmark results.
6048         * benchtests/bench-timing-type.c (main): Output the
6049         timing type simply, leaving formatting to the user.
6050         * benchtests/json-lib.c: New file.
6051         * benchtests/json-lib.h: Likewise.
6052
6053 2014-04-11  Torvald Riegel  <triegel@redhat.com>
6054
6055         [BZ #15215]
6056         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6057         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
6058         memory barriers.  Add comments.
6059         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6060         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6061         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6062         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6063         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6064         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6065
6066 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6067
6068         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6069         * sysdeps/s390/s390-64/configure.ac: ... this ...
6070         * sysdeps/s390/configure.ac: ... to here.
6071         * sysdeps/s390/s390-32/configure: Delete file.
6072         * sysdeps/s390/s390-64/configure: Delete file.
6073         * sysdeps/s390/configure: Regenerate.
6074
6075 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
6076
6077         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6078
6079 2014-04-11  Will Newton  <will.newton@linaro.org>
6080
6081         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6082         to zero if it is not defined elsewhere.  (mtrim): Test
6083         the value of MALLOC_DEBUG with #if rather than #ifdef.
6084
6085 2014-04-10 Torvald Riegel  <triegel@redhat.com>
6086
6087         * benchtests/pthread_once-inputs: New file.
6088         * benchtests/pthread_once-source.c: New file.
6089         * benchtests/README: Update documentation.
6090
6091 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
6092             H.J. Lu  <hongjiu.lu@intel.com>
6093
6094         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6095         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6096         * sysdeps/x86_64/configure: Regenerated.
6097         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6098         macro.
6099         (REGISTER_SAVE_RAX): Likewise.
6100         (REGISTER_SAVE_RCX): Likewise.
6101         (REGISTER_SAVE_RDX): Likewise.
6102         (REGISTER_SAVE_RSI): Likewise.
6103         (REGISTER_SAVE_RDI): Likewise.
6104         (REGISTER_SAVE_R8): Likewise.
6105         (REGISTER_SAVE_R9): Likewise.
6106         (REGISTER_SAVE_BND0): Likewise.
6107         (REGISTER_SAVE_BND1): Likewise.
6108         (REGISTER_SAVE_BND2): Likewise.
6109         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
6110         bound registers when calling _dl_fixup.
6111
6112 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6113
6114         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6115         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6116         of its definition.
6117         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6118         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6119         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6120         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6121         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6122         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6123         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6124
6125 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
6126
6127         [BZ #15514]
6128         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6129         pathconf(_PC_NAME_MAX).
6130
6131 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6132
6133         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6134         Remove macro usage.
6135         (__PTHREAD_SPINS): Move definition to ...
6136         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6137         (__PTHREAD_SPINS): ... here.
6138         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6139         (__PTHREAD_SPIN): Likewise.
6140         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6141         (__PTHREAD_SPIN): Likewise.
6142         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6143         (__PTHREAD_SPIN): Likewise.
6144         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6145         (__PTHREAD_SPIN): Likewise.
6146         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6147         (__PTHREAD_SPIN): Likewise.
6148         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6149         (__PTHREAD_SPIN): Likewise.
6150         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6151         (__PTHREAD_SPIN): Likewise.
6152         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6153         (__PTHREAD_SPIN): Likewise.
6154         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6155         (__PTHREAD_SPIN): Likewise.
6156         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6157         (__PTHREAD_SPIN): Likewise.
6158         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6159         (__PTHREAD_SPIN): Likewise.
6160         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6161         (__PTHREAD_SPIN): Likewise.
6162
6163         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6164         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6165         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6166         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6167         imply folder.
6168         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6169         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6170         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6171         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6172         correct imply path.
6173         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6174         strlen symbol for non multi-arch builds.
6175         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6176         missing hidden_def and weak_alias.
6177
6178 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
6179
6180         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6181
6182 2014-04-07  Will Newton  <will.newton@linaro.org>
6183
6184         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6185         and contents.  [!_LIBC] Remove #ifndef and contents.
6186         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
6187         * string/memccpy.c (__memccpy): Use ANSI prototype.
6188         * string/memfrob.c (memfrob): Likewise.
6189         * string/strcoll.c (STRCOLL): Likewise.
6190         * string/strlen.c (strlen): Likewise.
6191         * string/strtok.c (STRTOK): Likewise.
6192         * string/strcat.c: Remove unused #include of memcopy.h.
6193         (strcat): Use ANSI prototype.
6194         * string/strchr.c: Remove unused #include of memcopy.h.
6195         (strchr): Use ANSI prototype.
6196         * string/strcmp.c: Remove unused #include of memcopy.h.
6197         (strcmp): Use ANSI prototype.
6198         * string/strcpy.c: Remove unused #include of memcopy.h.
6199         (strcpy): Use ANSI prototype.
6200
6201 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6202
6203         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6204         * config.make.in (config-extra-cppflags): Set it from
6205         libc_extra_cppflags.
6206         * configure.ac (libc_extra_cflags): Make it accumulate over
6207         configure fragments.
6208         (libc_extra_cppflags): New flag.
6209         * configure. Regenerate.
6210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6211         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6212         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6214
6215         [BZ #16815]
6216         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6217         result for FE_DOWNWARD rounding mode.
6218         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6219         Likewise.
6220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6221
6222 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
6223
6224         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6225         in function argument name.
6226
6227 2014-04-03  David Svoboda  <svoboda@cert.org>
6228
6229         [BZ #5666]
6230         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6231         explicitly.
6232
6233 2014-04-03  Roland McGrath  <roland@hack.frob.com>
6234
6235         * elf/dl-unmap-segments.h: New file.
6236         * sysdeps/generic/ldsodefs.h
6237         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6238         * elf/dl-close.c: Include <dl-unmap-segments.h>.
6239         * elf/dl-fptr.c: Likewise.
6240         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6241         * sysdeps/aarch64/tlsdesc.c: Likewise.
6242         * sysdeps/arm/tlsdesc.c: Likewise.
6243         * sysdeps/i386/tlsdesc.c: Likewise.
6244         * sysdeps/tile/dl-runtime.c: Likewise.
6245         * sysdeps/x86_64/tlsdesc.c: Likewise.
6246         * elf/dl-load.h: New file.
6247         * elf/dl-load.c: Include it.
6248         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6249         Macros moved to dl-load.h.
6250         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6251         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6252         Use _dl_unmap_segments in place of __munmap.
6253         Break out segment-mapping loop into ...
6254         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6255
6256 2014-04-03  Will Newton  <will.newton@linaro.org>
6257
6258         * elf/dl-lookup.c (do_lookup_x): Remove comment
6259         referring to nested function and move variable
6260         declarations down to before first use.
6261
6262 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
6263
6264         [BZ #16799]
6265         [BZ #16800]
6266         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6267         with 0 numerator.
6268         * math/s_catanf.c (__catanf): Likewise.
6269         * math/s_catanh.c (__catanh): Likewise.
6270         * math/s_catanhf.c (__catanhf): Likewise.
6271         * math/s_catanhl.c (__catanhl): Likewise.
6272         * math/s_catanl.c (__catanl): Likewise.
6273         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6274         by positive zero when computing -Inf result.
6275         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6276         (catanh_test): Likewise.
6277         * sysdeps/i386/fpu/libm-test-ulps: Update.
6278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6279
6280         [BZ #16789]
6281         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6282         instead of using underflowing value in computing result.
6283         * math/s_clog10.c (__clog10): Likewise.
6284         * math/s_clog10f.c (__clog10f): Likewise.
6285         * math/s_clog10l.c (__clog10l): Likewise.
6286         * math/s_clogf.c (__clogf): Likewise.
6287         * math/s_clogl.c (__clogl): Likewise.
6288         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6289         (clog10_test): Likewise.
6290         * sysdeps/i386/fpu/libm-test-ulps: Update.
6291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6292
6293 2014-04-02  Alan Modra  <amodra@gmail.com>
6294
6295         [BZ #16739]
6296         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6297         output when value is near a power of two.  Use int64_t for lx and
6298         remove casts.  Use decimal rather than hex exponent constants.
6299         Don't use long double multiplication when double will suffice.
6300         * math/libm-test.inc (nextafter_test_data): Add tests.
6301         * NEWS: Add 16739 and 16786 to bug list.
6302
6303         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6304
6305         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6306
6307 2014-04-01  Will Newton  <will.newton@linaro.org>
6308
6309         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6310         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
6311
6312 2014-04-01  Florian Weimer  <fweimer@redhat.com>
6313
6314         [BZ #13347]
6315         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6316         * nptl/tst-setuid2.c: New file.
6317         * nptl/Makefile (xtests): Add tst-setuid2.
6318
6319 2014-04-01  Alan Modra  <amodra@gmail.com>
6320
6321         [BZ #16786]
6322         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6323
6324 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6325
6326         [BZ #6803]
6327         [BZ #6804]
6328         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6329         set errno as appropriate.
6330         * math/w_scalbf.c (__scalbf): Likewise.
6331         * math/w_scalbl.c (__scalbl): Likewise.
6332         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6333         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6334         * math/libm-test.inc (scalb_test_data): Add errno expectations.
6335         Add more NaN tests.
6336
6337         [BZ #16349]
6338         * math/w_atan2.c: Include <errno.h>.
6339         (__atan2): Set errno for result underflowing to zero.
6340         * math/w_atan2f.c: Include <errno.h>.
6341         (__atan2f): Set errno for result underflowing to zero.
6342         * math/w_atan2l.c: Include <errno.h>.
6343         (__atan2l): Set errno for result underflowing to zero.
6344         * math/auto-libm-test-in: Don't allow missing errno for some atan2
6345         tests.
6346         * math/auto-libm-test-out: Regenerated.
6347
6348 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6349
6350         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6351         Encode instruction correctly in little endian.
6352         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6353         Likewise.
6354         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6355         Likewise.
6356         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6357         Likewise.
6358         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6359         Likewise.
6360
6361 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6362
6363         [BZ #9894]
6364         * sysdeps/unix/sysv/linux/kernel-features.h
6365         [__sparc__ && !__arch64__ && !__sparc_v9__]
6366         (__ASSUME_SET_ROBUST_LIST): Do not define.
6367         [__sparc__ && !__arch64__ && !__sparc_v9__]
6368         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6369         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6370         Likewise.
6371         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6372         (__ASSUME_FUTEX_LOCK_PI): Undefine.
6373         (__ASSUME_REQUEUE_PI): Likewise.
6374         (__ASSUME_SET_ROBUST_LIST): Likewise.
6375         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6376         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6377         Undefine.
6378         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6379         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6380         Likewise.
6381         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6382         Likewise.
6383         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6384         Likewise.
6385         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6386         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6387         Undefine.
6388         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6389         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6390         Likewise.
6391
6392         [BZ #16648]
6393         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6394         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6395         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6396
6397 2014-03-31  Will Newton  <will.newton@linaro.org>
6398
6399         * benchtests/Makefile (bench): Add ffs and ffsll to list
6400         of tests.
6401         * benchtests/ffs-inputs: New file.
6402         * benchtests/ffsll-inputs: Likewise.
6403
6404 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
6405
6406         [BZ #16770]
6407         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6408         too large before casting to int.
6409         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6410         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6411         * math/libm-test.inc (scalb_test_data): Add more tests.
6412
6413 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6414
6415         * benchtests/Makefile (DETAILED_OPT): New make option.
6416         (bench-func): Run benchmark program with -d if DETAILED_OPT is
6417         set.
6418         * benchtests/bench-skeleton.c: Include stdbool.h.
6419         (main): Store and print timings per input.
6420         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6421         member to each argument value.
6422         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6423         (_print_arg_data): Initialize per-input timing to 0.
6424
6425         * benchtests/Makefile (timing-type): New binary.
6426         (bench-clean): Also remove bench-timing-type.
6427         (bench): New target for timing-type.
6428         (bench-func): Print output in JSON format.
6429         * benchtests/bench-skeleton.c (main): Print output in JSON
6430         format.
6431         * benchtests/bench-timing-type.c: New file.
6432         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6433         (TIMING_PRINT_STATS): Remove.
6434         * benchtests/scripts/bench.py (_print_arg_data): Store variant
6435         name separately.
6436
6437         * benchtests/bench-modf.c: Remove.
6438         * benchtests/modf-inputs: New inputs file.
6439
6440 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
6441
6442         [BZ #16362]
6443         * math/s_clog10.c (M_PI_LOG10E): New macro.
6444         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6445         imaginary parts are 0.
6446         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6447         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6448         imaginary parts are 0.
6449         * math/s_clog10l.c (M_PI_LOG10El): New macro.
6450         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6451         imaginary parts are 0.
6452         * math/libm-test.inc (clog10_test_data): Update expected results
6453         for when real and imaginary parts are 0.
6454
6455 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
6456
6457         * elf/dl-load.c: Finish conversion of __builtin_expect into
6458         __glibc_{un}likely.
6459
6460 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
6461
6462         [BZ #16348]
6463         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6464         1+x for argument with exponent below -67.
6465         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6466         Likewise.
6467         * math/auto-libm-test-in: Add more tests of exp.
6468         * math/auto-libm-test-out: Regenerated.
6469
6470 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6471
6472         [BZ #16759]
6473         * inet/getnetgrent_r.c (get_nonempty_val): New function.
6474         (nscd_getnetgrent): Use it.
6475
6476         [BZ #16760]
6477         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6478         of stpcpy.
6479
6480 2014-03-27  Andi Kleen  <ak@linux.intel.com>
6481
6482         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6483         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6484         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6485         (lll_robust_unlock): Remove out of line section. Use cfi
6486         intrinsics.
6487         (LLL_STUB_UNWIND_INFO*): Remove.
6488         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6489         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6490         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6491         (lll_robust_unlock): Remove out of line section. Use cfi
6492         intrinsics.
6493         (LLL_STUB_UNWIND_INFO*): Remove.
6494
6495 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6496
6497         [BZ #16758]
6498         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6499         blank values.
6500
6501 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6502
6503         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6504
6505 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
6506
6507         [BZ #16198]
6508         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6509         fnstenv.
6510         * math/test-fenv-preserve.c: New file.
6511         * math/Makefile (tests): Add test-fenv-preserve.
6512
6513 2014-03-26  Will Newton <will.newton@linaro.org>
6514
6515         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6516
6517 2014-03-25  Roland McGrath  <roland@hack.frob.com>
6518
6519         * scripts/versionlist.awk: Partition the version sets and emit all
6520         GLIBC_* (sorted) before all others (sorted).
6521
6522 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6523
6524         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6525         GLIBC_2.2.5 version.
6526
6527 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6528
6529         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6530         calls.
6531
6532         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6533         previous change.
6534
6535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6536
6537 2014-03-25  Andreas Schwab  <schwab@suse.de>
6538
6539         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6540         label to be used after in6ailist is initialized.
6541
6542 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6543
6544         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6545         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6546
6547 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6548
6549         [BZ #16357]
6550         [BZ #16599]
6551         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6552         min_plus_half.
6553         (fp_formats): Update initializers.
6554         (init_fp_formats): Initialize new field.
6555         (output_for_one_input_case): Allow underflow for results up to
6556         min_plus_half.
6557         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6558         * math/auto-libm-test-in: Don't mark some underflows from asin and
6559         atanh as spurious.
6560         * math/auto-libm-test-out: Regenerated.
6561         * sysdeps/i386/fpu/libm-test-ulps: Update.
6562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6563
6564 2014-03-25  Andreas Schwab  <schwab@suse.de>
6565
6566         * libio/Makefile (tst-ftell-partial-wide-ENV)
6567         (tst-ftell-active-handler-ENV): Define.
6568
6569 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
6570
6571         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6572
6573 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6574
6575         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6576
6577 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6578
6579         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6580         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6581         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6582
6583 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6584
6585         [BZ #16634]
6586         * elf/dl-load.c (open_verify): Add mode parameter.
6587         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6588         (open_path): Change from boolean 'secure' to complete flag 'mode'
6589         (_dl_map_object): Adjust.
6590         * elf/Makefile (tests): Add tst-dlopen-aout.
6591         * elf/tst-dlopen-aout.c: New test.
6592
6593 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
6594
6595         [BZ #16714]
6596         * sysdeps/unix/sysv/linux/s390/bits/stat.h
6597         (struct stat): Rename member pad0 to __glibc_reserved0.
6598
6599         [BZ #16712]
6600         * sysdeps/s390/s390-32/bits/wordsize.h
6601         (__WORDSIZE32_SIZE_ULONG): New define.
6602         * sysdeps/s390/s390-64/bits/wordsize.h
6603         (__WORDSIZE32_SIZE_ULONG): Likewise.
6604         * sysdeps/generic/stdint.h (SIZE_MAX):
6605         Define as UL if __WORDSIZE32_SIZE_ULONG.
6606
6607         [BZ #16713]
6608         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6609         (__glibc_reserved0): New variable.
6610         (sa_flags): Change type to int.
6611
6612         * posix/Makefile (before-compile): Use += before-compile instead
6613         of a :=.
6614
6615         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6616         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6617
6618 2014-03-20  Andreas Schwab  <schwab@suse.de>
6619
6620         [BZ #16743]
6621         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6622         non-matching result from nscd.
6623
6624 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6625
6626         * scripts/bench.py: Moved to ...
6627         * benchtests/scripts/bench.py: ... here.
6628         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6629
6630 2014-03-24  Andreas Schwab  <schwab@suse.de>
6631
6632         [BZ #16002]
6633         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6634         alloca_account and account alloca use for struct in6ailist.
6635
6636 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6637
6638         [BZ #16284]
6639         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6640         rounding mode to recompute results that overflow to infinity or
6641         underflow to zero.
6642         * math/auto-libm-test-in: Don't mark tests as expected to fail for
6643         bug 16284.
6644         * math/auto-libm-test-out: Regenerated.
6645         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6646         (ccosh_test): Likewise.
6647         (csin_test_data): Use plus_oflow.
6648         (csin_test): Use ALL_RM_TEST.
6649         (csinh_test_data): Use plus_oflow.
6650         (csinh_test): Use ALL_RM_TEST.
6651         * sysdeps/i386/fpu/libm-test-ulps: Update.
6652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6653
6654 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
6655
6656         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6657         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6658         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6659
6660         [BZ #16731]
6661         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6662         when x - 1 is zero.
6663         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6664         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6665         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6666         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6667         argument is 1.
6668         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6669         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6670         zero.
6671         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6672         * sysdeps/i386/fpu/libm-test-ulps: Update.
6673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6674
6675 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6676
6677         * scripts/bench.pl: Remove file.
6678         * scripts/bench.py: New benchmark script.
6679         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6680         * benchtests/README: Mention python dependency.
6681         * scripts/pylintrc: New file.
6682         * scripts/pylint: New file.
6683
6684         * bits/mathdef.h: Use #ifdef instead of #if.
6685         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6686         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6687         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6688         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6689         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6690         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6691
6692 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6693             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6694
6695         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6696         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6697         and strpbrk-ppc64 objects.
6698         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6699         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6700         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6701         multiarch strpbrk for POWER7.
6702         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6703         multiarch strpbrk for PPC64.
6704         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6705         ifunc selector.
6706         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6707         strpbrk for POWER7.
6708
6709 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6710
6711         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6712         (atan_test): Likewise.
6713         (atanh_test_data): Use NO_TEST_INLINE for two tests.
6714         (atanh_test): Use ALL_RM_TEST.
6715         (atan2_test_data): Likewise.
6716         (cabs_test): Likewise.
6717         (cacosh_test): Likewise.
6718         (carg_test): Likewise.
6719         (casin_test): Likewise.
6720         (casinh_test): Likewise.
6721         (cbrt_test): Likewise.
6722         (csqrt_test): Likewise.
6723         (erf_test): Likewise.
6724         (erfc_test): Likewise.
6725         (pow10_test): Likewise.
6726         (exp2_test): Likewise.
6727         (hypot_test): Likewise.
6728         (j0_test): Likewise.
6729         (j1_test): Likewise.
6730         (lgamma_test): Likewise.
6731         (gamma_test): Likewise.
6732         (sincos_test): Likewise.
6733         (tanh_test): Likewise.
6734         (y0_test): Likewise.
6735         (y1_test): Likewise.
6736         * sysdeps/i386/fpu/libm-test-ulps: Update.
6737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6738
6739 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6740
6741         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6742         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6743         and strcspn-ppc64 objects.
6744         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6745         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6746         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6747         multiarch strcspn for POWER7.
6748         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6749         multiarch strcspn for PPC64.
6750         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6751         ifunc selector.
6752         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6753         strcspn for POWER7.
6754
6755 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6756
6757         * math/gen-libm-test.pl (generate_testfile): Expect only function
6758         name as argument to AUTO_TESTS_* and pass results for all rounding
6759         modes to parse_args.
6760         (parse_auto_input): Separate inputs of automatic tests from
6761         outputs before storing in %auto_tests.
6762         * math/libm-test.inc (acos_test_data): Update call to
6763         AUTO_TESTS_f_f.
6764         (acos_test): Use ALL_RM_TEST.
6765         (acos_tonearest_test_data): Remove.
6766         (acos_test_tonearest): Likewise.
6767         (acos_towardzero_test_data): Likewise.
6768         (acos_test_towardzero): Likewise.
6769         (acos_downward_test_data): Likewise.
6770         (acos_test_downward): Likewise.
6771         (acos_upward_test_data): Likewise.
6772         (acos_test_upward): Likewise.
6773         (acosh_test_data): Update call to AUTO_TESTS_f_f.
6774         (asin_test_data): Likewise.
6775         (asin_test): Use ALL_RM_TEST.
6776         (asin_tonearest_test_data): Remove.
6777         (asin_test_tonearest): Likewise.
6778         (asin_towardzero_test_data): Likewise.
6779         (asin_test_towardzero): Likewise.
6780         (asin_downward_test_data): Likewise.
6781         (asin_test_downward): Likewise.
6782         (asin_upward_test_data): Likewise.
6783         (asin_test_upward): Likewise.
6784         (asinh_test_data): Update call to AUTO_TESTS_f_f.
6785         (atan_test_data): Likewise.
6786         (atanh_test_data): Likewise.
6787         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6788         (cabs_test_data): Update call to AUTO_TESTS_c_f.
6789         (carg_test_data): Likewise.
6790         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6791         (ccos_test_data): Update call to AUTO_TESTS_c_c.
6792         (ccosh_test_data): Likewise.
6793         (cexp_test_data): Likewise.
6794         (clog_test_data): Likewise.
6795         (clog10_test_data): Likewise.
6796         (cos_test_data): Update call to AUTO_TESTS_f_f.
6797         (cos_test): Use ALL_RM_TEST.
6798         (cos_tonearest_test_data): Remove.
6799         (cos_test_tonearest): Likewise.
6800         (cos_towardzero_test_data): Likewise.
6801         (cos_test_towardzero): Likewise.
6802         (cos_downward_test_data): Likewise.
6803         (cos_test_downward): Likewise.
6804         (cos_upward_test_data): Likewise.
6805         (cos_test_upward): Likewise.
6806         (cosh_test_data): Update call to AUTO_TESTS_f_f.
6807         (cosh_test): Use ALL_RM_TEST.
6808         (cosh_tonearest_test_data): Remove.
6809         (cosh_test_tonearest): Likewise.
6810         (cosh_towardzero_test_data): Likewise.
6811         (cosh_test_towardzero): Likewise.
6812         (cosh_downward_test_data): Likewise.
6813         (cosh_test_downward): Likewise.
6814         (cosh_upward_test_data): Likewise.
6815         (cosh_test_upward): Likewise.
6816         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6817         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6818         (ctan_test_data): Likewise.
6819         (ctan_test): Use ALL_RM_TEST.
6820         (ctan_tonearest_test_data): Remove.
6821         (ctan_test_tonearest): Likewise.
6822         (ctan_towardzero_test_data): Likewise.
6823         (ctan_test_towardzero): Likewise.
6824         (ctan_downward_test_data): Likewise.
6825         (ctan_test_downward): Likewise.
6826         (ctan_upward_test_data): Likewise.
6827         (ctan_test_upward): Likewise.
6828         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6829         (ctanh_test): Use ALL_RM_TEST.
6830         (ctanh_tonearest_test_data): Remove.
6831         (ctanh_test_tonearest): Likewise.
6832         (ctanh_towardzero_test_data): Likewise.
6833         (ctanh_test_towardzero): Likewise.
6834         (ctanh_downward_test_data): Likewise.
6835         (ctanh_test_downward): Likewise.
6836         (ctanh_upward_test_data): Likewise.
6837         (ctanh_test_upward): Likewise.
6838         (erf_test_data): Update call to AUTO_TESTS_f_f.
6839         (erfc_test_data): Likewise.
6840         (exp_test_data): Likewise.
6841         (exp_test): Use ALL_RM_TEST.
6842         (exp_tonearest_test_data): Remove.
6843         (exp_test_tonearest): Likewise.
6844         (exp_towardzero_test_data): Likewise.
6845         (exp_test_towardzero): Likewise.
6846         (exp_downward_test_data): Likewise.
6847         (exp_test_downward): Likewise.
6848         (exp_upward_test_data): Likewise.
6849         (exp_test_upward): Likewise.
6850         (exp10_test_data): Update call to AUTO_TESTS_f_f.
6851         (exp10_test): Use ALL_RM_TEST.
6852         (exp10_tonearest_test_data): Remove.
6853         (exp10_test_tonearest): Likewise.
6854         (exp10_towardzero_test_data): Likewise.
6855         (exp10_test_towardzero): Likewise.
6856         (exp10_downward_test_data): Likewise.
6857         (exp10_test_downward): Likewise.
6858         (exp10_upward_test_data): Likewise.
6859         (exp10_test_upward): Likewise.
6860         (exp2_test_data): Update call to AUTO_TESTS_f_f.
6861         (expm1_test_data): Likewise.
6862         (expm1_test): Use ALL_RM_TEST.
6863         (expm1_tonearest_test_data): Remove.
6864         (expm1_test_tonearest): Likewise.
6865         (expm1_towardzero_test_data): Likewise.
6866         (expm1_test_towardzero): Likewise.
6867         (expm1_downward_test_data): Likewise.
6868         (expm1_test_downward): Likewise.
6869         (expm1_upward_test_data): Likewise.
6870         (expm1_test_upward): Likewise.
6871         (fma_test_data): Update call to AUTO_TESTS_fff_f.
6872         (fma_test): Use ALL_RM_TEST.
6873         (fma_towardzero_test_data): Remove.
6874         (fma_test_towardzero): Likewise.
6875         (fma_downward_test_data): Likewise.
6876         (fma_test_downward): Likewise.
6877         (fma_upward_test_data): Likewise.
6878         (fma_test_upward): Likewise.
6879         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6880         (j0_test_data): Update call to AUTO_TESTS_f_f.
6881         (j1_test_data): Likewise.
6882         (jn_test_data): Update call to AUTO_TESTS_if_f.
6883         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6884         (log_test_data): Update call to AUTO_TESTS_f_f.
6885         (log10_test_data): Likewise.
6886         (log1p_test_data): Likewise.
6887         (log2_test_data): Likewise.
6888         (pow_test_data): Update call to AUTO_TESTS_ff_f.
6889         (pow_tonearest_test_data): Likewise.
6890         (sin_test_data): Update call to AUTO_TESTS_f_f.
6891         (sin_test): Use ALL_RM_TEST.
6892         (sin_tonearest_test_data): Remove.
6893         (sin_test_tonearest): Likewise.
6894         (sin_towardzero_test_data): Likewise.
6895         (sin_test_towardzero): Likewise.
6896         (sin_downward_test_data): Likewise.
6897         (sin_test_downward): Likewise.
6898         (sin_upward_test_data): Likewise.
6899         (sin_test_upward): Likewise.
6900         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6901         (sinh_test_data): Update call to AUTO_TESTS_f_f.
6902         (sinh_test): Use ALL_RM_TEST.
6903         (sinh_tonearest_test_data): Remove.
6904         (sinh_test_tonearest): Likewise.
6905         (sinh_towardzero_test_data): Likewise.
6906         (sinh_test_towardzero): Likewise.
6907         (sinh_downward_test_data): Likewise.
6908         (sinh_test_downward): Likewise.
6909         (sinh_upward_test_data): Likewise.
6910         (sinh_test_upward): Likewise.
6911         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6912         (sqrt_test): Use ALL_RM_TEST.
6913         (sqrt_tonearest_test_data): Remove.
6914         (sqrt_test_tonearest): Likewise.
6915         (sqrt_towardzero_test_data): Likewise.
6916         (sqrt_test_towardzero): Likewise.
6917         (sqrt_downward_test_data): Likewise.
6918         (sqrt_test_downward): Likewise.
6919         (sqrt_upward_test_data): Likewise.
6920         (sqrt_test_upward): Likewise.
6921         (tan_test_data): Update call to AUTO_TESTS_f_f.
6922         (tan_test): Use ALL_RM_TEST.
6923         (tan_tonearest_test_data): Remove.
6924         (tan_test_tonearest): Likewise.
6925         (tan_towardzero_test_data): Likewise.
6926         (tan_test_towardzero): Likewise.
6927         (tan_downward_test_data): Likewise.
6928         (tan_test_downward): Likewise.
6929         (tan_upward_test_data): Likewise.
6930         (tan_test_upward): Likewise.
6931         (tanh_test_data): Update call to AUTO_TESTS_f_f.
6932         (tgamma_test_data): Likewise.
6933         (y0_test_data): Likewise.
6934         (y1_test_data): Likewise.
6935         (yn_test_data): Update call to AUTO_TESTS_if_f.
6936         (main): Do not call removed functions.
6937
6938 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6939
6940         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6941         (ldexp_test_data): Remove.
6942         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
6943         scalbn_test_data.
6944         (scalb_test): Use ALL_RM_TEST.
6945
6946 2014-03-19  Andreas Schwab  <schwab@suse.de>
6947
6948         * nscd/nscd.service: Also invalidate netgroup cache on reload.
6949
6950 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6951
6952         [BZ #16649]
6953         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6954         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6955         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6956         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6957         (__ASSUME_PREADV): Undefine.
6958         (__ASSUME_PWRITEV): Likewise.
6959
6960 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6961
6962         * bits/mman-linux.h: Add comment about non-Linux use.
6963         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6964         bits/mman-linux.h resting place.
6965
6966         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6967         * bits/mman-linux.h: ... here.
6968
6969 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6970
6971         * conform/conformtest.pl: Add standard definition when calling C
6972         preprocessor on data files.
6973         (checknamespace): Remove unused variable.
6974
6975 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6976
6977         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6978         minus_oflow, plus_uflow and minus_uflow in expected results.
6979         * math/libm-test.inc (scalbn_test_data): Add more tests of
6980         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
6981         minus_uflow.
6982         (scalbn_test): Use ALL_RM_TEST.
6983         (scalbln_test_data): Add more tests of negative arguments.  Use
6984         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6985         (scalbln_test): Use ALL_RM_TEST.
6986
6987 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6988
6989         * scripts/abilist.awk: Ignore symbols marked with .hidden.
6990
6991 2014-03-18  Will Newton  <will.newton@linaro.org>
6992
6993         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6994         inaccurate comment.
6995
6996 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6997
6998         * Makerules [!subdir] (check-abi): Exit with error status if a
6999         test failed.
7000
7001 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7002
7003         * math/libm-test.inc (nearbyint_test_data): Include all tests used
7004         for rint.  Include results for all rounding modes.
7005         (nearbyint_test): Use ALL_RM_TEST.
7006         (rint_test_data): Include all tests used for nearbyint.
7007
7008 2014-03-17  Will Newton  <will.newton@linaro.org>
7009
7010         * nptl/sysdeps/pthread/pthread.h: Revert previous
7011         change.
7012
7013         * sysdeps/generic/ldsodefs.h: Revert previous
7014         change.
7015
7016         * libio/genops.c: Revert previous change.
7017         * libio/libioP.h: Likewise.
7018         * stdio-common/vfprintf.c: Likewise.
7019
7020         * sysdeps/generic/math_private.h: Revert previous
7021         change.
7022
7023         * sysdeps/generic/math_private.h: Check whether
7024         HAVE_RM_CTX is defined with #ifdef rather
7025         than #if.
7026
7027         * argp/argp-fmtstream.h: Check whether
7028         __STRICT_ANSI__ is defined with #ifdef rather
7029         than #if.
7030         * argp/argp.h: Likewise.
7031
7032         * libio/genops.c: Check whether
7033         _IO_JUMPS_OFFSET is defined with #ifdef rather
7034         than #if.
7035         * libio/libioP.h: Likewise.
7036         * stdio-common/vfprintf.c: Likewise.
7037
7038         * sysdeps/generic/ldsodefs.h: Check whether
7039         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7040         than #if.
7041
7042         * nptl/sysdeps/pthread/pthread.h: Check
7043         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7044         its value.
7045
7046 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7047
7048         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7049         setting O_APPEND.
7050         * libio/tst-ftell-active-handler.c (do_append_test): Add a
7051         test case.
7052
7053         [BZ #16680]
7054         * libio/fileops.c (_IO_file_open): Seek to end of file but
7055         don't cache the offset.
7056         (get_file_offset): Remove function.
7057         (do_ftell): Use cached offset when available.
7058         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7059         don't cache the offset.
7060         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7061         case.
7062         (do_one_test): Call it.
7063         (do_ftell_test): Fix up expected old offset for a+ mode.
7064         * libio/wfileops.c (do_ftell_wide): Used cached offset when
7065         available.
7066
7067         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7068         up test status with function return status.
7069         (do_write_test): Likewise.
7070         (do_append_test): Likewise.
7071
7072         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7073         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7074         Remove.
7075
7076 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7077
7078         * math/gen-libm-test.pl (parse_args): Handle results specified for
7079         each rounding mode separately.
7080         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7081         tests and results from lrint_tonearest_test_data,
7082         lrint_towardzero_test_data, lrint_downward_test_data and
7083         lrint_upward_test_data.
7084         (lrint_test): Use ALL_RM_TEST.
7085         (lrint_tonearest_test_data): Remove.
7086         (lrint_test_tonearest): Likewise.
7087         (lrint_towardzero_test_data): Likewise.
7088         (lrint_test_towardzero): Likewise.
7089         (lrint_downward_test_data): Likewise.
7090         (lrint_test_downward): Likewise.
7091         (lrint_upward_test_data): Likewise.
7092         (lrint_test_upward): Likewise.
7093         (llrint_test_data): Merge in per-rounding-mode tests and results
7094         from llrint_tonearest_test_data, llrint_towardzero_test_data,
7095         llrint_downward_test_data and llrint_upward_test_data.
7096         (llrint_test): Use ALL_RM_TEST.
7097         (llrint_tonearest_test_data): Remove.
7098         (llrint_test_tonearest): Likewise.
7099         (llrint_towardzero_test_data): Likewise.
7100         (llrint_test_towardzero): Likewise.
7101         (llrint_downward_test_data): Likewise.
7102         (llrint_test_downward): Likewise.
7103         (llrint_upward_test_data): Likewise.
7104         (llrint_test_upward): Likewise.
7105         (rint_test_data): Merge in per-rounding-mode tests and results
7106         from rint_tonearest_test_data, rint_towardzero_test_data,
7107         rint_downward_test_data and rint_upward_test_data.  Add
7108         per-rounding-mode results for tests not in those arrays.
7109         (rint_test): Use ALL_RM_TEST.
7110         (rint_tonearest_test_data): Remove.
7111         (rint_test_tonearest): Likewise.
7112         (rint_towardzero_test_data): Likewise.
7113         (rint_test_towardzero): Likewise.
7114         (rint_downward_test_data): Likewise.
7115         (rint_test_downward): Likewise.
7116         (rint_upward_test_data): Likewise.
7117         (rint_test_upward): Likewise.
7118         (main): Don't call removed functions.
7119
7120 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7121
7122         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7123         "Compiled on ..." crapola.  It is anti-useful.
7124
7125 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
7126
7127         * scripts/evaluate-test.sh: Handle fourth argument to determine
7128         whether test run should stop on failure.
7129         * Makeconfig (stop-on-test-failure): New variable.
7130         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7131         $(stop-on-test-failure).
7132         * Makefile (tests): Give a summary of results from testing and
7133         exit with failure status if they include an ERROR or FAIL.
7134         (xtests): Likewise.
7135         * manual/install.texi (Configuring and compiling): Mention
7136         stop-on-test-failure=y.
7137         * INSTALL: Regenerated.
7138
7139 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7140
7141         * scripts/versionlist.awk: New file.
7142         * Makerules [$(build-shared) = yes]
7143         (postclean-generated): Add Versions.def, not Versions.def.v and
7144         Versions.def.v.i.
7145         ($(common-objpfx)Versions.def.v.i): Target removed.
7146         ($(common-objpfx)Versions.def): New target.
7147         ($(common-objpfx)Versions.all): Depend on that rather that
7148         $(common-objpfx)Versions.def.v.
7149         * Versions.def: File removed.
7150
7151         * Makeconfig (+gccwarn): Add -Wundef.
7152         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7153         a dl-sysdep.h breaking its contract.
7154         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7155         * include/stackinfo.h: New file.
7156         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7157         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7158         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7159         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7160         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7161         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7162         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7163         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7164         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7165         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7166         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7167         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7168         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7169         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7170         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7171
7172 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7173
7174         [BZ #16707]
7175         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7176         implementation.
7177         * math/libm-test.inc (round_test_data): Add more tests.
7178
7179         [BZ #16706]
7180         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7181         implementation.
7182         * math/libm-test.inc (nearbyint_test_data): Add more tests.
7183
7184         [BZ #16701]
7185         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7186         implementation.
7187         * math/libm-test.inc (ceil_test_data): Add more tests.
7188
7189         * math/libm-test.inc (trunc_test_data): Add more tests related to
7190         BZ#16414.
7191
7192 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7193
7194         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7195         with #if rather than #ifdef.
7196         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7197
7198 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
7199
7200         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7201         first.  Disable AVX-512 GCC support if assembler doesn't support
7202         it.
7203         * sysdeps/x86_64/configure: Regenerated.
7204
7205 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
7206
7207         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7208         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7209         (__old_pthread_attr_setstack): Likewise.
7210         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7211         [!_STACK_GROWS_DOWN]: Likewise.
7212
7213 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
7214
7215         * config.make.in (have-bash2): Delete.
7216         * configure.ac (libc_cv_have_bash2): Delete.
7217         * configure: Regenerate.
7218         * elf/Makefile (common-ldd-rewrite): Rename to ...
7219         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
7220         (sh-ldd-rewrite): Delete.
7221         (bash-ldd-rewrite): Delete.
7222         (have-bash2): Delete checks.
7223         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7224         ldd-rewrite.
7225
7226         * config.make.in (have-ksh): Delete.
7227         (KSH): Delete.
7228         * configure.ac (libc_cv_have_ksh): Delete.
7229         * configure: Regenerate.
7230
7231         * elf/Makefile: Delete $(have-ksh) check.
7232         ($(objpfx)sotruss): Change KSH to BASH.
7233         * elf/sotruss.ksh: Rename to ...
7234         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
7235         function style to match POSIX.  Drop ksh vim mode setting.
7236
7237         * manual/time.texi (Specifying the Time Zone with TZ): Change
7238         Tuesday to Thursday.
7239
7240         * debug/tst-longjmp_chk2.c: Update header comment.
7241         (stackoverflow_handler): Add comment.  Call assert on pass value.
7242
7243 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
7244
7245         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7246         (HAVE_AVX512_ASM_SUPPORT): Likewise.
7247         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7248         (La_x86_64_vector): Add zmm.
7249         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7250         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7251         ($(objpfx)tst-audit10): New target.
7252         ($(objpfx)tst-audit10.out): Likewise.
7253         (tst-audit10-ENV): New.
7254         (AVX512-CFLAGS): Likewise.
7255         (CFLAGS-tst-audit10.c): Likewise.
7256         (CFLAGS-tst-auditmod10a.c): Likewise.
7257         (CFLAGS-tst-auditmod10b.c): Likewise.
7258         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7259         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7260         * sysdeps/x86_64/configure: Regenerated.
7261         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7262         AVX-512 zmm register support.
7263         (_dl_x86_64_save_sse): Likewise.
7264         (_dl_x86_64_restore_sse): Likewise.
7265         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7266         size vector registers.
7267         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7268         (ZMM_SIZE): Likewise.
7269         * sysdeps/x86_64/tst-audit10.c: New file.
7270         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7271         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7272
7273 2014-03-13  Roland McGrath  <roland@hack.frob.com>
7274
7275         * configure.ac (HAVE_EHDR_START): New check.
7276         * configure: Regenerated.
7277         * config.h.in (HAVE_EHDR_START): New #undef.
7278         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7279         assuming the lowest-addressed segment maps the start of the file.
7280
7281 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
7282
7283         * INSTALL: Regenerated.
7284
7285 2014-03-13  Will Newton  <will.newton@linaro.org>
7286
7287         * manual/setjmp.texi (System V contexts): Improve
7288         clarity and grammar of documentation.
7289
7290 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7291
7292         [BZ #16381]
7293         * elf/Makefile (tests): Add tst-pie2.
7294         (tests-pie): Add tst-pie2.
7295         * elf/tst-pie2.c: New file.
7296         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7297         for ET_EXEC.
7298         * elf/rtld.c (map_doit): Load executable as lt_executable.
7299         (dl_main): Likewise.
7300
7301 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
7302
7303         [BZ #16642]
7304         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7305         (__ASSUME_PSELECT): Undefine.
7306
7307 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7308
7309         [BZ #16689]
7310         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7311         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7312         static build.
7313         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7314         selector for static builds.
7315
7316 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7317
7318         [BZ #16695]
7319         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7320         key in the buffer.
7321
7322 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7323
7324         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7325         IFUNC selector for static builds.
7326
7327 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
7328
7329         * sysdeps/mips/math_private.h [__mips_hard_float]
7330         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7331         libc_feresetround_mips_ctx.
7332         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7333         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7334         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7335
7336         [BZ #16677]
7337         * math/s_nextafter.c (__nextafter): Do not return value from
7338         overflowing computation.
7339         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7340         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7341         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7342         Likewise.
7343         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7344         Likewise.
7345         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7346         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7347
7348 2014-03-11  Roland McGrath  <roland@hack.frob.com>
7349
7350         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7351         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7352         Move sfi_sp use from the load-multiple (that no longer sets sp) to
7353         the new mov targetting sp.
7354
7355 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7356
7357         [BZ #16683]
7358         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7359         Define it for static builds as well.
7360         (NO_BZERO_IMPL): Likewise.
7361
7362 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7363
7364         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7365         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7366         multiarch strspn for PPC64.
7367         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7368         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7370         (__libc_ifunc_impl_list): Likewise.
7371         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7372         multiarch optimizations
7373         * string/strspn.c (strspn): Using macro to redefine symbol name.
7374
7375 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7376             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7377
7378         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7379         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7380         multiarch strncat for PPC64.
7381         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7382         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7383         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7384         (__libc_ifunc_impl_list): Likewise.
7385         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7386         multiarch optimizations
7387
7388 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7389
7390         [BZ #16639]
7391         * nscd/nscd.service: Make service type forking.
7392
7393 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7394
7395         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7396         sign in non default rounding modes.
7397         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7398
7399 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
7400
7401         * math/libm-test.inc (ALL_RM_TEST): New macro.
7402         (ceil_test): Use ALL_RM_TEST.
7403         (cimag_test): Likewise.
7404         (conj_test): Likewise.
7405         (copysign_test): Likewise.
7406         (cproj_test): Likewise.
7407         (creal_test): Likewise.
7408         (fabs_test): Likewise.
7409         (floor_test): Likewise.
7410         (fmax_test): Likewise.
7411         (fmin_test): Likewise.
7412         (fmod_test): Likewise.
7413         (fpclassify_test): Likewise.
7414         (frexp_test): Likewise.
7415         (ilogb_test): Likewise.
7416         (isfinite_test): Likewise.
7417         (finite_test): Likewise.
7418         (isgreater_test): Likewise.
7419         (isgreaterequal_test): Likewise.
7420         (isinf_test): Likewise.
7421         (isless_test): Likewise.
7422         (islessequal_test): Likewise.
7423         (islessgreater_test): Likewise.
7424         (isnan_test): Likewise.
7425         (isnormal_test): Likewise.
7426         (issignaling_test): Likewise.
7427         (isunordered_test): Likewise.
7428         (logb_test): Likewise.
7429         (logb_downward_test_data): Remove.
7430         (logb_test_downward): Likewise.
7431         (lround_test): Use ALL_RM_TEST.
7432         (llround_test): Likewise.
7433         (modf_test): Likewise.
7434         (nexttoward_test): Likewise.
7435         (remainder_test): Likewise.
7436         (drem_test): Likewise.
7437         (remainder_tonearest_test_data): Likewise.
7438         (remainder_test_tonearest): Likewise.
7439         (drem_test_tonearest): Likewise.
7440         (remainder_towardzero_test_data): Likewise.
7441         (remainder_test_towardzero): Likewise.
7442         (drem_test_towardzero): Likewise.
7443         (remainder_downward_test_data): Likewise.
7444         (remainder_test_downward): Likewise.
7445         (drem_test_downward): Likewise.
7446         (remainder_upward_test_data): Likewise.
7447         (remainder_test_upward): Likewise.
7448         (drem_test_upward): Likewise.
7449         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
7450         (round_test): Use ALL_RM_TEST.
7451         (signbit_test): Likewise.
7452         (trunc_test): Likewise.
7453         (significand_test): Likewise.
7454         (main): Don't call removed functions.
7455
7456 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7457
7458         [BZ #16674]
7459         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7460         || __USE_XOPEN2K8].
7461         (ILL_ILLOPN): Likewise.
7462         (ILL_ILLADR): Likewise.
7463         (ILL_ILLTRP): Likewise.
7464         (ILL_PRVOPC): Likewise.
7465         (ILL_PRVREG): Likewise.
7466         (ILL_COPROC): Likewise.
7467         (ILL_BADSTK): Likewise.
7468         (FPE_INTDIV): Likewise.
7469         (FPE_INTOVF): Likewise.
7470         (FPE_FLTDIV): Likewise.
7471         (FPE_FLTOVF): Likewise.
7472         (FPE_FLTUND): Likewise.
7473         (FPE_FLTRES): Likewise.
7474         (FPE_FLTINV): Likewise.
7475         (FPE_FLTSUB): Likewise.
7476         (SEGV_MAPERR): Likewise.
7477         (SEGV_ACCERR): Likewise.
7478         (BUS_ADRALN): Likewise.
7479         (BUS_ADRERR): Likewise.
7480         (BUS_OBJERR): Likewise.
7481         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7482         (TRAP_TRACE): Likewise.
7483         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7484         __USE_XOPEN2K8].
7485         (CLD_KILLED): Likewise.
7486         (CLD_DUMPED): Likewise.
7487         (CLD_TRAPPED): Likewise.
7488         (CLD_STOPPED): Likewise.
7489         (CLD_CONTINUED): Likewise.
7490         (POLL_IN): Likewise.
7491         (POLL_OUT): Likewise.
7492         (POLL_MSG): Likewise.
7493         (POLL_ERR): Likewise.
7494         (POLL_PRI): Likewise.
7495         (POLL_HUP): Likewise.
7496         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7497         Likewise.
7498         (ILL_ILLOPN): Likewise.
7499         (ILL_ILLADR): Likewise.
7500         (ILL_ILLTRP): Likewise.
7501         (ILL_PRVOPC): Likewise.
7502         (ILL_PRVREG): Likewise.
7503         (ILL_COPROC): Likewise.
7504         (ILL_BADSTK): Likewise.
7505         (FPE_INTDIV): Likewise.
7506         (FPE_INTOVF): Likewise.
7507         (FPE_FLTDIV): Likewise.
7508         (FPE_FLTOVF): Likewise.
7509         (FPE_FLTUND): Likewise.
7510         (FPE_FLTRES): Likewise.
7511         (FPE_FLTINV): Likewise.
7512         (FPE_FLTSUB): Likewise.
7513         (SEGV_MAPERR): Likewise.
7514         (SEGV_ACCERR): Likewise.
7515         (BUS_ADRALN): Likewise.
7516         (BUS_ADRERR): Likewise.
7517         (BUS_OBJERR): Likewise.
7518         (BUS_MCEERR_AR): Likewise.
7519         (BUS_MCEERR_AO): Likewise.
7520         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7521         (TRAP_TRACE): Likewise.
7522         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7523         __USE_XOPEN2K8].
7524         (CLD_KILLED): Likewise.
7525         (CLD_DUMPED): Likewise.
7526         (CLD_TRAPPED): Likewise.
7527         (CLD_STOPPED): Likewise.
7528         (CLD_CONTINUED): Likewise.
7529         (POLL_IN): Likewise.
7530         (POLL_OUT): Likewise.
7531         (POLL_MSG): Likewise.
7532         (POLL_ERR): Likewise.
7533         (POLL_PRI): Likewise.
7534         (POLL_HUP): Likewise.
7535         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7536         (ILL_ILLOPN): Likewise.
7537         (ILL_ILLADR): Likewise.
7538         (ILL_ILLTRP): Likewise.
7539         (ILL_PRVOPC): Likewise.
7540         (ILL_PRVREG): Likewise.
7541         (ILL_COPROC): Likewise.
7542         (ILL_BADSTK): Likewise.
7543         (FPE_INTDIV): Likewise.
7544         (FPE_INTOVF): Likewise.
7545         (FPE_FLTDIV): Likewise.
7546         (FPE_FLTOVF): Likewise.
7547         (FPE_FLTUND): Likewise.
7548         (FPE_FLTRES): Likewise.
7549         (FPE_FLTINV): Likewise.
7550         (FPE_FLTSUB): Likewise.
7551         (SEGV_MAPERR): Likewise.
7552         (SEGV_ACCERR): Likewise.
7553         (BUS_ADRALN): Likewise.
7554         (BUS_ADRERR): Likewise.
7555         (BUS_OBJERR): Likewise.
7556         (BUS_MCEERR_AR): Likewise.
7557         (BUS_MCEERR_AO): Likewise.
7558         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7559         (TRAP_TRACE): Likewise.
7560         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7561         __USE_XOPEN2K8].
7562         (CLD_KILLED): Likewise.
7563         (CLD_DUMPED): Likewise.
7564         (CLD_TRAPPED): Likewise.
7565         (CLD_STOPPED): Likewise.
7566         (CLD_CONTINUED): Likewise.
7567         (POLL_IN): Likewise.
7568         (POLL_OUT): Likewise.
7569         (POLL_MSG): Likewise.
7570         (POLL_ERR): Likewise.
7571         (POLL_PRI): Likewise.
7572         (POLL_HUP): Likewise.
7573         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7574         Likewise.
7575         (ILL_ILLOPN): Likewise.
7576         (ILL_ILLADR): Likewise.
7577         (ILL_ILLTRP): Likewise.
7578         (ILL_PRVOPC): Likewise.
7579         (ILL_PRVREG): Likewise.
7580         (ILL_COPROC): Likewise.
7581         (ILL_BADSTK): Likewise.
7582         (ILL_BADIADDR): Likewise.
7583         (ILL_BREAK): Likewise.
7584         (FPE_INTDIV): Likewise.
7585         (FPE_INTOVF): Likewise.
7586         (FPE_FLTDIV): Likewise.
7587         (FPE_FLTOVF): Likewise.
7588         (FPE_FLTUND): Likewise.
7589         (FPE_FLTRES): Likewise.
7590         (FPE_FLTINV): Likewise.
7591         (FPE_FLTSUB): Likewise.
7592         (FPE_DECOVF): Likewise.
7593         (FPE_DECDIV): Likewise.
7594         (FPE_DECERR): Likewise.
7595         (FPE_INVASC): Likewise.
7596         (FPE_INVDEC): Likewise.
7597         (SEGV_MAPERR): Likewise.
7598         (SEGV_ACCERR): Likewise.
7599         (SEGV_PSTKOVF): Likewise.
7600         (BUS_ADRALN): Likewise.
7601         (BUS_ADRERR): Likewise.
7602         (BUS_OBJERR): Likewise.
7603         (BUS_MCEERR_AR): Likewise.
7604         (BUS_MCEERR_AO): Likewise.
7605         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7606         (TRAP_TRACE): Likewise.
7607         (TRAP_BRANCH): Likewise.
7608         (TRAP_HWBKPT): Likewise.
7609         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7610         __USE_XOPEN2K8].
7611         (CLD_KILLED): Likewise.
7612         (CLD_DUMPED): Likewise.
7613         (CLD_TRAPPED): Likewise.
7614         (CLD_STOPPED): Likewise.
7615         (CLD_CONTINUED): Likewise.
7616         (POLL_IN): Likewise.
7617         (POLL_OUT): Likewise.
7618         (POLL_MSG): Likewise.
7619         (POLL_ERR): Likewise.
7620         (POLL_PRI): Likewise.
7621         (POLL_HUP): Likewise.
7622         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7623         (ILL_ILLOPN): Likewise.
7624         (ILL_ILLADR): Likewise.
7625         (ILL_ILLTRP): Likewise.
7626         (ILL_PRVOPC): Likewise.
7627         (ILL_PRVREG): Likewise.
7628         (ILL_COPROC): Likewise.
7629         (ILL_BADSTK): Likewise.
7630         (FPE_INTDIV): Likewise.
7631         (FPE_INTOVF): Likewise.
7632         (FPE_FLTDIV): Likewise.
7633         (FPE_FLTOVF): Likewise.
7634         (FPE_FLTUND): Likewise.
7635         (FPE_FLTRES): Likewise.
7636         (FPE_FLTINV): Likewise.
7637         (FPE_FLTSUB): Likewise.
7638         (SEGV_MAPERR): Likewise.
7639         (SEGV_ACCERR): Likewise.
7640         (BUS_ADRALN): Likewise.
7641         (BUS_ADRERR): Likewise.
7642         (BUS_OBJERR): Likewise.
7643         (BUS_MCEERR_AR): Likewise.
7644         (BUS_MCEERR_AO): Likewise.
7645         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7646         (TRAP_TRACE): Likewise.
7647         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7648         __USE_XOPEN2K8].
7649         (CLD_KILLED): Likewise.
7650         (CLD_DUMPED): Likewise.
7651         (CLD_TRAPPED): Likewise.
7652         (CLD_STOPPED): Likewise.
7653         (CLD_CONTINUED): Likewise.
7654         (POLL_IN): Likewise.
7655         (POLL_OUT): Likewise.
7656         (POLL_MSG): Likewise.
7657         (POLL_ERR): Likewise.
7658         (POLL_PRI): Likewise.
7659         (POLL_HUP): Likewise.
7660         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7661         (ILL_ILLOPN): Likewise.
7662         (ILL_ILLADR): Likewise.
7663         (ILL_ILLTRP): Likewise.
7664         (ILL_PRVOPC): Likewise.
7665         (ILL_PRVREG): Likewise.
7666         (ILL_COPROC): Likewise.
7667         (ILL_BADSTK): Likewise.
7668         (FPE_INTDIV): Likewise.
7669         (FPE_INTOVF): Likewise.
7670         (FPE_FLTDIV): Likewise.
7671         (FPE_FLTOVF): Likewise.
7672         (FPE_FLTUND): Likewise.
7673         (FPE_FLTRES): Likewise.
7674         (FPE_FLTINV): Likewise.
7675         (FPE_FLTSUB): Likewise.
7676         (SEGV_MAPERR): Likewise.
7677         (SEGV_ACCERR): Likewise.
7678         (BUS_ADRALN): Likewise.
7679         (BUS_ADRERR): Likewise.
7680         (BUS_OBJERR): Likewise.
7681         (BUS_MCEERR_AR): Likewise.
7682         (BUS_MCEERR_AO): Likewise.
7683         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7684         (TRAP_TRACE): Likewise.
7685         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7686         __USE_XOPEN2K8].
7687         (CLD_KILLED): Likewise.
7688         (CLD_DUMPED): Likewise.
7689         (CLD_TRAPPED): Likewise.
7690         (CLD_STOPPED): Likewise.
7691         (CLD_CONTINUED): Likewise.
7692         (POLL_IN): Likewise.
7693         (POLL_OUT): Likewise.
7694         (POLL_MSG): Likewise.
7695         (POLL_ERR): Likewise.
7696         (POLL_PRI): Likewise.
7697         (POLL_HUP): Likewise.
7698         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7699         (ILL_ILLOPN): Likewise.
7700         (ILL_ILLADR): Likewise.
7701         (ILL_ILLTRP): Likewise.
7702         (ILL_PRVOPC): Likewise.
7703         (ILL_PRVREG): Likewise.
7704         (ILL_COPROC): Likewise.
7705         (ILL_BADSTK): Likewise.
7706         (FPE_INTDIV): Likewise.
7707         (FPE_INTOVF): Likewise.
7708         (FPE_FLTDIV): Likewise.
7709         (FPE_FLTOVF): Likewise.
7710         (FPE_FLTUND): Likewise.
7711         (FPE_FLTRES): Likewise.
7712         (FPE_FLTINV): Likewise.
7713         (FPE_FLTSUB): Likewise.
7714         (SEGV_MAPERR): Likewise.
7715         (SEGV_ACCERR): Likewise.
7716         (BUS_ADRALN): Likewise.
7717         (BUS_ADRERR): Likewise.
7718         (BUS_OBJERR): Likewise.
7719         (BUS_MCEERR_AR): Likewise.
7720         (BUS_MCEERR_AO): Likewise.
7721         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7722         (TRAP_TRACE): Likewise.
7723         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7724         __USE_XOPEN2K8].
7725         (CLD_KILLED): Likewise.
7726         (CLD_DUMPED): Likewise.
7727         (CLD_TRAPPED): Likewise.
7728         (CLD_STOPPED): Likewise.
7729         (CLD_CONTINUED): Likewise.
7730         (POLL_IN): Likewise.
7731         (POLL_OUT): Likewise.
7732         (POLL_MSG): Likewise.
7733         (POLL_ERR): Likewise.
7734         (POLL_PRI): Likewise.
7735         (POLL_HUP): Likewise.
7736         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7737         (ILL_ILLOPN): Likewise.
7738         (ILL_ILLADR): Likewise.
7739         (ILL_ILLTRP): Likewise.
7740         (ILL_PRVOPC): Likewise.
7741         (ILL_PRVREG): Likewise.
7742         (ILL_COPROC): Likewise.
7743         (ILL_BADSTK): Likewise.
7744         (ILL_DBLFLT): Likewise.
7745         (ILL_HARDWALL): Likewise.
7746         (FPE_INTDIV): Likewise.
7747         (FPE_INTOVF): Likewise.
7748         (FPE_FLTDIV): Likewise.
7749         (FPE_FLTOVF): Likewise.
7750         (FPE_FLTUND): Likewise.
7751         (FPE_FLTRES): Likewise.
7752         (FPE_FLTINV): Likewise.
7753         (FPE_FLTSUB): Likewise.
7754         (SEGV_MAPERR): Likewise.
7755         (SEGV_ACCERR): Likewise.
7756         (BUS_ADRALN): Likewise.
7757         (BUS_ADRERR): Likewise.
7758         (BUS_OBJERR): Likewise.
7759         (BUS_MCEERR_AR): Likewise.
7760         (BUS_MCEERR_AO): Likewise.
7761         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7762         (TRAP_TRACE): Likewise.
7763         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7764         __USE_XOPEN2K8].
7765         (CLD_KILLED): Likewise.
7766         (CLD_DUMPED): Likewise.
7767         (CLD_TRAPPED): Likewise.
7768         (CLD_STOPPED): Likewise.
7769         (CLD_CONTINUED): Likewise.
7770         (POLL_IN): Likewise.
7771         (POLL_OUT): Likewise.
7772         (POLL_MSG): Likewise.
7773         (POLL_ERR): Likewise.
7774         (POLL_PRI): Likewise.
7775         (POLL_HUP): Likewise.
7776         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7777         (ILL_ILLOPN): Likewise.
7778         (ILL_ILLADR): Likewise.
7779         (ILL_ILLTRP): Likewise.
7780         (ILL_PRVOPC): Likewise.
7781         (ILL_PRVREG): Likewise.
7782         (ILL_COPROC): Likewise.
7783         (ILL_BADSTK): Likewise.
7784         (FPE_INTDIV): Likewise.
7785         (FPE_INTOVF): Likewise.
7786         (FPE_FLTDIV): Likewise.
7787         (FPE_FLTOVF): Likewise.
7788         (FPE_FLTUND): Likewise.
7789         (FPE_FLTRES): Likewise.
7790         (FPE_FLTINV): Likewise.
7791         (FPE_FLTSUB): Likewise.
7792         (SEGV_MAPERR): Likewise.
7793         (SEGV_ACCERR): Likewise.
7794         (BUS_ADRALN): Likewise.
7795         (BUS_ADRERR): Likewise.
7796         (BUS_OBJERR): Likewise.
7797         (BUS_MCEERR_AR): Likewise.
7798         (BUS_MCEERR_AO): Likewise.
7799         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7800         (TRAP_TRACE): Likewise.
7801         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7802         __USE_XOPEN2K8].
7803         (CLD_KILLED): Likewise.
7804         (CLD_DUMPED): Likewise.
7805         (CLD_TRAPPED): Likewise.
7806         (CLD_STOPPED): Likewise.
7807         (CLD_CONTINUED): Likewise.
7808         (POLL_IN): Likewise.
7809         (POLL_OUT): Likewise.
7810         (POLL_MSG): Likewise.
7811         (POLL_ERR): Likewise.
7812         (POLL_PRI): Likewise.
7813         (POLL_HUP): Likewise.
7814         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7815         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7816
7817         [BZ #16670]
7818         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7819         before #include of <time.h>.
7820         [!__USE_XOPEN2K] (__need_timespec): Likewise.
7821         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7822         (test-xfail-UNIX98/sched.h/conform): Likewise.
7823
7824 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7825
7826         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7827         error absence of trapping exception support.
7828         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7829
7830 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7831
7832         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7833         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7834         * timezone/Makefile (testdata): Move definition above include of
7835         Rules.
7836         (test-zones): New variable.
7837         (tests-special): Add zone files.
7838         (build-testdata): Use $(evaluate-test).
7839
7840         * elf/Makefile (tests-special): Rename tests to end with .out.
7841         ($(objpfx)noload-mem): Likewise.
7842         ($(objpfx)tst-leaks1-mem): Likewise.
7843         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7844         * iconv/Makefile (xtests-special): Change test-iconvconfig to
7845         $(objpfx)test-iconvconfig.out.
7846         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
7847         set -e inside subshell and redirect output to file.
7848         * iconvdata/Makefile (generated): Rename tests to end with .out.
7849         Correct type.
7850         (tests-special): Rename tests to end with .out.
7851         ($(objpfx)mtrace-tst-loading): Likewise.
7852         * intl/Makefile (generated): Likewise.
7853         (tests-special): Likewise.
7854         ($(objpfx)mtrace-tst-gettext): Likewise.
7855         * misc/Makefile (generated): Likewise.
7856         (tests-special): Likewise.
7857         ($(objpfx)tst-error1-mem): Likewise.
7858         * nptl/Makefile (tests-special): Likewise.
7859         ($(objpfx)tst-stack3-mem): Likewise.
7860         (generated): Likewise.
7861         * posix/Makefile (generated): Likewise.
7862         (tests-special): Likewise.
7863         (xtests-special): Likewise.
7864         ($(objpfx)tst-fnmatch-mem): Likewise.
7865         ($(objpfx)bug-regex2-mem): Likewise.
7866         ($(objpfx)bug-regex14-mem): Likewise.
7867         ($(objpfx)bug-regex21-mem): Likewise.
7868         ($(objpfx)bug-regex31-mem): Likewise.
7869         ($(objpfx)tst-vfork3-mem): Likewise.
7870         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7871         ($(objpfx)tst-pcre-mem): Likewise.
7872         ($(objpfx)tst-boost-mem): Likewise.
7873         ($(objpfx)bug-ga2-mem): Likewise.
7874         ($(objpfx)bug-glob2-mem): Likewise.
7875         * resolv/Makefile (generate): Likewise.
7876         (tests-special): Likewise.
7877         (xtests-special): Likewise.
7878         (generated): Likewise.
7879         ($(objpfx)mtrace-tst-leaks): Likewise.
7880         ($(objpfx)mtrace-tst-leaks2): Likewise.
7881
7882         * scripts/merge-test-results.sh: New file.
7883         * Makefile (tests-special-notdir): New variable.
7884         (tests): Run merge-test-results.sh.
7885         (xtests): Likewise.
7886         * Rules (tests-special-notdir): New variable.
7887         (xtests-special-notdir): Likewise.
7888         (tests): Run merge-test-results.sh
7889         (xtests): Likewise.
7890
7891         * Makeconfig (test-xfail-name): New variable.
7892         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7893         compute variable name for expected failures.
7894         * conform/Makefile (conformtest-headers-data): New variable.
7895         (conformtest-standards): Likewise.
7896         (conformtest-headers-ISO): Likewise.
7897         (conformtest-headers-ISO99): Likewise.
7898         (conformtest-headers-ISO11): Likewise.
7899         (conformtest-headers-POSIX): Likewise.
7900         (conformtest-headers-XPG3): Likewise.
7901         (conformtest-headers-XPG4): Likewise.
7902         (conformtest-headers-UNIX98): Likewise.
7903         (conformtest-headers-XOPEN2K): Likewise.
7904         (conformtest-headers-POSIX2008): Likewise.
7905         (conformtest-headers-XOPEN2K8): Likewise.
7906         (conformtest-header-list-base): Likewise.
7907         (conformtest-header-list-tests): Likewise.
7908         (conformtest-header-base): Likewise.
7909         (conformtest-header-tests): Likewise.
7910         (tests-special): Add $(conformtest-header-list-tests).  If
7911         [$(fast-check) && !$(cross-compiling)], add
7912         $(conformtest-header-tests) instead of
7913         $(objpfx)run-conformtest.out.
7914         (generated): Add $(conformtest-header-list-base).  If
7915         [$(fast-check) && !$(cross-compiling)], add
7916         $(conformtest-header-base).  Remove previous setting.
7917         ($(conformtest-header-list-tests)): New target.
7918         (test-xfail-run-conformtest): Remove variable.
7919         ($(objpfx)run-conformtest.out): Remove target.
7920         (test-xfail-ISO11/complex.h/conform): New variable.
7921         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7922         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7923         (test-xfail-XPG3/varargs.h/conform): Likewise.
7924         (test-xfail-XPG4/varargs.h/conform): Likewise.
7925         (test-xfail-UNIX98/varargs.h/conform): Likewise.
7926         (test-xfail-XPG4/ndbm.h/conform): Likewise.
7927         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7928         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7929         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7930         (test-xfail-XPG3/fcntl.h/conform): Likewise.
7931         (test-xfail-XPG3/ftw.h/conform): Likewise.
7932         (test-xfail-XPG3/grp.h/conform): Likewise.
7933         (test-xfail-XPG3/langinfo.h/conform): Likewise.
7934         (test-xfail-XPG3/limits.h/conform): Likewise.
7935         (test-xfail-XPG3/pwd.h/conform): Likewise.
7936         (test-xfail-XPG3/search.h/conform): Likewise.
7937         (test-xfail-XPG3/signal.h/conform): Likewise.
7938         (test-xfail-XPG3/stdio.h/conform): Likewise.
7939         (test-xfail-XPG3/stdlib.h/conform): Likewise.
7940         (test-xfail-XPG3/string.h/conform): Likewise.
7941         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7942         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7943         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7944         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7945         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7946         (test-xfail-XPG3/sys/types.h/conform): Likewise.
7947         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7948         (test-xfail-XPG3/termios.h/conform): Likewise.
7949         (test-xfail-XPG3/time.h/conform): Likewise.
7950         (test-xfail-XPG3/unistd.h/conform): Likewise.
7951         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7952         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7953         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7954         (test-xfail-XPG4/netdb.h/conform): Likewise.
7955         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7956         (test-xfail-XPG4/signal.h/conform): Likewise.
7957         (test-xfail-XPG4/stdio.h/conform): Likewise.
7958         (test-xfail-XPG4/stdlib.h/conform): Likewise.
7959         (test-xfail-XPG4/stropts.h/conform): Likewise.
7960         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7961         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7962         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7963         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7964         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7965         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7966         (test-xfail-XPG4/sys/time.h/conform): Likewise.
7967         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7968         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7969         (test-xfail-XPG4/termios.h/conform): Likewise.
7970         (test-xfail-XPG4/ucontext.h/conform): Likewise.
7971         (test-xfail-XPG4/unistd.h/conform): Likewise.
7972         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7973         (test-xfail-POSIX/sched.h/conform): Likewise.
7974         (test-xfail-POSIX/signal.h/conform): Likewise.
7975         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7976         (test-xfail-POSIX/tar.h/conform): Likewise.
7977         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7978         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7979         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7980         (test-xfail-UNIX98/netdb.h/conform): Likewise.
7981         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7982         (test-xfail-UNIX98/sched.h/conform): Likewise.
7983         (test-xfail-UNIX98/signal.h/conform): Likewise.
7984         (test-xfail-UNIX98/stdio.h/conform): Likewise.
7985         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7986         (test-xfail-UNIX98/stropts.h/conform): Likewise.
7987         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7988         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7989         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7990         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7991         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7992         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7993         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7994         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7995         (test-xfail-UNIX98/unistd.h/conform): Likewise.
7996         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7997         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7998         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7999         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8000         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8001         (test-xfail-XOPEN2K/math.h/conform): Likewise.
8002         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8003         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8004         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8005         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8006         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8007         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8008         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8009         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8010         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8011         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8012         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8013         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8014         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8015         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8016         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8017         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8018         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8019         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8020         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8021         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8022         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8023         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8024         (test-xfail-POSIX2008/signal.h/conform): Likewise.
8025         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8026         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8027         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8028         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8029         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8030         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8031         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8032         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8033         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8034         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8035         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8036         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8037         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8038         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8039         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8040         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8041         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8042         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8043         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8044         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8045         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8046         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8047         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8048         (conformtest-cc-flags): Likewise.
8049         ($(conformtest-header-tests): New target.
8050         * conform/check-header-lists.sh: New file.
8051         * conform/run-conformtest.sh: Remove.
8052
8053         * conform/conformtest.pl: Allow ' and \ in values given for
8054         constants.
8055         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8056         inclusion.
8057         [POSIX] (sys/types.h): Likewise.
8058         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8059         inclusion.
8060         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8061         inclusion.
8062         * conform/data/signal.h-data (SIGIO): Remove expectation.
8063         [XPG3] (SIGBUS): Do not expect.
8064         [POSIX || XPG3] (SIGPOLL): Likewise.
8065         [POSIX || XPG3] (SIGPROF): Likewise.
8066         [POSIX || XPG3] (SIGSYS): Likewise.
8067         [XPG3] (SIGTRAP): Likewise.
8068         [POSIX || XPG3] (SIGURG): Likewise.
8069         [POSIX || XPG3] (SIGVTALRM): Likewise.
8070         [POSIX || XPG3] (SIGXCPU): Likewise.
8071         [POSIX || XPG3] (SIGXFSZ): Likewise.
8072         [POSIX] (SA_SIGINFO): Expect.
8073         [XPG3] (siginfo_t): Do not expect type or contents.
8074         [POSIX] (si_pid): Do not expect element.
8075         [POSIX] (si_uid): Likewise.
8076         [POSIX] (si_addr): Likewise.
8077         [POSIX] (si_status): Likewise.
8078         [POSIX] (si_band): Likewise.
8079         [XPG4] (si_value): Likewise.
8080         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8081         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8082         [POSIX || XPG3] (ILL_ILLADR): Likewise.
8083         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8084         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8085         [POSIX || XPG3] (ILL_PRVREG): Likewise.
8086         [POSIX || XPG3] (ILL_COPROC): Likewise.
8087         [POSIX || XPG3] (ILL_BADSTK): Likewise.
8088         [POSIX || XPG3] (FPE_INTDIV): Likewise.
8089         [POSIX || XPG3] (FPE_INTOVF): Likewise.
8090         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8091         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8092         [POSIX || XPG3] (FPE_FLTUND): Likewise.
8093         [POSIX || XPG3] (FPE_FLTRES): Likewise.
8094         [POSIX || XPG3] (FPE_FLTINV): Likewise.
8095         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8096         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8097         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8098         [POSIX || XPG3] (BUS_ADRALN): Likewise.
8099         [POSIX || XPG3] (BUS_ADRERR): Likewise.
8100         [POSIX || XPG3] (BUS_OBJERR): Likewise.
8101         [POSIX || XPG3] (CLD_EXITED): Likewise.
8102         [POSIX || XPG3] (CLD_KILLED): Likewise.
8103         [POSIX || XPG3] (CLD_DUMPED): Likewise.
8104         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8105         [POSIX || XPG3] (CLD_STOPPED): Likewise.
8106         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8107         [POSIX || XPG3] (POLL_IN): Likewise.
8108         [POSIX || XPG3] (POLL_OUT): Likewise.
8109         [POSIX || XPG3] (POLL_MSG): Likewise.
8110         [POSIX || XPG3] (POLL_ERR): Likewise.
8111         [POSIX || XPG3] (POLL_PRI): Likewise.
8112         [POSIX || XPG3] (POLL_HUP): Likewise.
8113         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8114         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8115         (SIG*): Do not allow.
8116         [XPG3] (si_*): Likewise.
8117         [XPG3] (SI_*): Likewise.
8118         [XPG3 || XPG4] (sigev_*): Likewise.
8119         [XPG3 || XPG4] (SIGEV_*): Likewise.
8120         [XPG3 || XPG4] (sival_*): Likewise.
8121         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8122         [POSIX || XPG3] (BUS_*): Likewise.
8123         [POSIX || XPG3] (CLD_*): Likewise.
8124         [POSIX || XPG3] (FPE_*): Likewise.
8125         [POSIX || XPG3] (ILL_*): Likewise.
8126         [POSIX || XPG3] (POLL_*): Likewise.
8127         [POSIX || XPG3] (SEGV_*): Likewise.
8128         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8129         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8130         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8131         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8132         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8133         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8134         Specify type and value.
8135         (TVERSLEN): Likewise.
8136         (REGTYPE): Likewise.
8137         (AREGTYPE): Likewise.
8138         (LNKTYPE): Likewise.
8139         (SYMTYPE): Likewise.
8140         (CHRTYPE): Likewise.
8141         (BLKTYPE): Likewise.
8142         (DIRTYPE): Likewise.
8143         (FIFOTYPE): Likewise.
8144         (CONTTYPE): Likewise.
8145         (TSUID): Likewise.
8146         (TSGID): Likewise.
8147         (TSVTX): Likewise.
8148         (TUREAD): Likewise.
8149         (TUWRITE): Likewise.
8150         (TUEXEC): Likewise.
8151         (TGREAD): Likewise.
8152         (TGWRITE): Likewise.
8153         (TGEXEC): Likewise.
8154         (TOREAD): Likewise.
8155         (TOWRITE): Likewise.
8156         (TOEXEC): Likewise.
8157         [POSIX] (TSVTX): Expect constant.
8158
8159 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
8160
8161         * Makefile (tests): Change dependencies to ....
8162         (tests-special): ... additions to this variable.
8163         (tests): Depend on $(tests-special).
8164         * Makerules (check-abi-list): New variable.
8165         (check-abi): Depend on $(check-abi-list).
8166         [$(subdir) = elf] (tests-special): Add
8167         $(objpfx)check-abi-libc.out.
8168         [$(build-shared) = yes && subdir] (tests-special): Add
8169         $(check-abi-list).
8170         [$(build-shared) = yes && subdir] (tests): Do not depend on
8171         check-abi.
8172         * Rules (tests): Depend on $(tests-special).
8173         (xtests): Depend on $(xtests-special).
8174         * catgets/Makefile (tests): Change dependencies to ....
8175         (tests-special): ... additions to this variable.
8176         * conform/Makefile (tests): Change dependencies to ....
8177         (tests-special): ... additions to this variable.
8178         * elf/Makefile (tests): Change dependencies to ....
8179         (tests-special): ... additions to this variable.
8180         * grp/Makefile (tests): Change dependencies to ....
8181         (tests-special): ... additions to this variable.
8182         * iconv/Makefile (xtests): Change dependencies to ....
8183         (xtests-special): ... additions to this variable.
8184         * iconvdata/Makefile (tests): Change dependencies to ....
8185         (tests-special): ... additions to this variable.
8186         * intl/Makefile (tests): Change dependencies to ....
8187         (tests-special): ... additions to this variable.  Also add
8188         $(objpfx)tst-gettext.out.
8189         * io/Makefile (tests): Change dependencies to ....
8190         (tests-special): ... additions to this variable.
8191         * libio/Makefile (tests): Change dependencies to ....
8192         (tests-special): ... additions to this variable.
8193         * malloc/Makefile (tests): Change dependencies to ....
8194         (tests-special): ... additions to this variable.
8195         * misc/Makefile (tests): Change dependencies to ....
8196         (tests-special): ... additions to this variable.
8197         * nptl/Makefile (tests): Change dependencies to ....
8198         (tests-special): ... additions to this variable.
8199         * nptl_db/Makefile (tests): Change dependencies to ....
8200         (tests-special): ... additions to this variable.
8201         * posix/Makefile (tests): Change dependencies to ....
8202         (tests-special): ... additions to this variable.
8203         (xtests): Change dependencies to ....
8204         (xtests-special): ... additions to this variable.
8205         * resolv/Makefile (tests): Change dependencies to ....
8206         (tests-special): ... additions to this variable.
8207         (xtests): Change dependencies to ....
8208         (xtests-special): ... additions to this variable.
8209         * stdio-common/Makefile (tests): Change dependencies to ....
8210         (tests-special): ... additions to this variable.
8211         (do-tst-unbputc): Remove target.
8212         (do-tst-printf): Likewise.
8213         * stdlib/Makefile (tests): Change dependencies to ....
8214         (tests-special): ... additions to this variable.
8215         * string/Makefile (tests): Change dependencies to ....
8216         (tests-special): ... additions to this variable.
8217         * sysdeps/x86/Makefile (tests): Change dependencies to ....
8218         (tests-special): ... additions to this variable.
8219
8220         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8221         whole file.
8222         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8223         whole file.
8224         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8225         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8226
8227         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8228         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8229         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8230         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8231         * conform/data/libgen.h-data [XPG3]: Likewise.
8232         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8233         * conform/data/ndbm.h-data [XPG3]: Likewise.
8234         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8235         * conform/data/netdb.h-data [XPG3]: Likewise.
8236         * conform/data/netinet/in.h-data [XPG3]: Likewise.
8237         * conform/data/poll.h-data [XPG3]: Likewise.
8238         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8239         * conform/data/strings.h-data [XPG3]: Likewise.
8240         * conform/data/stropts.h-data [XPG3]: Likewise.
8241         * conform/data/sys/mman.h-data [XPG3]: Likewise.
8242         * conform/data/sys/resource.h-data [XPG3]: Likewise.
8243         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8244         Likewise.
8245         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8246         * conform/data/sys/time.h-data [XPG3]: Likewise.
8247         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8248         * conform/data/sys/uio.h-data [XPG3]: Likewise.
8249         * conform/data/sys/un.h-data [XPG3]: Likewise.
8250         * conform/data/syslog.h-data [XPG3]: Likewise.
8251         * conform/data/ucontext.h-data [XPG3]: Likewise.
8252         * conform/data/utmpx.h-data [XPG3]: Likewise.
8253         * conform/data/varargs.h-data [UNIX98]: Enable file.
8254
8255         * manual/Makefile (INSTALL_INFO): Remove variable setting.
8256
8257         * math/libm-test.inc (struct test_f_f_data): Move expected results
8258         into structure for each rounding mode.
8259         (struct test_ff_f_data): Likewise.
8260         (struct test_ff_f_data_nexttoward): Likewise.
8261         (struct test_fi_f_data): Likewise.
8262         (struct test_fl_f_data): Likewise.
8263         (struct test_if_f_data): Likewise.
8264         (struct test_fff_f_data): Likewise.
8265         (struct test_c_f_data): Likewise.
8266         (struct test_f_f1_data): Likewise.
8267         (struct test_fF_f1_data): Likewise.
8268         (struct test_ffI_f1_data): Likewise.
8269         (struct test_c_c_data): Likewise.
8270         (struct test_cc_c_data): Likewise.
8271         (struct test_f_i_data): Likewise.
8272         (struct test_ff_i_data): Likewise.
8273         (struct test_f_l_data): Likewise.
8274         (struct test_f_L_data): Likewise.
8275         (struct test_fFF_11_data): Likewise.
8276         (RM_): New macro.
8277         (RM_FE_DOWNWARD): Likewise.
8278         (RM_FE_TONEAREST): Likewise.
8279         (RM_FE_TOWARDZERO): Likewise.
8280         (RM_FE_UPWARD): Likewise.
8281         (RUN_TEST_LOOP_f_f): Update references to expected results.
8282         (RUN_TEST_LOOP_2_f): Likewise.
8283         (RUN_TEST_LOOP_fff_f): Likewise.
8284         (RUN_TEST_LOOP_c_f): Likewise.
8285         (RUN_TEST_LOOP_f_f1): Likewise.
8286         (RUN_TEST_LOOP_fF_f1): Likewise.
8287         (RUN_TEST_LOOP_fI_f1): Likewise.
8288         (RUN_TEST_LOOP_ffI_f1): Likewise.
8289         (RUN_TEST_LOOP_c_c): Likewise.
8290         (RUN_TEST_LOOP_cc_c): Likewise.
8291         (RUN_TEST_LOOP_f_i): Likewise.
8292         (RUN_TEST_LOOP_f_i_tg): Likewise.
8293         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8294         (RUN_TEST_LOOP_f_b): Likewise.
8295         (RUN_TEST_LOOP_f_b_tg): Likewise.
8296         (RUN_TEST_LOOP_f_l): Likewise.
8297         (RUN_TEST_LOOP_f_L): Likewise.
8298         (RUN_TEST_LOOP_fFF_11): Likewise.
8299         * math/gen-libm-test.pl (parse_args): Output four copies of
8300         expected results for each test.
8301
8302         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8303         (__ASSUME_UTIMES): Remove.
8304         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8305         (__ASSUME_UTIMES): Likewise.
8306
8307         * math/gen-auto-libm-tests.c: Update comment on output format.
8308         (output_for_one_input_case): Generate before-rounding and
8309         after-rounding information as conditions on output flags not
8310         floating-point format.
8311         * math/auto-libm-test-out: Regenerated.
8312         * math/gen-libm-test.pl (cond_value): New function.
8313         (or_cond_value): Use cond_value.
8314         (generate_testfile): Handle conditional exceptions.
8315
8316 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
8317
8318         * math/libm-test.inc (max_valid_error): New variable.
8319         (init_max_error): Take new argument specifying whether function
8320         results are exactly determined.  Set max_valid_error and bound
8321         other variables for errors based on this argument.
8322         (set_max_error): Do not record results above max_valid_error.
8323         (check_float_internal): Only accept errors of up to 0.5ulps if
8324         also at most max_valid_error.
8325         (START): Take new argument EXACT and pass it to init_max_error.
8326         (acos_test): Update call to START.
8327         (acos_test_tonearest): Likewise.
8328         (acos_test_towardzero): Likewise.
8329         (acos_test_downward): Likewise.
8330         (acos_test_upward): Likewise.
8331         (acosh_test): Likewise.
8332         (asin_test): Likewise.
8333         (asin_test_tonearest): Likewise.
8334         (asin_test_towardzero): Likewise.
8335         (asin_test_downward): Likewise.
8336         (asin_test_upward): Likewise.
8337         (asinh_test): Likewise.
8338         (atan_test): Likewise.
8339         (atanh_test): Likewise.
8340         (atan2_test): Likewise.
8341         (cabs_test): Likewise.
8342         (cacos_test): Likewise.
8343         (cacosh_test): Likewise.
8344         (carg_test): Likewise.
8345         (casin_test): Likewise.
8346         (casinh_test): Likewise.
8347         (catan_test): Likewise.
8348         (catanh_test): Likewise.
8349         (cbrt_test): Likewise.
8350         (ccos_test): Likewise.
8351         (ccosh_test): Likewise.
8352         (ceil_test): Likewise.
8353         (cexp_test): Likewise.
8354         (cimag_test): Likewise.
8355         (clog_test): Likewise.
8356         (clog10_test): Likewise.
8357         (conj_test): Likewise.
8358         (copysign_test): Likewise.
8359         (cos_test): Likewise.
8360         (cos_test_tonearest): Likewise.
8361         (cos_test_towardzero): Likewise.
8362         (cos_test_downward): Likewise.
8363         (cos_test_upward): Likewise.
8364         (cosh_test): Likewise.
8365         (cosh_test_tonearest): Likewise.
8366         (cosh_test_towardzero): Likewise.
8367         (cosh_test_downward): Likewise.
8368         (cosh_test_upward): Likewise.
8369         (cpow_test): Likewise.
8370         (cproj_test): Likewise.
8371         (creal_test): Likewise.
8372         (csin_test): Likewise.
8373         (csinh_test): Likewise.
8374         (csqrt_test): Likewise.
8375         (ctan_test): Likewise.
8376         (ctan_test_tonearest): Likewise.
8377         (ctan_test_towardzero): Likewise.
8378         (ctan_test_downward): Likewise.
8379         (ctan_test_upward): Likewise.
8380         (ctanh_test): Likewise.
8381         (ctanh_test_tonearest): Likewise.
8382         (ctanh_test_towardzero): Likewise.
8383         (ctanh_test_downward): Likewise.
8384         (ctanh_test_upward): Likewise.
8385         (erf_test): Likewise.
8386         (erfc_test): Likewise.
8387         (exp_test): Likewise.
8388         (exp_test_tonearest): Likewise.
8389         (exp_test_towardzero): Likewise.
8390         (exp_test_downward): Likewise.
8391         (exp_test_upward): Likewise.
8392         (exp10_test): Likewise.
8393         (exp10_test_tonearest): Likewise.
8394         (exp10_test_towardzero): Likewise.
8395         (exp10_test_downward): Likewise.
8396         (exp10_test_upward): Likewise.
8397         (pow10_test): Likewise.
8398         (exp2_test): Likewise.
8399         (expm1_test): Likewise.
8400         (expm1_test_tonearest): Likewise.
8401         (expm1_test_towardzero): Likewise.
8402         (expm1_test_downward): Likewise.
8403         (expm1_test_upward): Likewise.
8404         (fabs_test): Likewise.
8405         (fdim_test): Likewise.
8406         (floor_test): Likewise.
8407         (fma_test): Likewise.
8408         (fma_test_towardzero): Likewise.
8409         (fma_test_downward): Likewise.
8410         (fma_test_upward): Likewise.
8411         (fmax_test): Likewise.
8412         (fmin_test): Likewise.
8413         (fmod_test): Likewise.
8414         (fpclassify_test): Likewise.
8415         (frexp_test): Likewise.
8416         (hypot_test): Likewise.
8417         (ilogb_test): Likewise.
8418         (isfinite_test): Likewise.
8419         (finite_test): Likewise.
8420         (isgreater_test): Likewise.
8421         (isgreaterequal_test): Likewise.
8422         (isinf_test): Likewise.
8423         (isless_test): Likewise.
8424         (islessequal_test): Likewise.
8425         (islessgreater_test): Likewise.
8426         (isnan_test): Likewise.
8427         (isnormal_test): Likewise.
8428         (issignaling_test): Likewise.
8429         (isunordered_test): Likewise.
8430         (j0_test): Likewise.
8431         (j1_test): Likewise.
8432         (jn_test): Likewise.
8433         (ldexp_test): Likewise.
8434         (lgamma_test): Likewise.
8435         (gamma_test): Likewise.
8436         (lrint_test): Likewise.
8437         (lrint_test_tonearest): Likewise.
8438         (lrint_test_towardzero): Likewise.
8439         (lrint_test_downward): Likewise.
8440         (lrint_test_upward): Likewise.
8441         (llrint_test): Likewise.
8442         (llrint_test_tonearest): Likewise.
8443         (llrint_test_towardzero): Likewise.
8444         (llrint_test_downward): Likewise.
8445         (llrint_test_upward): Likewise.
8446         (log_test): Likewise.
8447         (log10_test): Likewise.
8448         (log1p_test): Likewise.
8449         (log2_test): Likewise.
8450         (logb_test): Likewise.
8451         (logb_test_downward): Likewise.
8452         (lround_test): Likewise.
8453         (llround_test): Likewise.
8454         (modf_test): Likewise.
8455         (nearbyint_test): Likewise.
8456         (nextafter_test): Likewise.
8457         (nexttoward_test): Likewise.
8458         (pow_test): Likewise.
8459         (pow_test_tonearest): Likewise.
8460         (pow_test_towardzero): Likewise.
8461         (pow_test_downward): Likewise.
8462         (pow_test_upward): Likewise.
8463         (remainder_test): Likewise.
8464         (drem_test): Likewise.
8465         (remainder_test_tonearest): Likewise.
8466         (drem_test_tonearest): Likewise.
8467         (remainder_test_towardzero): Likewise.
8468         (drem_test_towardzero): Likewise.
8469         (remainder_test_downward): Likewise.
8470         (drem_test_downward): Likewise.
8471         (remainder_test_upward): Likewise.
8472         (drem_test_upward): Likewise.
8473         (remquo_test): Likewise.
8474         (rint_test): Likewise.
8475         (rint_test_tonearest): Likewise.
8476         (rint_test_towardzero): Likewise.
8477         (rint_test_downward): Likewise.
8478         (rint_test_upward): Likewise.
8479         (round_test): Likewise.
8480         (scalb_test): Likewise.
8481         (scalbn_test): Likewise.
8482         (scalbln_test): Likewise.
8483         (signbit_test): Likewise.
8484         (sin_test): Likewise.
8485         (sin_test_tonearest): Likewise.
8486         (sin_test_towardzero): Likewise.
8487         (sin_test_downward): Likewise.
8488         (sin_test_upward): Likewise.
8489         (sincos_test): Likewise.
8490         (sinh_test): Likewise.
8491         (sinh_test_tonearest): Likewise.
8492         (sinh_test_towardzero): Likewise.
8493         (sinh_test_downward): Likewise.
8494         (sinh_test_upward): Likewise.
8495         (sqrt_test): Likewise.
8496         (sqrt_test_tonearest): Likewise.
8497         (sqrt_test_towardzero): Likewise.
8498         (sqrt_test_downward): Likewise.
8499         (sqrt_test_upward): Likewise.
8500         (tan_test): Likewise.
8501         (tan_test_tonearest): Likewise.
8502         (tan_test_towardzero): Likewise.
8503         (tan_test_downward): Likewise.
8504         (tan_test_upward): Likewise.
8505         (tanh_test): Likewise.
8506         (tgamma_test): Likewise.
8507         (trunc_test): Likewise.
8508         (y0_test): Likewise.
8509         (y1_test): Likewise.
8510         (yn_test): Likewise.
8511         (significand_test): Likewise.
8512
8513         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8514         individual tests in comment.
8515         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8516         (prev_max_error): New variable.
8517         (prev_real_max_error): Likewise.
8518         (prev_imag_max_error): Likewise.
8519         (compare_ulp_data): Don't refer to test names in comment.
8520         (find_test_ulps): Remove function.
8521         (find_function_ulps): Likewise.
8522         (find_complex_function_ulps): Likewise.
8523         (init_max_error): Take function name as argument.  Look up ulps
8524         for that function.
8525         (print_ulps): Remove function.
8526         (print_max_error): Use prev_max_error instead of calling
8527         find_function_ulps.
8528         (print_complex_max_error): Use prev_real_max_error and
8529         prev_imag_max_error instead of calling find_complex_function_ulps.
8530         (check_float_internal): Take max_ulp parameter instead of calling
8531         find_test_ulps.  Don't call print_ulps.
8532         (check_float): Update call to check_float_internal.
8533         (check_complex): Update calls to check_float_internal.
8534         (START): Pass argument to init_max_error.
8535         * math/gen-libm-test.pl (%results): Don't include "kind"
8536         information.
8537         (parse_ulps): Don't handle ulps of individual tests.
8538         (print_ulps_file): Likewise.
8539         (output_ulps): Likewise.
8540         * math/README.libm-test: Update.
8541         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8542         individual tests.
8543         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8544         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8545         * sysdeps/arm/libm-test-ulps: Likewise.
8546         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8547         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8548         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8549         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8550         * sysdeps/microblaze/libm-test-ulps: Likewise.
8551         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8552         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8553         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8554         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8555         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8556         * sysdeps/sh/libm-test-ulps: Likewise.
8557         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8558         * sysdeps/tile/libm-test-ulps: Likewise.
8559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8560
8561 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
8562
8563         * math/libm-test.inc (print_complex_max_error): Check separately
8564         whether real and imaginary errors are within allowed range and
8565         pass 0 to print_complex_function_ulps instead of value within
8566         allowed range.
8567
8568 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8569
8570         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8571         formatting.
8572         (get_handles_fopen): Likewise.
8573         (do_write_test): Likewise.
8574
8575         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8576
8577         * libio/fileops.c (do_ftell): Use cached offset when
8578         available.
8579         * libio/iofwide.c (do_ftell_wide): Likewise.
8580         * libio/iofdopen.c (_IO_new_fdopen): Don't use
8581         _IO_file_attach.
8582         * libio/wfileops.c (_IO_fwide): Don't cache offset.
8583
8584         [BZ #16532]
8585         * libio/libioP.h (get_file_offset): New function.
8586         * libio/fileops.c (get_file_offset): Likewise.
8587         (do_ftell): Likewise.
8588         (_IO_new_file_seekoff): Split out ftell logic.
8589         * libio/wfileops.c (do_ftell_wide): Likewise.
8590         (_IO_wfile_seekoff): Split out ftell logic.
8591         * libio/tst-ftell-active-handler.c: New test case.
8592         * libio/Makefile (tests): Add it.
8593
8594 2014-03-03  Roland McGrath  <roland@hack.frob.com>
8595
8596         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8597         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8598
8599 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8600
8601         [BZ #16639]
8602         * nscd/connections.c (nscd_init): Call do_exit.
8603         (start_threads): Call do_exit and notify_parent.
8604         (begin_drop_privileges): Call do_exit.
8605         (finish_drop_privileges): Likewise.
8606         * nscd/selinux.c (preserve_capabilities): Likewise.
8607         (install_real_capabilities): Likewise.
8608         (nscd_selinux_enabled): Likewise.
8609         (avc_create_thread): Likewise.
8610         (avc_alloc_lock): Likewise.
8611         (nscd_avc_init): Likewise.
8612         * nscd/nscd.c (parent_fd): New static variable.
8613         (main): Create a pipe between parent and child processes.
8614         Skip closing parent_fd.
8615         (monitor_child): New function.
8616         (do_exit): Likewise.
8617         (notify_parent): Likewise.
8618         * nscd/nscd.h (notify_parent): Likewise.
8619         (do_exit): Likewise.
8620
8621 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
8622
8623         * malloc/malloc.c (__libc_calloc): Revert last change.
8624
8625 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8626
8627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8628
8629 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8630
8631         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8632         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8633         implementation.
8634         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8635         (__libc_ifunc_impl_list): Likewise.
8636         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8637         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8638         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8639         * string/strrchr.c: Define STRRCHR.
8640
8641 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
8642
8643         * benchtest/bench-strtok.c (simple_strtok): Delete.
8644         (strtok_string): Use as benchmark.
8645         * string/strtok (STRTOK): New macro.
8646
8647 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
8648
8649         * manual/threads.texi: Add header and standard comments to all
8650         functions.
8651
8652         * elf/dl-lookup.c (check_match): New function.
8653         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8654         (do_lookup_x): Remove nested function check_match. Use non-nested
8655         function check_match.
8656
8657 2014-02-28  Roland McGrath  <roland@hack.frob.com>
8658
8659         * csu/Makefile (generated, before-compile): Use += rather than =.
8660         * catgets/Makefile (generated, generated-dirs): Likewise.
8661         * debug/Makefile (generated): Likewise.
8662         * dlfcn/Makefile (generated): Likewise.
8663         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8664         * iconvdata/Makefile (before-compile, generated): Likewise.
8665         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8666         * libio/Makefile (generated): Likewise.
8667         * malloc/Makefile (generated): Likewise.
8668         * manual/Makefile (generated, generated-dirs): Likewise.
8669         * misc/Makefile (generated): Likewise.
8670         * posix/Makefile (generated): Likewise.
8671         * resolv/Makefile (generated): Likewise.
8672         * sunrpc/Makefile (generated, generated-dirs): Likewise.
8673         * timezone/Makefile (generated, generated-dirs): Likewise.
8674
8675         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8676
8677 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8678
8679         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8680         power8 implementation.
8681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8682         file: POWER8 llround ifunc implementation.
8683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8684         (__lllround): Add POWER8 implementation.
8685         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8686         POWER8 llround implementation.
8687
8688         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8689         power8 implementation.
8690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8691         file: POWER8 llrint ifunc implementation.
8692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8693         Add POWER8 implementation.
8694         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8695         POWER8 llrint implementation.
8696
8697         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8698         power8 implementation.
8699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8700         file: POWER8 finite ifunc implementation.
8701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8702         Add POWER8 implementation.
8703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8704         Likewise.
8705         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8706         POWER8 finite implementation.
8707         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8708
8709         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8710         power8 implementation.
8711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8712         file: POWER8 isinf ifunc implementation.
8713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8714         POWER8 implementation.
8715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8716         Likewise.
8717         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8718         isinf implementation.
8719         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8720
8721         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8722         (INIT_ARCH): Add hwcap2 initialization.
8723         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8724         power8 implementation.
8725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8726         file: POWER8 isnan ifunc implementation.
8727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8728         POWER8 implementation.
8729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8730         Likewise.
8731         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8732         isnan implementation.
8733         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8734
8735 2014-02-27  Joey Ye  <joey.ye@arm.com>
8736
8737         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8738         (_FP_NANFRAC_Q): Set to zero.
8739
8740 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8741
8742         [BZ #16623]
8743         * math/auto-libm-test-in: New test inputs.
8744         * math/auto-libm-test-out: Regenerate.
8745         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8746         and DA.
8747         (__cos): Likewise.
8748         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8749
8750 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
8751
8752         * scripts/evaluate-test.sh: Take new argument indicating whether
8753         failure is expected.
8754         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8755         indicating whether failure is expected.
8756         * conform/Makefile (test-xfail-run-conformtest): New variable.
8757         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8758         level.
8759         * posix/Makefile (test-xfail-annexc): New variable.
8760         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8761
8762 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
8763
8764         * argp/Makefile: Include Makeconfig immediately after defining
8765         subdir.
8766         * assert/Makefile: Likewise.
8767         * benchtests/Makefile: Likewise.
8768         * catgets/Makefile: Likewise.
8769         * conform/Makefile: Likewise.
8770         * crypt/Makefile: Likewise.
8771         * csu/Makefile: Likewise.
8772         (all): Remove target.
8773         * ctype/Makefile: Include Makeconfig immediately after defining
8774         subdir.
8775         * debug/Makefile: Likewise.
8776         * dirent/Makefile: Likewise.
8777         * dlfcn/Makefile: Likewise.
8778         * gmon/Makefile: Likewise.
8779         * gnulib/Makefile: Likewise.
8780         * grp/Makefile: Likewise.
8781         * gshadow/Makefile: Likewise.
8782         * hesiod/Makefile: Likewise.
8783         * hurd/Makefile: Likewise.
8784         (all): Remove target.
8785         * iconvdata/Makefile: Include Makeconfig immediately after
8786         defining subdir.
8787         * inet/Makefile: Likewise.
8788         * intl/Makefile: Likewise.
8789         * io/Makefile: Likewise.
8790         * libio/Makefile: Likewise.
8791         (all): Remove target.
8792         * locale/Makefile: Include Makeconfig immediately after defining
8793         subdir.
8794         * login/Makefile: Likewise.
8795         * mach/Makefile: Likewise.
8796         (all): Remove target.
8797         * malloc/Makefile: Include Makeconfig immediately after defining
8798         subdir.
8799         (all): Remove target.
8800         * manual/Makefile: Include Makeconfig immediately after defining
8801         subdir.
8802         * math/Makefile: Likewise.
8803         * misc/Makefile: Likewise.
8804         * nis/Makefile: Likewise.
8805         * nss/Makefile: Likewise.
8806         * po/Makefile: Likewise.
8807         (all): Remove target.
8808         * posix/Makefile: Include Makeconfig immediately after defining
8809         subdir.
8810         * pwd/Makefile: Likewise.
8811         * resolv/Makefile: Likewise.
8812         * resource/Makefile: Likewise.
8813         * rt/Makefile: Likewise.
8814         * setjmp/Makefile: Likewise.
8815         * shadow/Makefile: Likewise.
8816         * signal/Makefile: Likewise.
8817         * socket/Makefile: Likewise.
8818         * soft-fp/Makefile: Likewise.
8819         * stdio-common/Makefile: Likewise.
8820         * stdlib/Makefile: Likewise.
8821         * streams/Makefile: Likewise.
8822         * string/Makefile: Likewise.
8823         * sunrpc/Makefile: Likewise.
8824         (all): Remove target.
8825         * sysvipc/Makefile: Include Makeconfig immediately after defining
8826         subdir.
8827         * termios/Makefile: Likewise.
8828         * time/Makefile: Likewise.
8829         * timezone/Makefile: Likewise.
8830         (all): Remove target.
8831         * wcsmbs/Makefile: Include Makeconfig immediately after defining
8832         subdir.
8833         * wctype/Makefile: Likewise.
8834
8835 2014-02-26  Steve Ellcey  <sellcey@mips.com>
8836
8837         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8838         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8839         (libc_feholdexcept_setround_mips): Ditto.
8840         (libc_feholdsetround): New.
8841         (libc_feholdsetroundf): New.
8842         (libc_feholdsetroundl): New.
8843         (libc_feupdateenv_test_mips): New.
8844         (libc_feupdateenv_test): New.
8845         (libc_feupdateenv_testf): New.
8846         (libc_feupdateenv_testl): New.
8847         (libc_feresetround): New.
8848         (libc_feresetroundf): New.
8849         (libc_feresetroundl): New.
8850         (libc_fetestexcept_mips): New.
8851         (libc_fetestexcept): New.
8852         (libc_fetestexceptf): New.
8853         (libc_fetestexceptl): New.
8854         (HAVE_RM_CTX): New.
8855         (libc_feholdexcept_setround_mips_ctx): New.
8856         (libc_feholdexcept_setround_ctx): New.
8857         (libc_feholdexcept_setroundf_ctx): New.
8858         (libc_feholdexcept_setroundl_ctx): New.
8859         (libc_fesetenv_mips_ctx): New.
8860         (libc_fesetenv_ctx): New.
8861         (libc_fesetenv_ctxf): New.
8862         (libc_fesetenv_ctxl): New.
8863         (libc_feupdateenv_mips_ctx): New.
8864         (libc_feupdateenv_ctx): New.
8865         (libc_feupdateenvf_ctx): New.
8866         (libc_feupdateenvl_ctx): New.
8867         (libc_feholdsetround_mips_ctx): New.
8868         (libc_feholdsetround_ctx): New.
8869         (libc_feholdsetroundf_ctx): New.
8870         (libc_feholdsetroundl_ctx): New.
8871         (libc_feresetround_mips_ctx): New.
8872         (libc_feresetround_ctx): New.
8873         (libc_feresetroundf_ctx): New.
8874         (libc_feresetroundl_ctx): New.
8875
8876 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
8877
8878         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8879
8880         * manual/ipc.texi: New file.
8881         * manual/Makefile (chapters): Add ipc.
8882         * manual/job.texi: Add "Inter-Process Communication" to next.
8883         * manual/process.texi: Add "Inter-Process Communication" to prev.
8884
8885 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8886
8887         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8888
8889 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
8890
8891         * malloc/malloc.c (__libc_calloc): Simplify implementation.
8892
8893         * manual/arith.texi: Fix spaces after sentences.
8894         * manual/charset.texi: Likewise.
8895         * manual/errno.texi: Likewise.
8896         * manual/install.texi: Likewise.
8897         * manual/llio.texi: Likewise.
8898         * manual/locale.texi: Likewise.
8899         * manual/maint.texi: Likewise.
8900         * manual/math.texi: Likewise.
8901         * manual/memory.texi: Likewise.
8902         * manual/message.texi: Likewise.
8903         * manual/probes.texi: Likewise.
8904         * manual/resource.texi: Likewise.
8905         * manual/signal.texi: Likewise.
8906         * manual/socket.texi: Likewise.
8907         * manual/stdio.texi: Likewise.
8908         * manual/string.texi: Likewise.
8909         * manual/time.texi: Likewise.
8910         * manual/users.texi: Likewise.
8911
8912 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
8913
8914         [BZ #16632]
8915         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8916         _DEFAULT_SOURCE is defined.
8917
8918 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
8919             Carlos O'Donell  <carlos@redhat.com>
8920
8921         [BZ #16613]
8922         * elf/dl-tls.c (_dl_count_modids): New function.
8923         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8924         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8925         audit library and increment generation counter.
8926         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8927         * elf/tst-audit9.c: New file.
8928         * elf/tst-auditmod9a.c: New file.
8929         * elf/tst-auditmod9b.c: New file.
8930         * elf/Makefile: Add rules to build and run tst-audit9.
8931
8932 2014-02-25  Florian Weimer  <fweimer@redhat.com>
8933
8934         [BZ #15347]
8935         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8936
8937 2014-02-25  Will Newton  <will.newton@linaro.org>
8938
8939         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8940         (__longjmp): Restore sp and lr before restoring callee
8941         saved registers.  Add longjmp and longjmp_target
8942         SystemTap probe point.
8943         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8944         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8945         Define to zero to match jmpbuf layout.
8946         * sysdeps/arm/setjmp.S: Include stap-probe.h.
8947         (__sigsetjmp): Save sp and lr before saving callee
8948         saved registers.  Add setjmp SystemTap probe point.
8949
8950 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8951
8952         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8953
8954 2014-02-24  Andreas Schwab  <schwab@suse.de>
8955
8956         [BZ #15804]
8957         * elf/pldd.c (wait_for_ptrace_stop): New function.
8958         (main): Call it after attaching.
8959
8960 2014-02-22  Roland McGrath  <roland@hack.frob.com>
8961
8962         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8963         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8964         Versions files is now verboten.
8965         * hurd/Versions (libc: GLIBC_2.0):
8966         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8967         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8968         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8969         * mach/Versions: Likewise.
8970
8971         * csu/Versions: Remove unused %include.
8972         * resolv/Versions: Likewise.
8973
8974 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
8975
8976         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8977         ($(objpfx)check-local-headers.out): Likewise.
8978         ($(objpfx)begin-end-check.out): Likewise.
8979         * Makerules (check-abi-%.out): Likewise.
8980         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8981         ($(objpfx)test2.cat): Likewise.
8982         ($(objpfx)de/libc.cat): Likewise.
8983         ($(objpfx)test-gencat.out): Likewise.
8984         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8985         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8986         ($(objpfx)noload-mem): Likewise.
8987         ($(objpfx)tst-pathopt.out): Likewise.
8988         ($(objpfx)tst-rtld-load-self.out): Likewise.
8989         ($(objpfx)tst-array1-cmp.out): Likewise.
8990         ($(objpfx)tst-array1-static-cmp.out): Likewise.
8991         ($(objpfx)tst-array2-cmp.out): Likewise.
8992         ($(objpfx)tst-array3-cmp.out): Likewise.
8993         ($(objpfx)tst-array4-cmp.out): Likewise.
8994         ($(objpfx)tst-array5-cmp.out): Likewise.
8995         ($(objpfx)tst-array5-static-cmp.out): Likewise.
8996         ($(objpfx)check-textrel.out): Likewise.
8997         ($(objpfx)check-execstack.out): Likewise.
8998         ($(objpfx)check-localplt.out): Likewise.
8999         ($(objpfx)order2-cmp.out): Likewise.
9000         ($(objpfx)tst-leaks1-mem): Likewise.
9001         ($(objpfx)tst-leaks1-static-mem): Likewise.
9002         ($(objpfx)tst-initorder-cmp.out): Likewise.
9003         ($(objpfx)tst-initorder2-cmp.out): Likewise.
9004         ($(objpfx)tst-unused-dep.out): Likewise.
9005         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9006         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9007         * iconv/Makefile (test-iconvconfig): Likewise.
9008         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9009         ($(objpfx)iconv-test.out): Likewise.
9010         ($(objpfx)tst-tables.out): Likewise.
9011         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9012         ($(objpfx)tst-gettext.out): Likewise.
9013         ($(objpfx)tst-translit.out): Likewise.
9014         ($(objpfx)tst-gettext2.out): Likewise.
9015         ($(objpfx)tst-gettext4.out): Likewise.
9016         ($(objpfx)tst-gettext6.out): Likewise.
9017         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9018         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9019         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9020         ($(objpfx)tst-fopenloc-mem.out): Likewise.
9021         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9022         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9023         * posix/Makefile ($(objpfx)globtest.out): Likewise.
9024         ($(objpfx)wordexp-tst.out): Likewise.
9025         ($(objpfx)annexc.out): Likewise.
9026         ($(objpfx)tst-fnmatch-mem): Likewise.
9027         ($(objpfx)bug-regex2-mem): Likewise.
9028         ($(objpfx)bug-regex14-mem): Likewise.
9029         ($(objpfx)bug-regex21-mem): Likewise.
9030         ($(objpfx)bug-regex31-mem): Likewise.
9031         ($(objpfx)tst-vfork3-mem): Likewise.
9032         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9033         ($(objpfx)tst-pcre-mem): Likewise.
9034         ($(objpfx)tst-boost-mem): Likewise.
9035         ($(objpfx)tst-getconf.out): Likewise.
9036         ($(objpfx)bug-ga2-mem): Likewise.
9037         ($(objpfx)bug-glob2-mem): Likewise.
9038         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9039         ($(objpfx)mtrace-tst-leaks2): Likewise.
9040         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9041         ($(objpfx)tst-printf.out): Likewise.
9042         ($(objpfx)tst-setvbuf1.out): Likewise.
9043         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9044         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9045         ($(objpfx)tst-fmtmsg.out): Likewise.
9046         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9047         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9048
9049         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9050         * bits/sigaction.h [__USE_MISC]: Likewise.
9051         * bits/waitstatus.h: Update #endif comments.
9052         * ctype/ctype.h: Likewise.
9053         * dirent/dirent.h: Likewise.
9054         [__USE_MISC]: Remove redundant conditionals.
9055         * grp/grp.h: Update #endif comments.
9056         [__USE_GNU]: Remove redundant conditionals.
9057         [__USE_MISC]: Likewise.
9058         * inet/netinet/in.h [__USE_GNU]: Likewise.
9059         * io/sys/stat.h [__USE_MISC]: Likewise.
9060         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9061         * libio/bits/stdio.h: Update #endif comments.
9062         [__USE_MISC]: Remove redundant conditionals.
9063         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9064         * libio/stdio.h: Update #endif comments.
9065         [__USE_MISC]: Remove redundant conditionals.
9066         * math/bits/math-finite.h [__USE_MISC]: Likewise.
9067         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9068         * math/math.h: Update #else and #endif comments.
9069         [__USE_MISC]: Remove redundant conditionals.
9070         * misc/sys/uio.h: Update #endif comments.
9071         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9072         * posix/glob.h [__USE_MISC]: Likewise.
9073         * posix/sys/types.h: Update #endif comments.
9074         [__USE_MISC]: Remove redundant conditionals.
9075         * posix/sys/wait.h: Update #endif comments.
9076         [__USE_MISC]: Remove redundant conditionals.
9077         * posix/unistd.h: Update #endif comments.
9078         [__USE_MISC]: Remove redundant conditionals.
9079         * pwd/pwd.h [__USE_GNU]: Likewise.
9080         [__USE_MISC]: Likewise.
9081         * resolv/netdb.h [__USE_GNU]: Likewise.
9082         * signal/signal.h: Update #endif comments.
9083         [__USE_MISC]: Remove redundant conditionals.
9084         * stdlib/stdlib.h: Update #else and #endif comments.
9085         [__USE_MISC]: Remove redundant conditionals.
9086         [__USE_GNU]: Likewise.
9087         * string/bits/string2.h [__USE_MISC]: Likewise.
9088         * string/string.h: Update #endif comments.
9089         [__USE_MISC]: Remove redundant conditionals.
9090         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9091         Likewise.
9092         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9093         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9094         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9095         Likewise.
9096         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9097         Likewise.
9098         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9099         comments.
9100         [__USE_MISC]: Remove redundant conditionals.
9101         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9102         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9103         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9104         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9105         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9106         Likewise.
9107         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9108         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9109         Likewise.
9110         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9111         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9112         Likewise.
9113         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9114         Likewise.
9115         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9116         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9117         Likewise.
9118         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9119         Likewise.
9120         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9121         * sysdeps/x86/bits/string.h: Update #endif comments.
9122         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9123         conditionals.
9124         * time/sys/time.h: Update #endif comments.
9125         * time/time.h: Likewise.
9126         [__USE_MISC]: Remove redundant conditionals.
9127
9128 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
9129
9130         [BZ #16600]
9131         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9132
9133 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
9134
9135         * Versions.def (librt): Add GLIBC_2.17.
9136
9137 2014-02-21  Adam Conrad  <adconrad@0c3.net>
9138
9139         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9140         synonym for _SYS_AUXV_H to allow direct inclusion.
9141         * sysdeps/sparc/bits/hwcap.h: Likewise.
9142         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9143         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9144         * sysdeps/sparc/sysdep.h: Likewise.
9145
9146 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9147
9148         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9149
9150 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9151
9152         * benchtests/bench-strrchr.c: Print length instead of position.
9153
9154 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
9155
9156         [BZ #16611]
9157         * sysdeps/unix/sysv/linux/kernel-features.h
9158         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9159         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9160         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9161         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9162         Likewise.
9163         [__i386__ || __powerpc__ || __sh__ || __sparc__]
9164         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9165         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9166         (__ASSUME_SENDMMSG): Define instead of using previous
9167         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9168         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9169         (__ASSUME_SENDMMSG_SYSCALL): Define.
9170         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9171         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9172         Likewise.
9173         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9174         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9175         Likewise.
9176         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9177         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9178         Likewise.
9179         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9180         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9181         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9182         [__ASSUME_SENDMMSG]: Change conditionals to
9183         [__ASSUME_SENDMMSG_SOCKETCALL].
9184         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9185         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9186         Define.
9187         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9188         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9189         Likewise.
9190         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9191         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9192         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9193         [!__ASSUME_SENDMMSG]: Change conditional to
9194         [!__ASSUME_SENDMMSG_SOCKETCALL].
9195         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9196         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9197         Define.
9198
9199         [BZ #16610]
9200         * sysdeps/unix/sysv/linux/kernel-features.h
9201         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9202         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9203         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9204         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9205         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9206         [__i386__ || __sparc__]
9207         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9208         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9209         (__ASSUME_RECVMMSG): Define instead of using previous
9210         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9211         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9212         (__ASSUME_RECVMMSG_SYSCALL): Define.
9213         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9214         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9215         Likewise.
9216         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9217         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9218         Likewise.
9219         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9220         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9221         Likewise.
9222         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9223         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9224         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9225         [__ASSUME_RECVMMSG]: Change condition to
9226         [__ASSUME_RECVMMSG_SOCKETCALL].
9227         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9228         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9229         Define.
9230         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9231         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9232         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9233         Likewise.
9234         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9235         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9236         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9237         [!__ASSUME_RECVMMSG]: Change condition to
9238         [!__ASSUME_RECVMMSG_SOCKETCALL].
9239         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9240         (__ASSUME_RECVMMSG_SYSCALL): Define.
9241
9242         [BZ #16609]
9243         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9244         __powerpc__ || __s390__ || __sh__ || __sparc__]
9245         (__ASSUME_SOCKETCALL): Define.
9246         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9247         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9248         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9249         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9250         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9251         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9252         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9253         (__ASSUME_ACCEPT4): Define instead of using previous
9254         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9255         __powerpc__ || __sparc__ || __s390__)] condition.
9256         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9257         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9258         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9259         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9260         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9261         [!__ASSUME_ACCEPT4]: Change condition to
9262         [!__ASSUME_ACCEPT4_SOCKETCALL].
9263         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9264         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
9265         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9266         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9267         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9268         __ASSUME_ACCEPT4_SYSCALL.
9269         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9270         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9271         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9272         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9273         __ASSUME_ACCEPT4_SYSCALL.
9274         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9275         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9276         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9277         [__ASSUME_ACCEPT4]: Change condition to
9278         [__ASSUME_ACCEPT4_SOCKETCALL].
9279         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9280         (__ASSUME_SOCKETCALL): Define.
9281         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9282         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9283         (__ASSUME_SOCKETCALL): Define.
9284         (__ASSUME_ACCEPT4): Remove.
9285         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9286         Define.
9287         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9288         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9289         Likewise.
9290         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9291         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9292
9293         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9294         macro.
9295         (HWCAP_ARM_LPAE): Likewise.
9296         (HWCAP_ARM_EVTSTRM): Likewise.
9297         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9298         Add vpfd32, lpae and evtstrm.
9299         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9300         Increase to 22.
9301
9302 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
9303
9304         * math/auto-libm-test-in: Add tests of clog10.
9305         * math/auto-libm-test-out: Regenerated.
9306         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9307         * sysdeps/i386/fpu/libm-test-ulps: Update.
9308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9309
9310 2014-02-18  Andreas Schwab  <schwab@suse.de>
9311
9312         [BZ #16574]
9313         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9314         Store non-zero if the second buffer was newly allocated.
9315         (send_dg): Likewise.
9316         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9317         to send_vc and send_dg.
9318         (res_nsend): Pass NULL for ansp2_malloced.
9319         * resolv/res_query.c (__libc_res_nquery): Add parameter
9320         answerp2_malloced and pass it down to __libc_res_nsend.
9321         (res_nquery): Pass additional NULL to __libc_res_nquery.
9322         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9323         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
9324         second answer buffer if answerp2_malloced was set.
9325         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9326         (__libc_res_nquerydomain): Add parameter
9327         answerp2_malloced and pass it down to __libc_res_nquery.
9328         (res_nquerydomain): Pass additional NULL to
9329         __libc_res_nquerydomain.
9330         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9331         additional NULL to __libc_res_nsend and __libc_res_nquery.
9332         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9333         additional NULL to __libc_res_nsearch.
9334         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
9335         parameter of __libc_res_nsearch to check for separately allocated
9336         second buffer.
9337         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9338         __libc_res_nquery.
9339         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9340         additional NULL to __libc_res_nquery.
9341         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9342         __libc_res_nsearch.
9343         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9344         * include/resolv.h: Update prototypes of __libc_res_nquery,
9345         __libc_res_nsearch, __libc_res_nsend.
9346
9347 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
9348
9349         * math/auto-libm-test-in: Add tests of fma.
9350         * math/auto-libm-test-out: Regenerated.
9351         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9352         (fma_towardzero_test_data): Likewise.
9353         (fma_downward_test_data): Likewise.
9354         (fma_upward_test_data): Likewise.
9355         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9356         mpc_mode.
9357         (rounding_modes): Add values for new field.
9358         (func_calc_method): Add value mpfr_fff_f.
9359         (func_calc_desc): Add mpfr_fff_f union field.
9360         (test_function): Add field exact_args.
9361         (FUNC): Add macro argument EXACT_ARGS.
9362         (FUNC_mpfr_f_f): Update call to FUNC.
9363         (FUNC_mpfr_f_f): Likewise.
9364         (FUNC_mpfr_ff_f): Likewise.
9365         (FUNC_mpfr_if_f): Likewise.
9366         (FUNC_mpc_c_f): Likewise.
9367         (FUNC_mpc_c_c): Likewise.
9368         (test_functions): Add fma.  Update calls to FUNC.
9369         (handle_input_arg): Add argument exact_args.
9370         (add_test): Update call to handle_input_arg.
9371         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
9372         (output_for_one_input_case): Update call to calc_generic_results.
9373         Recalculate exact zero results in each rounding mode.
9374
9375         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9376         non-negative before setting low bit.
9377         * math/auto-libm-test-in: Mark one asin test possibly having
9378         spurious underflow.
9379         * math/auto-libm-test-out: Regenerated.
9380         * sysdeps/i386/fpu/libm-test-ulps: Update.
9381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9382
9383 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
9384
9385         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9386         * sysdeps/unix/sysv/linux/microblaze: Move directory from
9387         ports/sysdeps/unix/sysv/linux/microblaze.
9388         * README: Add missing listing for microblaze*-*-linux-gnu.
9389
9390 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
9391
9392         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9393         * sysdeps/unix/sysv/linux/ia64: Move directory from
9394         ports/sysdeps/unix/sysv/linux/ia64.
9395         * README: Update listing for ia64-*-linux-gnu.
9396
9397 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
9398             Joseph Myers  <joseph@codesourcery.com>
9399
9400         * Makeconfig (test-name): New variable.
9401         (evaluate-test): Likewise.
9402         * Makerules (do-test-clean): Remove .test-result files.
9403         (common-mostlyclean): Likewise.
9404         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9405         * scripts/evaluate-test.sh: New file.
9406
9407 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
9408
9409         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9410         separate $(objpfx)tst-fopenloc-cmp.out and
9411         $(objpfx)tst-fopenloc-mem.out targets.
9412         (tests): Update dependencies.
9413         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9414         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9415         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9416         (tst-rxspencer-no-utf8-ARGS): New variable.
9417         (tst-rxspencer-no-utf8-ENV): Likewise.
9418         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9419         instead of $(objpfx)tst-rxspencer-mem.
9420         ($(objpfx)tst-rxspencer-mem): Change target to
9421         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
9422         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9423         * posix/tst-rxspencer-no-utf8.c: New file.
9424
9425         * elf/Makefile ($(objpfx)order.out): Remove rule.
9426         [$(run-built-tests) = yes] (tests): Depend on
9427         $(objpfx)order-cmp.out.
9428         ($(objpfx)order-cmp.out): New rule.
9429         [$(run-built-tests) = yes] (tests): Depend on
9430         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9431         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9432         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9433         $(objpfx)tst-array5-static-cmp.out.
9434         ($(objpfx)tst-array1.out): Remove rule.
9435         ($(objpfx)tst-array1-cmp.out): New rule.
9436         ($(objpfx)tst-array1-static.out): Remove rule.
9437         ($(objpfx)tst-array1-static-cmp.out): New rule.
9438         ($(objpfx)tst-array2.out): Remove rule.
9439         ($(objpfx)tst-array2-cmp.out): New rule.
9440         ($(objpfx)tst-array3.out): Remove rule.
9441         ($(objpfx)tst-array3-cmp.out): New rule.
9442         ($(objpfx)tst-array4.out): Remove rule.
9443         ($(objpfx)tst-array4-cmp.out): New rule.
9444         ($(objpfx)tst-array5.out): Remove rule.
9445         ($(objpfx)tst-array5-cmp.out): New rule.
9446         ($(objpfx)tst-array5-static.out): Remove rule.
9447         ($(objpfx)tst-array5-static-cmp.out): New rule.
9448         [$(run-built-tests) = yes] (tests): Depend on
9449         $(objpfx)order2-cmp.out.
9450         ($(objpfx)order2.out): Remove rule.
9451         ($(objpfx)order2-cmp.out): New rule.
9452         ($(objpfx)tst-initorder.out): Remove rule.
9453         [$(run-built-tests) = yes] (tests): Depend on
9454         $(objpfx)tst-initorder-cmp.out.
9455         ($(objpfx)tst-initorder-cmp.out): New rule.
9456         ($(objpfx)tst-initorder2.out): Remove rule.
9457         [$(run-built-tests) = yes] (tests): Depend on
9458         $(objpfx)tst-initorder2-cmp.out.
9459         ($(objpfx)tst-initorder2-cmp.out): New rule.
9460         [$(run-built-tests) = yes] (tests): Depend on
9461         $(objpfx)tst-unused-dep-cmp.out.
9462         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9463         ($(objpfx)tst-unused-dep-cmp.out): New rule.
9464         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9465         on $(objpfx)tst-setvbuf1-cmp.out.
9466         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9467         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9468         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9469         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9470         ($(objpfx)tst-svc.out): Remove rule.
9471         ($(objpfx)tst-svc-cmp.out): New rule.
9472
9473 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
9474
9475         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9476         * ctype/ctype.h [__USE_MISC]: Likewise.
9477         * dirent/dirent.h [__USE_MISC]: Likewise.
9478         * grp/grp.h [__USE_MISC]: Likewise.
9479         * io/fcntl.h [__USE_MISC]: Likewise.
9480         * io/sys/stat.h [__USE_MISC]: Likewise.
9481         * libio/stdio.h [__USE_MISC]: Likewise.
9482         * posix/unistd.h [__USE_MISC]: Likewise.
9483         * pwd/pwd.h [__USE_MISC]: Likewise.
9484         * stdlib.h [__USE_MISC]: Likewise.
9485         * string/bits/string2.h [__USE_MISC]: Likewise.
9486         * string/string.h [__USE_MISC]: Likewise.
9487         * time/time.h [__USE_MISC]: Likewise.
9488
9489 2014-02-13  Andreas Schwab  <schwab@suse.de>
9490
9491         [BZ #16574]
9492         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9493         second answer buffer if it was separately allocated.
9494
9495 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
9496
9497         * sysdeps/mips/math-tests.h: Include <features.h>.
9498         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9499         (ROUNDING_TESTS_long_double): Do not define.
9500         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9501         (EXCEPTION_TESTS_long_double): Likewise.
9502         * sysdeps/mips/mips64/libm-test-ulps: Update.
9503
9504         * include/features.h (__USE_BSD): Remove macro definitions.
9505         (__USE_SVID): Likewise.
9506         (_BSD_SOURCE): Likewise.
9507         (_SVID_SOURCE): Likewise.
9508         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9509         from definition of _DEFAULT_SOURCE.
9510         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9511         [_DEFAULT_SOURCE].
9512         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9513         * bits/mman.h [__USE_BSD]: Likewise.
9514         * bits/termios.h [__USE_BSD]: Likewise.
9515         * bits/waitstatus.h [__USE_BSD]: Likewise.
9516         * ctype/ctype.h [__USE_SVID]: Likewise.
9517         * dirent/dirent.h [__USE_BSD]: Likewise.
9518         * grp/grp.h [__USE_SVID]: Likewise.
9519         [__USE_BSD]: Likewise.
9520         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9521         * io/fcntl.h [__USE_BSD]: Likewise.
9522         * io/ftw.h [__USE_BSD]: Likewise.
9523         * io/sys/stat.h [__USE_BSD]: Likewise.
9524         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9525         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9526         * libio/stdio.h [__USE_SVID]: Likewise.
9527         [__USE_BSD]: Likewise.
9528         * math/math.h [__USE_SVID]: Likewise.
9529         [__USE_BSD]: Likewise.
9530         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9531         * misc/bits/syslog.h [__USE_BSD]: Likewise.
9532         * misc/search.h [__USE_SVID]: Likewise.
9533         * misc/sys/mman.h [__USE_BSD]: Likewise.
9534         * misc/sys/syslog.h [__USE_BSD]: Likewise.
9535         * misc/sys/uio.h [__USE_BSD]: Likewise.
9536         * posix/bits/unistd.h [__USE_BSD]: Likewise.
9537         * posix/glob.h [__USE_BSD]: Likewise.
9538         * posix/regex.h [__USE_BSD]: Likewise.
9539         * posix/sys/types.h [__USE_BSD]: Likewise.
9540         [__USE_SVID]: Likewise.
9541         * posix/sys/utsname.h [__USE_SVID]: Likewise.
9542         * posix/sys/wait.h [__USE_BSD]: Likewise.
9543         [__USE_SVID]: Likewise.
9544         * posix/unistd.h [__USE_BSD]: Likewise.
9545         [__USE_SVID]: Likewise.
9546         * pwd/pwd.h [__USE_SVID]: Likewise.
9547         * resolv/netdb.h [__USE_BSD]: Likewise.
9548         * setjmp/setjmp.h [__USE_BSD]: Likewise.
9549         * signal/signal.h [__USE_BSD]: Likewise.
9550         [__USE_SVID]: Likewise.
9551         * socket/sys/socket.h [__USE_BSD]: Likewise.
9552         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9553         * stdlib/stdlib.h [__USE_BSD]: Likewise.
9554         [__USE_SVID]: Likewise.
9555         * string/bits/string2.h [__USE_BSD]: Likewise.
9556         [__USE_SVID]: Likewise.
9557         * string/bits/string3.h [__USE_BSD]: Likewise.
9558         * string/endian.h [__USE_BSD]: Likewise.
9559         * string/string.h [__USE_SVID]: Likewise.
9560         [__USE_BSD]: Likewise.
9561         * string/strings.h [__USE_BSD]: Likewise.
9562         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9563         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9564         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9565         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9566         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9567         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9568         Likewise.
9569         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9570         Likewise.
9571         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9572         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9573         Likewise.
9574         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9575         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9576         Likewise.
9577         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9578         Likewise.
9579         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9580         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9581         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9582         Likewise.
9583         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9584         Likewise.
9585         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9586         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9587         * termios/termios.h [__USE_BSD]: Likewise.
9588         * time/sys/time.h [__USE_BSD]: Likewise.
9589         * time/time.h [__USE_BSD]: Likewise.
9590         [__USE_SVID]: Likewise.
9591
9592         * Makefile (subdir_targets): Remove subdir_lint.out.
9593
9594         * stdio-common/Makefile (do-tst-unbputc): Remove target.
9595         (do-tst-printf): Likewise.
9596         (tests): Depend directly on $(objpfx)tst-unbputc.out and
9597         $(objpfx)tst-printf.out.
9598
9599         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9600
9601         * Makerules (check-abi-%): Change target to
9602         $(objpfx)check-abi-%.out.
9603         (check-abi target): Update dependencies.
9604         (check-abi-pattern variable): Redirect output of diff to $@.
9605         (check-abi variable): Likewise.
9606         * elf/Makefile (check-abi): Update dependencies.
9607
9608         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9609         unused.
9610         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9611         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9612         subnormal range.
9613         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9614         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9615         value has largest subnormal exponent.
9616         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9617         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9618         * sysdeps/aarch64/soft-fp/sfp-machine.h
9619         (_FP_TININESS_AFTER_ROUNDING): New macro.
9620         * sysdeps/alpha/soft-fp/sfp-machine.h
9621         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9622         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9623         Likewise.
9624         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9625         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9626         * sysdeps/mips/soft-fp/sfp-machine.h
9627         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9628         * sysdeps/powerpc/soft-fp/sfp-machine.h
9629         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9630         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9631         Likewise.
9632         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9633         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9634         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9635         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9636         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9637         Likewise.
9638
9639 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
9640
9641         [BZ #16545]
9642         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9643         model 1.
9644
9645 2014-02-12  Richard Henderson  <rth@redhat.com>
9646
9647         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9648         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9649         * sysdeps/unix/sysv/linux/alpha: Move directory from
9650         ports/sysdeps/unix/sysv/linux/alpha.
9651         * README: Update listing for alpha-*-linux-gnu.
9652
9653 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
9654
9655         * include/features.h: Update comment documenting feature test
9656         macros.
9657         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
9658         _DEFAULT_SOURCE.
9659         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9660         (_SVID_SOURCE): Likewise.
9661         (_DEFAULT_SOURCE): Update description of default features.
9662         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9663         with _GNU_SOURCE.
9664         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9665         (S_ISVTX): Likewise.
9666         * manual/math.texi (Mathematical Constants): Likewise.
9667         * manual/signal.texi (Interrupted Primitives): Likewise.
9668         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9669         * math/test-matherr.c (_SVID_SOURCE): Do not define.
9670         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9671         Don't refer to _SVID_SOURCE in warning text.
9672
9673         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9674
9675         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9676         already defined.
9677         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9678         * sysdeps/mips/dl-lookup.c: Remove.
9679         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9680
9681 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9682
9683         [BZ #16447]
9684         * math/auto-libm-test-in: Add testcase for expl.
9685         * math/auto-libm-test-out: Regenerate.
9686         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9687         calculation of unsafe.
9688         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9689
9690 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9691
9692         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9693         * sysdeps/unix/sysv/linux/aarch64: Move directory from
9694         ports/sysdeps/unix/sysv/linux/aarch64.
9695         * README: Update listing for aarch64*-*-linux-gnu.
9696
9697 2014-02-11  Will Newton  <will.newton@linaro.org>
9698
9699         * manual/probes.texi (Mathematical Function Probes): Use
9700         "triggered" instead of "hit".
9701
9702         * manual/probes.texi (Internal Probes): Add documentation
9703         of setjmp, longjmp and longjmp_target probes.
9704
9705         * include/stap-probe.h: Add comment about probe argument
9706         format.
9707
9708         * malloc/mtrace.c (attribute_hidden): Remove unused macro
9709         definition.  (tr_where, tr_freehook, tr_mallochook,
9710         tr_reallochook, tr_memalignhook): Use ANSI protoype.
9711
9712 2014-02-11  David S. Miller  <davem@davemloft.net>
9713
9714         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9715         processing int_tests.
9716
9717 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
9718
9719         * sysdeps/mips: Move directory from ports/sysdeps/mips.
9720         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9721         * sysdeps/unix/sysv/linux/mips: Move directory from
9722         ports/sysdeps/unix/sysv/linux/mips.
9723         * README: Update listing for mips-*-linux-gnu and
9724         mips64-*-linux-gnu.
9725
9726 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
9727
9728         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9729         * sysdeps/unix/sysv/linux/m68k: Move directory from
9730         ports/sysdeps/unix/sysv/linux/m68k.
9731         * README: Update listing for m68k-*-linux-gnu.
9732
9733 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
9734
9735         * sysdeps/tile: Move directory from ports/sysdeps/tile.
9736         * sysdeps/unix/sysv/linux/generic: Move directory from
9737         ports/sysdeps/unix/sysv/linux/generic.
9738         * sysdeps/unix/sysv/linux/tile: Move directory from
9739         ports/sysdeps/unix/sysv/linux/tile.
9740         * README: Update listing for tile*-*-linux-gnu.
9741
9742 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
9743
9744         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9745         __builtin_expect.
9746         * benchtests/bench-memmem.c (simple_memmem): Likewise.
9747         * catgets/open_catalog.c (__open_catalog): Likewise.
9748         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9749         * debug/confstr_chk.c: Likewise.
9750         * debug/fread_chk.c (__fread_chk): Likewise.
9751         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9752         * debug/getgroups_chk.c: Likewise.
9753         * debug/mbsnrtowcs_chk.c: Likewise.
9754         * debug/mbsrtowcs_chk.c: Likewise.
9755         * debug/mbstowcs_chk.c: Likewise.
9756         * debug/memcpy_chk.c: Likewise.
9757         * debug/memmove_chk.c: Likewise.
9758         * debug/mempcpy_chk.c: Likewise.
9759         * debug/memset_chk.c: Likewise.
9760         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9761         * debug/strcat_chk.c (__strcat_chk): Likewise.
9762         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9763         * debug/strncat_chk.c (__strncat_chk): Likewise.
9764         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9765         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9766         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9767         * debug/wcpncpy_chk.c: Likewise.
9768         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9769         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9770         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9771         * debug/wcsncpy_chk.c: Likewise.
9772         * debug/wcsnrtombs_chk.c: Likewise.
9773         * debug/wcsrtombs_chk.c: Likewise.
9774         * debug/wcstombs_chk.c: Likewise.
9775         * debug/wmemcpy_chk.c: Likewise.
9776         * debug/wmemmove_chk.c: Likewise.
9777         * debug/wmempcpy_chk.c: Likewise.
9778         * debug/wmemset_chk.c: Likewise.
9779         * dirent/scandirat.c (SCANDIRAT): Likewise.
9780         * dlfcn/dladdr1.c (dladdr1): Likewise.
9781         * dlfcn/dladdr.c (dladdr): Likewise.
9782         * dlfcn/dlclose.c (dlclose_doit): Likewise.
9783         * dlfcn/dlerror.c (__dlerror): Likewise.
9784         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9785         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9786         * dlfcn/dlopen.c (dlopen_doit): Likewise.
9787         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9788         * dlfcn/dlsym.c (dlsym_doit): Likewise.
9789         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9790         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9791         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9792         Likewise.
9793         * elf/dl-conflict.c: Likewise.
9794         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9795         * elf/dl-dst.h: Likewise.
9796         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9797         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9798         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9799         * elf/dl-init.c (call_init, _dl_init): Likewise.
9800         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9801         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9802         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9803         Likewise.
9804         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9805         Likewise.
9806         * elf/dl-minimal.c (__libc_memalign): Likewise.
9807         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9808         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9809         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9810         * elf/dl-sym.c (do_sym): Likewise.
9811         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9812         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9813         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9814         * elf/dl-writev.h (_dl_writev): Likewise.
9815         * elf/ldconfig.c (search_dir): Likewise.
9816         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9817         (dl_main): Likewise.
9818         * elf/setup-vdso.h (setup_vdso): Likewise.
9819         * grp/compat-initgroups.c (compat_call): Likewise.
9820         * grp/fgetgrent.c (fgetgrent): Likewise.
9821         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9822         * grp/putgrent.c (putgrent): Likewise.
9823         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9824         Likewise.
9825         * hurd/hurdinit.c: Likewise.
9826         * iconvdata/8bit-gap.c (struct): Likewise.
9827         * iconvdata/ansi_x3.110.c : Likewise.
9828         * iconvdata/big5.c : Likewise.
9829         * iconvdata/big5hkscs.c : Likewise.
9830         * iconvdata/cp1255.c: Likewise.
9831         * iconvdata/cp1258.c : Likewise.
9832         * iconvdata/cp932.c : Likewise.
9833         * iconvdata/euc-cn.c: Likewise.
9834         * iconvdata/euc-jisx0213.c : Likewise.
9835         * iconvdata/euc-jp.c: Likewise.
9836         * iconvdata/euc-jp-ms.c : Likewise.
9837         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9838         * iconvdata/gb18030.c : Likewise.
9839         * iconvdata/gbbig5.c (const): Likewise.
9840         * iconvdata/gbgbk.c: Likewise.
9841         * iconvdata/gbk.c : Likewise.
9842         * iconvdata/ibm1364.c : Likewise.
9843         * iconvdata/ibm930.c : Likewise.
9844         * iconvdata/ibm932.c: Likewise.
9845         * iconvdata/ibm933.c : Likewise.
9846         * iconvdata/ibm935.c : Likewise.
9847         * iconvdata/ibm937.c : Likewise.
9848         * iconvdata/ibm939.c : Likewise.
9849         * iconvdata/ibm943.c: Likewise.
9850         * iconvdata/iso_11548-1.c: Likewise.
9851         * iconvdata/iso-2022-cn.c : Likewise.
9852         * iconvdata/iso-2022-cn-ext.c : Likewise.
9853         * iconvdata/iso-2022-jp-3.c: Likewise.
9854         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9855         * iconvdata/iso-2022-kr.c : Likewise.
9856         * iconvdata/iso646.c (gconv_end): Likewise.
9857         * iconvdata/iso_6937-2.c : Likewise.
9858         * iconvdata/iso_6937.c : Likewise.
9859         * iconvdata/iso8859-1.c: Likewise.
9860         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9861         * iconvdata/shift_jisx0213.c : Likewise.
9862         * iconvdata/sjis.c : Likewise.
9863         * iconvdata/t.61.c : Likewise.
9864         * iconvdata/tcvn5712-1.c : Likewise.
9865         * iconvdata/tscii.c: Likewise.
9866         * iconvdata/uhc.c : Likewise.
9867         * iconvdata/unicode.c (gconv_end): Likewise.
9868         * iconvdata/utf-16.c (gconv_end): Likewise.
9869         * iconvdata/utf-32.c (gconv_end): Likewise.
9870         * iconvdata/utf-7.c (base64): Likewise.
9871         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9872         * iconv/gconv_close.c (__gconv_close): Likewise.
9873         * iconv/gconv_open.c (__gconv_open): Likewise.
9874         * iconv/gconv_simple.c (internal_ucs4_loop_single)
9875         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9876         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9877         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9878         (ucs4le_internal_loop_single): Likewise.
9879         * iconv/iconv.c (iconv): Likewise.
9880         * iconv/iconv_close.c: Likewise.
9881         * iconv/loop.c (SINGLE): Likewise.
9882         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9883         * include/atomic.h: Likewise.
9884         * inet/inet6_option.c (option_alloc): Likewise.
9885         * intl/bindtextdom.c (set_binding_values): Likewise.
9886         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9887         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9888         * intl/localealias.c (read_alias_file): Likewise.
9889         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9890         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9891         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9892         * libio/fmemopen.c (fmemopen): Likewise.
9893         * libio/iofgets.c (_IO_fgets): Likewise.
9894         * libio/iofgets_u.c (fgets_unlocked): Likewise.
9895         * libio/iofgetws.c (fgetws): Likewise.
9896         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9897         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9898         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9899         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9900         * locale/findlocale.c (_nl_find_locale): Likewise.
9901         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9902         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9903         Likewise.
9904         * locale/setlocale.c (setlocale): Likewise.
9905         * login/programs/pt_chown.c (main): Likewise.
9906         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9907         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9908         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9909         (mmap, mmap64, mremap, munmap): Likewise.
9910         * math/e_exp2l.c: Likewise.
9911         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9912         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9913         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9914         * math/s_catan.c (__catan): Likewise.
9915         * math/s_catanf.c (__catanf): Likewise.
9916         * math/s_catanh.c (__catanh): Likewise.
9917         * math/s_catanhf.c (__catanhf): Likewise.
9918         * math/s_catanhl.c (__catanhl): Likewise.
9919         * math/s_catanl.c (__catanl): Likewise.
9920         * math/s_ccosh.c (__ccosh): Likewise.
9921         * math/s_ccoshf.c (__ccoshf): Likewise.
9922         * math/s_ccoshl.c (__ccoshl): Likewise.
9923         * math/s_cexp.c (__cexp): Likewise.
9924         * math/s_cexpf.c (__cexpf): Likewise.
9925         * math/s_cexpl.c (__cexpl): Likewise.
9926         * math/s_clog10.c (__clog10): Likewise.
9927         * math/s_clog10f.c (__clog10f): Likewise.
9928         * math/s_clog10l.c (__clog10l): Likewise.
9929         * math/s_clog.c (__clog): Likewise.
9930         * math/s_clogf.c (__clogf): Likewise.
9931         * math/s_clogl.c (__clogl): Likewise.
9932         * math/s_csin.c (__csin): Likewise.
9933         * math/s_csinf.c (__csinf): Likewise.
9934         * math/s_csinh.c (__csinh): Likewise.
9935         * math/s_csinhf.c (__csinhf): Likewise.
9936         * math/s_csinhl.c (__csinhl): Likewise.
9937         * math/s_csinl.c (__csinl): Likewise.
9938         * math/s_csqrt.c (__csqrt): Likewise.
9939         * math/s_csqrtf.c (__csqrtf): Likewise.
9940         * math/s_csqrtl.c (__csqrtl): Likewise.
9941         * math/s_ctan.c (__ctan): Likewise.
9942         * math/s_ctanf.c (__ctanf): Likewise.
9943         * math/s_ctanh.c (__ctanh): Likewise.
9944         * math/s_ctanhf.c (__ctanhf): Likewise.
9945         * math/s_ctanhl.c (__ctanhl): Likewise.
9946         * math/s_ctanl.c (__ctanl): Likewise.
9947         * math/w_pow.c: Likewise.
9948         * math/w_powf.c: Likewise.
9949         * math/w_powl.c: Likewise.
9950         * math/w_scalb.c (sysv_scalb): Likewise.
9951         * math/w_scalbf.c (sysv_scalbf): Likewise.
9952         * math/w_scalbl.c (sysv_scalbl): Likewise.
9953         * misc/error.c (error_tail): Likewise.
9954         * misc/pselect.c (__pselect): Likewise.
9955         * nis/nis_callback.c (__nis_create_callback): Likewise.
9956         * nis/nis_call.c (__nisfind_server): Likewise.
9957         * nis/nis_creategroup.c (nis_creategroup): Likewise.
9958         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9959         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9960         * nis/nis_getservlist.c (nis_getservlist): Likewise.
9961         * nis/nis_lookup.c (nis_lookup): Likewise.
9962         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9963         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9964         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9965         * nis/nis_xdr.c (xdr_endpoint): Likewise.
9966         * nis/nss_compat/compat-grp.c (getgrent_next_file)
9967         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9968         * nis/nss_compat/compat-initgroups.c (add_group)
9969         (internal_getgrent_r): Likewise.
9970         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9971         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9972         * nis/nss_compat/compat-spwd.c (getspent_next_file)
9973         (internal_getspnam_r): Likewise.
9974         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9975         (_nss_nis_getaliasbyname_r): Likewise.
9976         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9977         (_nss_nis_getntohost_r): Likewise.
9978         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9979         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9980         (_nss_nis_getgrgid_r): Likewise.
9981         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9982         (internal_nis_gethostent_r, internal_gethostbyname2_r)
9983         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9984         (_nss_nis_gethostbyname4_r): Likewise.
9985         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9986         (initgroups_netid): Likewise.
9987         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9988         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9989         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9990         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9991         (_nss_nis_getprotobynumber_r): Likewise.
9992         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9993         (_nss_nis_getsecretkey): Likewise.
9994         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9995         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9996         (_nss_nis_getpwuid_r): Likewise.
9997         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9998         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9999         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10000         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10001         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10002         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10003         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10004         Likewise.
10005         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10006         (_nss_nisplus_getntohost_r): Likewise.
10007         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10008         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10009         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10010         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10011         Likewise.
10012         * nis/nss_nisplus/nisplus-initgroups.c
10013         (_nss_nisplus_initgroups_dyn): Likewise.
10014         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10015         (_nss_nisplus_getnetbyaddr_r): Likewise.
10016         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10017         (_nss_nisplus_getprotobynumber_r): Likewise.
10018         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10019         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10020         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10021         Likewise.
10022         * nis/nss_nisplus/nisplus-service.c
10023         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10024         (_nss_nisplus_getservbyport_r): Likewise.
10025         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10026         (_nss_nisplus_getspnam_r): Likewise.
10027         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10028         Likewise.
10029         * nscd/aicache.c (addhstaiX): Likewise.
10030         * nscd/cache.c (cache_search, prune_cache): Likewise.
10031         * nscd/connections.c (register_traced_file, send_ro_fd)
10032         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10033         (main_loop_epoll): Likewise.
10034         * nscd/grpcache.c (addgrbyX): Likewise.
10035         * nscd/hstcache.c (addhstbyX): Likewise.
10036         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10037         * nscd/mem.c (gc, mempool_alloc): Likewise.
10038         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10039         (addinnetgrX): Likewise.
10040         * nscd/nscd-client.h (__nscd_acquire_maplock)
10041         (__nscd_drop_map_ref): Likewise.
10042         * nscd/nscd_getai.c (__nscd_getai): Likewise.
10043         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10044         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10045         Likewise.
10046         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10047         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10048         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10049         (__nscd_get_map_ref): Likewise.
10050         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10051         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10052         Likewise.
10053         * nscd/pwdcache.c (addpwbyX): Likewise.
10054         * nscd/selinux.c (preserve_capabilities): Likewise.
10055         * nscd/servicescache.c (addservbyX): Likewise.
10056         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10057         * posix/fnmatch.c (fnmatch): Likewise.
10058         * posix/getopt.c (_getopt_internal_r): Likewise.
10059         * posix/glob.c (glob, glob_in_dir): Likewise.
10060         * posix/wordexp.c (exec_comm_child): Likewise.
10061         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10062         (getanswer_r, gaih_getanswer_slice): Likewise.
10063         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10064         * resolv/res_init.c: Likewise.
10065         * resolv/res_mkquery.c (res_nmkquery): Likewise.
10066         * resolv/res_query.c (__libc_res_nquery): Likewise.
10067         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10068         Likewise.
10069         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10070         * stdio-common/perror.c (perror): Likewise.
10071         * stdio-common/printf_fp.c (___printf_fp): Likewise.
10072         * stdio-common/tmpnam.c (tmpnam): Likewise.
10073         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10074         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10075         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10076         Likewise.
10077         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10078         * stdlib/putenv.c (putenv): Likewise.
10079         * stdlib/setenv.c (__add_to_environ): Likewise.
10080         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10081         * stdlib/strtol_l.c (INTERNAL): Likewise.
10082         * string/memmem.c (memmem): Likewise.
10083         * string/strerror.c (strerror): Likewise.
10084         * string/strnlen.c (__strnlen): Likewise.
10085         * string/test-memmem.c (simple_memmem): Likewise.
10086         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10087         * sunrpc/pm_getport.c (__get_socket): Likewise.
10088         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10089         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10090         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10091         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10092         Likewise.
10093         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10094         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10095         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10096         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10097         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10098         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10099         Likewise.
10100         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10101         Likewise.
10102         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10103         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10104         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10105         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10106         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10107         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10108         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10109         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10110         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10111         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10112         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10113         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10114         Likewise.
10115         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10116         Likewise.
10117         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10118         Likewise.
10119         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10120         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10121         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10122         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10123         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10124         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10125         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10126         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10127         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10128         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10129         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10130         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10131         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10132         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10133         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10134         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10135         Likewise.
10136         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10137         Likewise.
10138         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10139         Likewise.
10140         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10141         Likewise.
10142         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10143         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10144         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10145         Likewise.
10146         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10147         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10148         * sysdeps/posix/opendir.c (__opendirat): Likewise.
10149         * sysdeps/posix/sleep.c: Likewise.
10150         * sysdeps/posix/tempname.c: Likewise.
10151         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10152         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10153         Likewise.
10154         * sysdeps/powerpc/powerpc32/dl-machine.h
10155         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10156         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10157         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10158         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10159         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10160         Likewise.
10161         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10162         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10163         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10164         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10165         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10166         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10167         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10168         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10169         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10170         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10171         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10172         (elf_machine_lazy_rel): Likewise.
10173         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10174         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10175         (elf_machine_lazy_rel): Likewise.
10176         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10177         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10178         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10179         * sysdeps/unix/grantpt.c (grantpt): Likewise.
10180         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10181         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10182         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10183         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10184         Likewise.
10185         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10186         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10187         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10188         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10189         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10190         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10191         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10192         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10193         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10194         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10195         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10196         Likewise.
10197         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10198         (__posix_fallocate64_l64): Likewise.
10199         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10200         (posix_fallocate): Likewise.
10201         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10202         Likewise.
10203         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10204         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10205         (getifaddrs_internal): Likewise.
10206         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10207         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10208         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10209         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10210         * sysdeps/unix/sysv/linux/posix_fallocate64.c
10211         (__posix_fallocate64_l64): Likewise.
10212         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10213         Likewise.
10214         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10215         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10216         (__get_clockfreq): Likewise.
10217         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10218         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10219         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10220         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10221         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10222         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10223         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10224         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10225         Likewise.
10226         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10227         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10228         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10229         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10230         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10231         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10232         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10233         Likewise.
10234         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10235         (posix_fallocate): Likewise.
10236         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10237         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10238         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10239         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10240         (elf_machine_rela, elf_machine_rela_relative)
10241         (elf_machine_lazy_rel): Likewise.
10242         * time/asctime.c (asctime_internal): Likewise.
10243         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10244         * time/tzset.c (__tzset_parse_tz): Likewise.
10245         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10246         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10247         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10248         * wcsmbs/wcsmbsload.h: Likewise.
10249
10250         [BZ #15894]
10251         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10252
10253         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10254         (arena_get2): Remove THREAD_STATS conditionals.
10255         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10256         (__malloc_stats, int): Likewise.
10257
10258 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
10259
10260         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10261         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
10262
10263         * manual/setjmp.texi: Fix typos/grammar errors.
10264
10265         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10266         Only return early when n is <= 0.  Delete unused return statement.
10267
10268         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10269         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10270         * debug/tst-longjmp_chk3.c: New file.
10271
10272         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10273         (test_main): Replace code with set_fortify_handler call.
10274         * debug/test-strcpy_chk.c: Likewise.
10275         * debug/tst-chk1.c: Likewise.
10276         * debug/tst-longjmp_chk.c: Likewise.
10277         * test-skeleton.c: Include fcntl.h & paths.h
10278         (set_fortify_handler): Define.
10279
10280         * debug/tst-longjmp_chk.c: Add header comment and include
10281         ../test-skeleton.c.
10282         (do_test): Mark static.
10283         (TEST_FUNCTION): Define.
10284
10285         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10286         (IP_PMTUDISC_INTERFACE): Likewise.
10287         (IP_MULTICAST_IF): Likewise.
10288         (IP_MULTICAST_TTL): Likewise.
10289         (IP_MULTICAST_LOOP): Likewise.
10290         (IP_ADD_MEMBERSHIP): Likewise.
10291         (IP_DROP_MEMBERSHIP): Likewise.
10292         (IP_UNBLOCK_SOURCE): Likewise.
10293         (IP_BLOCK_SOURCE): Likewise.
10294         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10295         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10296         (IP_MSFILTER): Likewise.
10297         (MCAST_JOIN_GROUP): Likewise.
10298         (MCAST_BLOCK_SOURCE): Likewise.
10299         (MCAST_UNBLOCK_SOURCE): Likewise.
10300         (MCAST_LEAVE_GROUP): Likewise.
10301         (MCAST_JOIN_SOURCE_GROUP): Likewise.
10302         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10303         (MCAST_MSFILTER): Likewise.
10304         (IP_MULTICAST_ALL): Likewise.
10305         (IP_UNICAST_IF): Likewise.
10306
10307         * timezone/Makefile: Delete $(have-ksh) check.
10308         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10309         * timezone/tzselect.ksh: Add +x mode bits.
10310
10311         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10312         (ANON_INODE_FS_MAGIC): Likewise.
10313         (BDEVFS_MAGIC): Likewise.
10314         (BINFMTFS_MAGIC): Likewise.
10315         (BTRFS_TEST_MAGIC): Likewise.
10316         (CRAMFS_MAGIC_WEND): Likewise.
10317         (DEBUGFS_MAGIC): Likewise.
10318         (ECRYPTFS_SUPER_MAGIC): Likewise.
10319         (EXT3_SUPER_MAGIC): Likewise.
10320         (EXT4_SUPER_MAGIC): Likewise.
10321         (FUTEXFS_SUPER_MAGIC): Likewise.
10322         (HOSTFS_SUPER_MAGIC): Likewise.
10323         (HUGETLBFS_MAGIC): Likewise.
10324         (MINIX3_SUPER_MAGIC): Likewise.
10325         (MTD_INODE_FS_MAGIC): Likewise.
10326         (NILFS_SUPER_MAGIC): Likewise.
10327         (OPENPROM_SUPER_MAGIC): Likewise.
10328         (PIPEFS_MAGIC): Likewise.
10329         (PSTOREFS_MAGIC): Likewise.
10330         (QNX6_SUPER_MAGIC): Likewise.
10331         (RAMFS_MAGIC): Likewise.
10332         (REISERFS_SUPER_MAGIC_STRING): Likewise.
10333         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10334         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10335         (SECURITYFS_MAGIC): Likewise.
10336         (SELINUX_MAGIC): Likewise.
10337         (SMACK_MAGIC): Likewise.
10338         (SOCKFS_MAGIC): Likewise.
10339         (SQUASHFS_MAGIC): Likewise.
10340         (STACK_END_MAGIC): Likewise.
10341         (TMPFS_MAGIC): Likewise.
10342         (USBDEVICE_SUPER_MAGIC): Likewise.
10343         (V9FS_MAGIC): Likewise.
10344         (XENFS_SUPER_MAGIC): Likewise.
10345         (CRAMFS_MAGIC): Fix typo in comment.
10346         (EXT2_SUPER_MAGIC): Update comment.
10347         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10348
10349 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
10350
10351         * sysdeps/arm: Move directory from ports/sysdeps/arm.
10352         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10353         * sysdeps/unix/sysv/linux/arm: Move directory from
10354         ports/sysdeps/unix/sysv/linux/arm.
10355         * README: Update listing for arm-*-linux-gnueabi.
10356
10357         * README: Remove mention of am33.
10358
10359 2014-02-07  Roland McGrath  <roland@hack.frob.com>
10360
10361         * bits/sigset.h (__sigemptyset): Use a statement expression rather
10362         than the comma operator, to avoid "rhs of comma has no effect"
10363         compiler warnings.
10364         (__sigfillset, __sigandset, __sigorset): Likewise.
10365         * include/signal.h (__sigemptyset): Likewise.
10366         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10367
10368 2014-02-07  Allan McRae  <allan@archlinux.org>
10369
10370         * version.h (RELEASE): Set to "development".
10371         (VERSION): Set to "2.19.90"
10372         * NEWS: Add 2.20 section.
10373
10374 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
10375
10376         [BZ #16529]
10377         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10378
10379 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10380
10381         * manual/contrib.texi: Update entry for Carlos O'Donell,
10382         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10383
10384 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
10385
10386         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10387
10388         * sysdeps/unix/sysv/linux/kernel-features.h
10389         [__LINUX_KERNEL_VERSION >= 0x020621]
10390         (__ASSUME_PROC_PID_TASK_COMM): Define.
10391
10392 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10393
10394         [BZ #16398]
10395         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10396         conversion when destination buffer does not have enough space.
10397         * libio/tst-ftell-partial-wide.c: New test case.
10398         * libio/Makefile (tests): Add tst-ftell-partial-wide.
10399
10400         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10401         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
10402         Leonard and Allan McRae.
10403
10404 2014-02-04  David S. Miller  <davem@davemloft.net>
10405
10406         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10407         32-bit.
10408
10409 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10410
10411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10412         New file
10413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10414         New file
10415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10416         New file.
10417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10418         New file.
10419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10420         New file.
10421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10422         New file.
10423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10424         New file.
10425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10426         New file.
10427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10428         New file.
10429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10430         New file.
10431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10432         New file.
10433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10434         New file.
10435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10436         New file.
10437
10438 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10439
10440         * nptl/shlib-versions: Change powerpc*le start to 2.17.
10441         * shlib-versions: Likewise.
10442
10443 2014-02-04  Roland McGrath  <roland@hack.frob.com>
10444             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10445
10446         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10447         (abilist-pattern): New variable, set to %-le.abilist.
10448
10449         * Makerules (abilist-pattern): New variable.
10450         (vpath): Use $(abilist-pattern) in place of %.abilist.
10451         (check-abi-% pattern rule): Likewise.
10452         (check-abi, update-abi): Likewise.
10453
10454 2014-02-04  Eric Wong  <normalperson@yhbt.net>
10455
10456         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10457
10458 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
10459
10460         * manual/startup.texi: Add next, previous, and top entries for
10461         the `Program Arguments' and `Environment Variables' nodes.
10462
10463 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
10464
10465         * manual/macros.texi: Add comments before MTASC-safety macros.
10466
10467         * manual/users.texi: Document MTASC-safety properties.
10468
10469         * manual/threads.texi (pthread_key_create, pthread_key_delete)
10470         (pthread_getspecific, pthread_setspecific): Format with
10471         @deftypefun, and add @safety note.
10472         * manual/signal.texi: Move comments that analyze the above
10473         functions to their home place.
10474
10475 2014-02-03  Allan McRae  <allan@archlinux.org>
10476
10477         * po/sl.po: Update Slovenian translation from translation project.
10478
10479 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
10480
10481         * manual/time.texi (timegm): Add missing blank after @c.
10482         Reported by Joseph Myers <joseph@codesourcery.com>.
10483
10484 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
10485
10486         * manual/check-safety.sh: New.
10487         * manual/Makefile ($(objpfx)stamp-summary): Run it.
10488
10489         * manual/terminal.texi: Document MTASC-safety properties.
10490
10491         * manual/filesys.texi: Document MTASC-safety properties.
10492
10493         * manual/errno.texi: Document MTASC-safety properties.
10494
10495         * manual/intro.texi: Document safety identifiers and
10496         conditionals.
10497
10498         * manual/string.texi (wcstok): Fix prototype.
10499         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10500
10501         * manual/time.texi: Document MTASC-safety properties.
10502
10503         * manual/string.texi: Document MTASC-safety properties.
10504
10505         * manual/threads.texi: Document MTASC-safety properties.
10506
10507         * manual/stdio.texi: Document MTASC-safety properties.
10508
10509         * manual/syslog.texi: Document MTASC-safety properties.
10510
10511         * manual/sysinfo.texi: Document MTASC-safety properties.
10512
10513         * manual/startup.texi: Document MTASC-safety properties.
10514
10515         * manual/socket.texi: Document MTASC-safety properties.
10516
10517         * manual/signal.texi: Document MTASC-safety properties.
10518
10519 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
10520
10521         * manual/setjmp.texi: Document MTASC-safety properties.
10522
10523         * manual/search.texi: Document MTASC-safety properties.
10524
10525         * manual/resource.texi: Document MTASC-safety properties.
10526
10527         * manual/process.texi: Document MTASC-safety properties.
10528
10529         * manual/platform.texi: Document MTASC-safety properties.
10530
10531         * manual/pipe.texi: Document MTASC-safety properties.
10532
10533         * manual/pattern.texi: Document MTASC-safety properties.
10534
10535         * manual/message.texi: Document MTASC-safety properties.
10536
10537         [BZ #12751]
10538         * manual/memory.texi: Document MTASC-safety properties.
10539
10540         * manual/math.texi: Document MTASC-safety properties.
10541
10542         * manual/locale.texi: Document MTASC-safety properties.
10543
10544         * manual/llio.texi: Document MTASC-safety properties.
10545
10546         * manual/libdl.texi: New.
10547
10548         * manual/lang.texi: Document MTASC-safety properties.
10549
10550         * manual/job.texi: Document MTASC-safety properties.
10551
10552         * manual/getopt.texi: Document MTASC-safety properties.
10553
10554         * manual/ctype.texi: Document MTASC-safety properties.
10555
10556 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
10557
10558         [BZ #16046]
10559         * csu/libc-tls.c (static_map): Remove variable.
10560         (__libc_setup_tls): Use main executable's link map for TLS data.
10561         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10562         casing for LM_ID_BASE and GL(dl_nns).
10563         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10564         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
10565         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10566         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10567         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10568         member.
10569         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10570         l_phnum members.
10571
10572 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
10573
10574         * manual/debug.texi: Document MTASC-safety properties.
10575
10576 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
10577
10578         [BZ #16510]
10579         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10580         of __x86_64__ when disabling x87 inline functions.
10581
10582 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
10583
10584         * manual/charset.texi: Document MTASC-safety properties.
10585
10586         * manual/crypt.texi: Document MTASC-safety properties.
10587
10588         * manual/conf.texi: Document MTASC-safety properties.
10589
10590         * manual/arith.texi: Document MTASC-safety properties.
10591
10592         * manual/argp.texi: Document MTASC-safety properties.
10593
10594         * manual/macros.texi: Introduce macros to document multi
10595         thread, asynchronous signal and asynchronous cancellation
10596         safety properties.
10597         * manual/intro.texi: Introduce the properties themselves.
10598
10599 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10600
10601         * sysdeps/sh/sh4/Makefile: New file.
10602
10603 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
10604
10605         * math/gen-libm-test.pl ($srcdir): New variable.
10606         ($auto_input): Use it.
10607
10608 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10609
10610         [BZ #16506]
10611         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10612         access beyond array bounds when parsing netgroups file.
10613
10614         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10615         the old buffer before realloc.
10616
10617 2014-01-27  Allan McRae  <allan@archlinux.org>
10618
10619         * po/fr.po: Update French translation from translation project.
10620
10621 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10622
10623         * sysdeps/sh/libm-test-ulps: Regenerate.
10624
10625 2014-01-24  David S. Miller  <davem@davemloft.net>
10626
10627         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10628
10629 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10630
10631         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10632         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10633
10634 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10635
10636         [BZ #16474]
10637         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10638         string pointers after reallocation.
10639
10640 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10641
10642         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10643         __SH4A__ instead of __SH_FPU_ANY__.
10644
10645 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10646
10647         * sysdeps/sh/fpu_control.h: New file.
10648         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10649         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10650         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10651         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10652         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10653         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10654         * sysdeps/sh/sys/ucontext.h: Remove.
10655         * sysdeps/sh/sys: Remove directory.
10656
10657 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10658
10659         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10660         s390/sys/ucontext.h.
10661         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10662         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10663
10664 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
10665
10666         [BZ #15605]
10667         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10668
10669 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10670
10671         [BZ#16431]
10672         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10673         Adjust the vDSO correctly for internal calls.
10674         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10675
10676 2014-01-20  Allan McRae  <allan@archlinux.org>
10677
10678         * po/ca.po: Update Catalan translation from translation project.
10679
10680 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
10681
10682         * sysdeps/s390/sotruss-lib.c: New file.
10683
10684 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10685
10686         [BZ#16430]
10687         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10688         (__GI___gettimeofday): Alias for a different internal symbol to avoid
10689         local calls issues by not having a PLT stub required for IFUNC calls.
10690         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10691
10692 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
10693
10694         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10695         * math/test-fpucw-static.c: Likewise.
10696
10697 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10698
10699         [BZ #16453]
10700         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10701
10702 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10703
10704         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10705         implementation for powerpc.
10706
10707 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
10708
10709         [BZ #14782]
10710         * sysdeps/posix/system.c (__libc_system): Do not enable
10711         asynchronous cancellation.
10712
10713 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10714
10715         [BZ #16427]
10716         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10717         handling only for numbers special also in the IEEE case.
10718
10719 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10720
10721         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10722
10723 2014-01-11  Allan McRae  <allan@archlinux.org>
10724
10725         * po/bg.po: Update Bulgarian translation from translation project.
10726
10727         * po/de.po: Update German translation from translation project.
10728
10729 2014-01-10  Roland McGrath  <roland@hack.frob.com>
10730
10731         * sysdeps/generic/gcc-compat.h: New file.
10732
10733 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10734
10735         * benchtests/asin-inputs: Correct slow inputs.
10736         * benchtests/acos-inputs: Likewise.
10737
10738 2014-01-10  Allan McRae  <allan@archlinux.org>
10739
10740         * po:sv.po: Update Swedish translation from translation project.
10741
10742         * po/vi.po: Update Vietnamese translation from translation project.
10743
10744         * po/eo.po: Update Esperanto translation from translation project.
10745
10746         * po/cs.po: Update Czech translation from translation project.
10747
10748         * po/nl.po: Update Dutch translation from translation project.
10749
10750         * po/pl.po: Update Polish translation from translation project.
10751
10752         * po/ru.po: Update Russian translation from translation project.
10753
10754         * po/uk.po: Update Ukrainian translation from translation project.
10755
10756 2014-01-08  Brooks Moses  <bmoses@google.com>
10757
10758         * elf/dl-load.c: Fix comment typo.
10759
10760 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
10761
10762         * po/header.pot: Rename to...
10763         * po/pot.header: ... this.
10764         * po/Makefile: Use pot.header.
10765
10766 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
10767             Maxim Kuvyrkov  <maxim@kugelworks.com>
10768
10769         [BZ #16394]
10770         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10771         SRC and DEST against LEN.
10772
10773 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10774
10775         [BZ #16414]
10776         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10777         implementation.
10778         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10779
10780 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10781
10782         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10783
10784 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
10785
10786         [BZ #16408]
10787         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10788         for large positive arguments.
10789
10790 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
10791
10792         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10793
10794         * math/auto-libm-test-in: Mark various tests with
10795         xfail-rounding:ldbl-128ibm.
10796         * math/auto-libm-test-out: Regenerated.
10797
10798         [BZ #16407]
10799         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10800         Increase overflow threshold.
10801
10802 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
10803
10804         [BZ #14286]
10805         * stdio-common/vfprintf.c: Check for integer overflow.
10806
10807 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10808
10809         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10810         the first argument and return value of __tls_get_addr_internal.
10811
10812 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10813
10814         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10815         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10816
10817 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10818
10819         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10820         * sysdeps/s390/rtld-global-offsets.sym: New file.
10821         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10822         GLIBC_2.19 symbol.
10823         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10824         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10825         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10826         ... this.
10827         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10828         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10829         ... this.
10830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10831         Regenerate.
10832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10833         Regenerate.
10834         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10835         halfs of GPRs for high_gprs contexts.
10836         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10837         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
10838         field.
10839         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10840         uc_flags field.
10841         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10842         64 bit versions:
10843         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10844         for high GPRs (uc_high_gprs) and for future extensions
10845         (__reserved).
10846         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10847         for future extensions (__reserved).
10848         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10849         64 bit versions:
10850         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10851         SC_HIGHGPRS offset definition.
10852         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10853         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10854
10855         * Versions.def: Add GLIBC_2.19 for libpthread.
10856         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10857         siglongjmp for libpthread with GLIBC_2.19 symver.
10858         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10859         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10860         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10861         * sysdeps/s390/__longjmp.c: New file.
10862         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10863         * sysdeps/s390/longjmp.c: New file.
10864         * sysdeps/s390/setjmp.S: New file.
10865         * sysdeps/s390/sigjmp.S: New file.
10866         * sysdeps/s390/v1-longjmp.c: New file.
10867         * sysdeps/s390/v1-setjmp.h: New file.
10868         * sysdeps/s390/v1-sigjmp.c: New file.
10869         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10870         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10871         GLIBC_2.19 version.
10872         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10873         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10874         versioned symbols for ____longjmp_chk.
10875         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10876         Likewise.
10877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10878         Regenerate.
10879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10880         Regenerate.
10881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10882         Regenerate.
10883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10884         Regenerate.
10885         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10886         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10887         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10888         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10889         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10890         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10891         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10892         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10893         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10894         * sysdeps/s390/rtld-__longjmp.c: New file.
10895         * sysdeps/s390/rtld-setjmp.S: New file.
10896
10897 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
10898
10899         [BZ #16400]
10900         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10901         Return -__logl (x) for small positive arguments without evaluating
10902         a polynomial.
10903
10904 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
10905
10906         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10907         Rename to ...
10908         (__ptrace_peeksiginfo_args): ... this.
10909         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10910         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10911         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10912
10913 2014-01-06  Allan McRae  <allan@archlinux.org>
10914
10915         * inet/netinet/in.h: Fix typo in comment.
10916
10917 2014-01-05  Andreas Jaeger  <aj@suse.de>
10918
10919         * sysdeps/i386/fpu/libm-test-ulps: Update.
10920
10921 2014-01-05  Allan McRae  <allan@archlinux.org>
10922
10923         * po/libc.pot: Regenerated.
10924
10925         * malloc/memusagestat.c: Fix gettext call formatting.
10926
10927 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
10928
10929         * nscd/nscd.c: Improve usage() output.
10930
10931 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
10932
10933         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10934         * sysdeps/unix/sysv/linux/configure: Regenerated.
10935         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10936         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10937
10938 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10939
10940         [BZ #16390]
10941         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10942         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10943
10944 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10945
10946         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10947         extra tokens at end of #undef directive.
10948         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10949         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10950         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10951
10952 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10953
10954         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10955
10956         * math/auto-libm-test-in: Mark various tests with
10957         xfail-rounding:ldbl-128ibm.
10958         * math/auto-libm-test-out: Regenerated.
10959
10960 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
10961
10962         [BZ #16386]
10963         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10964         numbers with subnormal high part when calculating exponent.
10965
10966         [BZ #16385]
10967         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10968         fabs.
10969
10970         [BZ #16384]
10971         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10972         M_LN2l.
10973         (__ieee754_acoshl): Use __log1pl not __log1p.
10974
10975 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
10976
10977         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10978         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10979         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10980         (grow_heap, heap_trim, _int_new_arena, get_free_list)
10981         (reused_arena, arena_get2): Convert to GNU style.
10982         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10983         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10984         (memalign_check, __malloc_set_state): Likewise.
10985         * malloc/mallocbug.c (main): Likewise.
10986         * malloc/malloc.c (__malloc_assert, malloc_init_state)
10987         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10988         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10989         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10990         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10991         (__posix_memalign, malloc_info): Likewise.
10992         * malloc/malloc.h: Likewise.
10993         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10994         (mallochook, memalignhook, reallochook, mabort): Likewise.
10995         * malloc/mcheck.h: Likewise.
10996         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10997         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10998         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10999         * malloc/morecore.c (__default_morecore): Likewise.
11000         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11001         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11002         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11003         (print_and_abort): Likewise.
11004         * malloc/obstack.h: Likewise.
11005         * malloc/set-freeres.c (__libc_freeres): Likewise.
11006         * malloc/tst-mallocstate.c (main): Likewise.
11007         * malloc/tst-mtrace.c (main): Likewise.
11008         * malloc/tst-realloc.c (do_test): Likewise.
11009
11010 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11011
11012         [BZ #16366]
11013         * nscd/netgroupcache.c (do_notfound): New function.
11014         (addgetnetgrentX): Use it.
11015
11016         [BZ # 16365]
11017         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11018         NSS_STATUS_NOTFOUND.
11019
11020 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
11021
11022         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11024
11025 2014-01-01  Allan McRae  <allan@archlinux.org>
11026
11027         * scripts/update-copyrights: Update configure input file suffix.
11028
11029         * NEWS: Update copyright year.
11030         * catgets/gencat.c: Likewise.
11031         * csu/version.c: Likewise.
11032         * debug/catchsegv.sh: Likewise.
11033         * debug/pcprofiledump.c: Likewise.
11034         * debug/xtrace.sh: Likewise.
11035         * elf/ldconfig.c: Likewise.
11036         * elf/ldd.bash.in: Likewise.
11037         * elf/pldd.c: Likewise.
11038         * elf/sotruss.ksh: Likewise.
11039         * elf/sprof.c: Likewise.
11040         * iconv/iconv_prog.c: Likewise.
11041         * iconv/iconvconfig.c: Likewise.
11042         * locale/programs/locale.c: Likewise.
11043         * locale/programs/localedef.c: Likewise.
11044         * login/programs/pt_chown.c: Likewise.
11045         * malloc/memusage.sh: Likewise.
11046         * malloc/memusagestat.c: Likewise.
11047         * malloc/mtrace.pl: Likewise.
11048         * manual/libc.texinfo: Likewise.
11049         * nscd/nscd.c: Likewise.
11050         * nss/getent.c: Likewise.
11051         * nss/makedb.c: Likewise.
11052         * posix/getconf.c: Likewise.
11053         * scripts/test-installation.pl: Likewise.
11054
11055         * All files with FSF copyright notices: Update copyright dates
11056         using scripts/update-copyrights.
11057         * intl/plural.c: Regenerated.
11058         * locale/programs/charmap-kw.h: Likewise.
11059         * locale/programs/locfile-kw.h: Likewise.
11060
11061 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
11062
11063         * sysdeps/unix/sysv/linux/configure: Regenerated.
11064         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11065         the linux/fanotify.h header.
11066         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11067         HAVE_LINUX_FANOTIFY_H is defined.
11068
11069 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11070
11071         * benchtests/cos-inputs: New inputs.
11072         * benchtests/sin-inputs: Likewise.
11073
11074         * benchtests/atan-inputs: New inputs. Fix name of multiple
11075         precision fallback inputs.
11076
11077         * benchtests/atanh-inputs: New inputs.
11078         * benchtests/tanh-inputs: Likewise.
11079
11080         * benchtests/acosh-inputs: New inputs.
11081         * benchtests/asinh-inputs: Likewise.
11082
11083         * benchtests/cosh-inputs: New inputs.
11084         * benchtests/sinh-inputs: Likewise.
11085
11086         * benchtests/acos-inputs: Add more inputs.
11087         * benchtests/asin-inputs: Likewise.
11088
11089 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
11090
11091         [BZ #16375]
11092         * manual/arith.texi: Fix spelling.
11093         * manual/charset.texi: Likewise.
11094         * manual/errno.texi: Likewise.
11095         * manual/filesys.texi: Likewise.
11096         * manual/lang.texi: Likewise.
11097         * manual/llio.texi: Likewise.
11098         * manual/locale.texi: Likewise.
11099         * manual/message.texi: Likewise.
11100         * manual/resource.texi: Likewise.
11101         * manual/search.texi: Likewise.
11102         * manual/setjmp.texi: Likewise.
11103         * manual/stdio.texi: Likewise.
11104         * manual/string.texi: Likewise.
11105         * manual/sysinfo.texi: Likewise.
11106         * manual/time.texi: Likewise.
11107
11108 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
11109
11110         * po/sl.po: New file.
11111
11112 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
11113
11114         * .gitignore: Add core/.gdbinit/.gdb_history.
11115
11116 2013-12-27  Allan McRae  <allan@archlinux.org>
11117
11118         [BZ #16369]
11119         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11120         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11121
11122 2013-12-24  Brooks Moses  <bmoses@google.com>
11123
11124         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11125         all compilers that claim C++98 compliance, not just GCC.
11126         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11127         Likewise.
11128
11129 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11130
11131         * NEWS: Restore accidentally deleted bug-fix entries.
11132
11133 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11134             Ondřej Bílka  <neleai@seznam.cz>
11135
11136         [BZ #15073]
11137         * malloc/malloc.c (_int_free): Perform sanity check only if we
11138         have_lock.
11139
11140 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
11141
11142         [BZ #12986]
11143         * manual/stdio.texi (String Input Conversions): Clarify that character
11144         classes are not supported.
11145
11146 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11147
11148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11149
11150 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
11151
11152         [BZ #16337]
11153         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11154         Calculate results for small negative arguments directly rather
11155         than using reflection formula with special underflow handling.
11156
11157         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11158         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11159         sysdeps/unix/bsd/bsd4.4/syscalls.list.
11160         (fchflags): Likewise.
11161         (revoke): Likewise.
11162         (setlogin): Likewise.
11163         (sigaltstack): Likewise.
11164         (wait4): Likewise.
11165         (sigblock): Remove.
11166         (sigsetmask): Likewise.
11167         (wait3): Likewise.
11168         (waitpid): Likewise.
11169         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11170         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11171         file.
11172         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11173         * sysdeps/unix/bsd/Makefile: ... here.
11174         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11175         * sysdeps/unix/bsd/Versions: ... here.
11176         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11177         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11178         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11179         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11180         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11181         * sysdeps/unix/bsd/sigblock.c: ... here.
11182         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11183         * sysdeps/unix/bsd/sigsetmask.c: ... here.
11184         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11185         * sysdeps/unix/bsd/sigvec.c: ... here.
11186         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11187         * sysdeps/unix/bsd/tcdrain.c: ... here.
11188         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11189         * sysdeps/unix/bsd/tcgetattr.c: ... here.
11190         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11191         * sysdeps/unix/bsd/tcsetattr.c: ... here.
11192         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11193         * sysdeps/unix/bsd/wait.c: ... here.
11194         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11195         * sysdeps/unix/bsd/wait3.c: ... here.
11196         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11197         * sysdeps/unix/bsd/waitpid.c: ... here.
11198
11199 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
11200
11201         [BZ #16356]
11202         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11203         round-to-nearest for [!USE_AS_EXPM1L].
11204         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11205         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
11206         more tests of exp and exp10.  Expect some exp10 tests to miss
11207         exceptions or fail in directed rounding modes.
11208         * math/auto-libm-test-out: Regenerated.
11209         * math/libm-test.inc (exp10_tonearest_test_data): New array.
11210         (exp10_test_tonearest): New function.
11211         (exp10_towardzero_test_data): New array.
11212         (exp10_test_towardzero): New function.
11213         (exp10_downward_test_data): New array.
11214         (exp10_test_downward): New function.
11215         (exp10_upward_test_data): New array.
11216         (exp10_test_upward): New function.
11217         (main): Call the new functions.
11218         * sysdeps/i386/fpu/libm-test-ulps: Update.
11219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11220
11221 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
11222
11223         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11224         asinh, atan, atan2, atanh, cbrt, cos and cosh.
11225         * math/auto-libm-test-out: Regenerated.
11226         * math/libm-test.inc (acosh_test_data): Add more tests.
11227         (atanh_test_data): Likewise.
11228         (ceil_test_data): Likewise.
11229         (copysign_test_data): Likewise.
11230         * sysdeps/i386/fpu/libm-test-ulps: Update.
11231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11232
11233         * timezone/checktab.awk: Update from tzcode 2013i.
11234         * timezone/private.h: Likewise.
11235         * timezone/scheck.c: Likewise.
11236         * timezone/tzfile.h: Likewise.
11237         * timezone/tzselect.ksh: Likewise.
11238         * timezone/zdump.c: Likewise.
11239         * timezone/zic.c: Likewise.
11240
11241         * math/auto-libm-test-in: Add tests of cpow.
11242         * math/auto-libm-test-out: Regenerated.
11243         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11244         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11245         mpc_cc_c.
11246         (func_calc_desc): Add mpc_cc_c union field.
11247         (test_functions): Add cpow.
11248         (special_fill_2pi): New function.
11249         (special_real_inputs): Add 2pi.
11250         (calc_generic_results): Handle mpc_cc_c.
11251         * sysdeps/i386/fpu/libm-test-ulps: Update.
11252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11253
11254         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11255         csqrt, ctan and ctanh.
11256         * math/auto-libm-test-out: Regenerated.
11257         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11258         (TEST_COND_x86): Likewise.
11259         (ccos_test_data): Use AUTO_TESTS_c_c.
11260         (ccosh_test_data): Likewise.
11261         (cexp_test_data): Likewise.
11262         (clog_test_data): Likewise.
11263         (csqrt_test_data): Likewise.
11264         (ctan_test_data): Likewise.
11265         (ctan_tonearest_test_data): Likewise.
11266         (ctan_towardzero_test_data): Likewise.
11267         (ctan_downward_test_data): Likewise.
11268         (ctan_upward_test_data): Likewise.
11269         (ctanh_test_data): Likewise.
11270         (ctanh_tonearest_test_data): Likewise.
11271         (ctanh_towardzero_test_data): Likewise.
11272         (ctanh_downward_test_data): Likewise.
11273         (ctanh_upward_test_data): Likewise.
11274         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11275         mpc_c_c.
11276         (func_calc_desc): Add mpc_c_c union field.
11277         (FUNC_mpc_c_c): New macro.
11278         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11279         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11280         ctanh.
11281         (special_fill_min_subnorm_p120): New function.
11282         (special_real_inputs): Add min_subnorm_p120.
11283         (calc_generic_results): Handle mpc_c_c.
11284         * sysdeps/i386/fpu/libm-test-ulps: Update.
11285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11286
11287 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11288
11289         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11290         (do_sin_slow): New functions.
11291         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11292         (cslow2, csloww1, csloww2): Use the new functions.
11293
11294         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11295         Use M to change sign of result instead of X.  Assume X is
11296         positive.
11297         (csloww1): Likewise.
11298         (__sin): Adjust.
11299         (__cos): Adjust.
11300
11301         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11302         arguments A and DA.
11303         (__sin): Adjust.
11304         (__cos): Likewise.
11305
11306         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11307         (__cos): Likewise.
11308         (sloww1): Don't adjust sign of DX.
11309         (csloww1): Likewise.
11310         (sloww2): Use X directly and don't adjust sign of DX.
11311         (csloww2): Likewise.
11312
11313 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11314
11315         * math/auto-libm-test-in: Add tests of cabs and carg.
11316         * math/auto-libm-test-out: Regenerated.
11317         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11318         (carg_test_data): Likewise.
11319         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11320         mpc_c_f.
11321         (func_calc_desc): Add mpc_c_f union field.
11322         (test_functions): Add cabs and carg.
11323         (calc_generic_results): Handle mpc_c_f.
11324
11325         * sysdeps/powerpc/powerpc32/libgcc-compat.S
11326         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11327         as a macro and a compat symbol.
11328         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11329         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11330         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11331         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11332         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11333         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11334         not use .hidden.
11335         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11336         Likewise.
11337         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11338         Likewise.
11339         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11340         Likewise.
11341         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11342         Likewise.
11343         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11344         Likewise.
11345         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11346         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11347         from GLIBC_2.3.2.
11348
11349 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11350
11351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11352
11353 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11354
11355         * manual/texinfo.tex: Update to version 2013-11-26.10 with
11356         trailing whitespace removed.
11357         * scripts/config.guess: Update to version 2013-11-29.
11358         * scripts/config.sub: Update to version 2013-10-01.
11359
11360         * math/auto-libm-test-in: Add tests of sincos.
11361         * math/auto-libm-test-out: Regenerated.
11362         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11363         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11364         mpfr_f_11.
11365         (func_calc_desc): Add mpfr_f_11 union field.
11366         (test_functions): Add sincos.
11367         (calc_generic_results): Handle mpfr_f_11.
11368         * sysdeps/i386/fpu/libm-test-ulps: Update.
11369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11370
11371 2013-12-19  Andreas Schwab  <schwab@suse.de>
11372
11373         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11374         CALL_MCOUNT.
11375         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11376         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11377         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11378
11379 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11380
11381         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11382         * sysdeps/i386/fpu/libm-test-ulps: Update.
11383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11384
11385         [BZ #16293]
11386         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11387         round-to-nearest mode when using frndint.
11388         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11389         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11390         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11391         Likewise.
11392         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
11393         sinh test to fail.
11394         * math/auto-libm-test-out: Regenerated.
11395         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11396         (TEST_COND_x86): Likewise.
11397         (expm1_tonearest_test_data): New array.
11398         (expm1_test_tonearest): New function.
11399         (expm1_towardzero_test_data): New array.
11400         (expm1_test_towardzero): New function.
11401         (expm1_downward_test_data): New array.
11402         (expm1_test_downward): New function.
11403         (expm1_upward_test_data): New array.
11404         (expm1_test_upward): New function.
11405         (main): Run the new test functions.
11406         * sysdeps/i386/fpu/libm-test-ulps: Update.
11407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11408
11409         * include/features.h: Update comment documenting feature test
11410         macros.  Mention _DEFAULT_SOURCE in comment.
11411         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11412         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11413         _BSD_SOURCE and _SVID_SOURCE.
11414         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11415         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11416         !_SVID_SOURCE]: Likewise.
11417         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11418         (__USE_POSIX_IMPLICITLY): Define.
11419         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11420         (_POSIX_SOURCE): Undefine and redefine.
11421         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11422         (_POSIX_C_SOURCE): Likewise.
11423         * manual/creature.texi (_DEFAULT_SOURCE): Document.
11424         (Feature Test Macros): Update documentation of default features.
11425
11426 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11427
11428         * benchtests/Makefile: Add bench-strtok.
11429         * benchtests/bench-strtok.c: New file: strtok benchtest.
11430
11431 2013-12-19  Allan McRae  <allan@archlinux.org>
11432
11433         * manual/install.texi: Suppress menu for plain text output.
11434         * INSTALL: Regenerated.
11435
11436 2013-12-18  Brooks Moses  <bmoses@google.com>
11437
11438         [BZ #15846]
11439         * misc/getauxval.c: Include errno.h.
11440         (__getauxval): Set errno to ENOENT if the requested type is not
11441         found.
11442         * misc/sys/auxv.h (getauxval): Document that it may set errno;
11443         don't declare with __attribute_const__.
11444         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11445         * manual/startup.texi: Document that getauxval sets errno.
11446
11447 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11448
11449         * math/auto-libm-test-in: Add tests of jn and yn.
11450         * math/auto-libm-test-out: Regenerated.
11451         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11452         (yn_test_data): Likewise.
11453         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11454         mpfr_if_f.
11455         (func_calc_desc): Add mpfr_if_f union field.
11456         (FUNC_mpfr_if_f): New macro.
11457         (test_functions): Add jn and yn.
11458         (calc_generic_results): Assert type of second input for
11459         mpfr_ff_f.  Handle mpfr_if_f.
11460         (output_for_one_input_case): Disable all checking for arguments
11461         fitting floating-point types in case of an integer argument.
11462         * sysdeps/i386/fpu/libm-test-ulps: Update.
11463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11464
11465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11466         Don't expect fegetround reference in libm.so.
11467
11468 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11469
11470         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11471         $(config-cflags-nofma).
11472
11473 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11474
11475         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11476         * math/auto-libm-test-out: Regenerated.
11477
11478         [BZ #16338]
11479         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11480         to determine exponent and adjust argument to have exponent of -1.
11481         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11482         log2.
11483         * math/auto-libm-test-out: Regenerated.
11484         * sysdeps/i386/fpu/libm-test-ulps: Update.
11485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11486
11487 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
11488
11489         * manual/probes.texi: Remove cases when per-thread arenas are
11490         disabled.
11491
11492 2013-12-18  Andreas Schwab  <schwab@suse.de>
11493
11494         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11495         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11496         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11497         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11498         * sysdeps/i386/i686/multiarch/Makefile: Update.
11499         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11500
11501 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11502
11503         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11504         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11505
11506 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
11507
11508         [BZ #15968]
11509         Support TZ transition times < 00:00:00.
11510         This is needed for version-3 tz-format files; it supports time
11511         stamps past 2037 for America/Godthab (the only entry in the tz
11512         database for which this change is relevant).
11513         * manual/time.texi (TZ Variable): Document transition times
11514         from -167:59:59 through -00:00:01.
11515         * time/tzset.c (tz_rule): Time of day is now signed.
11516         (__tzset_parse_tz): Parse negative time of day.
11517
11518         Document TZ transition times >= 25:00:00.
11519         * manual/time.texi (TZ Variable): Document transition times from
11520         25:00:00 through 167:59:59.  These are already supported, and this
11521         support will help with version-3 tz-format files.
11522
11523         * manual/time.texi (TZ Variable): Modernize North America example
11524         to reflect current (i.e., 2007-and-later) daylight saving rules.
11525
11526         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11527
11528 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11529
11530         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11531         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11532         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11533         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11534         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11535         * sysdeps/unix/bsd/bsdstat.h: Likewise.
11536         * sysdeps/unix/bsd/clock.c: Likewise.
11537         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11538         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11539         * sysdeps/unix/bsd/init-posix.c: Likewise.
11540         * sysdeps/unix/bsd/poll.c: Likewise.
11541         * sysdeps/unix/bsd/ptsname.c: Likewise.
11542         * sysdeps/unix/bsd/seekdir.c: Likewise.
11543         * sysdeps/unix/bsd/setegid.c: Likewise.
11544         * sysdeps/unix/bsd/seteuid.c: Likewise.
11545         * sysdeps/unix/bsd/setgid.c: Likewise.
11546         * sysdeps/unix/bsd/setrgid.c: Likewise.
11547         * sysdeps/unix/bsd/setruid.c: Likewise.
11548         * sysdeps/unix/bsd/setsid.c: Likewise.
11549         * sysdeps/unix/bsd/setuid.c: Likewise.
11550         * sysdeps/unix/bsd/sigaction.c: Likewise.
11551         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11552         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11553         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11554         * sysdeps/unix/bsd/telldir.c: Likewise.
11555         * sysdeps/unix/bsd/times.c: Likewise.
11556         * sysdeps/unix/bsd/usleep.c: Likewise.
11557
11558         * misc/Makefile (install-lib): Remove libbsd-compat.a.
11559         ($(objpfx)libbsd-compat.a): Remove rule.
11560
11561         * include/features.h (__FAVOR_BSD): Do not define.
11562         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11563         features conflicting with POSIX.
11564         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11565         (_BSD_SOURCE): Remove description of not being a subset of other
11566         feature test macros.
11567         * manual/job.texi (getpgrp): Do not document BSD version.
11568         (getpgid): Do not document by reference to BSD getpgrp.
11569         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11570         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11571         * signal/signal.h [__FAVOR_BSD]: Likewise.
11572         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11573         instead of making contents conditional on [__FAVOR_BSD].
11574         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11575
11576 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11577
11578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11579
11580 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11581
11582         [BZ #16314]
11583         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11584         values below 2**-450, not 2**-500.
11585         * math/auto-libm-test-in: Don't allow spurious underflow from
11586         hypot.
11587         * math/auto-libm-test-out: Regenerated.
11588
11589         [BZ #16316]
11590         [BZ #16330]
11591         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11592         values of ha and hb and sort them after adjusting subnormal
11593         arguments.
11594         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11595         Likewise.
11596         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11597         values of ea and eb and sort them after adjusting subnormal
11598         arguments.
11599         * math/auto-libm-test-in: Do not expect some hypot tests of
11600         subnormals to fail.  Add more hypot tests.
11601         * math/auto-libm-test-out: Regenerated.
11602
11603 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11604
11605         [BZ #13304]
11606         * sysdeps/sh/s_fma.c: New file.
11607         * sysdeps/sh/s_fmaf.c: New file.
11608         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
11609         version.
11610         * sysdeps/sh/Implies: Add sh/soft-fp.
11611
11612 2013-12-16  Roland McGrath  <roland@hack.frob.com>
11613
11614         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
11615         level of indirection to members `objname', `errstring', `malloced'.
11616         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11617         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
11618         it as the __longjmp argument (just pass 1 instead).
11619         (_dl_catch_error): Initialize C with argument pointers and address of
11620         volatile local ERRCODE rather than copying values out of C at return.
11621
11622 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
11623
11624         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11625         * math/auto-libm-test-out: Regenerated.
11626         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11627         (hypot_test_data): Likewise.
11628         (pow_test_data): Likewise.
11629         (pow_tonearest_test_data): Likewise.
11630         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11631         mpfr_ff_f.
11632         (func_calc_desc): Add mpfr_ff_f union field.
11633         (FUNC_mpfr_ff_f): New macro.
11634         (test_functions): Add atan2, hypot and pow.
11635         (special_fill_min): New function.
11636         (special_fill_minus_min): Likewise.
11637         (special_fill_min_subnorm): Likewise.
11638         (special_fill_minus_min_subnorm): Likewise.
11639         (special_real_inputs): Add min, -min, min_subnorm and
11640         -min_subnorm.
11641         (calc_generic_results): Handle mpfr_ff_f.
11642         * sysdeps/i386/fpu/libm-test-ulps: Update.
11643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11644
11645 2013-12-16  Will Newton  <will.newton@linaro.org>
11646
11647         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11648         (Aligned Memory Blocks): Add documentation for aligned_alloc
11649         and suggest it as an alternative to posix_memalign.
11650         (Hooks for Malloc): Document __memalign_hook is also called
11651         for aligned_alloc.  (Summary of Malloc): Add summary for
11652         aligned alloc.  Document __memalign_hook is also called
11653         for aligned_alloc.
11654
11655 2013-12-16  Will Newton  <will.newton@linaro.org>
11656
11657         * manual/memory.texi (Malloc Examples): Clarify default
11658         alignment documentation.  Suggest posix_memalign rather
11659         than memalign or valloc.
11660         (Aligned Memory Blocks): Remove suggestion to use memalign
11661         or valloc.  Remove obsolete comment about BSD.
11662         Document memalign errno values and mark the function obsolete.
11663         Document posix_memalign returned error codes.  Mark valloc
11664         as obsolete.  (Hooks for Malloc): __memalign_hook is also
11665         called for posix_memalign and valloc.
11666         (Summary of Malloc): Add posix_memalign to function summary.
11667         __memalign_hook is also called for posix_memalign and valloc.
11668
11669 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11670
11671         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11672         TAYLOR_SIN.
11673         (__sin): Adjust.
11674         (__cos): Likewise.
11675         (sloww): Use mynumber union.  Expand ternary operator into
11676         if-else statements.
11677         (cslow): use mynumber union.
11678
11679 2013-12-16  Allan McRae  <allan@archlinux.org>
11680
11681         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11682         * configure: Regenerated.
11683
11684         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11685
11686         [BZ #14120]
11687         * configure.ac: Added --enable-maintainer-mode. Check for
11688         autoconf when enabled.
11689         * configure: Regenerated.
11690
11691         * nscd/nscd.service: New file.
11692         * nscd/nscd.tmpfiles: New file.
11693
11694 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
11695
11696         [BZ #12100]
11697         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11698         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11699         * sysdeps/x86_64/multiarch/strstr.c: ... here.
11700         (strstr): Add __strstr_sse2_unaligned ifunc.
11701         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11702         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11703         (strcasestr): Remove __strcasestr_sse42 ifunc.
11704         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11705         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11706         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11707
11708 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11709
11710         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11711         * sysdeps/sh/bits/fenv.h: ... here.
11712         * sysdeps/sh/sh4/fpu/bits: Remove directory.
11713
11714 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11715
11716         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11717
11718         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11719         hypotf multiarch implementations.
11720         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11721         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11722         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11723         multiarch hypot for PPC64.
11724         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11725         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11726         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11727         multiarch hypotf for PPC64.
11728
11729         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11730         modff multiarch implementations.
11731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11734         multiarch modf for PPC64.
11735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11738         multiarch modff for PPC64.
11739
11740         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11741         and logl multiarch implementations.
11742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11745         multiarch logb for PPC64.
11746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11749         multiarch logb for PPC64.
11750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11753         multiarch logb for PPC64.
11754
11755         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11756         isinff multiarch implementation.
11757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11758         file.
11759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11761         multiarch isinf for PPC64.
11762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11763         file.
11764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11765         multiarch isinff for PPC64.
11766
11767         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11768         finitef multiarch implementation.
11769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11770         file.
11771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11773         multiarch finite for PPC64.
11774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11775         file.
11776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11777         multiarch finitef for PPC64.
11778
11779         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11780         lrint multiarch implementation.
11781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11782         file.
11783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11785         multiarch llrint for PPC64.
11786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11787         multiarch lrint for PPC64.
11788
11789         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11790         copysignf multiarch implementation.
11791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11792         file.
11793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11794         file.
11795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11796         multiarch copysign for PPC64.
11797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11798         multiarch copysignf for PPC64.
11799
11800         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11801         multiarch implementation.
11802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11803         file.
11804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11805         file.
11806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11807         file.
11808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11809         file.
11810         multiarch llround for PPC64.
11811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11812         multiarch trunc for PPC64.
11813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11814         multiarch truncf for PPC64.
11815
11816         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11817         multiarch implementation.
11818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11819         file.
11820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11821         file.
11822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11823         file.
11824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11825         file.
11826         multiarch llround for PPC64.
11827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11828         multiarch round for PPC64.
11829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11830         multiarch roundf for PPC64.
11831
11832         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11833         multiarch implementation.
11834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11835         file.
11836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11837         file.
11838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11839         file.
11840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11841         file.
11842         multiarch llround for PPC64.
11843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11844         multiarch floor for PPC64.
11845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11846         multiarch floorf for PPC64.
11847
11848         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11849         multiarch implementation.
11850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11851         file.
11852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11853         file.
11854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11855         file.
11856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11857         file.
11858         multiarch llround for PPC64.
11859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11860         multiarch ceil for PPC64.
11861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11862         multiarch ceilf for PPC64.
11863
11864         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11865         multiarch implementation.
11866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11867         file.
11868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11869         file.
11870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11871         file.
11872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11873         multiarch llround for PPC64.
11874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11875         multiarch lround for PPC64.
11876
11877         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11878         multiarch implementation.
11879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11882         file.
11883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11886         multiarch isnan for PPC64.
11887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11888         multiarch isnanf for PPC64.
11889
11890         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11891         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11892         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11893         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11894         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11896
11897         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11898         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11899         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11900         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11901
11902         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11903         multiarch implementations.
11904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11905         (__libc_ifunc_impl_list): Likewise.
11906         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11907         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11908         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11909         multiarch stpcpy for PPC64.
11910
11911         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11912         multiarch implementations.
11913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11914         (__libc_ifunc_impl_list): Likewise.
11915         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11916         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11917         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11918         multiarch strcpy for PPC64.
11919
11920         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11921         redefine function name.
11922         (_wordcopy_fwd_dest_aligned): Likewise.
11923         (_wordcopy_bwd_aligned): Likewise.
11924         (_wordcopy_bwd_dest_aligned): Likewise.
11925         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11926         multiarch implementations.
11927         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11928         (__libc_ifunc_impl_list): Likewise.
11929         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11930         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11931         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11932         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11933         multiarch wcscpy for PPC64.
11934
11935         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11936         multiarch implementations.
11937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11938         (__libc_ifunc_impl_list): Likewise.
11939         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11940         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11941         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11942         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11943         multiarch wcscpy for PPC64.
11944
11945         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11946         multiarch implementations.
11947         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11948         (__libc_ifunc_impl_list): Likewise.
11949         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11950         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11951         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11952         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11953         multiarch wcsrchr for PPC64.
11954
11955         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11956         multiarch implementations.
11957         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11958         (__libc_ifunc_impl_list): Likewise.
11959         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11960         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11961         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11962         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11963         multiarch wcschr for PPC64.
11964
11965         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11966         multiarch implementations.
11967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11968         (__libc_ifunc_impl_list): Likewise.
11969         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11970         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11971         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11972         multiarch strchrnul for PPC64.
11973
11974         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11975         implementations.
11976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11977         (__libc_ifunc_impl_list): Likewise.
11978         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11979         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11980         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11981         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11982         strchr for PPC64.
11983
11984         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11985         implementations.
11986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11987         (__libc_ifunc_impl_list): Likewise.
11988         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11989         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11990         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11991         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11992         strncmp for PPC64.
11993
11994         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11995         multiarch implementations.
11996         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11997         (__libc_ifunc_impl_list): Likewise.
11998         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11999         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12000         strncasecmp for PPC64.
12001         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12002         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12003         multiarch strncasecmp_l for PPC64.
12004
12005         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12006         multiarch implementations.
12007         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12008         (__libc_ifunc_impl_list): Likewise.
12009         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12010         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12011         multiarch strcasecmp for PPC64.
12012         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12013         file.
12014         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12015         multiarch strcasecmp_l for PPC64.
12016
12017         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12018         implementations.
12019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12020         (__libc_ifunc_impl_list): Likewise.
12021         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12022         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12023         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12024         strnlen for PPC64.
12025
12026         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12027         implementations.
12028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12029         (__libc_ifunc_impl_list): Likewise.
12030         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12031         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12032         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12033         strlen for PPC64.
12034
12035         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12036         implementations.
12037         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12038         (__libc_ifunc_impl_list): Likewise.
12039         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12040         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12041         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12042         rawmemrchr for PPC64.
12043
12044         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12045         implementation.
12046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12047         (__libc_ifunc_impl_list): Likewise.
12048         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12049         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12050         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12051         memrchr for PPC64.
12052
12053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12054         implementation.
12055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12056         (__libc_ifunc_impl_list): Likewise.
12057         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12058         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12059         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12060         memchr for PPC64.
12061
12062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12063         implementation.
12064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12065         (__libc_ifunc_impl_list): Likewise.
12066         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12067         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12068         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12069         mempcpy for PPC64.
12070
12071         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12072         avoid cretion of __bzero symbol.
12073         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12074         Likewise.
12075         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12076         Likewise.
12077         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12078         Likewise.
12079         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12080         multiarch implementations.
12081         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12082         (__libc_ifunc_impl_list): Likewise.
12083         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12084         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12085         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12086         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12087         bzero for PPC32.
12088         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12089         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12090         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12091         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12092         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12093         memset for PPC64.
12094         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12095
12096         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12097         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12098         implementations.
12099         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12100         (__libc_ifunc_impl_list): Likewise.
12101         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12102         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12103         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12104         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12105         memcmp for PPC64.
12106
12107         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12108         multiarch for POWER/PPC64.
12109         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12110         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12111         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12112         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12113         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12114         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12115         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12116         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12117         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12118         memcpy for PPC64.
12119
12120         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12121         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12122         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12123         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12124         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12125         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12126         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12127         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12128         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12129         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12130         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12131         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12132         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12133         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12134         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12142
12143 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12144
12145         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12146
12147 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12148
12149         * benchtests/Makefile (bench): Add exp2 and log2.
12150         (LDLIBS-bench-exp2): Add -lm.
12151         (LDLIBS-bench-log2): Likewise.
12152         * benchtests/exp2-inputs: New inputs file.
12153         * benchtests/log2-inputs: New inputs file.
12154         * benchtests/log-inputs: Add new inputs.
12155         * benchtests/tan-inputs: Likewise.
12156
12157 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12158
12159         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12160         definition...
12161         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12162         (csloww2): ... from here.
12163
12164         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12165         instead of structures.
12166         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12167         (POLYNOMIAL): Likewise.
12168         (TAYLOR_SLOW): Likewise.
12169         (__sin): Likewise.
12170         (__cos): Likewise.
12171         (slow1): Likewise.
12172         (slow2): Likewise.
12173         (sloww): Likewise.
12174         (sloww1); Likewise.
12175         (sloww2): Likewise.
12176         (bsloww1): Likewise.
12177         (bsloww2): Likewise.
12178         (cslow2): Likewise.
12179         (csloww): Likewise.
12180         (csloww1): Likewise.
12181         (csloww2): Likewise.
12182
12183 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
12184
12185         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12186         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12187         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12188         * malloc/hooks.c (realloc_check): Likewise.
12189
12190         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12191         * malloc/arena.c: Remove PER_THREAD conditional.
12192         [!PER_THREAD]: Remove code.
12193         (ptmalloc_unlock_all2): Likewise.
12194         (ptmalloc_init): Likewise.
12195         (_int_new_arena): Likewise.
12196         (arena_get2): Likewise.
12197         * malloc/hooks.c (__malloc_get_state): Likewise.
12198         (__malloc_set_state): Likewise.
12199         * malloc/malloc.c: Likewise.
12200         (struct malloc_state): Likewise.
12201         (struct malloc_par): Likewise.
12202         (__libc_realloc): Likewise.
12203         (__libc_mallopt): Likewise.
12204
12205 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12206
12207         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12208
12209 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
12210
12211         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12212         macro to a function.  Check for zero perturb_byte.
12213         (_int_malloc, _int_free): Remove zero perturb_byte checks.
12214
12215         * malloc/malloc.c: (force_reg): Remove.
12216         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12217         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12218         force_reg by atomic_forced_read.
12219         * malloc/arena.c (ptmalloc_init): Likewise.
12220         * malloc/hooks.c (top_check): Likewise.
12221
12222 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12223
12224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12225
12226 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
12227
12228         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12229
12230 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
12231
12232         * math/auto-libm-test-in: Add tests of lgamma.
12233         * math/auto-libm-test-out: Regenerated.
12234         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12235         (M_LOG_2_SQRT_PIl): Likewise.
12236         (lgamma_test_data): Use AUTO_TESTS_f_f1.
12237         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12238         mpfr_f_f1.
12239         (func_calc_desc): Add mpfr_f_f1 union field.
12240         (ARGS1): New macro.
12241         (ARGS2): Likewise.
12242         (ARGS3): Likewise.
12243         (ARGS4): Likewise.
12244         (RET1): Likewise.
12245         (RET2): Likewise.
12246         (CALC): Likewise.
12247         (FUNC): Likewise.
12248         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12249         (test_functions): Add lgamma.
12250         (calc_generic_results): Handle mpfr_f_f1.
12251         * sysdeps/i386/fpu/libm-test-ulps: Update.
12252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12253
12254 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12255
12256         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12257         __mpn_add_n for PowerPC64/POWER7.
12258         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12259         __mpn_sub_n for PowerPC64/POWER7.
12260
12261         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12262         __mpn_addmul_1 for PowerPC64.
12263         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12264         __mpn_submul_1 for PowerPC64.
12265         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12266         for PowerPC64.
12267         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12268         for PowerPC64.
12269
12270 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
12271
12272         [BZ #15089]
12273         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12274
12275 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12276
12277         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12278
12279         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12280         add multiarch folders.
12281         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12282         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12283         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12284         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12285         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12286         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12287         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12288         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12289         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12290         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12291         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12298
12299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12300         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12302         New file.
12303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12304         New file.
12305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12306         multiarch __ieee754_hypot for PowerPC32.
12307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12308         New file.
12309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12310         New file.
12311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12312         multiarch __ieee754_hypotf for PowerPC32.
12313
12314         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12315         long_double_symbol only if __logbl is defined.
12316         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12317         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12318         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12319         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12320         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12321         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12322         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12323         path for implementation.
12324         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12325         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12327         logb, and logbl multiarch implementations for PowerPC32.
12328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12329         file.
12330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12331         file.
12332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12333         multiarch logb for PowerPC32.
12334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12335         file.
12336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12337         file.
12338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12339         multiarch logbf for PowerPC32.
12340         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12342         file.
12343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12344         multiarch logbl implementation for PowerPC32.
12345
12346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12347         and modff multiarch implementations.
12348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12349         New file.
12350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12351         New file.
12352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12353         multiarch modf for PowerPC32.
12354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12355         New file.
12356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12357         New file.
12358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12359         multiarch modff for PowerPC32.
12360
12361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12362         and lrintf multiarch implementations.
12363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12364         New file.
12365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12366         New file.
12367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12368         multiarch lrint for PowerPC32.
12369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12370         file: multiarch lrintf for PowerPC32.
12371
12372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12373         and lroundf multiarch implementations.
12374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12375         New file.
12376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12377         New file.
12378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12379         New file.
12380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12381         multiarch lround for PowerPC32.
12382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12383         file: multiarch lroundf for PowerPC32.
12384
12385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12386         copysign and copysignf multiarch implementations.
12387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12388         New file.
12389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12390         New file.
12391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12392         file: multiarch copysign for PowerPC32.
12393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12394         file: multiarch copysignf for PowerPC32.
12395
12396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12397         and truncf multiarch implementations.
12398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12399         New file.
12400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12401         file.
12402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12403         multiarch trunc for PowerPC32.
12404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12405         New file.
12406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12407         New file.
12408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12409         multiarch truncf for PowerPC32.
12410
12411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12412         and roundf multiarch implementations.
12413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12414         New file.
12415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12416         file.
12417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12418         multiarch round for PowerPC32.
12419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12420         New file.
12421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12422         New file.
12423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12424         multiarch roundf for PowerPC32.
12425
12426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12427         and floorf multiarch implementations.
12428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12429         New file.
12430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12431         file.
12432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12433         multiarch floor for PowerPC32.
12434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12435         New file.
12436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12437         New file.
12438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12439         multiarch floorf for PowerPC32.
12440
12441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12442         and ceilf multiarch implementations.
12443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12444         New file.
12445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12446         file.
12447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12448         multiarch ceil for PowerPC32.
12449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12450         New file.
12451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12452         file.
12453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12454         multiarch ceilf for PowerPC32.
12455
12456         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12457         is defined.
12458         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12459         FINITEF is defined.
12460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12461         and finitef multiarch implementations.
12462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12463         New file.
12464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12465         file.
12466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12467         multiarch finite for PowerPC32.
12468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12469         New file.
12470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12471         file: multiarch finitef for PowerPC32.
12472
12473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12474         and isinff multiarch implementations.
12475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12476         file.
12477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12478         file.
12479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12480         multiarch isinf for PowerPC32.
12481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12482         New file.
12483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12484         multiarch isinff for PowerPC32.
12485
12486         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12487         alias when __isnan is defined.
12488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12489         and isnanf multiarch implementations.
12490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12491         file.
12492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12493         file.
12494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12495         file.
12496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12497         file.
12498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12499         multiarch isnan for PowerPC32.
12500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12501         New file.
12502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12503         New file.
12504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12505         multiarch isnanf for PowerPC32.
12506
12507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12508         and sqrtf multiarch implementations.
12509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12510         file.
12511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12512         file.
12513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12514         multiarch sqrt for PowerPC32.
12515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12516         file.
12517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12518         file.
12519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12520         multiarch sqrtf for PowerPC32.
12521
12522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12523         and llroundf multiarch implementations.
12524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12525         New file.
12526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12527         New file.
12528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12529         New file.
12530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12531         file: multiarch llround for PowerPC32.
12532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12533         file: multiarch llroundf for PowerPC32.
12534
12535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12536         multiarch PowerPC32 fpu implementations.
12537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12538         New file.
12539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12540         New file.
12541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12542         multiarch llrint for PowerPC32.
12543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12544         New file.
12545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12546         New file.
12547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12548         file.
12549
12550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12551
12552         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12553         file.
12554         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12555         file.
12556         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12557         file.
12558         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12559         multiarch wordcopy for PPC32.
12560         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12561         wordcopy objects.
12562         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12563         (__libc_ifunc_impl_list): Likewise.
12564         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12565         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12566         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12567         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12568         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12569         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12570
12571         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12572         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12573         file.
12574         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12575         file.
12576         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12577         file.
12578         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12579         multiarch wcscpy for PPC32.
12580         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12581         multiarch objects.
12582         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12583         (__libc_ifunc_impl_list): Likewise.
12584         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12585         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12586         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12587         sysdeps/powerpc/power6/wcscpy.c.
12588
12589         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12590         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12591         file.
12592         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12593         file.
12594         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12595         file.
12596         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12597         multiarch wcsrchr for PPC32.
12598         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12599         multiarch objects.
12600         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12601         (__libc_ifunc_impl_list): Likewise.
12602         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12603         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12604         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12605         sysdeps/powerpc/power6/wcsrchr.c.
12606
12607         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12608         file.
12609         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12610         file.
12611         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12612         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12613         multiarch wcschr for PPc32.
12614         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12615         multiarch objects.
12616         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12617         (__libc_ifunc_impl_list): Likewise.
12618         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12619         * sysdeps/powerpc/power6/wcschr.c: ... to here.
12620         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12621         sysdeps/powerpc/power6/wcschr.c.
12622
12623         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12624         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12625         file.
12626         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12627         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12628         file: multiarch strchr for PPC32.
12629         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12630         multiarch objects.
12631         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12632         (__libc_ifunc_impl_list): Likewise.
12633
12634         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12635         name.
12636         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12637         file.
12638         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12639         file.
12640         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12641         multiarch strchrnul for PPC32.
12642         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12643         multiarch objects.
12644         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12645         (__libc_ifunc_impl_list): Likewise.
12646
12647         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12648         file.
12649         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12650         multiarch strncasecmp for PPC32.
12651         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12652         file.
12653         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12654         multiarch strncasecmp_l for PPC32.
12655         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12656         strncasecmp multiarch objects.
12657         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12658         (__libc_ifunc_impl_list): Likewise.
12659
12660         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12661         file.
12662         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12663         multiarch strncasecmp for PPC32.
12664         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12665         New file.
12666         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12667         multiarch strcasecmp_l for PPC32.
12668         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12669         multiarch objects.
12670         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12671         (__libc_ifunc_impl_list): Likewise.
12672
12673         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12674         file.
12675         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12676         file.
12677         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12678         multiarch strncmp for PPC32.
12679         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12680         multiarch objects.
12681         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12682         (__libc_ifunc_impl_list): Likewise.
12683
12684         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12685         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12686         file.
12687         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12688         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12689         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12690         multiarch objects.
12691         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12692         (__libc_ifunc_impl_list): Likewise.
12693
12694         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12695         file.
12696         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12697         file.
12698         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12699         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12700         multiarch objects.
12701         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12702         (__libc_ifunc_impl_list): Likewise.
12703
12704         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12705         file.
12706         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12707         file.
12708         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12709         multiarch rawmemchr for PPC32.
12710         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12711         multiarch objects.
12712         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12713         (__libc_ifunc_impl_list): Likewise.
12714
12715         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12716         file.
12717         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12718         file.
12719         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12720         file: memrchr multiarch for PPC32.
12721         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12722         multiarch objects.
12723         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12724         (__libc_ifunc_impl_list): Likewise.
12725
12726         * string/memchr.c (__memchr): Using macro to redefine symbol name.
12727         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12728         file.
12729         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12730         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12731         multiarch memchr for PPC32.
12732         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12733         multiarch objects.
12734         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12735         (__libc_ifunc_impl_list): Likewise.
12736
12737         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12738         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12739         file.
12740         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12741         file.
12742         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12743         file: multiarch mempcpy for PPC32.
12744         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12745         multiarch objects.
12746         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12747         (__libc_ifunc_impl_list): Likewise.
12748
12749         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12750         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12751         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12752         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12753         multiarch bzero for PPC32.
12754         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12755         file.
12756         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12757         file.
12758         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12759         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12760         file: multiarch memset for PPC32.
12761         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12762         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12763         memset multiarch objects.
12764         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12765         (__libc_ifunc_impl_list): Likewise.
12766
12767         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12768         file.
12769         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12770         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12771         memcmp for PPC32.
12772         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12773         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12774         multiarch objects.
12775         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12776         (__libc_ifunc_impl_list): Likewise.
12777
12778         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12779         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12780         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12781         file.
12782         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12783         file.
12784         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12785         file.
12786         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12787         multiarch memcpy for PPC32.
12788         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12789         multiarch objects.
12790         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12791         (__libc_ifunc_impl_list): Likewise.
12792
12793         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12794         support multiarch for POWER/PPC32.
12795         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12796         Likewise.
12797         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12799         Implies file to make multiarch folder appers before the fpu and
12800         default folder for power4 configuration.
12801
12802 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12803
12804         * scripts/bench.pl: Append volatile keyword to type.
12805
12806 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12807
12808         * sysdeps/sh/sotruss-lib.c: New file.
12809         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12810
12811 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12812
12813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12814
12815 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
12816
12817         [BZ #6810]
12818         * math/w_tgamma.c: Include <errno.h>.
12819         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
12820         * math/w_tgammaf.c: Include <errno.h>.
12821         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
12822         * math/w_tgammal.c: Include <errno.h>.
12823         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
12824         * math/auto-libm-test-in: Do not allow missing errno on tgamma
12825         underflow.  Add more tgamma tests.
12826         * math/auto-libm-test-out: Regenerated.
12827         * sysdeps/i386/fpu/libm-test-ulps: Update.
12828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12829
12830         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12831         sin, sinh, tan, tanh, tgamma, y0 and y1.
12832         * math/auto-libm-test-out: Regenerated.
12833         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12834         (TEST_COND_x86): Likewise.
12835         (M_E2l): Remove macro.
12836         (M_E3l): Likewise.
12837         (M_2_SQRT_PIl): Likewise.
12838         (M_SQRT_PIl): Likewise.
12839         (M_1_DIV_El): Likewise.
12840         (log_test_data): Use AUTO_TESTS_f_f.
12841         (log10_test_data): Likewise.
12842         (log1p_test_data): Likewise.
12843         (log2_test_data): Likewise.
12844         (sin_test_data): Likewise.
12845         (sin_tonearest_test_data): Likewise.
12846         (sin_towardzero_test_data): Likewise.
12847         (sin_downward_test_data): Likewise.
12848         (sin_upward_test_data): Likewise.
12849         (sinh_test_data): Likewise.
12850         (sinh_tonearest_test_data): Likewise.
12851         (sinh_towardzero_test_data): Likewise.
12852         (sinh_downward_test_data): Likewise.
12853         (sinh_upward_test_data): Likewise.
12854         (tan_test_data): Likewise.
12855         (tan_tonearest_test_data): Likewise.
12856         (tan_towardzero_test_data): Likewise.
12857         (tan_downward_test_data): Likewise.
12858         (tan_upward_test_data): Likewise.
12859         (tanh_test_data): Likewise.
12860         (tgamma_test_data): Likewise.
12861         (y0_test_data): Likewise.
12862         (y1_test_data): Likewise.
12863         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12864         (special_real_inputs): Add pi/4.
12865         * sysdeps/i386/fpu/libm-test-ulps: Update.
12866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12867
12868 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12869
12870         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12871         "longjmp_target" static probes.
12872         (__longjmp): Rename to __longjmp_symbol.
12873         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12874         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12875         on which longjmp to generate.
12876         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12877         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12878         probe.
12879         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12880         (__sigjmp_save): Rename to __sigjmp_save_symbol.
12881         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12882         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12883         and __sigjmp_save_symbol based on which sigsetjmp to generated.
12884         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12886         __longjmp_symbol based on which __longjmp to generate.
12887         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12888         probe.
12889         (setjmp): Rename to setjmp_symbol.
12890         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12891         (_setjmp): Rename to _setjmp_symbol.
12892         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12893         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12894         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12895         which setjmp to generate.
12896         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12897         "longjmp_target" static probes.
12898
12899 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12900
12901         * benchtests/README: Add note about output arguments.
12902         * benchtests/bench-sincos.c: Remove file.
12903         * benchtests/sincos-inputs: New file.
12904         * scripts/bench.pl: Identify output arguments and define
12905         static variables for them.
12906
12907         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12908
12909         [BZ #15941]
12910         * Makefile (INSTALL): Add install-plain.texi as the primary
12911         dependency.
12912         * manual/install-plain.texi: New file.
12913         * manual/install.texi: Include node directive only for
12914         non-plaintext output.
12915
12916 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
12917
12918         * stdlib/longlong.h: Update from GCC.
12919
12920         [BZ #6807]
12921         [BZ #15901]
12922         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12923         * math/w_j0f.c (y0f): Likewise.
12924         * math/w_j0l.c (__y0l): Likewise.
12925         * math/w_j1.c (y1): Likewise.
12926         * math/w_j1f.c (y1f): Likewise.
12927         * math/w_j1l.c (__y1l): Likewise
12928         * math/w_jn.c (yn): Likewise.
12929         * math/w_jnf.c (ynf): Likewise.
12930         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12931         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
12932         value for Bessel function domain errors outside _SVID_ mode.
12933         Adjust sign of return value for yn (negative integer, 0).
12934         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12935         by zero in return for negative x and set sign appropriately for
12936         negative n.
12937         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12938         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12939         * math/libm-test.inc (y0_test_data): Add more tests and adjust
12940         expectations in error cases.
12941         (y1_test_data): Likewise.
12942         (yn_test_data): Likewise.
12943         * sysdeps/i386/fpu/libm-test-ulps: Update.
12944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12945
12946 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12947
12948         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12949         "64" to "64-v1".  Add "64-v2".
12950         (abi-64-options): Rename to ...
12951         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
12952         (abi-64-condition): Rename to ...
12953         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
12954         (abi-64-ld-soname): Rename to ...
12955         (abi-64-v1-ld-soname): ... this.
12956         (abi-64-v2-options): Define.
12957         (abi-64-v2-condition): Likewise.
12958         (abi-64-v2-ld-soname): Likewise.
12959         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12960         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12964
12965 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12966             Alan Modra  <amodra@gmail.com>
12967
12968         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12969         New versions for use with the ELFv2 ABI.
12970         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12971         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12972         declaration.
12973         (struct La_ppc64v2_retval): Likewise.
12974         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12975         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12976         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12977         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12978         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12979         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12980         Do not save or restore CR.
12981         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12982         (_dl_profile_resolve): Do no save or restore CR.  Support extended
12983         return values for ELFv2 ABI.  Fix location of FPR return registers.
12984         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12985         updated values for _CALL_ELF == 2.
12986         (La_regs, La_retval, int_retval): Likewise.
12987
12988 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12989
12990         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12991         (FRAME_MIN_SIZE_PARM): Likewise.
12992         (FRAME_BACKCHAIN): Likewise.
12993         (FRAME_CR_SAVE): Likewise.
12994         (FRAME_LR_SAVE): Likewise.
12995         (FRAME_TOC_SAVE): Likewise.
12996         (FRAME_PARM_SAVE): Likewise.
12997         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12998         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12999         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13000         (call_mcount_parm_offset): New macro.
13001         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13002         (PROF): Use symbolic stack frame offsets.
13003         (TAIL_CALL_SYSCALL_ERROR): Likewise.
13004         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13005         Redefine in terms of FRAME_MIN_SIZE.
13006         (_dl_runtime_resolve): Use symbolic stack frame offsets.
13007         (_dl_profile_resolve): Likewise.  Update comment.
13008         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13009         symbols stack frame offsets.
13010         (__sigsetjmp): Likewise.
13011         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13012         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13013         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13014         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13015
13016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13017         (FRAME_BACKCHAIN): Remove.
13018         (FRAME_CR_SAVE): Likewise.
13019         (FRAME_LR_SAVE): Likewise.
13020         (FRAME_COMPILER_DW): Likewise.
13021         (FRAME_LINKER_DW): Likewise.
13022         (FRAME_TOC_SAVE): Likewise.
13023         (FRAME_PARM_SAVE): Likewise.
13024         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13025         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13026         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13028         (CHECK_SP): Use symbolic stack frame offsets.
13029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13030         zone" instead of caller's parameter save area for temp storage.
13031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13032         Likewise.  Also, use symbolic stack frame offsets.
13033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13034         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13035         our own stack frame instead of the caller's.
13036         (__socket): Use symbolic stack frame offsets.
13037
13038 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13039             Alan Modra  <amodra@gmail.com>
13040
13041         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13042         Define.
13043         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13044         (PPC64_LOCAL_ENTRY_OFFSET): Define.
13045         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13046         New function.
13047         (elf_machine_fixup_plt): Call it.
13048         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
13049         reloc arguments.
13050         (elf_machine_rela): Update call to elf_machine_plt_conflict.
13051         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13052         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13053         r2 before calling target.
13054
13055 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13056             Alan Modra  <amodra@gmail.com>
13057
13058         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13059         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13060         versions of macros to support ELFv2 ABI.
13061         (LOCALENTRY): New macro.
13062         (ENTRY, EALIGN): Use it.
13063         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13064         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13065         fall through into ENTRY entry point.
13066         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13067         Only define if _CALL_ELF != 2.
13068
13069         (elf_machine_matches_host): Verify ABI version matches.
13070         (RTLD_START): Use LOCALENTRY.
13071         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13072         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13073         (PLT_ENTRY_WORDS): New macro.
13074         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13075         (elf_machine_runtime_setup): Support ELFv2 ABI.
13076         (elf_machine_fixup_plt): Likewise.
13077         (elf_machine_plt_conflict): Likewise.
13078         (resolve_ifunc): Likewise.
13079         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13080         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13081         Likewise.
13082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13083         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13085         (makecontext): Support ELFv2 ABI.
13086         * elf/elf.h (EF_PPC64_ABI): Define.
13087
13088 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13089
13090         * sysdeps/powerpc/powerpc64/sysdep.h
13091         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13092         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13093         (ENTRY) [ASSEMBLER]: ... but instead here ...
13094         (EALIGN) [ASSEMBLER]: ... and here.
13095         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13096         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13097         (ENTRY_2) [!ASSEMBLER]: Use it.
13098         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13099         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
13100         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13101         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13102         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13104         Use PPC64_LOAD_FUNCPTR.
13105
13106         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13107
13108 2013-12-04  Alan Modra  <amodra@gmail.com>
13109
13110         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13111         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13112         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13113         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13114
13115         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13116         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13117         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13118         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13119         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13120         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13121
13122 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13123
13124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13125         (__makecontext): Fix incorrect CFI when backtracing out of
13126         context created via makecontext.
13127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13128         (__setcontext): Fix incorrect CFI during switch to new context.
13129         (__novec_setcontext): Likewise.
13130
13131 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13132
13133         [BZ #4772]
13134         * time/strptime_l.c (__strptime_internal): Allow modifiers
13135         in strptime.
13136         * time/tst-strptime.c (day_tests): Add testcase.
13137
13138 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13139
13140         * scripts/bench.pl: Skip over blank lines.
13141
13142 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
13143
13144         [BZ #926]
13145         * manual/time.texi (Calendar Time): Clarify what timezone functions
13146         use.
13147
13148 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13149
13150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13151
13152 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13153
13154         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13155         implementation.
13156         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13157         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13158         * debug/memset_chk.c (__memset_chk): Likewise.
13159         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13160         * debug/strncpy_chk.c: Likewise.
13161
13162 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13163
13164         [BZ #15268]
13165         [BZ #15425]
13166         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13167         (__ieee754_exp): For possibly underflowing results, check size of
13168         result and force underflow exception if required.
13169         * math/auto-libm-test-in: Add more tests of exp.
13170         * math/auto-libm-test-out: Regenerated.
13171         * sysdeps/i386/fpu/libm-test-ulps: Update.
13172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13173
13174         [BZ #16283]
13175         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13176         * math/w_exp2f.c (__exp2f): Likewise.
13177         * math/w_exp2l.c (__exp2l): Likewise.
13178         * math/auto-libm-test-in: Do not allow missing errno on exp2
13179         underflow.
13180         * math/auto-libm-test-out: Regenerated.
13181
13182 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
13183
13184         [BZ #16274]
13185         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13186         handle filename validation.
13187         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13188         (do_open): Delete.
13189
13190 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13191
13192         [BZ #6786]
13193         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13194         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13195         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13196         <float.h>.
13197         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13198         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13199         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13200         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13201         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13202         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13203         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13204         * math/auto-libm-test-in: Don't allow missing errno from erfc.
13205         Add more erfc tests.
13206         * math/auto-libm-test-out: Regenerated.
13207         * sysdeps/i386/fpu/libm-test-ulps: Update.
13208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13209
13210         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13211         exp2, expm1, j0 and j1.
13212         * math/auto-libm-test-out: Regenerated.
13213         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13214         (erfc_test_data): Likewise.
13215         (exp_test_data): Likewise.
13216         (exp_tonearest_test_data): Likewise.
13217         (exp_towardzero_test_data): Likewise.
13218         (exp_downward_test_data): Likewise.
13219         (exp_upward_test_data): Likewise.
13220         (exp10_test_data): Likewise.
13221         (exp2_test_data): Likewise.
13222         (expm1_test_data): Likewise.
13223         (j0_test_data): Likewise.
13224         (j1_test_data): Likewise.
13225         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13226         (input_flag_type): Add flag_xfail_rounding.
13227         (input_flags): Add xfail-rounding.
13228         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13229         (output_for_one_input_case): Handle flag_xfail_rounding.
13230         * sysdeps/i386/fpu/libm-test-ulps: Update.
13231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13232
13233 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
13234
13235         [BZ #16289]
13236         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13237         division by 0.
13238
13239 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13240
13241         [BZ #16195]
13242         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13243         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13244         (STAP_PROBE0): New macro.
13245         (STAP_PROBE1): Likewise.
13246         (STAP_PROBE2): Likewise.
13247         (STAP_PROBE3): Likewise.
13248         (STAP_PROBE4): Likewise.
13249
13250 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
13251
13252         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13253
13254 2013-12-02  Steve Ellcey  <sellcey@mips.com>
13255
13256         * benchtests/Makefile (bench): Add sqrt.
13257         (LDLIBS-bench-sqrt): New.
13258         * benchtests/sqrt-input: New.
13259
13260 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
13261
13262         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13263         (GAIH_EAI): Likewise.
13264         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13265         (gaih_inet): Likewise.
13266         (getaddrinfo): Don't use GAIH_EAI.
13267
13268         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13269         (struct gaih): Remove definition.
13270
13271 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13272
13273         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13274         Use HERRNOP directly.
13275
13276 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13277
13278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13279
13280 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
13281
13282         * math/gen-auto-libm-tests.c (test_functions): Add more
13283         single-argument functions.
13284         (special_fill_pi_2): New function.
13285         (special_fill_minus_pi_2): Likewise.
13286         (special_fill_pi_6): Likewise.
13287         (special_fill_minus_pi_6): Likewise.
13288         (special_fill_pi_3): Likewise.
13289         (special_fill_2pi_3): Likewise.
13290         (special_fill_e): Likewise.
13291         (special_fill_1_e): Likewise.
13292         (special_fill_e_minus_1): Likewise.
13293         (special_real_inputs): Add more special inputs.
13294         (output_for_one_input_case): Do not require ERANGE on underflow to
13295         zero if round-to-nearest result does not underflow to zero, unless
13296         exact results required.
13297         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13298         atan, atanh, cbrt, cos and cosh.
13299         * math/auto-libm-test-out: Regenerated.
13300         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13301         (acos_tonearest_test_data): Likewise.
13302         (acos_towardzero_test_data): Likewise.
13303         (acos_downward_test_data): Likewise.
13304         (acos_upward_test_data): Likewise.
13305         (acosh_test_data): Likewise.
13306         (asin_test_data): Likewise.
13307         (asin_tonearest_test_data): Likewise.
13308         (asin_towardzero_test_data): Likewise.
13309         (asin_upward_test_data): Likewise.
13310         (asinh_test_data): Likewise.
13311         (atan_test_data): Likewise.
13312         (atanh_test_data): Likewise.
13313         (cbrt_test_data): Likewise.
13314         (cos_test_data): Likewise.
13315         (cos_tonearest_test_data): Likewise.
13316         (cos_towardzero_test_data): Likewise.
13317         (cos_downward_test_data): Likewise.
13318         (cos_upward_test_data): Likewise.
13319         (cosh_test_data): Likewise.
13320         (cosh_tonearest_test_data): Likewise.
13321         (cosh_towardzero_test_data): Likewise.
13322         (cosh_downward_test_data): Likewise.
13323         (cosh_upward_test_data): Likewise.
13324         * sysdeps/i386/fpu/libm-test-ulps: Update.
13325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13326
13327 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
13328
13329         [BZ #6787]
13330         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13331         * math/w_exp10f.c (__exp10f): Likewise.
13332         * math/w_exp10l.c (__exp10l): Likewise.
13333         * math/libm-test.inc (exp10_test_data): Add more tests and expect
13334         errno settings in existing tests.
13335
13336         [BZ #14032]
13337         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13338         precision control set to double precision.
13339         * sysdeps/i386/fpu/w_sqrt.c: New file.
13340         * math/auto-libm-test-in: Add more tests.
13341         * math/auto-libm-test-out: Update.
13342
13343         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13344         (sqrt_test_tonearest): New function.
13345         (sqrt_towardzero_test_data): New variable.
13346         (sqrt_test_towardzero): New function.
13347         (sqrt_downward_test_data): New variable.
13348         (sqrt_test_downward): New function.
13349         (sqrt_upward_test_data): New variable.
13350         (sqrt_test_upward): New function.
13351         (main): Call the new functions.
13352
13353         * math/gen-auto-libm-tests.c: New file.
13354         * math/auto-libm-test-in: Likewise.
13355         * math/auto-libm-test-out: New generated file.
13356         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13357         variables.
13358         (%beautify): Add generated representations of zero.
13359         (top level): Set $auto_input and call parse_auto_input.
13360         (beautify): Remove trailing "f" from hex float constants.
13361         (parse_args): Handle XFAIL_TEST.
13362         (convert_condition): New function.
13363         (or_value): Likewise.
13364         (or_cond_value): Likewise.
13365         (generate_testfile): Handle AUTO_TESTS_* lines.
13366         (parse_auto_input): New function.
13367         * math/libm-test.inc (XFAIL_TEST): New macro.
13368         (ERRNO_UNCHANGED): Update value.
13369         (ERRNO_EDOM): Likewise.
13370         (ERRNO_ERANGE): Likewise.
13371         (IGNORE_RESULT): Likewise.
13372         (TEST_COND_flt_32): New macro.
13373         (TEST_COND_dbl_64): Likewise.
13374         (TEST_COND_ldbl_96_intel): Likewise.
13375         (TEST_COND_ldbl_96_m68k): Likewise.
13376         (TEST_COND_ldbl_128): Likewise.
13377         (TEST_COND_ldbl_128ibm): Likewise.
13378         (TEST_COND_long32): Likewise.
13379         (TEST_COND_long64): Likewise.
13380         (TEST_COND_before_rounding): Likewise.
13381         (TEST_COND_after_rounding): Likewise.
13382         (enable_test): Handle XFAIL_TEST flag.
13383         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13384         with finite results.
13385         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13386         auto-libm-test-out.
13387
13388 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13389             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13390
13391         [BZ #16214]
13392         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13393         __tls_get_addr_internal instead of __tls_get_offset in order to
13394         avoid GOT pointer dependency.  Make rtld export
13395         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13396         __tls_get_addr since we are a __tls_get_offset platform.
13397         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13398         GOT pointer being set up before.
13399         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13400
13401 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
13402
13403         * manual/math.texi (Errors in Math Functions): Document accuracy
13404         goals.
13405
13406         [BZ #15004]
13407         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13408         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13409         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13410         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13411         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13412         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13413         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13414         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13415         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13416         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13417         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13418         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13419         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13420         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13421         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13422         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13423
13424         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13425         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13426         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13427         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13428         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13429         Likewise.
13430         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13431         Likewise.
13432         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13433         Likewise.
13434         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13435         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13436         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13437         atomic-feupdateenv and flt-rounds.
13438         * sysdeps/powerpc/nofpu/Versions (libc): Add
13439         __atomic_feholdexcept, __atomic_feclearexcept,
13440         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13441         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13442         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13443         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13444         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13445         here.
13446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13447         Update.
13448
13449         * manual/arith.texi (FP Exceptions): Document that exceptions may
13450         not be raised when matherr is used.
13451         (Math Error Reporting): Document overflow in directed rounding
13452         modes.  Document that errno may not be set when finite values are
13453         returned on overflow.  Document intent to set errno on underflow
13454         only for underflow to zero.
13455
13456         [BZ #16271]
13457         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13458         round-to-nearest then adjust result for other rounding modes.
13459         * include/fenv.h (fegetround): Use libm_hidden_proto.
13460         * math/fegetround.c (fegetround): Use libm_hidden_def.
13461         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13462         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13463         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13464         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13465         Likewise.
13466         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13467         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13468         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13469         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13470
13471 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13472
13473         [BZ #16077]
13474         * nss/Versions (libnss_files): Add
13475         _nss_files_gethostbyname3_r.
13476         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13477         New function.
13478         (HOST_DB_LOOKUP): Remove macro.
13479         (_nss_files_gethostbyname_r): Implement function without the
13480         HOST_DB_LOOKUP macro.
13481         (_nss_files_gethostbyname2_r): Likewise.
13482
13483 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
13484
13485         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13486
13487 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
13488
13489         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13490         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13491         warning.
13492
13493 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13494
13495         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13496         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13497         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13498         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13499         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13500         __fe_nomask_env_priv and attribute_hidden.
13501         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13502         (libc_feupdateenv_test_ppc): Likewise.
13503         (libc_feresetround_ppc): Likewise.
13504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13505         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13506         compat_symbol macro.
13507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13508         (__fe_nomask_env): Likewise.
13509         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13510
13511 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13512
13513         * string/Makefile: Remove ifunc tests.
13514         * string/test-string.h: Define TEST_IFUNC.
13515         * string/test-bcopy-ifunc.c: Remove.
13516         * string/test-bzero-ifunc.c: Likewise.
13517         * string/test-memccpy-ifunc.c: Likewise.
13518         * string/test-memchr-ifunc.c: Likewise.
13519         * string/test-memcmp-ifunc.c: Likewise.
13520         * string/test-memcpy-ifunc.c: Likewise.
13521         * string/test-memmem-ifunc.c: Likewise.
13522         * string/test-memmove-ifunc.c: Likewise.
13523         * string/test-mempcpy-ifunc.c: Likewise.
13524         * string/test-memrchr-ifunc.c: Likewise.
13525         * string/test-memset-ifunc.c: Likewise.
13526         * string/test-rawmemchr-ifunc.c: Likewise.
13527         * string/test-stpcpy-ifunc.c: Likewise.
13528         * string/test-stpncpy-ifunc.c: Likewise.
13529         * string/test-strcasecmp-ifunc.c: Likewise.
13530         * string/test-strcasestr-ifunc.c: Likewise.
13531         * string/test-strcat-ifunc.c: Likewise.
13532         * string/test-strchr-ifunc.c: Likewise.
13533         * string/test-strchrnul-ifunc.c: Likewise.
13534         * string/test-strcmp-ifunc.c: Likewise.
13535         * string/test-strcpy-ifunc.c: Likewise.
13536         * string/test-strcspn-ifunc.c: Likewise.
13537         * string/test-strlen-ifunc.c: Likewise.
13538         * string/test-strncasecmp-ifunc.c: Likewise.
13539         * string/test-strncat-ifunc.c: Likewise.
13540         * string/test-strncmp-ifunc.c: Likewise.
13541         * string/test-strncpy-ifunc.c: Likewise.
13542         * string/test-strnlen-ifunc.c: Likewise.
13543         * string/test-strpbrk-ifunc.c: Likewise.
13544         * string/test-strrchr-ifunc.c: Likewise.
13545         * string/test-strspn-ifunc.c: Likewise.
13546         * string/test-strstr-ifunc.c: Likewise.
13547
13548 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13549
13550         * benchtests/Makefile: Remove ifunc tests.
13551         * benchtests/bench-string.h: Define TEST_IFUNC.
13552         * benchtests/bench-bcopy-ifunc.c: Remove.
13553         * benchtests/bench-bzero-ifunc.c: Likewise.
13554         * benchtests/bench-memccpy-ifunc.c: Likewise.
13555         * benchtests/bench-memchr-ifunc.c: Likewise.
13556         * benchtests/bench-memcmp-ifunc.c: Likewise.
13557         * benchtests/bench-memcpy-ifunc.c: Likewise.
13558         * benchtests/bench-memmem-ifunc.c: Likewise.
13559         * benchtests/bench-memmove-ifunc.c: Likewise.
13560         * benchtests/bench-mempcpy-ifunc.c: Likewise.
13561         * benchtests/bench-memrchr-ifunc.c: Likewise.
13562         * benchtests/bench-memset-ifunc.c: Likewise.
13563         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13564         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13565         * benchtests/bench-stpcpy-ifunc.c: Likewise.
13566         * benchtests/bench-stpncpy-ifunc.c: Likewise.
13567         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13568         * benchtests/bench-strcasestr-ifunc.c: Likewise.
13569         * benchtests/bench-strcat-ifunc.c: Likewise.
13570         * benchtests/bench-strchr-ifunc.c: Likewise.
13571         * benchtests/bench-strchrnul-ifunc.c: Likewise.
13572         * benchtests/bench-strcmp-ifunc.c: Likewise.
13573         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13574         * benchtests/bench-strcpy-ifunc.c: Likewise.
13575         * benchtests/bench-strcspn-ifunc.c: Likewise.
13576         * benchtests/bench-strlen-ifunc.c: Likewise.
13577         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13578         * benchtests/bench-strncat-ifunc.c: Likewise.
13579         * benchtests/bench-strncmp-ifunc.c: Likewise.
13580         * benchtests/bench-strncpy-ifunc.c: Likewise.
13581         * benchtests/bench-strnlen-ifunc.c: Likewise.
13582         * benchtests/bench-strpbrk-ifunc.c: Likewise.
13583         * benchtests/bench-strrchr-ifunc.c: Likewise.
13584         * benchtests/bench-strsep-ifunc.c: Likewise.
13585         * benchtests/bench-strspn-ifunc.c: Likewise.
13586         * benchtests/bench-strstr-ifunc.c: Likewise.
13587
13588 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13589
13590         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13591
13592 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13593
13594         * resolv/netdb.h: Use __glibc_reserved instead __unused.
13595         * rt/aio.h: Likewise.
13596         * sysdeps/gnu/bits/utmp.h: Likewise.
13597         * sysdeps/gnu/bits/utmpx.h: Likewise.
13598         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13599         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13600         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13601         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13602         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13603         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13604         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13605         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13606         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13607         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13608         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13609         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13610         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13612         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13613         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13614         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13615         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13616         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13617         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13618         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13619         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13620         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13621         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13622         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13623         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13624         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13625         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13626         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13627         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13628         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13629         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13630         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13631         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13632         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13633         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13634         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13635         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13636         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13637         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13638         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13639         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13640
13641 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
13642
13643         [BZ #16245]
13644         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13645         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13646
13647 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
13648
13649         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13650         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13651         Likewise.
13652
13653 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13654
13655         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13656         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13657         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13658         (__fesetround): Remove define.
13659         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13660         rounding and exceptions handling.
13661         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13662         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13663         (__fe_nomask_env): Likewise.
13664         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13665         __fegetround instead of fegetround.
13666         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13667         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13668
13669 2013-11-21  Roland McGrath  <roland@hack.frob.com>
13670
13671         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13672         it's there.
13673
13674         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13675
13676 2013-11-21  Meador Inge  <meadori@codesourcery.com>
13677
13678         [BZ #11157]
13679         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13680         (encrypt_r): Likewise.
13681         * malloc/obstack.h (obstack_free): Likewise.
13682         * posix/unistd.h (encrypt): Likewise.
13683
13684 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
13685
13686         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13687         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13688         DL_CALL_DT_FINI() that call the functions directly.
13689         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13690         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13691         * elf/dl-fini.c: Likewise.
13692
13693 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
13694
13695         * malloc/hooks.c (memalign_check): Add alignment rounding.
13696         * malloc/malloc.c (_mid_memalign): New function.
13697         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13698         Implement by calling _mid_memalign.
13699         * manual/probes.texi (Memory Allocation Probes): Remove
13700         memory_valloc_retry and memory_pvalloc_retry.
13701
13702 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13703
13704         * locale/programs/locarchive.c (open_archive): Add const
13705         qualifier to ARCHIVEFNAME and copy default fname to
13706         DEFAULT_FNAME.
13707
13708         [BZ #15601]
13709         * libio/tst-widetext.input: Rename Oriya to Odia.
13710         * locale/iso-639.def: Likewise.
13711
13712         * manual/probes.texi (Mathematical Function Probes): Add
13713         documentation for sin, cos, asin and acos probes.
13714         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13715         (__sin32): Add slowasin probe.
13716         (__cos32): Add slowacos probe.
13717         (__mpsin): Add slowsin probe.
13718         (__mpcos): Add slowcos probe.
13719
13720 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
13721
13722         [BZ #15483]
13723         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13724         thread-local __sim_exceptions_thread and global
13725         __sim_exceptions_global.
13726         (__sim_disabled_exceptions): Change to thread-local
13727         __sim_disabled_exceptions_thread and global
13728         __sim_disabled_exceptions_global.
13729         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13730         and global __sim_round_mode_global.
13731         (__simulate_exceptions): Use thread-local floating-point state and
13732         set global state from it as needed.
13733         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13734         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13735         __sim_round_mode_thread.
13736         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13737         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13738         and global __sim_exceptions_global.
13739         (__sim_disabled_exceptions): Change to thread-local
13740         __sim_disabled_exceptions_thread and global
13741         __sim_disabled_exceptions_global.
13742         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13743         and global __sim_round_mode_global.
13744         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13745         (SIM_SET_GLOBAL): Likewise.
13746         * sysdeps/powerpc/soft-fp/sfp-machine.h
13747         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13748         __sim_round_mode_thread.
13749         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13750         __sim_disabled_exceptions_thread.
13751         (__sim_exceptions): Change to __sim_exceptions_thread.
13752         (__sim_disabled_exceptions): Change to
13753         __sim_disabled_exceptions_thread.
13754         (__sim_round_mode): Change to __sim_round_mode_thread.
13755         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13756         thread-local floating-point state and set global state from it as
13757         needed.
13758         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13759         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13760         (__sim_disabled_exceptions): Remove extern declaration.
13761         (feenableexcept): Use thread-local floating-point state and set
13762         global state from it as needed.
13763         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13764         extern declaration.
13765         (__sim_disabled_exceptions): Likewise.
13766         (__sim_round_mode): Likewise.
13767         (__fegetenv): Use thread-local floating-point state.
13768         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13769         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13770         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13771         floating-point state and set global state from it as needed.
13772         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13773         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13774         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13775         Likewise.
13776         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13777         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13778         Likewise.
13779         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13780         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13781         Use __sim_round_mode_thread.
13782         * math/test-fenv-tls.c: New file.
13783         * math/Makefile (tests): Add test-fenv-tls.
13784         ($(objpfx)test-fenv-tls): Depend on
13785         $(common-objpfx)nptl/libpthread.so.
13786
13787 2013-11-19  Andreas Schwab  <schwab@suse.de>
13788
13789         * locale/programs/locale.c (show_info): Decode wordarray elements.
13790         * locale/categories.def (LC_MONETARY): Add element for
13791         _NL_MONETARY_CRNCYSTR.
13792         * locale/C-monetary.c (conversion_rate): New variable.
13793         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13794         element.
13795
13796 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
13797
13798         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13799         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13800
13801 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13802
13803         * elf/Makefile (tst-auxv): New test.
13804         * elf/tst-auxv.c: New
13805         * elf/rtld.c (dl_main): Adjust AT_EXECFN
13806
13807 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
13808
13809         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13810         (hidden_proto): Caller changed.
13811         (hidden_tls_proto): New macro.
13812         (libc_hidden_tls_proto): Likewise.
13813         (rtld_hidden_tls_proto): Likewise.
13814         (libm_hidden_tls_proto): Likewise.
13815         (libresolv_hidden_tls_proto): Likewise.
13816         (librt_hidden_tls_proto): Likewise.
13817         (libdl_hidden_tls_proto): Likewise.
13818         (libnss_files_hidden_tls_proto): Likewise.
13819         (libnsl_hidden_tls_proto): Likewise.
13820         (libnss_nisplus_hidden_tls_proto): Likewise.
13821         (libutil_hidden_tls_proto): Likewise.
13822
13823 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
13824
13825         [BZ #10253]
13826         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13827         (decompose_rpath): Defer expansion to fillin_rpath.
13828         (_dl_init_paths): Pass linkmap to fillin_rpath.
13829
13830 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13831
13832         * benchtests/Makefile: Add strsep.
13833         * benchtests/bench-strsep.c: New file: strsep benchtest.
13834         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13835
13836 2013-11-18  Andreas Schwab  <schwab@suse.de>
13837
13838         * locale/programs/locale.c (show_info) [case byte]: Check for
13839         '\377' instead of '\177'.
13840         * locale/C-monetary.c (not_available): Always use "\377".
13841         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13842         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
13843         detect unavailable sign_posn locale elements.
13844         * locale/localeconv.c (__localeconv): For grouping and
13845         mon_grouping handle "\177" and "\377" like no grouping.
13846         (INT_ELEM): New macro.  Use it to set all numeric members.
13847         * locale/programs/ld-monetary.c (monetary_read)
13848         <tok_mon_grouping>: Normalize single -1 to the empty string.
13849         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13850         Likewise.
13851
13852 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13853
13854         [BZ #16055]
13855         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13856         when we match (nil).
13857         * stdio-common/tst-sscanf.c (struct test): Add testcase.
13858
13859 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
13860
13861         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13862         (NO_TEST_INLINE): Update value.
13863         (ERRNO_UNCHANGED): Likewise.
13864         (ERRNO_EDOM): Likewise.
13865         (ERRNO_ERANGE): Likewise.
13866         (IGNORE_RESULT): Likewise.
13867         (check_float_internal): Check signs of NaN results if
13868         TEST_NAN_SIGN used.
13869         (check_complex): Pass TEST_NAN_SIGN flag through to second
13870         check_float_internal call.
13871         (copysign_test_data): Add tests with quiet NaNs as second
13872         argument.  Use TEST_NAN_SIGN.
13873         (fabs_test_data): Add test of negative quiet NaN argument.  Use
13874         TEST_NAN_SIGN.
13875         (signbit_test_data): Add tests of quiet NaN argument.
13876         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13877
13878         * math/gen-libm-test.pl (show_exceptions): Take extra argument
13879         $ignore_result.
13880         (parse_args): Handle function results specified as IGNORE.
13881         * math/libm-test.inc (IGNORE_RESULT): New macro.
13882         (check_float_internal): Do not check numerical result if flag
13883         IGNORE_RESULT set.
13884         (check_complex): Pass through IGNORE_RESULT to second
13885         check_float_internal call.
13886         (check_int): Do not check numerical result if flag IGNORE_RESULT
13887         set.
13888         (check_long): Likewise.
13889         (check_bool): Likewise.
13890         (check_longlong): Likewise.
13891         (lrint_test_data): Add tests of infinite and NaN arguments.
13892         (lrint_tonearest_test_data): Likewise.
13893         (lrint_towardzero_test_data): Likewise.
13894         (lrint_downward_test_data): Likewise.
13895         (lrint_upward_test_data): Likewise.
13896         (llrint_test_data): Likewise.
13897         (llrint_tonearest_test_data): Likewise.
13898         (llrint_towardzero_test_data): Likewise.
13899         (llrint_downward_test_data): Likewise.
13900         (llrint_upward_test_data): Likewise.
13901         (lround_test_data): Likewise.
13902         (llround_test_data): Likewise.
13903
13904         * math/libm-test.inc (NO_TEST_INLINE): New macro.
13905         (ERRNO_UNCHANGED): Update value.
13906         (ERRNO_EDOM): Likewise.
13907         (ERRNO_ERANGE): Likewise.
13908         (NO_TEST_INLINE_FLOAT): New macro.
13909         (NO_TEST_INLINE_DOUBLE): Likewise.
13910         (enable_test): New function.
13911         (RUN_TEST_f_f): Check enable_test before running test.
13912         (RUN_TEST_2_f): Likewise.
13913         (RUN_TEST_fff_f): Likewise.
13914         (RUN_TEST_c_f): Likewise.
13915         (RUN_TEST_f_f1): Likewise.
13916         (RUN_TEST_fF_f1): Likewise.
13917         (RUN_TEST_fI_f1): Likewise.
13918         (RUN_TEST_ffI_f1): Likewise.
13919         (RUN_TEST_c_c): Likewise.
13920         (RUN_TEST_cc_c): Likewise.
13921         (RUN_TEST_f_i): Likewise.
13922         (RUN_TEST_f_i_tg): Likewise.
13923         (RUN_TEST_ff_i_tg): Likewise.
13924         (RUN_TEST_f_b): Likewise.
13925         (RUN_TEST_f_b_tg): Likewise.
13926         (RUN_TEST_f_l): Likewise.
13927         (RUN_TEST_f_L): Likewise.
13928         (RUN_TEST_fFF_11): Likewise.
13929         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13930         conditionals.
13931         (cosh_test_data): Likewise.
13932         (exp_test_data): Likewise.
13933         (expm1_test_data): Likewise.
13934         (hypot_test_data): Likewise.
13935         (pow_test_data): Likewise.
13936         (sinh_test_data): Likewise.
13937         (tanh_test_data): Likewise.
13938         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13939         flags argument.
13940
13941         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13942         tests with quiet NaN input and output.
13943         (acosh_test_data): Likewise.
13944         (asin_test_data): Likewise.
13945         (asinh_test_data): Likewise.
13946         (atan_test_data): Likewise.
13947         (atanh_test_data): Likewise.
13948         (atan2_test_data): Likewise.
13949         (cbrt_test_data): Likewise.
13950         (cos_test_data): Likewise.
13951         (cosh_test_data): Likewise.
13952         (erf_test_data): Likewise.
13953         (erfc_test_data): Likewise.
13954         (exp_test_data): Likewise.
13955         (exp10_test_data): Likewise.
13956         (exp2_test_data): Likewise.
13957         (expm1_test_data): Likewise.
13958         (hypot_test_data): Likewise.
13959         (j0_test_data): Likewise.
13960         (j1_test_data): Likewise.
13961         (jn_test_data): Likewise.
13962         (lgamma_test_data): Likewise.
13963         (log_test_data): Likewise.
13964         (log10_test_data): Likewise.
13965         (log1p_test_data): Likewise.
13966         (log2_test_data): Likewise.
13967         (pow_test_data): Likewise.
13968         (scalb_test_data): Likewise.
13969         (sin_test_data): Likewise.
13970         (sincos_test_data): Likewise.
13971         (sinh_test_data): Likewise.
13972         (tan_test_data): Likewise.
13973         (tanh_test_data): Likewise.
13974         (tgamma_test_data): Likewise.
13975         (y0_test_data): Likewise.
13976         (y1_test_data): Likewise.
13977         (yn_test_data): Likewise.
13978
13979         [BZ #16167]
13980         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13981         argument being NaN and avoid computations with second argument in
13982         that case.
13983         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13984         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13985         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13986
13987 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
13988
13989         * locale/iso-639.def: Add Chitwani Tharu (the).
13990
13991 2013-11-14  Andreas Schwab  <schwab@suse.de>
13992
13993         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13994         word instead of empty string.
13995
13996 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13997
13998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13999         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14001         (__fe_nomask_env): Likewise.
14002
14003 2013-11-13  Steve Ellcey  <sellcey@mips.com>
14004
14005         * benchtests/bench-timing.h: Include time.h.
14006
14007 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
14008
14009         [BZ #15997]
14010         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14011         to 3.4.0 for x32.
14012         * sysdeps/unix/sysv/linux/configure: Regenerated.
14013
14014 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
14015
14016         [BZ #16151]
14017         * stdlib/strtod_l.c (round_and_return): Do not consider
14018         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14019         exponent one less than half the least subnormal exponent.
14020         * stdlib/test-strtod-round-data: Add more tests.
14021         * stdlib/tst-strtod-round.c (tests): Regenerated.
14022
14023 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14024
14025         [BZ #14143]
14026         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14027         (__fe_mask_env): Likewise.
14028         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14029         libm_hidden_proto and add function prototype.
14030         (__fe_mask_env): Add function prototype.
14031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14032         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14034         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14036         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14037
14038 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14039
14040         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14041         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14042
14043 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14044
14045         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14046         of htab_find_slot().
14047
14048 2013-11-11  David S. Miller  <davem@davemloft.net>
14049
14050         [BZ #16150]
14051         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14052         symbol in the non-vis3 case in static builds.
14053         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14054         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14055         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14056         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14057
14058 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
14059
14060         [BZ #387]
14061         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14062         it is empty.
14063
14064 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14065
14066         * benchtests/Makefile: Add bench-strtod.
14067         * benchtests/bench-strtod.c: New file: strtod benchtest
14068
14069 2013-11-11  Andreas Schwab  <schwab@suse.de>
14070
14071         [BZ #16153]
14072         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14073         terminating NUL in key length.
14074
14075 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14076
14077         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14078         Add artificial ODP entry for vDSO symbol for PPC64.
14079         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14080         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14081
14082 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14083
14084         [BZ #15374]
14085         * nss/getent.c (services_keys): Recognize services starting with digit.
14086
14087 2013-11-06  David S. Miller  <davem@davemloft.net>
14088
14089         [BZ #15985]
14090         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14091         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14092
14093 2013-11-06  Will Newton  <will.newton@linaro.org>
14094
14095         * manual/memory.texi (Malloc Examples): Remove register
14096         keyword from examples.
14097
14098 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
14099
14100         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14101
14102 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
14103
14104         [BZ #6981]
14105         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14106         depending on [__GCC_IEC_559 > 0].
14107         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14108         depending on [__GCC_IEC_559_COMPLEX > 0].
14109
14110 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
14111
14112         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14113         to iso-639.def.
14114
14115 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
14116
14117         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14118
14119 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
14120
14121         [BZ #16112]
14122         * malloc/malloc (malloc_info): Do not handle first bin as
14123         special case.
14124
14125 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
14126
14127         * locale/iso-639.def: Add Central Nahuatl (nhn).
14128
14129 2013-11-01  Bruno Haible  <bruno@clisp.org>
14130
14131         [BZ #7003]
14132         * manual/math.texi (BSD Random): Specify range upper bound as
14133         in POSIX.
14134
14135 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
14136
14137         * locale/iso-639.def: Add Meadow Mari (mhr).
14138
14139 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
14140
14141         [BZ #14752], [BZ #15763]
14142         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14143         Validate name.
14144         * rt/tst_shm.c: Add test for escaping directory.
14145
14146 2013-10-31  Andreas Schwab  <schwab@suse.de>
14147
14148         [BZ #15917]
14149         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14150         followed by 'x' as part of digit sequence.
14151         * stdio-common/tst-sscanf.c (double_tests2): New tests.
14152
14153 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14154
14155         [BZ #16037]
14156         * configure.ac: allow GNU Make 4.0 and greater.
14157         * configure: Regenerated.
14158
14159 2013-10-30  Will Newton  <will.newton@linaro.org>
14160
14161         [BZ #16038]
14162         * malloc/hooks.c (memalign_check): Limit alignment to the
14163         maximum representable power of two.
14164         * malloc/malloc.c (__libc_memalign): Likewise.
14165         * malloc/tst-memalign.c (do_test): Add test for very
14166         large alignment values.
14167         * malloc/tst-posix_memalign.c (do_test): Likewise.
14168
14169 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14170
14171         [BZ #11087]
14172         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14173         (munmap_chunk): Likewise.
14174         (mremap_chunk): Likewise.
14175
14176 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14177
14178         [BZ #15799]
14179         * stdlib/div.c (div): Remove obsolete code.
14180         * stdlib/ldiv.c (ldiv): Likewise.
14181         * stdlib/lldiv.c (lldiv): Likewise.
14182
14183 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14184
14185         [BZ #16071]
14186         * nss/nss_files/files-XXX.c (get_contents_ret): New
14187         enumerator.
14188         (get_contents): New function.
14189         (internal_getent): Use it.  Expand size of LINEBUFLEN.
14190
14191 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
14192
14193         * configure.in: Moved to ...
14194         * configure.ac: ... here. Change reference to configure.in
14195         to configure.ac.
14196         * sysdeps/arm/preconfigure.ac: ... here.
14197         configure.in to configure.ac.
14198         * sysdeps/gnu/configure.in: Moved to ...
14199         * sysdeps/gnu/configure.ac: ... here.
14200         * sysdeps/i386/configure.in: Moved to ...
14201         * sysdeps/i386/configure.ac: ... here.
14202         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14203         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14204         * sysdeps/mach/configure.in: Moved to ...
14205         * sysdeps/mach/configure.ac: ... here.
14206         * sysdeps/mach/hurd/configure.in: Moved to ...
14207         * sysdeps/mach/hurd/configure.ac: ... here.
14208         * sysdeps/powerpc/configure.in: Moved to ...
14209         * sysdeps/powerpc/configure.ac: ... here.
14210         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14211         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14212         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14213         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14214         * sysdeps/s390/s390-32/configure.in: Moved to ...
14215         * sysdeps/s390/s390-32/configure.ac: ... here.
14216         * sysdeps/s390/s390-64/configure.in: Moved to ...
14217         * sysdeps/s390/s390-64/configure.ac: ... here.
14218         * sysdeps/sh/configure.in: Moved to ...
14219         * sysdeps/sh/configure.ac: ... here.
14220         * sysdeps/sparc/configure.in: Moved to ...
14221         * sysdeps/sparc/configure.ac: ... here.
14222         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14223         * sysdeps/unix/sysv/linux/configure.ac: ... here.
14224         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14225         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14226         * sysdeps/x86_64/configure.in: Moved to ...
14227         * sysdeps/x86_64/configure.ac: ... here.
14228         * sysdeps/x86_64/preconfigure.in: Moved to ...
14229         * sysdeps/x86_64/preconfigure.ac: ... here.
14230         * aclocal.m4: Change reference to configure.in to configure.ac.
14231         * config.h.in: Likewise.
14232         * manual/install.texi: Likewise.
14233         * manual/maint.texi: Likewise.
14234         * Makefile: Likewise.
14235         * malloc/Makefile: Likewise.
14236         * nscd/Makefile: Likewise.
14237         * Makeconfig: Change reference to configure.in and
14238         preconfigure.in to configure.ac and preconfigure.ac
14239         respectively.
14240         * INSTALL: Regenerated.
14241         * configure: Likewise.
14242         * sysdeps/gnu/configure: Likewise.
14243         * sysdeps/i386/configure: Likewise.
14244         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14245         * sysdeps/mach/configure: Likewise.
14246         * sysdeps/mach/hurd/configure: Likewise.
14247         * sysdeps/powerpc/configure: Likewise.
14248         * sysdeps/powerpc/powerpc32/configure: Likewise.
14249         * sysdeps/powerpc/powerpc64/configure: Likewise.
14250         * sysdeps/s390/s390-32/configure: Likewise.
14251         * sysdeps/s390/s390-64/configure: Likewise.
14252         * sysdeps/sh/configure: Likewise.
14253         * sysdeps/sparc/configure: Likewise.
14254         * sysdeps/unix/sysv/linux/configure: Likewise.
14255         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14256         * sysdeps/x86_64/configure: Likewise.
14257         * sysdeps/x86_64/preconfigure: Likewise.
14258
14259 2013-10-29  Andreas Schwab  <schwab@suse.de>
14260
14261         * stdio-common/Makefile (tst-swscanf-ENV): Define.
14262
14263 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14264
14265         * benchtests/pow-inputs: Add new inputs.
14266
14267         * benchtests/exp-inputs: Add new inputs.
14268
14269         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14270         conditional check for return value.
14271         (__cos32): Likewise.
14272
14273 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14274
14275         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14276         to provide a boost for large inputs with word alignment.
14277         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14278         implementation based on optimized PPC64 strcpy.
14279         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14280         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14281         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14282         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14283
14284 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14285
14286         [BZ #2801]
14287         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14288
14289 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14290
14291         [BZ #14876]
14292         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14293         * time/tst-strptime.c (day_tests): Add testcase.
14294
14295 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14296
14297         [BZ #14029]
14298         * manual/pattern.texi: Acknowledge that fnmatch can fail.
14299
14300 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
14301
14302         [BZ #16074]
14303         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14304         MAP_FAILED on error.
14305
14306 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14307
14308         [BZ #16072]
14309         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14310         heap for large requests.
14311
14312 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
14313
14314         [BZ #9954]
14315         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14316         result if the result has no associated interface.
14317         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14318         interface for all 127.X.Y.Z addresses.
14319
14320 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
14321
14322         * locale/iso-639.def: Add Ligurian (lij)
14323
14324 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
14325
14326         [BZ #15825]
14327         * sunrpc/rpc_main.c: Document rpcgen -5.
14328
14329 2013-10-19  Michael Stahl  <mstahl@redhat.com>
14330
14331         * elf/rtld.c (do_preload): Print the reason why preloading failed.
14332
14333 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14334
14335         [BZ #10278]
14336         * posix/glob.c: Match only directories when trailing slash is present.
14337         * posix/tst-gnuglob.c (my_opendir): Do not open files.
14338         (main): Add testcase.
14339
14340 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14341
14342         [BZ #15670]
14343         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14344
14345 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
14346
14347         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14348         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14349         AUTH_DES and cindex for FIPS 140-2.
14350         (DES Encryption): Add cindex FIPS 46-3.
14351
14352         * locale/locarchive.h (struct locarhandle): Add fname.
14353         * locale/programs/localedef.c (main): Pass ARGV[remaining]
14354         if an optional argument was specified to --list-archive,
14355         otherwise NULL.
14356         * locale/programs/locarchive.c (show_archive_content): Take new
14357         argument fname and pass it via ah.fname to open_archive.
14358         * locale/programs/localedef.h: Update decl.
14359         (open_archive): If AH->fname is non-null, open that file
14360         rather than the default file name, and don't ignore ENOENT.
14361         (create_archive): Set AH.fname to NULL.
14362         (delete_locales_from_archive): Likewise.
14363         (add_locales_to_archive): Likewise.
14364         * locale/programs/locfile.c (write_all_categories): Likewise.
14365
14366 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
14367             Aldy Hernandez  <aldyh@redhat.com>
14368
14369         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14370         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14371         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14372         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14373         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14374         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14375         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14376         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14377         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14378         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14379         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14380         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14381         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14382         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14383         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14384         Likewise.
14385         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14386         Likewise.
14387         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14388         Likewise.
14389         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14390         Likewise.
14391         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14392         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14393         Likewise.
14394         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14395         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14396         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14397         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14398         Likewise.
14399         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14400         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14401         * sysdeps/powerpc/preconfigure: Likewise.
14402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14403         Likewise.
14404         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14405         Replace contents of file by #include of <fenv_libc.h>.
14406         * sysdeps/powerpc/soft-fp/sfp-machine.h
14407         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14408         and <sys/prctl.h>.
14409         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14410         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14411         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14412         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14413         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14414         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14415         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14416         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14417         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14418         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14419         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14420         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14422         Allow copysignl PLT reference to be missing.
14423
14424 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
14425             Joseph Myers  <joseph@codesourcery.com
14426
14427         [BZ #15948]
14428         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14429         single character.
14430         (add_to_tablewc): Assert sequence of wide characters is nonempty.
14431
14432 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14433
14434         * elf/tst-tls-dlinfo.c: Don't include tls.h.
14435         * elf/tst-tls1.c: Likewise.
14436         * elf/tst-tls10.h: Likewise.
14437         * elf/tst-tls14.c: Likewise.
14438         * elf/tst-tls2.c: Likewise.
14439         * elf/tst-tls3.c: Likewise.
14440         * elf/tst-tls4.c: Likewise.
14441         * elf/tst-tls5.c: Likewise.
14442         * elf/tst-tls6.c: Likewise.
14443         * elf/tst-tls7.c: Likewise.
14444         * elf/tst-tls8.c: Likewise.
14445         * elf/tst-tls9.c: Likewise.
14446         * elf/tst-tlsmod1.c: Likewise.
14447         * elf/tst-tlsmod13.c: Likewise.
14448         * elf/tst-tlsmod13a.c: Likewise.
14449         * elf/tst-tlsmod14a.c: Likewise.
14450         * elf/tst-tlsmod16a.c: Likewise.
14451         * elf/tst-tlsmod16b.c: Likewise.
14452         * elf/tst-tlsmod2.c: Likewise.
14453         * elf/tst-tlsmod3.c: Likewise.
14454         * elf/tst-tlsmod4.c: Likewise.
14455         * elf/tst-tlsmod5.c: Likewise.
14456         * elf/tst-tlsmod6.c: Likewise.
14457
14458 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
14459
14460         [BZ #12486]
14461         * malloc/malloc.c: remove checks for statistics.
14462
14463 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14464
14465         [BZ #15277]
14466         * inet/inet_net.c (inet_network): Detect additional invalid strings.
14467         * inet/tst-network.c: Add testcase.
14468
14469 2013-10-17  Andreas Schwab  <schwab@suse.de>
14470
14471         [BZ #15218]
14472         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14473         to determine canonical name.
14474
14475 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14476
14477         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14478         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14479         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14480         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14481         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14482         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14483         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14484         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14485         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14486         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14487         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14488         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14489         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14490         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14491         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14492         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14493         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14494         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14495         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14496         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14497         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14498         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14499         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14500         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14501         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14502         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14503         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14504         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14505         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14506         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14507         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14508         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14509         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14510         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14511         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14512         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14513         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14514         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14515         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14516         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14517         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14518         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14519         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14520         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14521         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14522         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14523         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14524         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14525         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14526         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14527         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14528         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14529         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14530         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14531         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14532         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14533         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14534         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14535
14536 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
14537
14538         [BZ #16041]
14539         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14540         make result into a quiet NaN.
14541
14542 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
14543
14544         * soft-fp/adddf3.c: Fix horizontal whitespace.
14545         * soft-fp/addsf3.c: Likewise.
14546         * soft-fp/addtf3.c: Likewise.
14547         * soft-fp/divdf3.c: Likewise.
14548         * soft-fp/divsf3.c: Likewise.
14549         * soft-fp/divtf3.c: Likewise.
14550         * soft-fp/double.h: Likewise.
14551         * soft-fp/eqdf2.c: Likewise.
14552         * soft-fp/eqsf2.c: Likewise.
14553         * soft-fp/eqtf2.c: Likewise.
14554         * soft-fp/extenddftf2.c: Likewise.
14555         * soft-fp/extended.h: Likewise.
14556         * soft-fp/extendsfdf2.c: Likewise.
14557         * soft-fp/extendsftf2.c: Likewise.
14558         * soft-fp/extendxftf2.c: Likewise.
14559         * soft-fp/fixdfdi.c: Likewise.
14560         * soft-fp/fixdfsi.c: Likewise.
14561         * soft-fp/fixdfti.c: Likewise.
14562         * soft-fp/fixsfdi.c: Likewise.
14563         * soft-fp/fixsfsi.c: Likewise.
14564         * soft-fp/fixsfti.c: Likewise.
14565         * soft-fp/fixtfdi.c: Likewise.
14566         * soft-fp/fixtfsi.c: Likewise.
14567         * soft-fp/fixtfti.c: Likewise.
14568         * soft-fp/fixunsdfdi.c: Likewise.
14569         * soft-fp/fixunsdfsi.c: Likewise.
14570         * soft-fp/fixunsdfti.c: Likewise.
14571         * soft-fp/fixunssfdi.c: Likewise.
14572         * soft-fp/fixunssfsi.c: Likewise.
14573         * soft-fp/fixunssfti.c: Likewise.
14574         * soft-fp/fixunstfdi.c: Likewise.
14575         * soft-fp/fixunstfsi.c: Likewise.
14576         * soft-fp/fixunstfti.c: Likewise.
14577         * soft-fp/floatdidf.c: Likewise.
14578         * soft-fp/floatdisf.c: Likewise.
14579         * soft-fp/floatditf.c: Likewise.
14580         * soft-fp/floatsidf.c: Likewise.
14581         * soft-fp/floatsisf.c: Likewise.
14582         * soft-fp/floatsitf.c: Likewise.
14583         * soft-fp/floattidf.c: Likewise.
14584         * soft-fp/floattisf.c: Likewise.
14585         * soft-fp/floattitf.c: Likewise.
14586         * soft-fp/floatundidf.c: Likewise.
14587         * soft-fp/floatundisf.c: Likewise.
14588         * soft-fp/floatunditf.c: Likewise.
14589         * soft-fp/floatunsidf.c: Likewise.
14590         * soft-fp/floatunsisf.c: Likewise.
14591         * soft-fp/floatunsitf.c: Likewise.
14592         * soft-fp/floatuntidf.c: Likewise.
14593         * soft-fp/floatuntisf.c: Likewise.
14594         * soft-fp/floatuntitf.c: Likewise.
14595         * soft-fp/fmadf4.c: Likewise.
14596         * soft-fp/fmasf4.c: Likewise.
14597         * soft-fp/fmatf4.c: Likewise.
14598         * soft-fp/gedf2.c: Likewise.
14599         * soft-fp/gesf2.c: Likewise.
14600         * soft-fp/getf2.c: Likewise.
14601         * soft-fp/ledf2.c: Likewise.
14602         * soft-fp/lesf2.c: Likewise.
14603         * soft-fp/letf2.c: Likewise.
14604         * soft-fp/muldf3.c: Likewise.
14605         * soft-fp/mulsf3.c: Likewise.
14606         * soft-fp/multf3.c: Likewise.
14607         * soft-fp/negdf2.c: Likewise.
14608         * soft-fp/negsf2.c: Likewise.
14609         * soft-fp/negtf2.c: Likewise.
14610         * soft-fp/op-1.h: Likewise.
14611         * soft-fp/op-2.h: Likewise.
14612         * soft-fp/op-4.h: Likewise.
14613         * soft-fp/op-8.h: Likewise.
14614         * soft-fp/op-common.h: Likewise.
14615         * soft-fp/quad.h: Likewise.
14616         * soft-fp/single.h: Likewise.
14617         * soft-fp/soft-fp.h: Likewise.
14618         * soft-fp/sqrtdf2.c: Likewise.
14619         * soft-fp/sqrtsf2.c: Likewise.
14620         * soft-fp/sqrttf2.c: Likewise.
14621         * soft-fp/subdf3.c: Likewise.
14622         * soft-fp/subsf3.c: Likewise.
14623         * soft-fp/subtf3.c: Likewise.
14624         * soft-fp/truncdfsf2.c: Likewise.
14625         * soft-fp/trunctfdf2.c: Likewise.
14626         * soft-fp/trunctfsf2.c: Likewise.
14627         * soft-fp/trunctfxf2.c: Likewise.
14628         * soft-fp/unorddf2.c: Likewise.
14629         * soft-fp/unordsf2.c: Likewise.
14630         * soft-fp/unordtf2.c: Likewise.
14631
14632 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
14633
14634         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14635         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14636
14637 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
14638
14639         * elf/dl-libc.c: Clear initfini list after freeing.
14640
14641 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
14642
14643         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14644         * soft-fp/addsf3.c: Likewise.
14645         * soft-fp/addtf3.c: Likewise.
14646         * soft-fp/divdf3.c: Likewise.
14647         * soft-fp/divsf3.c: Likewise.
14648         * soft-fp/divtf3.c: Likewise.
14649         * soft-fp/double.h: Likewise.
14650         * soft-fp/eqdf2.c: Likewise.
14651         * soft-fp/eqsf2.c: Likewise.
14652         * soft-fp/eqtf2.c: Likewise.
14653         * soft-fp/extenddftf2.c: Likewise.
14654         * soft-fp/extended.h: Likewise.
14655         * soft-fp/extendsfdf2.c: Likewise.
14656         * soft-fp/extendsftf2.c: Likewise.
14657         * soft-fp/extendxftf2.c: Likewise.
14658         * soft-fp/fixdfdi.c: Likewise.
14659         * soft-fp/fixdfsi.c: Likewise.
14660         * soft-fp/fixdfti.c: Likewise.
14661         * soft-fp/fixsfdi.c: Likewise.
14662         * soft-fp/fixsfsi.c: Likewise.
14663         * soft-fp/fixsfti.c: Likewise.
14664         * soft-fp/fixtfdi.c: Likewise.
14665         * soft-fp/fixtfsi.c: Likewise.
14666         * soft-fp/fixtfti.c: Likewise.
14667         * soft-fp/fixunsdfdi.c: Likewise.
14668         * soft-fp/fixunsdfsi.c: Likewise.
14669         * soft-fp/fixunsdfti.c: Likewise.
14670         * soft-fp/fixunssfdi.c: Likewise.
14671         * soft-fp/fixunssfsi.c: Likewise.
14672         * soft-fp/fixunssfti.c: Likewise.
14673         * soft-fp/fixunstfdi.c: Likewise.
14674         * soft-fp/fixunstfsi.c: Likewise.
14675         * soft-fp/fixunstfti.c: Likewise.
14676         * soft-fp/floatdidf.c: Likewise.
14677         * soft-fp/floatdisf.c: Likewise.
14678         * soft-fp/floatditf.c: Likewise.
14679         * soft-fp/floatsidf.c: Likewise.
14680         * soft-fp/floatsisf.c: Likewise.
14681         * soft-fp/floatsitf.c: Likewise.
14682         * soft-fp/floattidf.c: Likewise.
14683         * soft-fp/floattisf.c: Likewise.
14684         * soft-fp/floattitf.c: Likewise.
14685         * soft-fp/floatundidf.c: Likewise.
14686         * soft-fp/floatundisf.c: Likewise.
14687         * soft-fp/floatunsidf.c: Likewise.
14688         * soft-fp/floatunsisf.c: Likewise.
14689         * soft-fp/floatuntidf.c: Likewise.
14690         * soft-fp/floatuntisf.c: Likewise.
14691         * soft-fp/floatuntitf.c: Likewise.
14692         * soft-fp/fmadf4.c: Likewise.
14693         * soft-fp/fmasf4.c: Likewise.
14694         * soft-fp/fmatf4.c: Likewise.
14695         * soft-fp/gedf2.c: Likewise.
14696         * soft-fp/gesf2.c: Likewise.
14697         * soft-fp/getf2.c: Likewise.
14698         * soft-fp/ledf2.c: Likewise.
14699         * soft-fp/lesf2.c: Likewise.
14700         * soft-fp/letf2.c: Likewise.
14701         * soft-fp/muldf3.c: Likewise.
14702         * soft-fp/mulsf3.c: Likewise.
14703         * soft-fp/multf3.c: Likewise.
14704         * soft-fp/negdf2.c: Likewise.
14705         * soft-fp/negsf2.c: Likewise.
14706         * soft-fp/negtf2.c: Likewise.
14707         * soft-fp/op-1.h: Likewise.
14708         * soft-fp/op-2.h: Likewise.
14709         * soft-fp/op-4.h: Likewise.
14710         * soft-fp/op-8.h: Likewise.
14711         * soft-fp/op-common.h: Likewise.
14712         * soft-fp/quad.h: Likewise.
14713         * soft-fp/single.h: Likewise.
14714         * soft-fp/soft-fp.h: Likewise.
14715         * soft-fp/sqrtdf2.c: Likewise.
14716         * soft-fp/sqrtsf2.c: Likewise.
14717         * soft-fp/sqrttf2.c: Likewise.
14718         * soft-fp/subdf3.c: Likewise.
14719         * soft-fp/subsf3.c: Likewise.
14720         * soft-fp/subtf3.c: Likewise.
14721         * soft-fp/truncdfsf2.c: Likewise.
14722         * soft-fp/trunctfdf2.c: Likewise.
14723         * soft-fp/trunctfsf2.c: Likewise.
14724         * soft-fp/trunctfxf2.c: Likewise.
14725         * soft-fp/unorddf2.c: Likewise.
14726         * soft-fp/unordsf2.c: Likewise.
14727         * soft-fp/unordtf2.c: Likewise.
14728
14729 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
14730
14731         [BZ #15672]
14732         * misc/error.c (error_tail): Fix possible buffer overflow.
14733
14734 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
14735
14736         [BZ #13028]
14737         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14738         address.
14739
14740 2013-10-14  P. J. McDermott  <pj@pehjota.net>
14741
14742         [BZ #832]
14743         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
14744         testing pipefail option.
14745
14746 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14747
14748         * soft-fp/double.h: Indent preprocessor directives inside #if.
14749         * soft-fp/extended.h: Likewise.
14750         * soft-fp/op-2.h: Likewise.
14751         * soft-fp/op-4.h: Likewise.
14752         * soft-fp/op-common.h: Likewise.
14753         * soft-fp/quad.h: Likewise.
14754         * soft-fp/single.h: Likewise.
14755         * soft-fp/soft-fp.h: Likewise.
14756
14757 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
14758
14759         * iconv/iconv_prog.c: Fix typos.
14760         * stdio-common/psiginfo-data.h: Likewise.
14761
14762 2013-10-12   Reuben Thomas <rrt@sc3d.org>
14763
14764         [BZ #15764]
14765         * locale/setlocale.c: Fix typo.
14766
14767 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14768
14769         [BZ #16036]
14770         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14771         signaling NaN arguments.
14772         * soft-fp/unordsf2.c (__unordsf2): Likewise.
14773         * soft-fp/unordtf2.c (__unordtf2): Likewise.
14774
14775         [BZ #14910]
14776         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14777         unordered operands.
14778         * soft-fp/gesf2.c (__gesf2): Likewise.
14779         * soft-fp/getf2.c (__getf2): Likewise.
14780         * soft-fp/ledf2.c (__ledf2): Likewise.
14781         * soft-fp/lesf2.c (__lesf2): Likewise.
14782         * soft-fp/letf2.c (__letf2): Likewise.
14783
14784         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14785         * soft-fp/eqsf2.c (__eqsf2): Likewise.
14786         * soft-fp/eqtf2.c (__eqtf2): Likewise.
14787         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14788         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14789         * soft-fp/fixdfti.c (__fixdfti): Likewise.
14790         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14791         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14792         * soft-fp/fixsfti.c (__fixsfti): Likewise.
14793         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14794         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14795         * soft-fp/fixtfti.c (__fixtfti): Likewise.
14796         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14797         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14798         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14799         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14800         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14801         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14802         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14803         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14804         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14805         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14806         * soft-fp/floatdisf.c (__floatdisf): Likewise.
14807         * soft-fp/floatsisf.c (__floatsisf): Likewise.
14808         * soft-fp/floattidf.c (__floattidf): Likewise.
14809         * soft-fp/floattisf.c (__floattisf): Likewise.
14810         * soft-fp/floattitf.c (__floattitf): Likewise.
14811         * soft-fp/floatundidf.c (__floatundidf): Likewise.
14812         * soft-fp/floatundisf.c (__floatundisf): Likewise.
14813         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14814         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14815         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14816         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14817         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14818         * soft-fp/gesf2.c (__gesf2): Likewise.
14819         * soft-fp/getf2.c (__getf2): Likewise.
14820         * soft-fp/ledf2.c (__ledf2): Likewise.
14821         * soft-fp/lesf2.c (__lesf2): Likewise.
14822         * soft-fp/letf2.c (__letf2): Likewise.
14823
14824         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14825         Undefine and redefine.
14826         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14827         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14828         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14829         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14830         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14831         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14832         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14833         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14834         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14835         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14836         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14837         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14838         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14839         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14840         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14841
14842         [BZ #16032]
14843         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14844         without decrementing exponent if mantissa >= that for the
14845         denominator, not >.
14846         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14847         denominator, not >.  Decrement exponent in < case instead of
14848         incrementing in >= case.
14849         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14850         without decrementing exponent if mantissa >= that for the
14851         denominator, not >.
14852
14853         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14854         computing saturated result for unsigned overflow.
14855
14856 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14857             Jeff Law  <law@redhat.com>
14858
14859         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14860         (atan2Mp): Add systemtap probe marker.
14861         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14862         (__ieee754_log): Add systemtap probe marker.
14863         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14864         (atanMp): Add systemtap probe marker.
14865         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14866         (tanMp): Add systemtap probe marker.
14867         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14868         (__slowexp): Add systemtap probe marker.
14869         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14870         (__slowpow): Add systemtap probe marker.
14871         * manual/probes.texi: Document probes.
14872
14873 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
14874
14875         [BZ #15362]
14876         * libio/fileops.c (_IO_new_file_write): Return count of bytes
14877         written.
14878         (_IO_new_file_xsputn): Don't return EOF if nothing has been
14879         written.
14880         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14881         written to buffer but not flushed.
14882         * libio/iofwrite_u.c:  Likewise.
14883         * libio/iopadn.c:  Return bytes returned even if EOF was
14884         encountered.
14885         * libio/iowpadn.c:  Likewise.
14886         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14887         if _IO_padn does not write the whole buffer.
14888         [!COMPILE_WPRINTF] (PAD): Likewise.
14889
14890 2013-10-10  David S. Miller  <davem@davemloft.net>
14891
14892         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14893         directory block.
14894
14895 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14896
14897         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
14898         instead of FSF address.
14899         * soft-fp/fixdfti.c: Likewise.
14900         * soft-fp/fixsfti.c: Likewise.
14901         * soft-fp/fixtfti.c: Likewise.
14902         * soft-fp/fixunsdfti.c: Likewise.
14903         * soft-fp/fixunssfti.c: Likewise.
14904         * soft-fp/fixunstfti.c: Likewise.
14905         * soft-fp/floattidf.c: Likewise.
14906         * soft-fp/floattisf.c: Likewise.
14907         * soft-fp/floattitf.c: Likewise.
14908         * soft-fp/floatuntidf.c: Likewise.
14909         * soft-fp/floatuntisf.c: Likewise.
14910         * soft-fp/floatuntitf.c: Likewise.
14911         * soft-fp/trunctfxf2.c: Likewise.
14912
14913         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
14914         * soft-fp/fixdfti.c: Likewise.
14915         * soft-fp/fixsfti.c: Likewise.
14916         * soft-fp/fixtfti.c: Likewise.
14917         * soft-fp/fixunsdfti.c: Likewise.
14918         * soft-fp/fixunssfti.c: Likewise.
14919         * soft-fp/fixunstfti.c: Likewise.
14920         * soft-fp/floattidf.c: Likewise.
14921         * soft-fp/floattisf.c: Likewise.
14922         * soft-fp/floattitf.c: Likewise.
14923         * soft-fp/floatuntidf.c: Likewise.
14924         * soft-fp/floatuntisf.c: Likewise.
14925         * soft-fp/floatuntitf.c: Likewise.
14926         * soft-fp/trunctfxf2.c: Likewise.
14927
14928 2013-10-10  David S. Miller  <davem@davemloft.net>
14929
14930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14931
14932 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
14933
14934         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14935         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14936         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14937         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14938         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14939         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14940         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14941
14942         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14943         for NaNs before doing comparisons on argument.
14944         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14945         Likewise.
14946
14947 2013-10-10  Will Newton  <will.newton@linaro.org>
14948
14949         * malloc/hooks.c (memalign_check): Ensure the value of bytes
14950         passed to _int_memalign does not overflow.
14951
14952 2013-10-10  Torvald Riegel  <triegel@redhat.com>
14953
14954         * scripts/bench.pl: Add include-sources directive.
14955         * benchtests/README: Update documentation.
14956
14957 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14958
14959         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14960         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14961         instead of FP_INIT_ROUNDMODE.
14962         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14963         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14964
14965         [BZ #16034]
14966         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
14967         copy class of input value.
14968         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
14969         not handle exceptions.
14970         * soft-fp/negsf2.c (__negsf2): Likewise.
14971         * soft-fp/negtf2.c (__negtf2): Likewise.
14972         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14973
14974 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
14975
14976         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14977         semicolon.  From Linux kernel.
14978
14979 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
14980
14981         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14982
14983 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
14984
14985         [BZ #156]
14986         * manual/socket.texi: Added statement about buffer
14987         for gethostbyname2_r.
14988
14989 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
14990
14991         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14992         Use .p2align directive instead, throughout.
14993         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14994         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14995         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14996         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14997         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14998         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14999         * sysdeps/x86_64/strchr.S: Likewise.
15000         * sysdeps/x86_64/strrchr.S: Likewise.
15001
15002 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15003
15004         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15005
15006         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15007
15008         * sysdeps/generic/math_private.h (__mpsin1): Remove
15009         declaration.
15010         (__mpcos1): Likewise.
15011         (__mpsin): New argument __range_reduce.
15012         (__mpcos): Likewise.
15013         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15014         (slow): Use __mpsin and __mpcos.
15015         (slow1): Likewise.
15016         (slow2): Likewise.
15017         (sloww): Likewise.
15018         (sloww1): Likewise.
15019         (sloww2): Likewise.
15020         (bsloww): Likewise.
15021         (bsloww1): Likewise.
15022         (bsloww2): Likewise.
15023         (cslow2): Likewise.
15024         (csloww): Likewise.
15025         (csloww1): Likewise.
15026         (csloww2): Likewise.
15027         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15028         range_reduce.  Merge in __mpsin1.
15029         (__mpcos): Likewise.
15030         (__mpsin1): Remove.
15031         (__mpcos1): Likewise.
15032
15033 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
15034
15035         * locale/loadlocale.c (_nl_intern_locale_data): Use
15036         LOCFILE_ALIGNED_P.
15037         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15038         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15039         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15040         obstack data is appropriately aligned.
15041         (obstack_int32_grow_fast): Likewise.
15042         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15043         * locale/programs/locfile.c (add_locale_uint32): Likewise.
15044         (add_locale_uint32_array): Likewise.
15045
15046 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15047
15048         * benchtests/Makefile: Remove ARGLIST and RET variables.
15049         ($(objpfx)bench-%.c): Pass only function name to the script.
15050         * benchtests/README: Update documentation.
15051         * benchtests/acos-inputs: Add new directives.
15052         * benchtests/acosh-inputs: Likewise.
15053         * benchtests/asin-inputs: Likewise.
15054         * benchtests/asinh-inputs: Likewise.
15055         * benchtests/atan-inputs: Likewise.
15056         * benchtests/atanh-inputs: Likewise.
15057         * benchtests/cos-inputs: Likewise.
15058         * benchtests/cosh-inputs: Likewise.
15059         * benchtests/exp-inputs: Likewise.
15060         * benchtests/log-inputs: Likewise.
15061         * benchtests/pow-inputs: Likewise.
15062         * benchtests/rint-inputs: Likewise.
15063         * benchtests/sin-inputs: Likewise.
15064         * benchtests/sinh-inputs: Likewise.
15065         * benchtests/tan-inputs: Likewise.
15066         * benchtests/tanh-inputs: Likewise.
15067         * scripts/bench.pl: Add support for new directives.
15068
15069 2013-10-07  Alan Modra  <amodra@gmail.com>
15070
15071         * README: Fix careless merge.
15072
15073 2013-10-05  Alan Modra  <amodra@gmail.com>
15074
15075         * NEWS: Mention powerpc64le support and bugs fixed.
15076         * README: Both big-endian and little-endian powerpc64 supported.
15077
15078 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15079
15080         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15081         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15082         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15083         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15084
15085 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
15086
15087         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15088         match prototype.
15089
15090 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
15091
15092         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15093         Move -mhard-float appending from
15094         ports/sysdeps/powerpc/powerpc32/Makefile.
15095         [$(with-fp) = yes] (ASFLAGS): Likewise.
15096         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15097         * sysdeps/powerpc/nofpu: Move directory from
15098         ports/sysdeps/powerpc/nofpu.
15099         * sysdeps/powerpc/soft-fp: Move directory from
15100         ports/sysdeps/powerpc/soft-fp.
15101         * sysdeps/powerpc/powerpc32/405: Move directory from
15102         ports/sysdeps/powerpc/powerpc32/405.
15103         * sysdeps/powerpc/powerpc32/440: Move directory from
15104         ports/sysdeps/powerpc/powerpc32/440.
15105         * sysdeps/powerpc/powerpc32/464: Move directory from
15106         ports/sysdeps/powerpc/powerpc32/464.
15107         * sysdeps/powerpc/powerpc32/476: Move directory from
15108         ports/sysdeps/powerpc/powerpc32/476.
15109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15110         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15112         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15114         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15116         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15118         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15119         * README: Update for powerpc-*-linux-gnu software floating point
15120         support in libc.
15121
15122         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15123         case to powerpc/powerpc32*.
15124         * sysdeps/unix/sysv/linux/configure: Regenerated.
15125
15126         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15127         (_FPU_MASK_OM): Define as 0x04.
15128         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15129         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15130         0x00c10080.
15131         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15132         0x0000003c.
15133         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15134
15135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15136         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15137         getcontext_e500.
15138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15139         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15140         setcontext_e500.
15141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15142         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15143         and setcontext_e500.
15144
15145 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
15146
15147         * locale/iso-3166.def: Update iso-1366.def and related occurrences
15148
15149 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15150
15151         * manual/threads.texi (Default Thread Attributes): Fix typo.
15152
15153 2013-10-04  Will Newton  <will.newton@linaro.org>
15154
15155         * malloc/Makefile: Add tst-memalign.
15156         * malloc/tst-memalign.c: New file.
15157
15158         * malloc/tst-posix_memalign.c: Add comments.
15159         (do_test): Add comments and call free on all potentially
15160         allocated pointers. Add space after cast.
15161
15162         * malloc/tst-pvalloc.c: Add comments.
15163         (do_test): Add comments and call free on all potentially
15164         allocated pointers. Remove duplicate check for NULL pointer.
15165         Add space after cast.
15166
15167         * malloc/tst-valloc.c: Add comments.
15168         (do_test): Add comments and call free on all potentially
15169         allocated pointers. Remove duplicate check for NULL pointer.
15170         Add space after cast.
15171
15172 2013-10-04  Alan Modra  <amodra@gmail.com>
15173
15174         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15175         Use stdint types in rather than __attribute__((mode())).
15176         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15177
15178 2013-10-04  Alan Modra  <amodra@gmail.com>
15179
15180         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15181         Correct handling of unaligned relocs for little-endian.
15182         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15183
15184 2013-10-04  Alan Modra  <amodra@gmail.com>
15185
15186         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15187         * configure: Regenerate.
15188         * nptl/shlib-versions: Powerpc*le starts at 2.18.
15189         * shlib-versions: Likewise.
15190
15191 2013-10-04  Alan Modra  <amodra@gmail.com>
15192
15193         * string/tester.c (test_memrchr): Increment reported test cycle.
15194
15195 2013-10-04  Alan Modra  <amodra@gmail.com>
15196
15197         * string/test-memcpy.c (do_one_test): When reporting errors, print
15198         string address and don't overrun end of string.
15199
15200 2013-10-04  Alan Modra  <amodra@gmail.com>
15201
15202         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15203         insrdi.  Make better use of reg selection to speed exit slightly.
15204         Schedule entry path a little better.  Remove useless "are we done"
15205         checks on entry to main loop.  Handle wrapping around zero address.
15206         Correct main loop count.  Handle single left-over word from main
15207         loop inline rather than by using loop_small.  Remove extra word
15208         case in loop_small caused by wrong loop count.  Add little-endian
15209         support.
15210         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15211         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
15212         cache hint.
15213         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15214         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15215         support.  Avoid rlwimi.
15216         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15217
15218 2013-10-04  Alan Modra  <amodra@gmail.com>
15219
15220         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15221         insrdi.  Formatting.
15222         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15223         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15224         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15225         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15226         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15227         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15228
15229 2013-10-04  Alan Modra  <amodra@gmail.com>
15230
15231         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15232         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15233         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15234         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15235         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15236         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15237         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15238         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15239         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
15240         use of regs.  Use power7 mtocrf.  Tidy function tails.
15241
15242 2013-10-04  Alan Modra  <amodra@gmail.com>
15243
15244         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15245         Formatting.  Consistently use rXXX register defines or rN defines.
15246         Use early exit labels that avoid restoring unused non-volatile regs.
15247         Make cr field use more consistent with rWORDn compares.  Rename
15248         regs used as shift registers for unaligned loop, using rN defines
15249         for short lifetime/multiple use regs.
15250         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15251         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
15252         addi 1,1,64 to pop stack frame.  Simplify return value code.
15253         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15254
15255 2013-10-04  Alan Modra  <amodra@gmail.com>
15256
15257         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15258         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
15259         rather than rlwimi.
15260         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15261         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15262         little-endian support.  Correct typos.
15263         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
15264         rather than rlwimi.
15265         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
15266         in loop and entry code to keep "and." results.
15267         (strchr): Add little-endian support.  Comment.  Move cntlzd
15268         earlier in tail.
15269         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15270
15271 2013-10-04  Alan Modra  <amodra@gmail.com>
15272
15273         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15274         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15275         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15276         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15277
15278 2013-10-04  Alan Modra  <amodra@gmail.com>
15279
15280         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15281         (rTMP): Define as r11.
15282         (strcmp): Add little-endian support.  Optimise tail.
15283         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15284         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15285         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15286         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15287         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15288         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15289         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15290
15291 2013-10-04  Alan Modra  <amodra@gmail.com>
15292
15293         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15294         little-endian support.  Remove unnecessary "are we done" tests.
15295         Handle "s" wrapping around zero and extremely large "size".
15296         Correct main loop count.  Handle single left-over word from main
15297         loop inline rather than by using small_loop.  Correct comments.
15298         Delete "zero" tail, use "end_max" instead.
15299         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15300
15301 2013-10-04  Alan Modra  <amodra@gmail.com>
15302
15303         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15304         support.  Don't branch over align.
15305         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15306         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15307         support.  Rearrange tmp reg use to suit.  Comment.
15308         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15309
15310 2013-10-04  Alan Modra  <amodra@gmail.com>
15311
15312         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15313
15314 2013-10-04  Alan Modra  <amodra@gmail.com>
15315
15316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15317         conditional form of branch and link when obtaining pc.
15318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15319
15320 2013-10-04  Alan Modra  <amodra@gmail.com>
15321
15322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15323         HIWORD/LOWORD.
15324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15326
15327 2013-10-04  Alan Modra  <amodra@gmail.com>
15328
15329         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15330         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15331         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15332         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15333         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15334         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15335         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15336         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15337         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15338         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15339
15340 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15341             Alistair Popple <alistair@ozlabs.au.ibm.com>
15342             Alan Modra <amodra@gmail.com>
15343
15344         [BZ #15723]
15345         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15346         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15347         _dl_hwcap access for little-endian.
15348         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
15349         destroy vmx regs when saving unaligned.
15350         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15351         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
15352         destroy vmx regs when saving unaligned.
15353
15354 2013-10-04  Alan Modra  <amodra@gmail.com>
15355
15356         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15357         Don't use a union to pack hi/low value.
15358
15359 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15360
15361         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15362         for little-endian.
15363         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15364         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15365         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15366         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15367         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15368
15369 2013-10-04  Alan Modra  <amodra@gmail.com>
15370
15371         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15372         constants to usual value for .cst8 section, and remove redundant
15373         high address load.
15374         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15375         constant for 0x1p52.  Load little-endian words of double from
15376         correct stack offsets.
15377
15378 2013-10-04  Alan Modra  <amodra@gmail.com>
15379
15380         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15381         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15382         words of double from correct stack offsets.
15383         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15384         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15385         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15386         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15387         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15388         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15389         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15390         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15391         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15392         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15393         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15394         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15395         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15396         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15397         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15398         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15399         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15400
15401 2013-10-04  Alan Modra  <amodra@gmail.com>
15402
15403         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15404         64-bit int/double union.
15405         (_FPU_SETCW): Likewise.
15406         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15407         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15408
15409 2013-10-04  Alan Modra  <amodra@gmail.com>
15410
15411         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15412         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15413
15414 2013-10-04  Alan Modra  <amodra@gmail.com>
15415
15416         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15417         use vector int constants.
15418         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15419
15420 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15421
15422         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15423         array with long long.
15424         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15425         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15426         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15427         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15428         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15429         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15430         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15431         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15432         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15433         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15434         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15435         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15436         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15437
15438 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15439
15440         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15441         (__signbit): Likewise.  Correct for little-endian.
15442         (__signbitl): Call __signbit.
15443         (lrint): Correct for little-endian.
15444         (lrintf): Call lrint.
15445
15446 2013-10-04  Alan Modra  <amodra@gmail.com>
15447
15448         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15449         union 32-bit int array member with 64-bit int array.
15450         (t515, tm256): Double rather than long double.
15451         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15452
15453 2013-10-04  Alan Modra  <amodra@gmail.com>
15454
15455         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15456         Delete.
15457         (IEEE854_LONG_DOUBLE_BIAS): Delete.
15458         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15459         version of math_ldbl.h.
15460
15461 2013-10-04  Alan Modra  <amodra@gmail.com>
15462
15463         [BZ #15734], [BZ #15735]
15464         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15465         all uses of ieee875 long double macros and unions.  Simplify test
15466         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
15467         ldbl_extract_mantissa value for ix,iy exponents.  Properly
15468         normalize after ldbl_extract_mantissa, and don't add hidden bit
15469         already handled.  Don't treat low word of ieee854 mantissa like
15470         low word of IBM long double and mask off bit when testing for
15471         zero.
15472         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15473         all uses of ieee875 long double macros and unions.  Simplify tests
15474         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
15475         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
15476         two1022, instead use their values.  Recognise that tests for large
15477         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
15478         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15479         Rewrite all uses of ieee875 long double macros and unions.  Simplify
15480         test for 0.0L and nan.  Correct negation.
15481         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15482         ieee875 long double macros and unions.  Correct output for large
15483         magnitude x.  Correct absolute value calculation.
15484         (__erfcl): Likewise.
15485         * math/libm-test.inc: Add tests for errors discovered in IBM long
15486         double versions of fmodl, remainderl, erfl and erfcl.
15487
15488 2013-10-04  Alan Modra  <amodra@gmail.com>
15489
15490         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15491         all uses of ieee854 long double macros and unions.  Simplify tests
15492         for long doubles that are fully specified by the high double.
15493         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15494         Likewise.
15495         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15496         Remove dead code too.
15497         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15498         (__ieee754_ynl): Likewise.
15499         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15500         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15501         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15502         Remove dead code too.
15503         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15504         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15505         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15506         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15507         Simplify.
15508         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15509         Simplify.
15510         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15511         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15512         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15513         Comment on variable precision.
15514         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15515         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15516         Likewise.
15517         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15518         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15519         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15520         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15521         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15522
15523 2013-10-04  Alan Modra  <amodra@gmail.com>
15524
15525         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15526         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15527         all uses of ieee854 long double macros and unions.
15528         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15529         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15530         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15531         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15532         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15533         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15534         Likewise.
15535         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15536         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15537         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15538         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15539         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15540         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15541         Simplify sign and nan test too.
15542         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15543         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15544         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15545         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15546         Likewise.
15547         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15548         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15549         Likewise.
15550         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15551         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15552         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15553         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15554         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15555         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15556
15557 2013-10-04  Alan Modra  <amodra@gmail.com>
15558
15559         * stdio-common/printf_size.c (__printf_size): Don't use
15560         union ieee854_long_double in fpnum union.
15561         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
15562         signbit macro to retrieve sign from long double.
15563         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15564         retrieve sign from long double.
15565         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15566         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15567         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15568         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15569         * math/test-misc.c (main): Don't use union ieee854_long_double.
15570
15571 2013-10-04  Alan Modra  <amodra@gmail.com>
15572
15573         [BZ #15680]
15574         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15575         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15576         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15577         calculation.  Remove unnecessary test for denormal exponent.
15578         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15579         Correct handling of denormals.  Avoid undefined shift behaviour.
15580         Correct normalisation of low mantissa when low double is denormal.
15581         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15582         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
15583         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15584         Correct normalisation of low mantissa.  Test for overflow of high
15585         mantissa and normalise.
15586         (ldbl_nearbyint): Use more readable constant for two52.
15587         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15588         (__mpn_construct_long_double): Fix test for overflow of high
15589         mantissa and correct normalisation.  Avoid undefined shift.
15590
15591 2013-10-04  Alan Modra  <amodra@gmail.com>
15592
15593         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15594         (union ibm_extended_long_double): Define as an array of ieee754_double.
15595         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15596         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15597         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15598         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15599         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15600         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15601         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15602         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15603         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15604         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15605         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15606
15607 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
15608
15609         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15610         page size instead of calling getpagesize.
15611
15612         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15613         (LOCFILE_ALIGN_MASK): Likewise.
15614         (LOCFILE_ALIGN_UP): Likewise.
15615         (LOCFILE_ALIGNED_P): Likewise.
15616         * locale/programs/ld-collate.c (collate_output): Use the new
15617         macros instead of __alignof__ (int32_t).
15618         * locale/weight.h (findidx): Likewise.
15619
15620 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
15621
15622         [BZ #431]
15623         * manual/string.texi: Fix strncat and wcsncat.
15624
15625 2013-10-03  Brooks Moses  <bmoses@google.com>
15626
15627         [BZ #15915]
15628         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15629         * Makerules: ...here, and adjust associated comments.
15630
15631 2013-10-02  Will Newton  <will.newton@linaro.org>
15632
15633         * malloc/Makefile: Add tst-pvalloc.
15634         * malloc/tst-pvalloc.c: New file.
15635
15636 2013-10-02  Will Newton  <will.newton@linaro.org>
15637
15638         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15639         improve test coverage.
15640
15641 2013-10-02  Will Newton  <will.newton@linaro.org>
15642
15643         * malloc/Makefile: Add tst-posix_memalign.
15644         * malloc/tst-posix_memalign.c: New file.
15645
15646 2013-10-01  Eric Blake  <eblake@redhat.com>
15647
15648         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15649         Use __THROWNL rather than __THROW on static functions.
15650
15651 2013-09-30  Petr Machata  <pmachata@redhat.com>
15652
15653         * elf/elf.h (R_AARCH64_ABS16): New macro.
15654         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15655         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15656         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15657         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15658         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15659         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15660         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15661         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15662         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15663         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15664         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15665         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15666         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15667         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15668         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15669         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15670         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15671         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15672         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15673         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15674         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15675         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15676         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15677         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15678         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15679         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15680         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15681         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15682         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15683         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15684         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15685         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15686         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15687         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15688         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15689         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15690         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15691         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15692         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15693         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15694         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15695         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15696         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15697         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15698         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15699         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15700         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15701         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15702         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15703         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15704         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15705         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15706         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15707         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15708         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15709         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15710         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15711         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15712         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15713         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15714         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15715         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15716         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15717         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15718         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15719         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15720         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15721         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15722         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15723         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15724         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15725         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15726         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15727         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15728         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15729         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15730         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15731         (R_AARCH64_TLSDESC_LDR): Likewise.
15732         (R_AARCH64_TLSDESC_ADD): Likewise.
15733         (R_AARCH64_TLSDESC_CALL): Likewise.
15734
15735 2013-09-30  Andreas Schwab  <schwab@suse.de>
15736
15737         [BZ #15048]
15738         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15739         the nss database lookup.
15740         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15741         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15742
15743 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
15744
15745         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15746
15747 2013-09-28  P. J. McDermott  <pj@pehjota.net>
15748
15749         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15750         ${Bash-specific parameter/pattern/string} parameter expansion.
15751         * sysdeps/unix/make-syscalls.sh: Likewise.
15752
15753 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15754
15755         * sysdeps/sh/stackguard-macros.h: New file.
15756
15757 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
15758
15759         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15760         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15761         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15762         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15763         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15764         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15765
15766 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15767
15768         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15769         Fix thread ID register.
15770
15771 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
15772
15773         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15774         [POSIX || UNIX98]: Require rather than permitting all symbols from
15775         <time.h>.
15776         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15777         element of struct sched_param.
15778         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15779         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15780         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15781         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15782         constant.
15783
15784 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
15785
15786         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15787         argument calculation.
15788
15789 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15790
15791         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15792         Expect macro.
15793         [POSIX] (pthread_attr_t): Do not require type.
15794         [POSIX] (pthread_cond_t): Likewise.
15795         [POSIX] (pthread_condattr_t): Likewise.
15796         [POSIX] (pthread_key_t): Likewise.
15797         [POSIX] (pthread_mutex_t): Likewise.
15798         [POSIX] (pthread_mutexattr_t): Likewise.
15799         [POSIX] (pthread_once_t): Likewise.
15800         [POSIX] (pthread_t): Likewise.
15801         [POSIX-based standards] (pthread_atfork): Expect function.
15802
15803 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15804             Richard Sandiford  <richard@codesourcery.com>
15805
15806         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15807         (swap_endianness_p): New extern variable.
15808         (set_big_endian): New inline function.
15809         (maybe_swap_uint32): Likewise.
15810         (maybe_swap_uint32_array): Likewise.
15811         (maybe_swap_uint32_obstack): Likewise.
15812         * locale/programs/locfile.c: Include <stdbool.h>.
15813         (swap_endianness_p): New variable.
15814         (add_locale_uint32): Call maybe_swap_uint32.
15815         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15816         (write_locale_data): Call maybe_swap_uint32_array.
15817         * locale/programs/ld-collate.c (obstack_int32_grow): Call
15818         maybe_swap_uint32.
15819         (obstack_int32_grow_fast): Likewise.
15820         (output_weightwc): Call maybe_swap_uint32_obstack.
15821         (collate_output): Likewise.
15822         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15823         (OPT_LITTLE_ENDIAN): Likewise.
15824         (options): Add --little-endian and --big-endian options.
15825         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15826         * locale/programs/locarchive.c: Include "locfile.h".
15827         (GET): New macro.
15828         (SET): Likewise.
15829         (INC): Likewise.
15830         (create_archive): Use the new macros to access fields of
15831         structures directly mapped from or written to locale archives.
15832         (oldlocrecentcmp): Likewise.
15833         (enlarge_archive): Likewise.
15834         (insert_name): Likewise.
15835         (add_alias): Likewise.
15836         (add_locale): Likewise.
15837         (delete_locales_from_archive): Likewise.
15838         (show_archive_content): Likewise.
15839         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
15840         locale data.
15841
15842 2013-09-24  Roland McGrath  <roland@hack.frob.com>
15843
15844         * manual/freemanuals.texi: Updated from (newly) canonical copy at
15845         http://www.gnu.org/doc/freemanuals.texi.
15846         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15847
15848 2013-09-24  Will Newton  <will.newton@linaro.org>
15849
15850         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15851         macro.
15852
15853 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
15854
15855         * locale/hashval.h (compute_hashval): Interpret bytes of key as
15856         unsigned char.
15857
15858 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
15859
15860         * manual/threads.texi (POSIX Threads): Fix a typo.
15861
15862 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15863
15864         [BZ #14547]
15865         * string/tst-strcoll-overflow.c: New test case.
15866         * string/Makefile (xtests): Add tst-strcoll-overflow.
15867         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15868         cache if string sizes may cause integer overflow.
15869
15870         [BZ #14547]
15871         * string/strcoll_l.c (coll_seq): New members rule, idx,
15872         save_idx and back_us.
15873         (get_next_seq_nocache): New function.
15874         (do_compare_nocache): New function.
15875         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15876         when malloc fails.
15877
15878 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
15879
15880         [BZ #15754]
15881         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15882         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15883         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15884
15885         [BZ #15754]
15886         * elf/Makefile (tests): Add tst-ptrguard1.
15887         (tests-static): Add tst-ptrguard1-static.
15888         (tst-ptrguard1-ARGS): Define.
15889         (tst-ptrguard1-static-ARGS): Define.
15890         * elf/tst-ptrguard1.c: New file.
15891         * elf/tst-ptrguard1-static.c: New file.
15892         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15893         * sysdeps/i386/stackguard-macros.h: Likewise.
15894         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15895         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15896         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15897         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15898         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15899         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15900
15901 2013-09-23  Hector Marco  <hecmargi@upv.es>
15902             Ismael Ripoll  <iripoll@disca.upv.es>
15903             Carlos O'Donell  <carlos@redhat.com>
15904
15905         [BZ #15754]
15906         * sysdeps/generic/stackguard-macros.h: Define
15907         __pointer_chk_guard_local and POINTER_CHK_GUARD.
15908         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15909         Define __pointer_chk_guard_local.
15910         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15911         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15912
15913 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
15914
15915         [BZ #15859]
15916         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15917
15918 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
15919
15920         * include/string.h (__ffs): Declare as hidden.
15921         * string/ffs.c (__ffs): Define as hidden.
15922         * sysdeps/i386/ffs.c (__ffs): Likewise.
15923         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15924         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15925         * sysdeps/s390/ffs.c (__ffs): Likewise.
15926         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15927
15928 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
15929
15930         * NEWS: Mention malloc probes.
15931
15932         * malloc/arena.c (new_heap): New memory_heap_new probe.
15933         (grow_heap): New memory_heap_more probe.
15934         (shrink_heap): New memory_heap_less probe.
15935         (heap_trim): New memory_heap_free probe.
15936         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15937         (systrim): New memory_sbrk_less probe.
15938         * manual/probes.texi: Document them.
15939
15940         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15941         * manual/probes.texi: Document it.
15942
15943         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15944         (__libc_realloc): Add memory_realloc_retry probe.
15945         (__libc_memalign): Add memory_memalign_retry probe.
15946         (__libc_valloc): Add memory_valloc_retry probe.
15947         (__libc_pvalloc): Add memory_pvalloc_retry probe.
15948         (__libc_calloc): Add memory_calloc_retry probe.
15949         * manual/probes.texi: Document them.
15950
15951         * malloc/arena.c (get_free_list): Add probe
15952         memory_arena_reuse_free_list.
15953         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15954         and memory_arena_reuse.
15955         (arena_get2) [!PER_THREAD]: Likewise.
15956         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15957         memory_arena_reuse_realloc.
15958         * manual/probes.texi: Document them.
15959
15960         * malloc/malloc.c (__libc_free): Add
15961         memory_mallopt_free_dyn_thresholds probe.
15962         (__libc_mallopt): Add multiple memory_mallopt probes.
15963         * manual/probes.texi: Document them.
15964
15965         * malloc/malloc.c: Include stap-probe.h.
15966         (__libc_mallopt): Add memory_mallopt probe.
15967         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15968         * manual/probes.texi: New.
15969         * manual/Makefile (chapters): Add probes.
15970         * manual/threads.texi: Set next node.
15971
15972 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
15973
15974         [BZ #15963, #13985]
15975         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15976         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15977         Add `Chinese' to `nan' entry name.
15978
15979 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15980
15981         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15982         (POLYNOMIAL): Likewise.
15983         (TAYLOR_SINCOS): Likewise.
15984         (TAYLOR_SLOW): Likewise.
15985         (__sin): Use TAYLOR_SINCOS.
15986         (__cos): Likewise.
15987         (slow): Use TAYLOR_SLOW.
15988         (sloww): Likewise.
15989         (bsloww): Likewise.
15990         (csloww): Likewise.
15991
15992 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15993
15994         * stdlib/strtod_l.c: Fix buffer overrun.
15995
15996 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15997
15998         * benchtests/Makefile (bench): Add sincos.
15999         * benchtests/bench-sincos.c: New file.
16000
16001         * math/libm-test.inc (cos_test_data): New test inputs.
16002         (sin_test_data): Likewise.
16003
16004         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16005         macro.
16006         (__sin): Use it.
16007         (__cos): Likewise.
16008         (slow1): Likewise.
16009         (slow2): Likewise.
16010         (sloww1): Likewise.
16011         (sloww2): Likewise.
16012         (bsloww1): Likewise.
16013         (bsloww2): Likewise.
16014         (cslow2): Likewise.
16015         (csloww1): Likewise.
16016         (csloww2): Likewise.
16017
16018         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16019         function.
16020         (__sin): Use it.
16021         (__cos): Likewise.
16022
16023         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16024         gotos.
16025         (__cos): Likewise.
16026
16027 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
16028
16029         * config.h.in (HAVE_MIPS_NAN2008): New macro.
16030         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16031         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16032         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16033         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16034         * elf/cache.c (print_entry): Handle the new cache flags.
16035
16036 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16037             Aldy Hernandez  <aldyh@redhat.com>
16038
16039         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16040         Change condition to [_SOFT_FLOAT].
16041         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16042         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16043         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16044         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16045         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16046         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16047         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16048         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16049         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16050         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16051         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16052         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16053         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16054         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16055         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16056         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16057         declaration.
16058
16059 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16060
16061         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16062         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16063         (__longjmp): Use LOAD_GP to load saved GPRs.
16064         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16065         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16066         (__sigsetjmp): Use SAVE_GP to save GPRs.
16067
16068         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16069         Do not append -msoft-float.
16070         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16071
16072 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16073
16074         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16075
16076 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
16077
16078         [BZ #15966]
16079         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16080         (_FPU_GETCW): Use initial "__" on variable and field names but not
16081         on macro parameter name.
16082         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
16083         parentheses around reference to macro parameter.
16084
16085 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
16086
16087         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16088         prototype.
16089         (ctype_startup): Use uint32_t in cast and sizeof for
16090         ctype->charnames.
16091
16092 2013-09-11  Jia Liu  <proljc@gmail.com>
16093
16094         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16095         __daddr_t_defined.
16096         [__FreeBSD__]: Likewise.
16097
16098 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
16099
16100         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16101         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16102         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16103         (strchr): Remove __strchr_sse42 ifunc selection.
16104         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16105         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16106
16107 2013-09-11  Will Newton  <will.newton@linaro.org>
16108
16109         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16110         parameter to RES. Remove hardcoded 1000 value.
16111         * benchtests/bench-skeleton.c (main): Pass RES parameter
16112         to TIMING_INIT and multiply result by 1000.
16113
16114 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16115
16116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16117
16118 2013-09-11  Andreas Schwab  <schwab@suse.de>
16119
16120         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16121         if not defined.
16122         (O_TMPFILE) [__USE_GNU]: Define.
16123         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16124         Define.
16125
16126 2013-09-11  Will Newton  <will.newton@linaro.org>
16127
16128         [BZ #15857]
16129         * malloc/malloc.c (__libc_memalign): Check the value of bytes
16130         does not overflow.
16131
16132 2013-09-11  Will Newton  <will.newton@linaro.org>
16133
16134         [BZ #15856]
16135         * malloc/malloc.c (__libc_valloc): Check the value of bytes
16136         does not overflow.
16137
16138 2013-09-11  Will Newton  <will.newton@linaro.org>
16139
16140         [BZ #15855]
16141         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16142         does not overflow.
16143
16144 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
16145
16146         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16147         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16148         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16149         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16150         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16151
16152 2013-09-10  Allan McRae  <allan@archlinux.org>
16153
16154         [BZ #15748]
16155         * manual/arith.texi (Parsing of Floats): Clarify
16156         cross-reference.
16157
16158         [BZ #15849]
16159         * manual/install.texi (Running make install): Mention
16160         --enable-pt-chown.
16161         * INSTALL: Regenerated.
16162
16163 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
16164
16165         * csu/init-first.c (_init): Remove the !SHARED condition around
16166         FPU control word initialization.
16167         * elf/dl-support.c (_dl_fpu_control): New variable.
16168         (_dl_aux_init) <AT_FPUCW>: Initialize it.
16169         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16170         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16171         * math/test-fpucw-static.c: New file.
16172         * math/test-fpucw-ieee.c: New file.
16173         * math/test-fpucw-ieee-static.c: New file.
16174         * math/Makefile (tests): Add `test-fpucw-ieee' and
16175         `$(tests-static)'.
16176         (tests-static): New variable.
16177         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16178         dependency to...
16179         [($(build-shared),yes)]
16180         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16181         ... this.
16182         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16183         New dependency.
16184
16185 2013-09-09  Allan McRae  <allan@archlinux.org>
16186
16187         [BZ #15939]
16188         * manual/string.texi (Collation Functions): Fix typo in
16189         strcoll example.
16190         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16191
16192         [BZ #15893]
16193         * stdlib/isomac.c (get_null_defines): Fix memory leak.
16194
16195         [BZ #15892]
16196         * libio/memstream.c (open_memstream): Fix memory leak.
16197         * libio/wmemstream.c (open_wmemstream): Likewise.
16198
16199         [BZ #15895]
16200         * nscd/netgroupcache.c: Fix nesting of ifdefs.
16201
16202 2013-09-09  Will Newton  <will.newton@linaro.org>
16203
16204         * malloc/Makefile: Add tst-realloc to tests.
16205         * malloc/tst-realloc.c: New file.
16206
16207 2013-09-09  Allan McRae  <allan@archlinux.org>
16208
16209         [BZ #15844]
16210         * COPYING: Update from GNU website to fix FSF address.
16211         * COPYING.LIB: Likewise.
16212
16213 2013-09-06  David S. Miller  <davem@davemloft.net>
16214
16215         * po/zh_TW.po: Update Chinese (traditional) translation from
16216         translation project.
16217
16218 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
16219             Joseph Myers  <joseph@codesourcery.com>
16220
16221         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16222         "localeinfo.h".
16223         (obstack_chunk_alloc): New macro.
16224         (obstack_chunk_free): Likewise.
16225         (record_offset): New function.
16226         (init_locale_data): Likewise.
16227         (align_locale_data): Likewise.
16228         (add_locale_empty): Likewise.
16229         (add_locale_raw_data): Likewise.
16230         (add_locale_raw_obstack): Likewise.
16231         (add_locale_string): Likewise.
16232         (add_locale_wstring): Likewise.
16233         (add_locale_uint32): Likewise.
16234         (add_locale_uint32_array): Likewise.
16235         (add_locale_char): Likewise.
16236         (start_locale_structure): Likewise.
16237         (end_locale_structure): Likewise.
16238         (start_locale_prelude): Likewise.
16239         (end_locale_prelude): Likewise.
16240         (write_locale_data): Take locale_file structure rather than an
16241         iovec.
16242         * locale/programs/locfile.h: Include "obstack.h".
16243         (struct locale_file): Change to store locale file contents instead
16244         of header.
16245         (init_locale_data): New prototype.
16246         (align_locale_data): Likewise.
16247         (add_locale_empty): Likewise.
16248         (add_locale_raw_data): Likewise.
16249         (add_locale_raw_obstack): Likewise.
16250         (add_locale_string): Likewise.
16251         (add_locale_wstring): Likewise.
16252         (add_locale_uint32): Likewise.
16253         (add_locale_uint32_array): Likewise.
16254         (add_locale_char): Likewise.
16255         (start_locale_structure): Likewise.
16256         (end_locale_structure): Likewise.
16257         (start_locale_prelude): Likewise.
16258         (end_locale_prelude): Likewise.
16259         (write_locale_data): Update prototype.
16260         * locale/programs/3level.h (struct TABLE): Remove result field.
16261         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16262         Use new locale_file interface.
16263         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16264         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16265         * locale/programs/ld-address.c (address_output): Use new
16266         locale_file interface.
16267         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16268         NO_ADD_LOCALE.
16269         (collate_finish): Don't call collseq_table_finalize.
16270         (collate_output): Use new locale_file interface.
16271         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16272         in file.
16273         (NO_FINALIZE): Change to NO_ADD_LOCALE.
16274         (TABLE): Move defines earlier in file.
16275         (ELEMENT): Likewise.
16276         (DEFAULT): Likewise.
16277         (wctrans_table_add): Move macro and inline function earlier in
16278         file.
16279         (struct wctype_table): Move type earlier in file.
16280         (add_locale_wctype_table): New static prototype.
16281         (struct locale_ctype_t): Use logical types instead of struct iovec
16282         pointers for members.
16283         (ctype_output): Use new locale_file interface.
16284         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
16285         new locale_file interface.
16286         (allocate_arrays): Update for use of new locale_file interface.
16287         * locale/programs/ld-identification.c (identification_output): Use
16288         new locale_file interface.
16289         * locale/programs/ld-measurement.c (measurement_output): Likewise.
16290         * locale/programs/ld-messages.c (messages_output): Likewise.
16291         * locale/programs/ld-monetary.c (monetary_output): Likewise.
16292         * locale/programs/ld-name.c (name_output): Likewise.
16293         * locale/programs/ld-numeric.c (numeric_output): Likewise.
16294         * locale/programs/ld-paper.c (paper_output): Likewise.
16295         * locale/programs/ld-telephone.c (telephone_output): Likewise.
16296         * locale/programs/ld-time.c (time_output): Likewise.
16297
16298 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16299
16300         * benchtests/Makefile: Add memrchr benchmark.
16301         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16302         benchmark as memrchr.
16303         * benchtests/bench-memrchr-ifunc.c: New file.
16304         * benchtests/bench-memrchr.c: New file.
16305
16306 2013-09-06   Will Newton  <will.newton@linaro.org>
16307
16308         * benchtests/Makefile (string-bench): Add memcpy.
16309
16310 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
16311             Cong Wang  <amwang@redhat.com>
16312
16313         [BZ #15850]
16314         * sysdeps/unix/sysv/linux/bits/in.h
16315         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16316         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16317         before __USE_KERNEL_IPV6_DEFS uses.
16318         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16319         IPPROTO_BEETPH.
16320         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16321         sockaddr_in6, or ipv6_mreq.
16322
16323 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16324
16325         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16326         memory access for final bytes in some large inputs.
16327         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16328
16329 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16330
16331         * string/test-memrchr.c: New file.
16332         * string/test-memrchr-ifunc.c: New file.
16333         * string/Makefile: Add new memrchr testcase.
16334
16335 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
16336
16337         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16338         fanotify_init returns EPERM.
16339
16340 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16341
16342         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16343         errors.
16344         (top level): Treat second token from macro or constant entries for
16345         allowed headers as allowed.
16346         * include/complex.h: Condition internal declarations on
16347         [!_ISOMAC].
16348         * include/fenv.h: Condition include of <stdbool.h> and internal
16349         declarations on [!_ISOMAC].
16350
16351 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
16352
16353         [BZ #15923]
16354         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16355
16356 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16357
16358         * configure.in (--enable-versioning): Remove configure option.
16359         (libc_cv_asm_symver_directive): Remove configure test.
16360         (libc_cv_ld_version_script_option): Likewise.
16361         (VERSIONING): Remove variable and AC_SUBST.
16362         (DO_VERSIONING): Remove AC_DEFINE.
16363         * configure: Regenerated.
16364         * config.h.in (DO_VERSIONING): Remove macro.
16365         * Makerules [$(versioning) = yes]: Change conditionals to
16366         [$(build-shared) = yes].
16367         * config.make.in (versioning): Remove variable.
16368         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16369         [$(build-shared) = yes].
16370         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16371         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16372         * elf/Makefile [$(versioning) = yes]: Change conditionals to
16373         [$(build-shared) = yes].
16374         * extra-lib.mk [$(versioning) = yes]: Likewise.
16375         * hurd/Makefile [$(versioning) = yes]: Likewise.
16376         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16377         [SHARED].
16378         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16379         [SHARED].
16380         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16381         [SHARED && !NO_HIDDEN].
16382         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16383         [SHARED].
16384         [SHARED && DO_VERSIONING]: Likewise..
16385         * libio/Makefile [$(versioning) = yes]: Change conditionals to
16386         [$(build-shared) = yes].
16387         * manual/install.texi (--disable-versioning): Remove
16388         documentation.
16389         * INSTALL: Regenerated.
16390         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16391         to [SHARED].
16392         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16393         [$(build-shared) = yes].
16394         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16395         * sysdeps/i386/i686/multiarch/strstr-c.c
16396         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16397         [SHARED && !NO_HIDDEN].
16398         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16399         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16400         * sysdeps/powerpc/powerpc32/dl-machine.c
16401         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16402         * sysdeps/powerpc/powerpc32/sysdep.h
16403         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16404         to [SHARED && PIC && !NO_HIDDEN].
16405         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16406         conditional to [SHARED].
16407
16408 2013-09-04   Will Newton  <will.newton@linaro.org>
16409
16410         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16411         * benchtests/bench-string.h: Include bench-timing.h instead
16412         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16413         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16414         call to HP_TIMING_DIFF_INIT.
16415         * benchtests/bench-memccpy.c: Use bench-timing.h macros
16416         instead of hp-timing.h macros.
16417         * benchtests/bench-memchr.c: Likewise.
16418         * benchtests/bench-memcmp.c: Likewise.
16419         * benchtests/bench-memcpy.c: Likewise.
16420         * benchtests/bench-memmem.c: Likewise.
16421         * benchtests/bench-memmove.c: Likewise.
16422         * benchtests/bench-memset.c: Likewise.
16423         * benchtests/bench-rawmemchr.c: Likewise.
16424         * benchtests/bench-strcasecmp.c: Likewise.
16425         * benchtests/bench-strcasestr.c: Likewise.
16426         * benchtests/bench-strcat.c: Likewise.
16427         * benchtests/bench-strchr.c: Likewise.
16428         * benchtests/bench-strcmp.c: Likewise.
16429         * benchtests/bench-strcpy.c: Likewise.
16430         * benchtests/bench-strcpy_chk.c: Likewise.
16431         * benchtests/bench-strlen.c: Likewise.
16432         * benchtests/bench-strncasecmp.c: Likewise.
16433         * benchtests/bench-strncat.c: Likewise.
16434         * benchtests/bench-strncmp.c: Likewise.
16435         * benchtests/bench-strncpy.c: Likewise.
16436         * benchtests/bench-strnlen.c: Likewise.
16437         * benchtests/bench-strpbrk.c: Likewise.
16438         * benchtests/bench-strrchr.c: Likewise.
16439         * benchtests/bench-strspn.c: Likewise.
16440         * benchtests/bench-strstr.c: Likewise.
16441
16442 2013-09-04  Will Newton  <will.newton@linaro.org>
16443
16444         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16445
16446 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
16447
16448         [BZ #15427]
16449         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16450         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16451         * math/libm-test.inc (lgamma_test_data): Add more tests.
16452         * sysdeps/i386/fpu/libm-test-ulps: Update.
16453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16454
16455 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
16456
16457         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16458         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16459         Add ifunc.
16460         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16461         Add strcmp-sse2-unaligned
16462         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16463
16464 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16465
16466         * Versions.def (libc): Add GLIBC_2.19.
16467
16468 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16469
16470         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16471         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16472
16473 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
16474
16475         [BZ #14155]
16476         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16477         intermediate calculations in recurrence.
16478         (__ieee754_ynf): Likewise.
16479         * math/libm-test.inc (jn_test_data): Do not allow spurious
16480         underflow exception.  Add more tests.
16481         (yn_test_data): Add more tests.
16482         * sysdeps/i386/fpu/libm-test-ulps: Update.
16483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16484
16485 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
16486
16487         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16488
16489 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16490
16491         * csu/init-first.c: Fix then/than typos.
16492         * locale/programs/ld-collate.c: Likewise.
16493         * locale/programs/linereader.h: Likewise.
16494         * manual/charset.texi: Likewise.
16495         * manual/filesys.texi: Likewise.
16496         * manual/stdio.texi: Likewise.
16497         * manual/string.texi: Likewise.
16498         * stdlib/fmtmsg.c: Likewise.
16499         * sysdeps/i386/stpncpy.S: Likewise.
16500         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16501         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16502         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16503         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16504
16505 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16506
16507         * elf/dl-open.c: Fix typos.
16508         * iconvdata/gbbig5.c: Likewise.
16509         * iconvdata/iso-2022-jp.c: Likewise.
16510         * iconv/gconv_int.h: Likewise.
16511         * iconv/loop.c: Likewise.
16512         * nis/rpcsvc/nis.h: Likewise.
16513         * resolv/ns_name.c: Likewise.
16514         * stdio-common/vfscanf.c: Likewise.
16515         * streams/stropts.h: Likewise.
16516         * sunrpc/rpc_thread.c: Likewise.
16517         * sysdeps/i386/strpbrk.S: Likewise.
16518         * sysdeps/ieee754/k_standard.c: Likewise.
16519         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16520         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16521         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16522         * sysdeps/mach/hurd/profil.c: Likewise.
16523         * sysdeps/s390/dl-procinfo.h: Likewise.
16524         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16525         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16526         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16527         * sysdeps/x86_64/dl-trampoline.S: Likewise.
16528         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16529
16530 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
16531
16532         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16533         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16534
16535 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
16536
16537         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16538         aix specific files.
16539         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16540         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16541         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16542         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16543         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16544         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16545         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16546         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16547
16548 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16549             Roland McGrath  <roland@hack.frob.com>
16550
16551         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16552         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16553
16554 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16555
16556         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16557         __executable_start symbol instead of _start.
16558
16559 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16560
16561         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16562         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16563         Move macros to...
16564         * sysdeps/gnu/ldsodefs.h: ... this new file.
16565
16566         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16567         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16568         instead of ELFOSABI_LINUX.
16569
16570         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16571         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16572         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16573         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16574         Likewise.
16575         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16576         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16577         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16578         Likewise.
16579         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16580         (ibm_extended_long_double): Add ieee_nan member.
16581         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16582         (do_test): New function.
16583
16584         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16585         TEST_TRUNC.
16586         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16587         functions, renamed from truncdfsf_test, trunctfsf_test,
16588         trunctfdf_test.
16589         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16590         functions.
16591         (do_test): Run all these.
16592
16593 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
16594
16595         * argp/argp-help.c: Fix typos.
16596         * argp/argp-parse.c: Likewise.
16597         * debug/backtracesyms.c: Likewise.
16598         * elf/elf.h: Likewise.
16599         * malloc/malloc.c: Likewise.
16600         * nis/nis_print.c: Likewise.
16601         * resolv/res_comp.c: Likewise.
16602         * stdlib/stdlib.h: Likewise.
16603         * sunrpc/clnt_tcp.c: Likewise.
16604         * sunrpc/clnt_udp.c: Likewise.
16605         * sunrpc/clnt_unix.c: Likewise.
16606         * sysdeps/unix/bsd/ptsname.c: Likewise.
16607         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16608         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16610         Likewise.
16611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16612         Likewise.
16613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16614         Likewise.
16615         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16616
16617 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16618
16619         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16620         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16621
16622 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
16623
16624         [BZ #15897]
16625         * dlfcn/Makefile (tests): Add bug-dl-leaf.
16626         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16627         ($(objpfx)bug-dl-leaf): New rule.
16628         ($(objpfx)bug-dl-leaf.so): Likewise.
16629         ($(objpfx)bug-dl-leaf.out): Likewise.
16630         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16631         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16632         * dlfcn/bug-dl-leaf.c: New test.
16633         * dlfcn/bug-dl-leaf-lib.c: Likewise.
16634         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16635         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16636         (dlclose): Likewise.
16637         (dlmopen): Likewise.
16638
16639 2013-08-27  Roland McGrath  <roland@hack.frob.com>
16640
16641         * include/netdb.h [!_ISOMAC]:
16642         Don't include <tls.h>.
16643         (h_errno, __libc_h_errno): Move declaration and macros out of
16644         [_LIBC_REENTRANT].
16645
16646         * include/resolv.h [_RESOLV_H_]:
16647         Don't include <tls.h>.
16648         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16649         * resolv/res_libc.c: Don't include <tls.h>.
16650         (_res): Use __attribute__ ((nocommon)) in place of
16651         __attribute__ ((section (".bss"))).
16652
16653         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16654         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16655
16656         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16657
16658         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16659         only under [SIOCGIFCONF && SIOCGIFNETMASK].
16660
16661         * resolv/res_mkquery.c: Include <sys/time.h>.
16662
16663         * inet/ifreq.c: Moved to ...
16664         * sysdeps/unix/ifreq.c: ... here.
16665         * inet/ifreq.c: New file, true stub version.
16666
16667         * socket/sa_len.c: New file.
16668         * socket/Makefile (aux): Add it.
16669         * sysdeps/unix/sysv/linux/Makefile
16670         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16671         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16672         and #include <socket/sa_len.c>.
16673         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16674         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16675
16676         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16677         * bits/socket.h: ... here.
16678
16679         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16680         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16681         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16682
16683 2013-08-27  Andreas Schwab  <schwab@suse.de>
16684
16685         [BZ #15736]
16686         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16687         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16688         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16689         * string/test-strcasecmp.c (test_main): Run tests in several
16690         locales.
16691         * string/test-strncasecmp.c (test_main): Likewise.
16692
16693         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16694         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16695         to __strcasecmp_nonascii and __strncasecmp_nonascii.
16696         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16697         (__strncasecmp_ssse3) [PIC]: Likewise.
16698
16699 2013-08-26  Roland McGrath  <roland@hack.frob.com>
16700
16701         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16702
16703         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16704         instead of explicitly declaring xdecrypt.
16705         * nis/nss_nis/nis-publickey.c: Likewise.
16706
16707 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16708
16709         [BZ #15890]
16710         * nscd/aicache.c: Include res_hconf.h.
16711         (addhstaiX): Initialize res_hconf.
16712
16713 2013-08-26  Andreas Schwab  <schwab@suse.de>
16714
16715         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16716         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16717
16718 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16719
16720         * nscd/aicache.c (addhstaiX): Fix indentation.
16721
16722 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
16723
16724         * configure.ac: Quote $build_pt_chown test.
16725         * configure: Regenerated.
16726
16727 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
16728
16729         [BZ #15532]
16730         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16731         * math/s_cexpf.c (__cexpf): Likewise.
16732         * math/s_cexpl.c (__cexpl): Likewise.
16733         * math/libm-test.inc (cexp_test_data): Correct expected return
16734         value for NaN + i0.  Add another test.
16735
16736 2013-08-22  David S. Miller  <davem@davemloft.net>
16737
16738         * po/ca.po: Update Catalan translation from translation project.
16739         * po/uk.po: Add Ukrainian translations from translation project.
16740
16741 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
16742
16743         [BZ #15797]
16744         * math/s_fdim.c (__fdim): Check for infinite arguments if result
16745         is infinite, not alongside NaN test.
16746         * math/s_fdimf.c (__fdimf): Likewise.
16747         * math/s_fdiml.c (__fdiml): Likewise.
16748         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
16749         errno is unchanged.
16750
16751 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
16752
16753         * argp/argp-help.c: Fix typos.
16754         * crypt/speeds.c: Likewise.
16755         * csu/check_fds.c: Likewise.
16756         * elf/dl-load.c: Likewise.
16757         * elf/dl-open.c: Likewise.
16758         * elf/reldep3.c: Likewise.
16759         * elf/reldep.c: Likewise.
16760         * elf/sprof.c: Likewise.
16761         * iconv/iconv_charmap.c: Likewise.
16762         * iconv/skeleton.c: Likewise.
16763         * iconv/strtab.c: Likewise.
16764         * io/lockf64.c: Likewise.
16765         * libio/libioP.h: Likewise.
16766         * resolv/gai_notify.c: Likewise.
16767         * resolv/ns_name.c: Likewise.
16768         * resolv/ns_samedomain.c: Likewise.
16769         * resolv/res_send.c: Likewise.
16770         * stdlib/random.c: Likewise.
16771         * sunrpc/rpc/xdr.h: Likewise.
16772         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16773         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16774         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16775         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16776         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16777         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16778         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16779         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16780         * sysdeps/mach/hurd/check_fds.c: Likewise.
16781         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16782         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16783         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16784         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16785         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16786         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16787         * sysdeps/pthread/aio_notify.c: Likewise.
16788         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16789         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16790         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16791         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16792         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16793
16794 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16795
16796         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16797         version if bit_Slow_SSE4_2 is set.
16798         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16799         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16800
16801 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16802
16803         [BZ #15867]
16804         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16805         trampoline stack frame information.
16806         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16807         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16808         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16809         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16810         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16811         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16812         (_libc_vdso_platform_setup): Initialize the signal trampolines.
16813         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16814         sa_flags value.
16815         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16816         interrupting a syscall and set with option SA_SIGINFO.
16817
16818 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16819
16820         [BZ #15531]
16821         * math/s_cproj.c (__cproj): Only return an infinity if one part of
16822         argument is infinite.
16823         * math/s_cprojf.c (__cprojf): Likewise.
16824         * math/s_cprojl.c (__cprojl): Likewise.
16825         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16826         * math/libm-test.inc (cproj_test_data): Add more tests.
16827
16828         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16829
16830         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16831         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16832         size.  Use __ffs to determine corresponding shift.
16833
16834 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16835             Roland McGrath  <roland@hack.frob.com>
16836
16837         * Makefile (INSTALL): Remove trailing blank lines from output of
16838         makeinfo.
16839
16840 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16841
16842         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16843         Align 32 bit compat elf_greg to 8 bytes.
16844
16845 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
16846
16847         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16848
16849 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16850
16851         * string/strcoll_l.c (coll_seq): New structure.
16852         (get_next_seq_cached): New function.
16853         (get_next_seq): New function.
16854         (do_compare): New function.
16855         (STRCOLL): Use GNU style definition.  Simplify implementation
16856         by using get_next_seq, get_next_seq_cached and do_compare.
16857
16858 2013-08-16  Florian Weimer  <fweimer@redhat.com>
16859
16860         [BZ #14699]
16861         CVE-2013-4237
16862         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16863         member.
16864         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16865         member.
16866         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16867         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16868         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
16869         conditional.
16870         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16871         GETDENTS_64BIT_ALIGNED.
16872         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16873         * manual/filesys.texi (Reading/Closing Directory): Document
16874         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
16875         strongly.
16876         * manual/conf.texi (Limits for Files): Add portability note to
16877         NAME_MAX, PATH_MAX.
16878         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16879
16880 2013-08-13  Andreas Schwab  <schwab@suse.de>
16881
16882         [BZ #15749]
16883         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16884         of fabs.
16885         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16886         LDBL_MAX_EXP >= 16384]: Add tests for it.
16887
16888 2013-08-12  David S. Miller  <davem@davemloft.net>
16889
16890         * version.h (RELEASE): Set to "development".
16891         (VERSION): Set to "2.18.90".
16892         * NEWS: Add 2.19 section.
16893
16894 2013-08-03  David S. Miller  <davem@davemloft.net>
16895
16896         * po/ko.po: Update Korean translation from translation project.
16897
16898 2013-08-01  David S. Miller  <davem@davemloft.net>
16899
16900         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
16901         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16902         Bilka.
16903
16904 2013-07-30  David S. Miller  <davem@davemloft.net>
16905
16906         * po/fr.po: Update French translation from translation project.
16907
16908 2013-07-28  David S. Miller  <davem@davemloft.net>
16909
16910         * po/cs.po: Update Czech translation from translation project.
16911
16912         * po/sv.po: Update Swedish translation from translation project.
16913
16914 2013-07-27  David S. Miller  <davem@davemloft.net>
16915
16916         * po/eo.po: Update Esperanto translation from translation project.
16917
16918         * po/vi.po: Update Vietnamese translation from translation project.
16919
16920         * po/de.po: Update German translation from translation project.
16921
16922 2013-07-26  David S. Miller  <davem@davemloft.net>
16923
16924         * po/bg.po: Update Bulgarian translation from translation project.
16925
16926         * po/nl.po: Update Dutch translation from translation project.
16927         * po/pl.po: Update Polish translation from translation project.
16928         * po/ru.po: Update Russian translation from translation project.
16929
16930 2013-07-24  David S. Miller  <davem@davemloft.net>
16931
16932         * po/libc.pot: Update.
16933
16934 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16935
16936         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16937         variable page size.
16938         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16939         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16940         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16941
16942 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16943
16944         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16945
16946 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16947             Andreas Schwab  <schwab@suse.de>
16948             Roland McGrath  <roland@hack.frob.com>
16949             Joseph Myers  <joseph@codesourcery.com>
16950             Carlos O'Donell  <carlos@redhat.com>
16951
16952         [BZ #15755]
16953         * config.h.in: Define HAVE_PT_CHOWN.
16954         * config.make.in (build-pt-chown): New variable.
16955         * configure.in (--enable-pt_chown): New configure option.
16956         * configure: Regenerate.
16957         * login/Makefile: Include Makeconfig.  Build pt_chown only if
16958         build-pt-chown is enabled.
16959         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16960         pt_chown to fix pty ownership.
16961         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16962         CLOSE_ALL_FDS.
16963         * manual/install.texi (Configuring and compiling): Mention
16964         --enable-pt_chown. Add @findex for grantpt.
16965         * INSTALL: Regenerate.
16966
16967 2013-07-20  David S. Miller  <davem@davemloft.net>
16968
16969         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16970         difference between 32-bit and 64-bit.
16971
16972 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
16973
16974         [BZ #15711]
16975         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16976         Avoid system header dependency with -ffreestanding.
16977         ($(objpfx)bits/syscall%d): Likewise.
16978
16979 2013-07-13  David S. Miller  <davem@davemloft.net>
16980
16981         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16982         underflows from atanl/atan2l due to bug 15319.
16983         (casinh_test_data): Likewise.
16984
16985 2013-07-07  David S. Miller  <davem@davemloft.net>
16986
16987         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16988
16989 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
16990
16991         * sysdeps/i386/fpu/libm-test-ulps: Update.
16992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16993
16994 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16995
16996         * configure.in (--enable-lock-elision): Fix message text.
16997         * INSTALL: Regenerate.
16998         * configure: Regenerate.
16999
17000 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17001
17002         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17003
17004 2013-07-03  Andreas Jaeger  <aj@suse.de>
17005
17006         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17007         define.
17008         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17009         (ptrace_peeksiginfo_args): Add.
17010         (__ptrace_peeksiginfo_flags): Add.
17011         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17012         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17013         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17014
17015 2013-07-03  Allan McRae  <allan@archlinux.org>
17016
17017         * sysdeps/i386/fpu/libm-test-ulps: Update.
17018
17019 2013-07-02  David S. Miller  <davem@davemloft.net>
17020
17021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17022
17023 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
17024
17025         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17026
17027 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17028
17029         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17031
17032 2013-07-02  Andi Kleen <ak@linux.intel.com>
17033
17034         * config.h.in (ENABLE_LOCK_ELISION): Add.
17035         * configure.in (--enable-lock-elision): Add option.
17036         * manual/install.texi: Document --enable lock elision.
17037         * configure: Regenerate
17038         * INSTALL: Regenerate.
17039
17040 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
17041
17042         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17043         SSE4.2 strcasecmp for libc.a.
17044         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17045
17046 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17047
17048         [BZ #13304]
17049         * soft-fp/op-common.h (_FP_FMA): New macro.
17050         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17051         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
17052         (_FP_MUL_MEAT_1_imm): ... here.
17053         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
17054         (_FP_MUL_MEAT_1_wide): ... here.
17055         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
17056         (_FP_MUL_MEAT_1_hard): ... here.
17057         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17058         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
17059         (_FP_MUL_MEAT_2_wide): ... here.
17060         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
17061         (_FP_MUL_MEAT_2_wide_3mul): ... here.
17062         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
17063         (_FP_MUL_MEAT_2_gmp): ... here.
17064         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17065         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
17066         (_FP_MUL_MEAT_4_wide): ... here.
17067         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
17068         (_FP_MUL_MEAT_4_gmp): ... here.
17069         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17070         (_FP_WFRACBITS_DW_S): Likewise.
17071         (_FP_WFRACXBITS_DW_S): Likewise.
17072         (_FP_HIGHBIT_DW_S): Likewise.
17073         (FP_FMA_S): Likewise.
17074         (_FP_FRAC_HIGH_DW_S): Likewise.
17075         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17076         (_FP_WFRACBITS_DW_D): Likewise.
17077         (_FP_WFRACXBITS_DW_D): Likewise.
17078         (_FP_HIGHBIT_DW_D): Likewise.
17079         (FP_FMA_D): Likewise.
17080         (_FP_FRAC_HIGH_DW_D): Likewise.
17081         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17082         (_FP_WFRACBITS_DW_E): Likewise.
17083         (_FP_WFRACXBITS_DW_E): Likewise.
17084         (_FP_HIGHBIT_DW_E): Likewise.
17085         (FP_FMA_E): Likewise.
17086         (_FP_FRAC_HIGH_DW_E): Likewise.
17087         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17088         (_FP_WFRACBITS_DW_Q): Likewise.
17089         (_FP_WFRACXBITS_DW_Q): Likewise.
17090         (_FP_HIGHBIT_DW_Q): Likewise.
17091         (FP_FMA_Q): Likewise.
17092         (_FP_FRAC_HIGH_DW_Q): Likewise.
17093         * soft-fp/fmasf4.c: New file.
17094         * soft-fp/fmadf4.c: Likewise.
17095         * soft-fp/fmatf4.c: Likewise.
17096
17097 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17098
17099         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17100         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17101         Silvermont.
17102         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17103         macro.
17104         (index_Slow_SSE4_2): Likewise.
17105         (index_Prefer_PMINUB_for_stringop): Likewise.
17106         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17107         bit_Slow_SSE4_2 is set.
17108         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17109         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17110
17111 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17112
17113         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17114         rtld_global._dl_hwcap2.
17115         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17116         POWER8.
17117         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17118         POWER8 feature descriptions defined in _dl_hwcap2.
17119         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17120         string handling for POWER8 feature bits.
17121         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17122         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17123         _dl_powerpc_cap_flags.
17124         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17125         * sysdeps/powerpc/rtld-global-offsets.sym
17126         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17127         _dl_hwcap2 in the rtld_global_ro structure.
17128
17129 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17130
17131         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17132         hardware capabilities in support of AT_HWCAP2.
17133         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17134         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17135         GLRO(dl_hwcap2).
17136         (_dl_show_auxv): Add support for calling _dl_procinfo to display
17137         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
17138         explicitly the unknown a_type display mechanism is used.
17139         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17140         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17141         struct member.
17142         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17143         to macro prototype for AT_HWCAP2 support.
17144         * sysdeps/i386/dl-procinfo.h: Likewise.
17145         * sysdeps/s390/dl-procinfo.h: Likewise.
17146         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17147         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
17148         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
17149         return -1 for unknown a_type display fallback.
17150         * sysdeps/sparc/dl-procinfo.h: Likewise.
17151         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17152         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17153
17154 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
17155
17156         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17157         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17158
17159 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
17160
17161         [BZ #12492]
17162         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17163         mprotect making __stack_prot writable.
17164
17165 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
17166             Joseph Myers  <joseph@codesourcery.com>
17167
17168         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17169         as being properly aligned.
17170
17171 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
17172
17173         * dlfcn/modstatic5.c: New file.
17174         * dlfcn/tststatic5.c: New file.
17175         * dlfcn/Makefile (tests): Add tststatic5.
17176         (tests-static): Likewise.
17177         (modules-names): Add modstatic5.
17178         (tststatic5-ENV): New variable.
17179         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17180
17181         [BZ #15022]
17182         * elf/dl-support.c (_dl_main_map): New variable.
17183         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17184         (_dl_nns, _dl_load_adds): Set to 1.
17185         (_dl_initial_searchlist): Refer to _dl_main_map.
17186         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17187         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17188         call to _dl_get_origin.
17189         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17190         around call_map.
17191         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17192         * dlfcn/modstatic3.c: New file.
17193         * dlfcn/tststatic3.c: New file.
17194         * dlfcn/tststatic4.c: New file.
17195         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17196         (tests-static): Likewise.
17197         (modules-names): Add modstatic3.
17198         (tststatic3-ENV, tststatic4-ENV): New variables.
17199         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17200         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17201
17202 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
17203
17204         * configure.in (CC): Require GCC version 4.4 or later.
17205         * configure: Regenerated.
17206         * manual/install.texi (Tools for Compilation): Update GCC version
17207         requirement.
17208         * INSTALL: Regenerated.
17209
17210 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17211
17212         [BZ #15674]
17213         * string/test-memcmp.c (check2): New.
17214         (main): Call check2.
17215
17216         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17217
17218 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
17219
17220         [BZ #15022]
17221         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17222         over to...
17223         (dl_open_worker) [!SHARED]: ... here.
17224
17225 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17226
17227         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17228
17229 2013-06-25  Richard Henderson  <rth@redhat.com>
17230
17231         * locale/programs/locarchive.c: Include <libc-internal.h>
17232
17233 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
17234
17235         * manual/texinfo.tex: Update to version 2013-06-21.17, with
17236         trailing whitespace removed.
17237
17238 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17239
17240         [BZ #10283]
17241         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17242         * locale/programs/locarchive.c: Include libc-mmap.h.
17243         (prepare_address_space): Take two new outputs (the mmap base and len).
17244         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
17245         values.
17246         (create_archive): Declare new mmap base and len values for
17247         prepare_address_space, and store the result in ah.
17248         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17249         (enlarge_archive): If ah->mmap_base is not NULL, use that and
17250         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17251         Declare new mmap base and len values for
17252         prepare_address_space, and store the result in new_ah.
17253         (open_archive): Declare new mmap base and len values for
17254         prepare_address_space, and store the result in ah.
17255         (close_archive): If ah->mmap_base is not NULL, use that and
17256         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17257         * sysdeps/generic/libc-mmap.h: New file.
17258
17259 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17260
17261         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17262         (ALIGN_UP): Likewise.
17263         (PTR_ALIGN_DOWN): Likewise.
17264         (PTR_ALIGN_UP): Likewise.
17265
17266 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17267
17268         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17269         entry mapped to PPC_PLATFORM_POWER8.
17270         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17271         POWER8.
17272         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17273         (_dl_string_platform): Add case for exporting platform position for
17274         POWER8.
17275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17276         search path to sysdeps/powerpc/powerpc32/power8 directory.
17277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17278         search path to sysdeps/powerpc/powerpc64/power8 directory.
17279         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17280         power7 directories.
17281         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17282         power7 directories.
17283
17284 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17285
17286         * INSTALL: Regenerate.
17287
17288         * nscd/connections.c (nscd_init): Fix comment.
17289
17290 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
17291
17292         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17293
17294         [BZ #15667]
17295         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17296         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17297
17298 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
17299
17300         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17301         DL_DST_REQ_STATIC.
17302         (DL_DST_REQ_STATIC): Remove macro.
17303
17304 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
17305
17306         [BZ #7006]
17307         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17308         with a shift of 0 bits.
17309
17310 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
17311
17312         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17313         $(tststatic-ENV).
17314
17315 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17316
17317         [BZ #15655]
17318         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17319
17320 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17321
17322         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17323         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17324         accepts -fno-tree-loop-distribute-patterns.
17325         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17326         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17327         recursive call.
17328         * string/memset.c (memset): Likewise.
17329         * string/test-memmove.c (simple_memmove): Disable loop transformation
17330         to library calls.
17331         * string/test-memset.c (simple_memset): Likewise.
17332         * benchtests/bench-memmove.c (simple_memmove): Likewise.
17333         * benchtests/bench-memset.c (simple_memset): Likewise.
17334         * configure: Regenerated.
17335
17336 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
17337
17338         * math/test-misc.c (main): Ignore fesetround failure when failures
17339         of subsequent rounding tests would be ignored.
17340
17341         [BZ #15654]
17342         * math/fedisblxcpt.c (fedisableexcept): Return 0.
17343         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17344         * math/fegetenv.c (__fegetenv): Return 0.
17345         * math/fegetexcept.c (fegetexcept): Return 0.
17346         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17347         FE_TONEAREST.
17348         * math/feholdexcpt.c (feholdexcept): Return 0.
17349         * math/fesetenv.c (__fesetenv): Return 0.
17350         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17351         argument FE_TONEAREST.
17352         * math/feupdateenv.c (__feupdateenv): Return 0.
17353         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17354
17355 2013-06-18  Roland McGrath  <roland@hack.frob.com>
17356
17357         * elf/rtld-Rules (rtld-compile-command.S): New variable.
17358         (rtld-compile-command.s, rtld-compile-command.c): New variables.
17359         ($(objpfx)rtld-%.os rules): Use them.
17360
17361 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17362
17363         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17364         fields.
17365
17366 2013-06-17  Roland McGrath  <roland@hack.frob.com>
17367
17368         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17369         length of target pattern, then descending length of dependency pattern.
17370         * configure.in (AWK): Require gawk 3.1.2 or newer.
17371         * manual/install.texi (Tools for Compilation): Say that we do.
17372         * configure: Regenerated.
17373
17374         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17375         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17376         * scripts/sysd-rules.awk: ... this new script.
17377         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17378         than a glob-style pattern.
17379
17380 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
17381
17382         * math/test-misc.c (main): Do not treat incorrectly rounded
17383         conversions as failure unless ROUNDING_TESTS passes.
17384
17385 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
17386
17387         [BZ #15631]
17388         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17389         restore exception state around main square root computation, then
17390         check for inexactness explicitly.
17391
17392         * math/libm-test.inc (fma_test_data): Add another test.
17393
17394 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17395
17396         * manual/threads.texi (Non-POSIX Extensions): New document
17397         node.  Document pthread_getattr_default_np and
17398         pthread_setattr_default_np.
17399
17400         * Versions.def (libpthread): Add GLIBC_2.18.
17401         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17403         Likewise.
17404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17405         Likewise.
17406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17407         Likewise.
17408         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17409         Likewise.
17410         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17411         Likewise.
17412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17413         Likewise.
17414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17415         Likewise.
17416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17417         Likewise.
17418         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17419         Likewise.
17420
17421 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17422
17423         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17424         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17425
17426 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17427             H.J. Lu  <hjl.tools@gmail.com>
17428
17429         [BZ #15627]
17430         * sysdeps/x86_64/rtld-memset.c: Remove file.
17431         * sysdeps/x86_64/rtld-memset.S: New file.
17432
17433 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
17434
17435         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17436         (test_in_one_mode): Take arguments for whether the rounding mode
17437         is supported for each floating-point type.
17438         (do_test): Pass new arguments to test_in_one_mode using
17439         ROUNDING_TESTS.
17440
17441 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17442
17443         * posix/tst-waitid.c (do_test): Distinguish different instances of
17444         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
17445         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17446         before entering the kernel for waitpid.
17447
17448 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17449
17450         * NEWS: Fix note on clock function precision.  Text by Roland
17451         McGrath.
17452
17453 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17454
17455         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17456         it into place only when and if the sanity check passes.
17457
17458 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
17459
17460         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17461         output for whether conversion result is exact.  Take argument
17462         indicating whether type is IBM long double.
17463         (round_for_all): Change need_exact field to ibm_ld.
17464         * stdlib/tst-strtod-round.c (struct exactness): New type.
17465         (struct test): Change bool ld_ok field to struct exactness exact.
17466         (TEST): Update all definitions for change to field.
17467         (tests): Regenerate array contents.
17468         (test_in_one_mode): Take pointer to new field instead of old ld_ok
17469         field value.  Check for IBM long double here.
17470         (do_test): Update calls to test_in_one_mode.
17471
17472 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17473
17474         [BZ #12515]
17475         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17476         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17477
17478 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17479
17480         [BZ #15605]
17481         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17482         generated by the compiler on loop optimizations.
17483         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17484         general definitions.
17485
17486 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
17487
17488         * math/bug-nextafter.c: Include <math-tests.h>.
17489         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17490         the relevant type.
17491         * math/bug-nexttoward.c: Include <math-tests.h>.
17492         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17493         the relevant type.
17494         * math/test-misc.c: Include <math-tests.h>.
17495         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17496         the relevant type.
17497
17498 2013-06-12  Andreas Jaeger  <aj@suse.de>
17499
17500         * po/ia.po: Update Interlingua translation from translation
17501         project.
17502
17503 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17504
17505         * include/fenv.h: Include stdbool.h.
17506         (struct rm_ctx): New structure.
17507         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17508         Define macro.
17509         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17510         (SET_RESTORE_ROUNDF): Likewise.
17511         (SET_RESTORE_ROUNDL): Likewise.
17512         (SET_RESTORE_ROUND_NOEX): Likewise.
17513         (SET_RESTORE_ROUND_NOEXF): Likewise.
17514         (SET_RESTORE_ROUND_NOEXL): Likewise.
17515         (SET_RESTORE_ROUND_53BIT): Likewise.
17516         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17517         (libc_feresetround_noexf_ctx): Likewise.
17518         (libc_feresetround_noexl_ctx): Likewise.
17519         (libc_feholdsetround_53bit_ctx): Likewise.
17520         (libc_feresetround_53bit_ctx): Likewise.
17521         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17522         (libc_feholdexcept_setround_sse_ctx): New function.
17523         (libc_fesetenv_sse_ctx): Likewise.
17524         (libc_feupdateenv_sse_ctx): Likewise.
17525         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17526         (libc_feholdexcept_setround_387_ctx): Likewise.
17527         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17528         (libc_feholdsetround_387_prec_ctx): Likewise.
17529         (libc_feholdsetround_387_ctx): Likewise.
17530         (libc_feholdsetround_387_53bit_ctx): Likewise.
17531         (libc_feholdsetround_sse_ctx): Likewise.
17532         (libc_feresetround_sse_ctx): Likewise.
17533         (libc_feresetround_387_ctx): Likewise.
17534         (libc_feupdateenv_387_ctx): Likewise.
17535         (libc_feholdexcept_setroundf_ctx): Define macro.
17536         (libc_fesetenvf_ctx): Likewise.
17537         (libc_feupdateenvf_ctx): Likewise.
17538         (libc_feholdsetroundf_ctx): Likewise.
17539         (libc_feresetroundf_ctx): Likewise.
17540         (libc_feholdexcept_setround_ctx): Likewise.
17541         (libc_fesetenv_ctx): Likewise.
17542         (libc_feupdateenv_ctx): Likewise.
17543         (libc_feholdsetround_ctx): Likewise.
17544         (libc_feresetround_ctx): Likewise.
17545         (libc_feholdexcept_setroundl_ctx): Likewise.
17546         (libc_feupdateenvl_ctx): Likewise.
17547         (libc_feholdsetroundl_ctx): Likewise.
17548         (libc_feresetroundl_ctx): Likewise.
17549         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17550         (libc_feresetround_53bit_ctx): Likewise.
17551
17552 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17553
17554         * locale/iso-639.def: Convert to UTF-8.
17555
17556 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
17557
17558         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17559         (EXCEPTION_TESTS_double): Likewise.
17560         (EXCEPTION_TESTS_long_double): Likewise.
17561         (EXCEPTION_TESTS): Likewise.
17562         * math/libm-test.inc (test_exceptions): Only test exceptions if
17563         EXCEPTION_TESTS (FLOAT).
17564
17565 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17566
17567         * benchtests/Makefile (string-bench): Add strcpy_chk and
17568         stpcpy_chk.
17569         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17570         * benchtests/bench-stpcpy_chk.c: New file.
17571         * benchtests/bench-strcpy_chk-ifunc.c: New file.
17572         * benchtests/bench-strcpy_chk.c: New file.
17573         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17574         code.
17575         (do_test): Likewise.
17576
17577 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17578
17579         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17580         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17581         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17582         with tabs where appropriate.
17583         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17584         dl-procinfo.h.
17585         [PPC_PLATFORM_PPC440]: Likewise.
17586         [PPC_PLATFORM_PPC464]: Likewise.
17587         [PPC_PLATFORM_PPC476]: Likewise.
17588         (_dl_string_platform): Add support for detecting ppc405, ppc440,
17589         ppc464, and ppc476 platform strings merging from ports/
17590         dl-procinfo.h.
17591
17592 2013-06-11  Andreas Schwab  <schwab@suse.de>
17593
17594         [BZ #14991]
17595         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17596         (from_ucs4_idx): Regenerate.
17597         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17598         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17599         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17600         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17601         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17602         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17603         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17604         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17605         from FROM_LOOP and TO_LOOP specific macros.
17606         (BODY): Handle combining characters.
17607         * iconvdata/BIG5HKSCS.irreversible: Update.
17608         * iconvdata/BIG5HKSCS.precomposed: New file.
17609         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17610         characters.
17611         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17612
17613 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17614
17615         * include/sys/time.h: Fix indentation and add copyright header.
17616
17617         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17618         (do_test): Likewise.
17619         * string/test-memchr.c (do_one_test): Likewise.
17620         (do_test): Likewise.
17621         * string/test-memcmp.c (do_one_test): Likewise.
17622         (do_test): Likewise.
17623         * string/test-memcpy.c (do_one_test): Likewise.
17624         (do_test): Likewise.
17625         * string/test-memmem.c (do_one_test): Likewise.
17626         (do_test): Likewise.
17627         (do_random_tests): Likewise.
17628         * string/test-memmove.c (do_one_test): Likewise.
17629         (do_test): Likewise.
17630         * string/test-memset.c (do_one_test): Likewise.
17631         (do_test): Likewise.
17632         * string/test-rawmemchr.c (do_one_test): Likewise.
17633         (do_test): Likewise.
17634         * string/test-strcasecmp.c (do_one_test): Likewise.
17635         (do_test): Likewise.
17636         * string/test-strcasestr.c (do_one_test): Likewise.
17637         (do_test): Likewise.
17638         * string/test-strcat.c (do_one_test): Likewise.
17639         (do_test): Likewise.
17640         * string/test-strchr.c (do_one_test): Likewise.
17641         (do_test): Likewise.
17642         * string/test-strcmp.c (do_one_test): Likewise.
17643         (do_test): Likewise.
17644         * string/test-strcpy.c (do_one_test): Likewise.
17645         (do_test): Likewise.
17646         * string/test-string.h: Likewise.
17647         (test_init): Likewise.
17648         * string/test-strlen.c (do_one_test): Likewise.
17649         (do_test): Likewise.
17650         * string/test-strncasecmp.c (do_one_test): Likewise.
17651         (do_test): Likewise.
17652         * string/test-strncat.c (do_one_test): Likewise.
17653         (do_test): Likewise.
17654         * string/test-strncmp.c (do_one_test): Likewise.
17655         (do_test_limit): Likewise.
17656         (do_test): Likewise.
17657         * string/test-strncpy.c (do_one_test): Likewise.
17658         (do_test): Likewise.
17659         * string/test-strnlen.c (do_one_test): Likewise.
17660         (do_test): Likewise.
17661         * string/test-strpbrk.c (do_one_test): Likewise.
17662         (do_test): Likewise.
17663         * string/test-strrchr.c (do_one_test): Likewise.
17664         (do_test): Likewise.
17665         * string/test-strspn.c (do_one_test): Likewise.
17666         (do_test): Likewise.
17667         * string/test-strstr.c (do_one_test): Likewise.
17668         (do_test): Likewise.
17669
17670         * benchtests/Makefile (string-bench): Add string benchmarks.
17671         * benchtests/bench-bcopy-ifunc.c: New file.
17672         * benchtests/bench-bcopy.c: New file.
17673         * benchtests/bench-bzero-ifunc.c: New file.
17674         * benchtests/bench-bzero.c: New file.
17675         * benchtests/bench-memccpy-ifunc.c: New file.
17676         * benchtests/bench-memccpy.c: New file.
17677         * benchtests/bench-memchr-ifunc.c: New file.
17678         * benchtests/bench-memchr.c: New file.
17679         * benchtests/bench-memcmp-ifunc.c: New file.
17680         * benchtests/bench-memcmp.c: New file.
17681         * benchtests/bench-memmem-ifunc.c: New file.
17682         * benchtests/bench-memmem.c: New file.
17683         * benchtests/bench-memmove-ifunc.c: New file.
17684         * benchtests/bench-memmove.c: New file.
17685         * benchtests/bench-mempcpy-ifunc.c: New file.
17686         * benchtests/bench-mempcpy.c: New file.
17687         * benchtests/bench-memset-ifunc.c: New file.
17688         * benchtests/bench-memset.c: New file.
17689         * benchtests/bench-rawmemchr-ifunc.c: New file.
17690         * benchtests/bench-rawmemchr.c: New file.
17691         * benchtests/bench-stpcpy-ifunc.c: New file.
17692         * benchtests/bench-stpcpy.c: New file.
17693         * benchtests/bench-stpncpy-ifunc.c: New file.
17694         * benchtests/bench-stpncpy.c: New file.
17695         * benchtests/bench-strcasecmp-ifunc.c: New file.
17696         * benchtests/bench-strcasecmp.c: New file.
17697         * benchtests/bench-strcasestr-ifunc.c: New file.
17698         * benchtests/bench-strcasestr.c: New file.
17699         * benchtests/bench-strcat-ifunc.c: New file.
17700         * benchtests/bench-strcat.c: New file.
17701         * benchtests/bench-strchr-ifunc.c: New file.
17702         * benchtests/bench-strchr.c: New file.
17703         * benchtests/bench-strchrnul-ifunc.c: New file.
17704         * benchtests/bench-strchrnul.c: New file.
17705         * benchtests/bench-strcmp-ifunc.c: New file.
17706         * benchtests/bench-strcmp.c: New file.
17707         * benchtests/bench-strcpy-ifunc.c: New file.
17708         * benchtests/bench-strcpy.c: New file.
17709         * benchtests/bench-strcspn-ifunc.c: New file.
17710         * benchtests/bench-strcspn.c: New file.
17711         * benchtests/bench-strlen-ifunc.c: New file.
17712         * benchtests/bench-strlen.c: New file.
17713         * benchtests/bench-strncasecmp-ifunc.c: New file.
17714         * benchtests/bench-strncasecmp.c: New file.
17715         * benchtests/bench-strncat-ifunc.c: New file.
17716         * benchtests/bench-strncat.c: New file.
17717         * benchtests/bench-strncmp-ifunc.c: New file.
17718         * benchtests/bench-strncmp.c: New file.
17719         * benchtests/bench-strncpy-ifunc.c: New file.
17720         * benchtests/bench-strncpy.c: New file.
17721         * benchtests/bench-strnlen-ifunc.c: New file.
17722         * benchtests/bench-strnlen.c: New file.
17723         * benchtests/bench-strpbrk-ifunc.c: New file.
17724         * benchtests/bench-strpbrk.c: New file.
17725         * benchtests/bench-strrchr-ifunc.c: New file.
17726         * benchtests/bench-strrchr.c: New file.
17727         * benchtests/bench-strspn-ifunc.c: New file.
17728         * benchtests/bench-strspn.c: New file.
17729         * benchtests/bench-strstr-ifunc.c: New file.
17730         * benchtests/bench-strstr.c: New file.
17731
17732         * benchtests/Makefile: Disable parallel execution of targets.
17733         (string-bench): Add memcpy.
17734         (benchset): New variable to store a list of benchmark sets.
17735         (bench-func): Renamed from bench.
17736         (bench-set): New target.
17737         (bench): Depend on bench-func and bench-set.
17738         * benchtests/README: Add section on benchmark sets.
17739         * benchtests/bench-memcpy-ifunc.c: New file.
17740         * benchtests/bench-memcpy.c: New file.
17741         * benchtests/bench-string.h: New file.
17742
17743 2013-06-11  Andreas Schwab  <schwab@suse.de>
17744
17745         [BZ #15577]
17746         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17747         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17748         values in the triple.
17749         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17750         terminator in the group key.
17751
17752 2013-06-11  Andreas Jaeger  <aj@suse.de>
17753
17754         * po/zh_TW.po: Update Chinese (traditional) translation from
17755         translation project.
17756
17757 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17758
17759         * include/time.h (__clock_gettime): Add libc_hidden_proto.
17760         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17761         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
17762         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17763         (clock_getcpuclockid): Likewise.
17764         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17765         Add weak_alias and libc_hidden_def.
17766         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17767         * rt/clock_gettime.c (clock_gettime): Rename to
17768         __clock_gettime.  Add weak_alias and libc_hidden_def.
17769         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17770         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17771         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
17772         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17773         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17774         Likewise.
17775         * rt/clock_settime.c (clock_settime): Rename to
17776         __clock_settime.  Add weak_alias and libc_hidden_def.
17777         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17778
17779 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
17780
17781         * mach/err_boot.sub: Remove trailing whitespace.
17782         * mach/err_ipc.sub: Likewise.
17783         * mach/err_mach.sub: Likewise.
17784
17785         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17786         (ROUNDING_TESTS_double): Likewise.
17787         (ROUNDING_TESTS_long_double): Likewise.
17788         (ROUNDING_TESTS): Likewise.
17789         * math/libm-test.inc: Include <math-tests.h>.
17790         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17791         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17792         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17793         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17794
17795 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17796
17797         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17798         of assigning.
17799
17800 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
17801
17802         * sysdeps/gnu/errlist.awk: Do not generate space at end of
17803         otherwise empty TRANS lines.
17804         * sysdeps/gnu/errlist.c: Regenerated.
17805
17806         * catgets/gencat.c (error_print): Use (void) in function
17807         definition.
17808         * crypt/crypt_util.c (__init_des): Likewise.
17809         * crypt/speeds.c (Stop): Likewise.
17810         (main): Likewise.
17811         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17812         * inet/ruserpass.c (token): Likewise.
17813         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17814         * intl/localealias.c (extend_alias_table): Likewise.
17815         * intl/plural-exp.c (init_germanic_plural): Likewise.
17816         * libio/fcloseall.c (__fcloseall): Likewise.
17817         * libio/genops.c (_IO_flush_all): Likewise.
17818         (_IO_flush_all_linebuffered): Likewise.
17819         (_IO_cleanup): Likewise.
17820         (_IO_iter_begin): Likewise.
17821         (_IO_iter_end): Likewise.
17822         (_IO_list_lock): Likewise.
17823         (_IO_list_unlock): Likewise.
17824         (_IO_list_resetlock): Likewise.
17825         * libio/getchar.c (getchar): Likewise.
17826         * libio/getchar_u.c (getchar_unlocked): Likewise.
17827         * libio/getwchar.c (getwchar): Likewise.
17828         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17829         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17830         * login/getpt.c (__getpt): Likewise.
17831         * login/tst-utmp.c (main): Likewise.
17832         * malloc/hooks.c (__malloc_check_init): Likewise.
17833         * malloc/malloc.c (__malloc_stats): Likewise.
17834         * malloc/mtrace.c (tr_break): Likewise.
17835         (mtrace): Likewise.
17836         (muntrace): Likewise.
17837         * misc/fstab.c (endfsent): Likewise.
17838         * misc/getclktck.c (__getclktck): Likewise.
17839         * misc/getdtsz.c (__getdtablesize): Likewise.
17840         * misc/gethostid.c (gethostid): Likewise.
17841         * misc/getpagesize.c (__getpagesize): Likewise.
17842         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17843         (__get_nprocs): Likewise.
17844         (__get_phys_pages): Likewise.
17845         (__get_avphys_pages): Likewise.
17846         * misc/getttyent.c (getttyent): Likewise.
17847         (setttyent): Likewise.
17848         (endttyent): Likewise.
17849         * misc/getusershell.c (getusershell): Likewise.
17850         (endusershell): Likewise.
17851         (setusershell): Likewise.
17852         (initshells): Likewise.
17853         * misc/hsearch.c (__hdestroy): Likewise.
17854         * misc/sync.c (sync): Likewise.
17855         * misc/syslog.c (closelog_internal): Likewise.
17856         (closelog): Likewise.
17857         * misc/ttyslot.c (ttyslot): Likewise.
17858         * misc/vhangup.c (vhangup): Likewise.
17859         * posix/fork.c (__fork): Likewise.
17860         * posix/getegid.c (__getegid): Likewise.
17861         * posix/geteuid.c (__geteuid): Likewise.
17862         * posix/getgid.c (__getgid): Likewise.
17863         * posix/getpid.c (__getpid): Likewise.
17864         * posix/getppid.c (__getppid): Likewise.
17865         * posix/getuid.c (__getuid): Likewise.
17866         * posix/pause.c (pause): Likewise.
17867         * posix/setpgrp.c (setpgrp): Likewise.
17868         * posix/setsid.c (__setsid): Likewise.
17869         * posix/test-vfork.c (noop): Likewise.
17870         * resolv/gethnamaddr.c (_endhtent): Likewise.
17871         (_gethtent): Likewise.
17872         (ht_endhostent): Likewise.
17873         (gethostent): Likewise.
17874         (dns_service): Likewise.
17875         * stdlib/drand48.c (drand48): Likewise.
17876         * stdlib/lrand48.c (lrand48): Likewise.
17877         * stdlib/mrand48.c (mrand48): Likewise.
17878         * stdlib/rand.c (rand): Likewise.
17879         * stdlib/random.c (__random): Likewise.
17880         * stdlib/setenv.c (clearenv): Likewise.
17881         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17882         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17883         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17884         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17885         (__get_nprocs): Likewise.
17886         (__get_phys_pages): Likewise.
17887         (__get_avphys_pages): Likewise.
17888         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17889         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17890         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17891         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17892         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17893         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17894         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17895         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17896         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17897         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17898         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17899         * sysdeps/mach/hurd/sync.c (sync): Likewise.
17900         * sysdeps/posix/clock.c (clock): Likewise.
17901         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17902         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17903         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17904         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17905         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17906         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17907         (__get_nprocs_conf): Likewise.
17908         (__get_phys_pages): Likewise.
17909         (__get_avphys_pages): Likewise.
17910         * time/clock.c (clock): Likewise.
17911         * time/tzset.c (__tzname_max): Likewise.
17912
17913 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
17914
17915         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17916         (__bswap_32): Do not use "register".
17917         * crypt/crypt.c (_ufc_doit_r): Likewise.
17918         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17919         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17920         * gmon/gmon.c (__monstartup): Likewise.
17921         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17922         * hurd/hurdmalloc.c (more_memory): Likewise.
17923         (malloc): Likewise.
17924         (free): Likewise.
17925         (realloc): Likewise.
17926         (malloc_fork_prepare): Likewise.
17927         (malloc_fork_parent): Likewise.
17928         (malloc_fork_child): Likewise.
17929         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17930         (_svcauth_des): Likewise.
17931         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17932         * inet/inet_net.c (inet_network): Likewise.
17933         * inet/inet_netof.c (inet_netof): Likewise.
17934         * inet/rcmd.c (__validuser2_sa): Likewise.
17935         * io/fts.c (fts_open): Likewise.
17936         (fts_load): Likewise.
17937         (fts_close): Likewise.
17938         (fts_read): Likewise.
17939         (fts_children): Likewise.
17940         (fts_build): Likewise.
17941         (fts_stat): Likewise.
17942         (fts_sort): Likewise.
17943         (fts_alloc): Likewise.
17944         (fts_lfree): Likewise.
17945         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17946         (_IO_file_xsgetn): Likewise.
17947         (_IO_file_xsgetn_mmap): Likewise.
17948         * libio/iofopncook.c (_IO_cookie_read): Likewise.
17949         (_IO_cookie_write): Likewise.
17950         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17951         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17952         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17953         * malloc/obstack.c (_obstack_begin): Likewise.
17954         (_obstack_begin_1): Likewise.
17955         (_obstack_newchunk): Likewise.
17956         (_obstack_allocated_p): Likewise.
17957         (obstack_free): Likewise.
17958         (_obstack_memory_used): Likewise.
17959         * misc/getttyent.c (getttynam): Likewise.
17960         (getttyent): Likewise.
17961         (skip): Likewise.
17962         (value): Likewise.
17963         * misc/getusershell.c (initshells): Likewise.
17964         * misc/syslog.c (__vsyslog_chk): Likewise.
17965         * misc/ttyslot.c (ttyslot): Likewise.
17966         * nis/nis_hash.c (__nis_hash): Likewise.
17967         * posix/fnmatch_loop.c (FCT): Likewise.
17968         * posix/getconf.c (print_all): Likewise.
17969         (main): Likewise.
17970         * posix/getopt.c (exchange): Likewise.
17971         * posix/glob.c (globfree): Likewise.
17972         (prefix_array): Likewise.
17973         (__glob_pattern_type): Likewise.
17974         * resolv/arpa/nameser.h (NS_GET16): Likewise.
17975         (NS_GET32): Likewise.
17976         (NS_PUT16): Likewise.
17977         (NS_PUT32): Likewise.
17978         * resolv/gethnamaddr.c (getanswer): Likewise.
17979         (gethostbyname2): Likewise.
17980         (gethostbyaddr): Likewise.
17981         (_gethtent): Likewise.
17982         (_gethtbyname2): Likewise.
17983         (_gethtbyaddr): Likewise.
17984         * resolv/ns_print.c (dst_s_get_int16): Likewise.
17985         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17986         * resolv/res_init.c (__res_vinit): Likewise.
17987         (net_mask): Likewise.
17988         * resolv/res_mkquery.c (outchar): Likewise.
17989         (PRINT): Likewise.
17990         * stdio-common/printf_fp.c (outchar): Likewise.
17991         (PRINT): Likewise.
17992         * stdio-common/printf_fphex.c (outchar): Likewise.
17993         (PRINT): Likewise.
17994         * stdio-common/printf_size.c (outchar): Likewise.
17995         (PRINT): Likewise.
17996         * stdio-common/test_rdwr.c (main): Likewise.
17997         * stdio-common/tfformat.c (matches): Likewise.
17998         * stdio-common/vfprintf.c (outchar): Likewise.
17999         (printf_unknown): Likewise.
18000         (buffered_vfprintf): Likewise.
18001         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18002         * stdio-common/xbug.c (AppendToBuffer): Likewise.
18003         (ReadFile): Likewise.
18004         * stdlib/qsort.c (SWAP): Likewise.
18005         (_quicksort): Likewise.
18006         * stdlib/setenv.c (__add_to_environ): Likewise.
18007         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18008         * stdlib/strtol_l.c (__strtol_l): Likewise.
18009         * stdlib/tst-strtod.c (main): Likewise.
18010         * stdlib/tst-strtol.c (main): Likewise.
18011         * stdlib/tst-strtoll.c (main): Likewise.
18012         * string/bits/string2.h (__strcmp_cc): Likewise.
18013         (__strcmp_cg): Likewise.
18014         (__strcspn_c1): Likewise.
18015         (__strcspn_c2): Likewise.
18016         (__strcspn_c3): Likewise.
18017         (__strspn_c1): Likewise.
18018         (__strspn_c2): Likewise.
18019         (__strspn_c3): Likewise.
18020         (__strsep_1c): Likewise.
18021         (__strsep_2c): Likewise.
18022         (__strsep_3c): Likewise.
18023         * string/memccpy.c (__memccpy): Likewise.
18024         * string/stpcpy.c (__stpcpy): Likewise.
18025         * string/strcmp.c (strcmp): Likewise.
18026         * string/strrchr.c (strrchr): Likewise.
18027         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18028         Likewise.
18029         * sysdeps/mach/hurd/getcwd.c
18030         (_hurd_canonicalize_directory_name_internal): Likewise.
18031         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18032         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18033         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18034         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18035         Likewise, in both definitions.
18036         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18037         definitions.
18038         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18039         64] (__bswap_64): Likewise.
18040         * time/test_time.c (main): Likewise.
18041         * time/tzfile.c (__tzfile_read): Likewise.
18042         (__tzfile_compute): Likewise.
18043         * time/tzset.c (__tzset_parse_tz): Likewise.
18044         (tzset_internal): Likewise.
18045         (compute_change): Likewise.
18046         * wcsmbs/wcscat.c (__wcscat): Likewise.
18047         * wcsmbs/wcschr.c (wcschr): Likewise.
18048         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18049         * wcsmbs/wcscspn.c (wcscspn): Likewise.
18050         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18051         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18052         * wcsmbs/wcsspn.c (wcsspn): Likewise.
18053         * wcsmbs/wcsstr.c (wcsstr): Likewise.
18054         * wcsmbs/wmemchr.c (wmemchr): Likewise.
18055         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18056         * wcsmbs/wmemset.c (wmemset): Likewise.
18057
18058 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
18059
18060         * scripts/config.guess: Update to version 2013-05-16.
18061         * scripts/config.sub: Update to version 2013-04-24.
18062         * scripts/install-sh: Update to version 2011-11-20.07.
18063         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18064         * scripts/move-if-change: Update to version 2012-01-06 07:23.
18065
18066 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
18067
18068         * debug/fgetws_u_chk.c: Fix leading whitespaces.
18069         * elf/sln.c: Likewise.
18070         * hurd/hurd/ioctl.h: Likewise.
18071         * hurd/hurdmalloc.c: Likewise.
18072         * hurd/xattr.c: Likewise.
18073         * include/shlib-compat.h: Likewise.
18074         * inet/ruserpass.c: Likewise.
18075         * libio/iofgets_u.c: Likewise.
18076         * libio/iofgetws_u.c: Likewise.
18077         * locale/programs/ld-identification.c: Likewise.
18078         * locale/programs/ld-time.c: Likewise.
18079         * mach/msg-destroy.c: Likewise.
18080         * nss/nss_files/files-netgrp.c: Likewise.
18081         * resolv/res_data.c: Likewise.
18082         * soft-fp/op-1.h: Likewise.
18083         * soft-fp/op-2.h: Likewise.
18084         * soft-fp/op-4.h: Likewise.
18085         * soft-fp/op-common.h: Likewise.
18086         * stdio-common/printf_fphex.c: Likewise.
18087         * stdlib/strtod_l.c: Likewise.
18088         * sunrpc/rpc/clnt.h: Likewise.
18089         * sysdeps/generic/framestate.c: Likewise.
18090         * sysdeps/i386/bsd-_setjmp.S: Likewise.
18091         * sysdeps/i386/bsd-setjmp.S: Likewise.
18092         * sysdeps/i386/__longjmp.S: Likewise.
18093         * sysdeps/i386/setjmp.S: Likewise.
18094         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18095         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18096         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18097         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18098         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18099         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18100         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18101         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18102         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18103         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18104         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18105         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18106         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18107         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18108         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18109         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18110         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18111         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18112         * sysdeps/ieee754/support.c: Likewise.
18113         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18114         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18115         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18116         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18117         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18118         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18119         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18120         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18121         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18122         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18123         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18124         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18125         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18126         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18127         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18128         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18129         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18131
18132 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
18133
18134         * posix/transbug.c: Remove executable mode.
18135
18136 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
18137
18138         * crypt/speeds.c: Remove trailing whitespace.
18139         * dlfcn/default.c: Likewise.
18140         * elf/ifuncdep2.c: Likewise.
18141         * elf/ifuncmain1.c: Likewise.
18142         * elf/ifuncmain1vis.c: Likewise.
18143         * elf/testobj.h: Likewise.
18144         * elf/tst-stackguard1.c: Likewise.
18145         * gmon/sys/gmon.h: Likewise.
18146         * hurd/hurdmsg.c: Likewise.
18147         * hurd/new-fd.c: Likewise.
18148         * hurd/ports-get.c: Likewise.
18149         * iconvdata/ibm1008_420.c: Likewise.
18150         * inet/tst-getni1.c: Likewise.
18151         * inet/tst-getni2.c: Likewise.
18152         * libio/ioungetc.c: Likewise.
18153         * libio/wfiledoalloc.c: Likewise.
18154         * manual/libm-err-tab.pl: Likewise.
18155         * math/w_dremf.c: Likewise.
18156         * misc/ftruncate.c: Likewise.
18157         * posix/bug-glob2.c: Likewise.
18158         * posix/tst-pcre.c: Likewise.
18159         * posix/wait4.c: Likewise.
18160         * resolv/README: Likewise.
18161         * resolv/res_debug.h: Likewise.
18162         * resolv/tst-inet_ntop.c: Likewise.
18163         * setjmp/bug269-setjmp.c: Likewise.
18164         * soft-fp/extended.h: Likewise.
18165         * soft-fp/op-1.h: Likewise.
18166         * soft-fp/op-2.h: Likewise.
18167         * soft-fp/op-4.h: Likewise.
18168         * soft-fp/op-8.h: Likewise.
18169         * soft-fp/testit.c: Likewise.
18170         * stdio-common/bug16.c: Likewise.
18171         * stdlib/random.c: Likewise.
18172         * sunrpc/rpcsvc/rquota.x: Likewise.
18173         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18174         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18175         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18176         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18177         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18178         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18179         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18180         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18181         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18182         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18183         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18184         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18185         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18186         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18187         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18188         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18189         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18190         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18191         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18192         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18193         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18194         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18195         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18196         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18197         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18198         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18199         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18200         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18201         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18202         * sysdeps/ieee754/s_lib_version.c: Likewise.
18203         * sysdeps/mach/hurd/check_fds.c: Likewise.
18204         * sysdeps/mach/hurd/getsockname.c: Likewise.
18205         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18206         * sysdeps/mach/hurd/recvfrom.c: Likewise.
18207         * sysdeps/powerpc/bits/link.h: Likewise.
18208         * sysdeps/powerpc/dl-procinfo.c: Likewise.
18209         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18210         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18211         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18212         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18213         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18214         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18215         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18216         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18217         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18218         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18219         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18220         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18221         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18222         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18223         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18224         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18225         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18226         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18227         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18228         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18229         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18230         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18231         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18232         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18233         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18234         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18235         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18236         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18237         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18238         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18239         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18240         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18241         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18242         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18243         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18244         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18245         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18246         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18247         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18248         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18249         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18250         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18251         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18252         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18253         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18254         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18255         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18256         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18257         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18258         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18259         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18260         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18261         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18262         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18263         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18264         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18265         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18266         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18267         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18268         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18269         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18270         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18271         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18272         * sysdeps/powerpc/sysdep.h: Likewise.
18273         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18274         * sysdeps/s390/s390-64/sub_n.S: Likewise.
18275         * sysdeps/sh/dl-trampoline.S: Likewise.
18276         * sysdeps/sh/memset.S: Likewise.
18277         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18278         * sysdeps/sh/strlen.S: Likewise.
18279         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18280         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18281         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18282         * sysdeps/sparc/sparc32/rem.S: Likewise.
18283         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18284         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18285         * sysdeps/sparc/sparc32/strchr.S: Likewise.
18286         * sysdeps/sparc/sparc32/udiv.S: Likewise.
18287         * sysdeps/sparc/sparc32/urem.S: Likewise.
18288         * sysdeps/sparc/sparc64/add_n.S: Likewise.
18289         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18290         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18291         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18292         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18293         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18294         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18295         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18296         * sysdeps/unix/bsd/times.c: Likewise.
18297         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18298         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18302         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18303         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18304         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18305         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18306         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18307         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18308         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18309         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18310         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18311         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18312         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18313         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18314         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18315         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18316         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18317         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18318         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18319         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18320         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18321         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18322         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18323         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18324         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18325         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18326         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18327         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18328         * sysdeps/x86_64/strcspn.S: Likewise.
18329
18330 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18331
18332         * locale/C-translit.h: Revert #include <stdint.h> because this is a
18333         generated file.  Regenerate properly from gen-translit.pl.
18334         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
18335         locale/C-translit.h.
18336
18337 2013-06-05  Andreas Schwab  <schwab@suse.de>
18338
18339         [BZ #15100]
18340         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18341         week as 6 instead of -1.
18342         * time/tst-strptime.c (day_tests): Add test case.
18343
18344 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18345
18346         * sysdeps/generic/math_private.h
18347         (libc_feholdexcept_setround_53bit): Replace with
18348         libc_feholdsetround_53bit.
18349         (libc_feupdateenv_53bit): Replace with
18350         libc_feresetround_53bit.
18351         (SET_RESTORE_ROUND_53BIT): Adjust.
18352
18353 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18354
18355         * string/test-strchrnul.c: Add copyright header.
18356
18357         * posix/tst-getaddrinfo4.c: Increase test timeout.
18358
18359 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
18360
18361         [BZ #15536]
18362         * math/libm-test.inc (MAX_EXP): Remove
18363         (MIN_EXP): Define.
18364         (ulp): Use MIN_EXP - MANT_DIG.
18365         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18366
18367 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
18368
18369         * po/be.po: Revert last change.
18370         * po/zh_CN.po: Likewise.
18371         * po/header.pot: Likewise.
18372
18373 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
18374
18375         * Makefile ($(common-objpfx)linkobj/libc.so): Define
18376         link-libc-deps to empty as target-specific variable.
18377         * Makerules (link-libc-args): New variable.
18378         (libc-for-link): Likewise.
18379         (link-libc-deps): Likewise.
18380         (lib%.so): Depend on $(link-libc-deps).  Link with
18381         $(link-libc-args).
18382         (build-module): Link with $(link-libc-args).
18383         (build-module-asneeded): Likewise.
18384         (build-module-helper-objlist): Filter out $(link-libc-deps) from
18385         list of objects.
18386         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18387         target-specific variable.
18388         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18389         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18390         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18391         libc.
18392         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18393         libc and ld.so.
18394         ($(objpfx)libpcprofile.so): Likewise.
18395         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18396         libc_nonshared.a.
18397         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18398         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18399         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18400         $(link-libc-deps).
18401         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18402         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18403         * login/Makefile ($(objpfx)libutil.so): Likewise.
18404         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18405         * math/Makefile ($(objpfx)libm.so): Likewise.
18406         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18407         $(objpfx)libnsl.so): Define libc-for-link as target-specific
18408         variable instead of depending directly on libc.
18409         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18410         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18411         $(link-libc-deps).
18412         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18413         libc.
18414         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18415         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18416         ($(objpfx)libanl.so): Likewise.
18417         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18418         ld.so.
18419         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18420         $(link-libc-deps).
18421         * sysdeps/i386/fpu/Makefile: Remove file.
18422         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18423         ($(objpfx)libm.so): Remove dependency on ld.so.
18424
18425 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
18426
18427         [BZ # 15553]
18428         * nis/yp_xdr.c (XDRMAXNAME): Define.
18429         (XDRMAXRECORD): Define.
18430         (xdr_domainname): Use XDRMAXNAME.
18431         (xdr_mapname): Likewise.
18432         (xdr_peername): Likewise.
18433         (xdr_keydat): Use XDRMAXRECORD.
18434         (xdr_valdat): Likewise.
18435
18436 2013-05-30  Jeff Law  <law@redhat.com>
18437
18438         [BZ #14256]
18439         * manual/errno.texi (ESTALE): Update to account for more than
18440         just NFS file systems.
18441         * sysdeps/gnu/errlist.c: Regenerated.
18442
18443 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18444
18445         [BZ #15465]
18446         * elf/Makefile (tests): Add tst-null-argv.
18447         (modules-names):  Add tst-null-argv-lib.
18448         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18449         (tst-null-argv-ENV): Set environment for tst-null-argv.
18450         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18451         (RTLD_PROGNAME): New macro.
18452         * elf/tst-null-argv.c: New test case.
18453         * elf/tst-null-argv-lib.c: Library for test case.
18454         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18455         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18456         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18457         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18458         * elf/dl-init.c (call_init): Likewise.
18459         (_dl_init): Likewise.
18460         * elf/dl-load.c (print_search_path): Likewise.
18461         (_dl_map_object): Likewise.
18462         * elf/dl-lookup.c (do_lookup_x): Likewise.
18463         (add_dependency): Likewise.
18464         (_dl_lookup_symbol_x): Likewise.
18465         (_dl_debug_bindings): Likewise.
18466         * elf/dl-open.c (_dl_show_scope): Likewise.
18467         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18468         * elf/dl-version.c (match_symbol): Likewise.
18469         (_dl_check_map_versions): Likewise.
18470         * elf/rtld.c (dl_main): Likewise.
18471         (print_unresolved): Use RTLD_PROGNAME.
18472         (print_missing_version): Likewise.
18473         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18474         (elf_machine_rela): Likewise.
18475         * sysdeps/powerpc/powerpc32/dl-machine.c
18476         (__process_machine_rela): Likewise.
18477         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18478         Likewise.
18479         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18480         Likewise.
18481         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18482         Likewise.
18483         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18484         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18485         Likewise.
18486         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18487         Likewise.
18488         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18489
18490 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
18491
18492         * po/be.po: Add descriptive title.
18493         * po/zh_CN.po: Likewise.
18494         * po/header.pot: Likewise.
18495
18496 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
18497
18498         * locale/programs/locarchive.c (create_archive): Inlucde fname in
18499         error message.
18500         (enlarge_archive): Likewise.
18501
18502 2013-05-28  Ben North  <ben@redfrontdoor.org>
18503
18504         * manual/arith.texi (frexp): It is the magnitude of the return
18505         value which lies in [0.5, 1), not the return value itself.
18506
18507 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18508
18509         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18510
18511 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
18512
18513         * stdio-common/bug26.c (main): Correct fscanf template.
18514
18515         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18516         declare _dl_skip_args.
18517
18518         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18519         Don't declare.
18520
18521         * manual/platform.texi: Add missing @end deftypefun.
18522
18523 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18524
18525         [BZ #15529]
18526         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18527         bit of mantissa of 2^16382.
18528         * math/libm-test.inc (hypot_test_data): Add more tests.
18529
18530         * math/libm-test.inc: Add drem and pow10 to list of tested
18531         functions.
18532         (pow10_test): New function.
18533         (drem_test): Likewise.
18534         (drem_test_tonearest): Likewise.
18535         (drem_test_towardzero): Likewise.
18536         (drem_test_downward): Likewise.
18537         (drem_test_upward): Likewise.
18538         (main): Call the new functions.
18539
18540         * math/libm-test.inc (finite_test_data): Remove.
18541         (finite_test): Run tests from isfinite_test_data.
18542         (gamma_test_data): Remove.
18543         (gamma_test): Run tests from lgamma_test_data.
18544         * sysdeps/i386/fpu/libm-test-ulps: Update.
18545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18546
18547 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18548
18549         * manual/platform.texi: Add PowerPC PPR function set documentation.
18550         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18551         implementation.
18552
18553 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
18554
18555         * math/libm-test.inc (MAX_EXP): Define.
18556         (ULPDIFF): Define.
18557         (ulp): New function.
18558         (check_float_internal): Use ULPDIFF.
18559         (cpow_test): Disable failing test.
18560         (check_ulp): Test ulp() implemetnation.
18561         (main): Call check_ulp before starting tests.
18562
18563 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18564
18565         * math/gen-libm-test.pl (generate_testfile): Do not handle
18566         START_DATA and END_DATA.
18567         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18568         END_DATA.
18569         (acos_tonearest_test_data): Likewise.
18570         (acos_towardzero_test_data): Likewise.
18571         (acos_downward_test_data): Likewise.
18572         (acos_upward_test_data): Likewise.
18573         (acosh_test_data): Likewise.
18574         (asin_test_data): Likewise.
18575         (asin_tonearest_test_data): Likewise.
18576         (asin_towardzero_test_data): Likewise.
18577         (asin_downward_test_data): Likewise.
18578         (asin_upward_test_data): Likewise.
18579         (asinh_test_data): Likewise.
18580         (atan_test_data): Likewise.
18581         (atanh_test_data): Likewise.
18582         (atan2_test_data): Likewise.
18583         (cabs_test_data): Likewise.
18584         (cacos_test_data): Likewise.
18585         (cacosh_test_data): Likewise.
18586         (carg_test_data): Likewise.
18587         (casin_test_data): Likewise.
18588         (casinh_test_data): Likewise.
18589         (catan_test_data): Likewise.
18590         (catanh_test_data): Likewise.
18591         (cbrt_test_data): Likewise.
18592         (ccos_test_data): Likewise.
18593         (ccosh_test_data): Likewise.
18594         (ceil_test_data): Likewise.
18595         (cexp_test_data): Likewise.
18596         (cimag_test_data): Likewise.
18597         (clog_test_data): Likewise.
18598         (clog10_test_data): Likewise.
18599         (conj_test_data): Likewise.
18600         (copysign_test_data): Likewise.
18601         (cos_test_data): Likewise.
18602         (cos_tonearest_test_data): Likewise.
18603         (cos_towardzero_test_data): Likewise.
18604         (cos_downward_test_data): Likewise.
18605         (cos_upward_test_data): Likewise.
18606         (cosh_test_data): Likewise.
18607         (cosh_tonearest_test_data): Likewise.
18608         (cosh_towardzero_test_data): Likewise.
18609         (cosh_downward_test_data): Likewise.
18610         (cosh_upward_test_data): Likewise.
18611         (cpow_test_data): Likewise.
18612         (cproj_test_data): Likewise.
18613         (creal_test_data): Likewise.
18614         (csin_test_data): Likewise.
18615         (csinh_test_data): Likewise.
18616         (csqrt_test_data): Likewise.
18617         (ctan_test_data): Likewise.
18618         (ctan_tonearest_test_data): Likewise.
18619         (ctan_towardzero_test_data): Likewise.
18620         (ctan_downward_test_data): Likewise.
18621         (ctan_upward_test_data): Likewise.
18622         (ctanh_test_data): Likewise.
18623         (ctanh_tonearest_test_data): Likewise.
18624         (ctanh_towardzero_test_data): Likewise.
18625         (ctanh_downward_test_data): Likewise.
18626         (ctanh_upward_test_data): Likewise.
18627         (erf_test_data): Likewise.
18628         (erfc_test_data): Likewise.
18629         (exp_test_data): Likewise.
18630         (exp_tonearest_test_data): Likewise.
18631         (exp_towardzero_test_data): Likewise.
18632         (exp_downward_test_data): Likewise.
18633         (exp_upward_test_data): Likewise.
18634         (exp10_test_data): Likewise.
18635         (exp2_test_data): Likewise.
18636         (expm1_test_data): Likewise.
18637         (fabs_test_data): Likewise.
18638         (fdim_test_data): Likewise.
18639         (finite_test_data): Likewise.
18640         (floor_test_data): Likewise.
18641         (fma_test_data): Likewise.
18642         (fma_towardzero_test_data): Likewise.
18643         (fma_downward_test_data): Likewise.
18644         (fma_upward_test_data): Likewise.
18645         (fmax_test_data): Likewise.
18646         (fmin_test_data): Likewise.
18647         (fmod_test_data): Likewise.
18648         (fpclassify_test_data): Likewise.
18649         (frexp_test_data): Likewise.
18650         (gamma_test_data): Likewise.
18651         (hypot_test_data): Likewise.
18652         (ilogb_test_data): Likewise.
18653         (isfinite_test_data): Likewise.
18654         (isgreater_test_data): Likewise.
18655         (isgreaterequal_test_data): Likewise.
18656         (isinf_test_data): Likewise.
18657         (isless_test_data): Likewise.
18658         (islessequal_test_data): Likewise.
18659         (islessgreater_test_data): Likewise.
18660         (isnan_test_data): Likewise.
18661         (isnormal_test_data): Likewise.
18662         (issignaling_test_data): Likewise.
18663         (isunordered_test_data): Likewise.
18664         (j0_test_data): Likewise.
18665         (j1_test_data): Likewise.
18666         (jn_test_data): Likewise.
18667         (ldexp_test_data): Likewise.
18668         (lgamma_test_data): Likewise.
18669         (lrint_test_data): Likewise.
18670         (lrint_tonearest_test_data): Likewise.
18671         (lrint_towardzero_test_data): Likewise.
18672         (lrint_downward_test_data): Likewise.
18673         (lrint_upward_test_data): Likewise.
18674         (llrint_test_data): Likewise.
18675         (llrint_tonearest_test_data): Likewise.
18676         (llrint_towardzero_test_data): Likewise.
18677         (llrint_downward_test_data): Likewise.
18678         (llrint_upward_test_data): Likewise.
18679         (log_test_data): Likewise.
18680         (log10_test_data): Likewise.
18681         (log1p_test_data): Likewise.
18682         (log2_test_data): Likewise.
18683         (logb_test_data): Likewise.
18684         (logb_downward_test_data): Likewise.
18685         (lround_test_data): Likewise.
18686         (llround_test_data): Likewise.
18687         (modf_test_data): Likewise.
18688         (nearbyint_test_data): Likewise.
18689         (nextafter_test_data): Likewise.
18690         (nexttoward_test_data): Likewise.
18691         (pow_test_data): Likewise.
18692         (pow_tonearest_test_data): Likewise.
18693         (pow_towardzero_test_data): Likewise.
18694         (pow_downward_test_data): Likewise.
18695         (pow_upward_test_data): Likewise.
18696         (remainder_test_data): Likewise.
18697         (remainder_tonearest_test_data): Likewise.
18698         (remainder_towardzero_test_data): Likewise.
18699         (remainder_downward_test_data): Likewise.
18700         (remainder_upward_test_data): Likewise.
18701         (remquo_test_data): Likewise.
18702         (rint_test_data): Likewise.
18703         (rint_tonearest_test_data): Likewise.
18704         (rint_towardzero_test_data): Likewise.
18705         (rint_downward_test_data): Likewise.
18706         (rint_upward_test_data): Likewise.
18707         (round_test_data): Likewise.
18708         (scalb_test_data): Likewise.
18709         (scalbn_test_data): Likewise.
18710         (scalbln_test_data): Likewise.
18711         (signbit_test_data): Likewise.
18712         (sin_test_data): Likewise.
18713         (sin_tonearest_test_data): Likewise.
18714         (sin_towardzero_test_data): Likewise.
18715         (sin_downward_test_data): Likewise.
18716         (sin_upward_test_data): Likewise.
18717         (sincos_test_data): Likewise.
18718         (sinh_test_data): Likewise.
18719         (sinh_tonearest_test_data): Likewise.
18720         (sinh_towardzero_test_data): Likewise.
18721         (sinh_downward_test_data): Likewise.
18722         (sinh_upward_test_data): Likewise.
18723         (sqrt_test_data): Likewise.
18724         (tan_test_data): Likewise.
18725         (tan_tonearest_test_data): Likewise.
18726         (tan_towardzero_test_data): Likewise.
18727         (tan_downward_test_data): Likewise.
18728         (tan_upward_test_data): Likewise.
18729         (tanh_test_data): Likewise.
18730         (tgamma_test_data): Likewise.
18731         (trunc_test_data): Likewise.
18732         (y0_test_data): Likewise.
18733         (y1_test_data): Likewise.
18734         (yn_test_data): Likewise.
18735         (significand_test_data): Likewise.
18736
18737         * math/gen-libm-test.pl (@functions): Remove variable.
18738         (generate_testfile): Don't handle START and END lines.
18739         * math/libm-test.inc (START): New macro.
18740         (END): Likewise.
18741         (END_COMPLEX): Likewise.
18742         (acos_test): Use END macro without arguments.
18743         (acos_test_tonearest): Likewise.
18744         (acos_test_towardzero): Likewise.
18745         (acos_test_downward): Likewise.
18746         (acos_test_upward): Likewise.
18747         (acosh_test): Likewise.
18748         (asin_test): Likewise.
18749         (asin_test_tonearest): Likewise.
18750         (asin_test_towardzero): Likewise.
18751         (asin_test_downward): Likewise.
18752         (asin_test_upward): Likewise.
18753         (asinh_test): Likewise.
18754         (atan_test): Likewise.
18755         (atanh_test): Likewise.
18756         (atan2_test): Likewise.
18757         (cabs_test): Likewise.
18758         (cacos_test): Use END_COMPLEX macro without arguments.
18759         (cacosh_test): Likewise.
18760         (carg_test): Use END macro without arguments.
18761         (casin_test): Use END_COMPLEX macro without arguments.
18762         (casinh_test): Likewise.
18763         (catan_test): Likewise.
18764         (catanh_test): Likewise.
18765         (cbrt_test): Use END macro without arguments.
18766         (ccos_test): Use END_COMPLEX macro without arguments.
18767         (ccosh_test): Likewise.
18768         (ceil_test): Use END macro without arguments.
18769         (cexp_test): Use END_COMPLEX macro without arguments.
18770         (cimag_test): Use END macro without arguments.
18771         (clog_test): Use END_COMPLEX macro without arguments.
18772         (clog10_test): Likewise.
18773         (conj_test): Likewise.
18774         (copysign_test): Use END macro without arguments.
18775         (cos_test): Likewise.
18776         (cos_test_tonearest): Likewise.
18777         (cos_test_towardzero): Likewise.
18778         (cos_test_downward): Likewise.
18779         (cos_test_upward): Likewise.
18780         (cosh_test): Likewise.
18781         (cosh_test_tonearest): Likewise.
18782         (cosh_test_towardzero): Likewise.
18783         (cosh_test_downward): Likewise.
18784         (cosh_test_upward): Likewise.
18785         (cpow_test): Use END_COMPLEX macro without arguments.
18786         (cproj_test): Likewise.
18787         (creal_test): Use END macro without arguments.
18788         (csin_test): Use END_COMPLEX macro without arguments.
18789         (csinh_test): Likewise.
18790         (csqrt_test): Likewise.
18791         (ctan_test): Likewise.
18792         (ctan_test_tonearest): Likewise.
18793         (ctan_test_towardzero): Likewise.
18794         (ctan_test_downward): Likewise.
18795         (ctan_test_upward): Likewise.
18796         (ctanh_test): Likewise.
18797         (ctanh_test_tonearest): Likewise.
18798         (ctanh_test_towardzero): Likewise.
18799         (ctanh_test_downward): Likewise.
18800         (ctanh_test_upward): Likewise.
18801         (erf_test): Use END macro without arguments.
18802         (erfc_test): Likewise.
18803         (exp_test): Likewise.
18804         (exp_test_tonearest): Likewise.
18805         (exp_test_towardzero): Likewise.
18806         (exp_test_downward): Likewise.
18807         (exp_test_upward): Likewise.
18808         (exp10_test): Likewise.
18809         (exp2_test): Likewise.
18810         (expm1_test): Likewise.
18811         (fabs_test): Likewise.
18812         (fdim_test): Likewise.
18813         (finite_test): Likewise.
18814         (floor_test): Likewise.
18815         (fma_test): Likewise.
18816         (fma_test_towardzero): Likewise.
18817         (fma_test_downward): Likewise.
18818         (fma_test_upward): Likewise.
18819         (fmax_test): Likewise.
18820         (fmin_test): Likewise.
18821         (fmod_test): Likewise.
18822         (fpclassify_test): Likewise.
18823         (frexp_test): Likewise.
18824         (gamma_test): Likewise.
18825         (hypot_test): Likewise.
18826         (ilogb_test): Likewise.
18827         (isfinite_test): Likewise.
18828         (isgreater_test): Likewise.
18829         (isgreaterequal_test): Likewise.
18830         (isinf_test): Likewise.
18831         (isless_test): Likewise.
18832         (islessequal_test): Likewise.
18833         (islessgreater_test): Likewise.
18834         (isnan_test): Likewise.
18835         (isnormal_test): Likewise.
18836         (issignaling_test): Likewise.
18837         (isunordered_test): Likewise.
18838         (j0_test): Likewise.
18839         (j1_test): Likewise.
18840         (jn_test): Likewise.
18841         (ldexp_test): Likewise.
18842         (lgamma_test): Likewise.
18843         (lrint_test): Likewise.
18844         (lrint_test_tonearest): Likewise.
18845         (lrint_test_towardzero): Likewise.
18846         (lrint_test_downward): Likewise.
18847         (lrint_test_upward): Likewise.
18848         (llrint_test): Likewise.
18849         (llrint_test_tonearest): Likewise.
18850         (llrint_test_towardzero): Likewise.
18851         (llrint_test_downward): Likewise.
18852         (llrint_test_upward): Likewise.
18853         (log_test): Likewise.
18854         (log10_test): Likewise.
18855         (log1p_test): Likewise.
18856         (log2_test): Likewise.
18857         (logb_test): Likewise.
18858         (logb_test_downward): Likewise.
18859         (lround_test): Likewise.
18860         (llround_test): Likewise.
18861         (modf_test): Likewise.
18862         (nearbyint_test): Likewise.
18863         (nextafter_test): Likewise.
18864         (nexttoward_test): Likewise.
18865         (pow_test): Likewise.
18866         (pow_test_tonearest): Likewise.
18867         (pow_test_towardzero): Likewise.
18868         (pow_test_downward): Likewise.
18869         (pow_test_upward): Likewise.
18870         (remainder_test): Likewise.
18871         (remainder_test_tonearest): Likewise.
18872         (remainder_test_towardzero): Likewise.
18873         (remainder_test_downward): Likewise.
18874         (remainder_test_upward): Likewise.
18875         (remquo_test): Likewise.
18876         (rint_test): Likewise.
18877         (rint_test_tonearest): Likewise.
18878         (rint_test_towardzero): Likewise.
18879         (rint_test_downward): Likewise.
18880         (rint_test_upward): Likewise.
18881         (round_test): Likewise.
18882         (scalb_test): Likewise.
18883         (scalbn_test): Likewise.
18884         (scalbln_test): Likewise.
18885         (signbit_test): Likewise.
18886         (sin_test): Likewise.
18887         (sin_test_tonearest): Likewise.
18888         (sin_test_towardzero): Likewise.
18889         (sin_test_downward): Likewise.
18890         (sin_test_upward): Likewise.
18891         (sincos_test): Likewise.
18892         (sinh_test): Likewise.
18893         (sinh_test_tonearest): Likewise.
18894         (sinh_test_towardzero): Likewise.
18895         (sinh_test_downward): Likewise.
18896         (sinh_test_upward): Likewise.
18897         (sqrt_test): Likewise.
18898         (tan_test): Likewise.
18899         (tan_test_tonearest): Likewise.
18900         (tan_test_towardzero): Likewise.
18901         (tan_test_downward): Likewise.
18902         (tan_test_upward): Likewise.
18903         (tanh_test): Likewise.
18904         (tgamma_test): Likewise.
18905         (trunc_test): Likewise.
18906         (y0_test): Likewise.
18907         (y1_test): Likewise.
18908         (yn_test): Likewise.
18909         (significand_test): Likewise.
18910
18911 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
18912
18913         [BZ #15381]
18914         * libio/genops.c (_IO_no_init): Initialize wide struct info.
18915
18916 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18917
18918         [BZ #14894]
18919         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18920         __ppc_mdoio and __ppc_mdoom.
18921         * manual/platform.texi: Document new functions __ppc_yield,
18922         __ppc_mdoio and __ppc_mdoom.
18923
18924 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
18925
18926         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18927         (main): Mention "tls" pseudo-hwcap is legacy.
18928         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18929
18930 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18931
18932         * math/gen-libm-test.pl (parse_args): Output only string of
18933         arguments as text for test name, not full call or descriptions of
18934         tests for extra outputs.
18935         (generate_testfile): Do not pass function name to parse_args.
18936         Generate this_func variable from START.
18937         * math/libm-test.inc (struct test_f_f_data): Rename test_name
18938         field to arg_str.
18939         (struct test_ff_f_data): Likewise.
18940         (test_ff_f_data_nexttoward): Likewise.
18941         (struct test_fi_f_data): Likewise.
18942         (struct test_fl_f_data): Likewise.
18943         (struct test_if_f_data): Likewise.
18944         (struct test_fff_f_data): Likewise.
18945         (struct test_c_f_data): Likewise.
18946         (struct test_f_f1_data): Likewise.  Remove field extra_name.
18947         (struct test_fF_f1_data): Likewise.
18948         (struct test_ffI_f1_data): Likewise.
18949         (struct test_c_c_data): Rename test_name field to arg_str.
18950         (struct test_cc_c_data): Likewise.
18951         (struct test_f_i_data): Likewise.
18952         (struct test_ff_i_data): Likewise.
18953         (struct test_f_l_data): Likewise.
18954         (struct test_f_L_data): Likewise.
18955         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
18956         and extra2_name.
18957         (COMMON_TEST_SETUP): New macro.
18958         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18959         (COMMON_TEST_CLEANUP): Likewise.
18960         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18961         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
18962         macros.
18963         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18964         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
18965         macros.
18966         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18967         (RUN_TEST_fff_f): Take argument string.  Call new setup and
18968         cleanup macros.
18969         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18970         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
18971         macros.
18972         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18973         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
18974         macros.
18975         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18976         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
18977         cleanup macros.
18978         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18979         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
18980         cleanup macros.
18981         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18982         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
18983         cleanup macros.
18984         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18985         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
18986         macros.
18987         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18988         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
18989         macros.
18990         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18991         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
18992         macros.
18993         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18994         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
18995         cleanup macros.
18996         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18997         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
18998         cleanup macros.
18999         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19000         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
19001         macros.
19002         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19003         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
19004         cleanup macros.
19005         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19006         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
19007         macros.
19008         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19009         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
19010         macros.
19011         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19012         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
19013         cleanup macros.
19014         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19015
19016 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
19017
19018         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19019         to _sifields.sigfault.
19020         (si_addr_lsb): Define new macro.
19021         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19022         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19023         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19024
19025 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
19026
19027         [BZ #15441]
19028         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19029         returns -1.
19030         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19031         null return -1.
19032         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19033         loading the domain.
19034
19035 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19036
19037         * math/gen-libm-test.pl (parse_args): Do not include expected
19038         result in test name.
19039         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19040         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19041         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19042         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19043         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19045
19046 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19047
19048         * benchtests/Makefile: Sort function entries.
19049
19050         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19051         tanh, asinh, acosh, atanh.
19052         * benchtests/acos-inputs: New file.
19053         * benchtests/acosh-inputs: New file.
19054         * benchtests/asin-inputs: New file.
19055         * benchtests/asinh-inputs: New file.
19056         * benchtests/atanh-inputs: New file.
19057         * benchtests/cosh-inputs: New file.
19058         * benchtests/log-inputs: New file.
19059         * benchtests/sinh-inputs: New file.
19060         * benchtests/tanh-inputs: New file.
19061
19062 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
19063
19064         [BZ #15339]
19065         * posix/tst-getaddrinfo4.c: New test.
19066         * posix/Makefile (tests): Add it.
19067
19068 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19069
19070         [BZ #15339]
19071         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19072         when no services were used.
19073         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19074         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19075
19076 2013-05-21  Andreas Schwab  <schwab@suse.de>
19077
19078         [BZ #15014]
19079         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19080         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19081         successful.
19082         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19083         redundant variable declarations and reallocation of buffer when
19084         parsing as IPv6 address.  Always set NSS status when called from
19085         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
19086         buffer too small.  Correct computation of needed size.
19087         * nss/Makefile (tests): Add test-digits-dots.
19088         * nss/test-digits-dots.c: New test.
19089
19090 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19091
19092         * benchtests/Makefile: Remove instructions for adding
19093         benchmark tests.
19094         * benchtests/README: New file to explain how to execute and
19095         enhance the benchmark tests.
19096
19097 2013-05-21  Andreas Schwab  <schwab@suse.de>
19098
19099         [BZ #15493]
19100         * setjmp/Makefile (tests): Add tst-sigsetjmp.
19101         * setjmp/tst-sigsetjmp.c: New test.
19102
19103 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19104
19105         * sysdeps/x86_64/memset.S (memset): New implementation.
19106         (__bzero): Likewise.
19107         (__memset_tail): New function.
19108
19109 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19110
19111         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19112         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19113         __memcpy_sse2_unaligned ifunc selection.
19114         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19115         Add memcpy-sse2-unaligned.S.
19116         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19117         Add: __memcpy_sse2_unaligned.
19118
19119 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
19120
19121         [BZ #15490]
19122         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19123         math_force_eval before restoring floating-point envrionment.
19124         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19125         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19126         Likewise.
19127         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19128         <math_private.h>.
19129         (__nearbyintl): Use math_force_eval before restoring
19130         floating-point environment.
19131         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19132
19133         * math/gen-libm-test.pl (special_functions): Remove.
19134         (parse_args): Don't handle TEST_extra.  Handle functions with no
19135         return value.
19136         * math/libm-test.inc (struct test_sincos_data): Replace with
19137         struct test_fFF_11_data.
19138         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19139         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19140         (sincos_test_data): Change element type to struct
19141         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
19142         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19143         RUN_TEST_LOOP_sincos.
19144         * math/README.libm-test: Don't mention special handling of
19145         individual functions.
19146         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19147         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19148         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19149         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19150         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19152
19153         * math/gen-libm-test.pl (get_variable): Remove function.
19154         (parse_args): Don't show pointer parameters to call in test
19155         names.  Use "extra output N" in test names for extra outputs
19156         rather than naming variables.
19157
19158 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
19159
19160         [BZ #15488]
19161         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19162         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19163         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19164         double tests.
19165         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19166         disable.
19167         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19168         check_long_double.
19169
19170         * math/gen-libm-test.pl (@tests): Remove variable.
19171         ($count): Likewise.
19172         (new_test): Remove function.
19173         (show_exceptions): New function.
19174         (special_functions): Use show_exceptions instead of new_test.
19175         (parse_args): Likewise.
19176         (generate_testfile): Pass only function name in generated call to
19177         print_max_error or print_complex_max_error.
19178         (get_ulps): Do not handle complex tests specially.
19179         (output_test): Rename to ...
19180         (get_all_ulps_for_test): ... this.  Return a string rather than
19181         printing to a file.  Require ulps to be present.
19182         (output_ulps): Generate arrays rather than #defines.
19183         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19184         (struct ulp_data): New type.
19185         (BUILD_COMPLEX_ULP): Remove macro.
19186         (compare_ulp_data): New function.
19187         (find_ulps): Likewise.
19188         (find_test_ulps): Likewise.
19189         (find_function_ulps): Likewise.
19190         (find_complex_function_ulps): Likewise.
19191         (print_max_error): Determine allowed ulps using
19192         find_function_ulps.
19193         (print_complex_max_error): Determine allowed ulps using
19194         find_complex_function_ulps.
19195         (check_float_internal): Determine max ulps using find_test_ulps.
19196         (check_float): Do not take max_ulp parameter.  Update call to
19197         check_float_internal.
19198         (check_complex): Likewise.
19199         (check_int): Do not take max_ulp parameter.
19200         (check_long): Likewise.
19201         (check_bool): Likewise.
19202         (check_longlong): Likewise.
19203         (struct test_f_f_data): Remove max_ulp field.
19204         (struct test_ff_f_data): Likewise.
19205         (struct test_ff_f_data_nexttoward): Likewise.
19206         (struct test_fi_f_data): Likewise.
19207         (struct test_fl_f_data): Likewise.
19208         (struct test_if_f_data): Likewise.
19209         (struct test_fff_f_data): Likewise.
19210         (struct test_c_f_data): Likewise.
19211         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19212         (struct test_fF_f1_data): Likewise.
19213         (struct test_ffI_f1_data): Likewise.
19214         (struct test_c_c_data): Remove max_ulp field.
19215         (struct test_cc_c_data): Likewise.
19216         (struct test_f_i_data): Likewise.
19217         (struct test_ff_i_data): Likewise.
19218         (struct test_f_l_data): Likewise.
19219         (struct test_f_L_data): Likewise.
19220         (struct test_sincos_data): Likewise.
19221         (RUN_TEST_f_f): Do not handle ulps.
19222         (RUN_TEST_LOOP_f_f): Likewise.
19223         (RUN_TEST_2_f): Likewise.
19224         (RUN_TEST_LOOP_2_f): Likewise.
19225         (RUN_TEST_fff_f): Likewise.
19226         (RUN_TEST_LOOP_fff_f): Likewise.
19227         (RUN_TEST_c_f): Likewise.
19228         (RUN_TEST_LOOP_c_f): Likewise.
19229         (RUN_TEST_f_f1): Likewise.
19230         (RUN_TEST_LOOP_f_f1): Likewise.
19231         (RUN_TEST_fF_f1): Likewise.
19232         (RUN_TEST_LOOP_fF_f1): Likewise.
19233         (RUN_TEST_fI_f1): Likewise.
19234         (RUN_TEST_LOOP_fI_f1): Likewise.
19235         (RUN_TEST_ffI_f1): Likewise.
19236         (RUN_TEST_LOOP_ffI_f1): Likewise.
19237         (RUN_TEST_c_c): Likewise.
19238         (RUN_TEST_LOOP_c_c): Likewise.
19239         (RUN_TEST_cc_c): Likewise.
19240         (RUN_TEST_LOOP_cc_c): Likewise.
19241         (RUN_TEST_f_i): Likewise.
19242         (RUN_TEST_LOOP_f_i): Likewise.
19243         (RUN_TEST_f_i_tg): Likewise.
19244         (RUN_TEST_LOOP_f_i_tg): Likewise.
19245         (RUN_TEST_ff_i_tg): Likewise.
19246         (RUN_TEST_LOOP_ff_i_tg): Likewise.
19247         (RUN_TEST_f_b): Likewise.
19248         (RUN_TEST_LOOP_f_b): Likewise.
19249         (RUN_TEST_f_b_tg): Likewise.
19250         (RUN_TEST_LOOP_f_b_tg): Likewise.
19251         (RUN_TEST_f_l): Likewise.
19252         (RUN_TEST_LOOP_f_l): Likewise.
19253         (RUN_TEST_f_L): Likewise.
19254         (RUN_TEST_LOOP_f_L): Likewise.
19255         (RUN_TEST_sincos): Likewise.
19256         (RUN_TEST_LOOP_sincos): Likewise.
19257
19258 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
19259
19260         [BZ #15480]
19261         [BZ #15485]
19262         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19263         main case of finite arguments, set rounding mode to FE_TONEAREST
19264         and discard exceptions.
19265         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19266         exceptions.
19267         (remainder_tonearest_test_data): New variable.
19268         (remainder_test_tonearest): New function.
19269         (remainder_towardzero_test_data): New variable.
19270         (remainder_test_towardzero): New function.
19271         (remainder_downward_test_data): New variable.
19272         (remainder_test_downward): New function.
19273         (remainder_upward_test_data): New variable.
19274         (remainder_test_upward): New function.
19275         (main): Call the new test functions.
19276
19277         * math/libm-test.inc (struct test_f_f1_data): Remove field
19278         extra_init.
19279         (struct test_fF_f1_data): Likewise.
19280         (struct test_ffI_f1_data): Likewise.
19281         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
19282         based on value of EXTRA_EXPECTED.
19283         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19284         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
19285         EXTRA_VAR based on value of EXTRA_EXPECTED.
19286         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19287         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
19288         EXTRA_VAR based on value of EXTRA_EXPECTED.
19289         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19290         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
19291         EXTRA_VAR based on value of EXTRA_EXPECTED.
19292         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19293         * math/gen-libm-test.pl (parse_args): Don't output initializers
19294         for extra output values.
19295
19296         * math/libm-test.inc (check_int): Expect result to be exactly
19297         equal to expected value and do not handle ulps.
19298         (check_long): Likewise.
19299         (check_longlong): Likewise.
19300
19301         * math/libm-test.inc (ceil_test_data): Test for "inexact"
19302         exceptions.
19303         (cimag_test_data): Likewise.
19304         (conj_test_data): Likewise.
19305         (copysign_test_data): Likewise.
19306         (cproj_test_data): Likewise.
19307         (creal_test_data): Likewise.
19308         (fabs_test_data): Likewise.
19309         (fdim_test_data): Likewise.
19310         (finite_test_data): Likewise.
19311         (floor_test_data): Likewise.
19312         (fmax_test_data): Likewise.
19313         (fmin_test_data): Likewise.
19314         (fmod_test_data): Likewise.
19315         (fpclassify_test_data): Likewise.
19316         (frexp_test_data): Likewise.
19317         (ilogb_test_data): Likewise.
19318         (isfinite_test_data): Likewise.
19319         (isgreater_test_data): Likewise.
19320         (isgreaterequal_test_data): Likewise.
19321         (isinf_test_data): Likewise.
19322         (isless_test_data): Likewise.
19323         (islessequal_test_data): Likewise.
19324         (islessgreater_test_data): Likewise.
19325         (isnan_test_data): Likewise.
19326         (isnormal_test_data): Likewise.
19327         (issignaling_test_data): Likewise.
19328         (isunordered_test_data): Likewise.
19329         (ldexp_test_data): Likewise.
19330         (lrint_test_data): Likewise.
19331         (lrint_test_data) [TEST_FLOAT]: Disable one test.
19332         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19333         (lrint_tonearest_test_data): Test for "inexact" exceptions.
19334         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19335         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19336         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19337         test input.
19338         (lrint_towardzero_test_data): Test for "inexact" exceptions.
19339         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19340         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19341         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19342         that test input.
19343         (lrint_downward_test_data): Test for "inexact" exceptions.
19344         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19345         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19346         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19347         test input.
19348         (lrint_upward_test_data): Test for "inexact" exceptions.
19349         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19350         test input.
19351         (llrint_test_data): Test for "inexact" exceptions.
19352         (llrint_test_data) [TEST_FLOAT]: Disable one test.
19353         (llrint_tonearest_test_data): Test for "inexact" exceptions.
19354         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19355         (llrint_towardzero_test_data): Test for "inexact" exceptions.
19356         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19357         (llrint_downward_test_data): Test for "inexact" exceptions.
19358         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19359         (llrint_upward_test_data): Test for "inexact" exceptions.
19360         (logb_test_data): Likewise.
19361         (logb_downward_test_data): Likewise.
19362         (nextafter_test_data): Likewise.
19363         (nexttoward_test_data): Likewise.
19364         (remainder_test_data): Likewise.
19365         (remquo_test_data): Likewise.
19366         (scalbn_test_data): Likewise.
19367         (scalbln_test_data): Likewise.
19368         (signbit_test_data): Likewise.
19369         (sqrt_test_data): Likewise.
19370         (significand_test_data): Likewise.
19371
19372 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19373
19374         [BZ #15424]
19375         * benchtests/bench-modf.c (struct args): Mark arg0 as
19376         volatile.
19377         * scripts/bench.pl: Mark members of struct args as volatile.
19378
19379 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19380
19381         [BZ # 15497]
19382         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19383         negative infinity on POWER6 or lower.
19384         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19385
19386 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19387
19388         [BZ #15442]
19389         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19390         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19391         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19392         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19393         (_FP_SETQNAN): New macro.
19394         (_FP_SETQNAN_SEMIRAW): Likewise.
19395         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19396         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19397         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19398         (FP_EXTEND): Use _FP_FRAC_SNANP.
19399         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19400         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19401         into account.
19402         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19403         New macro.
19404         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19405         Likewise.
19406
19407 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19408
19409         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19410         with DIVIDE_BY_ZERO_EXCEPTION.
19411         (gamma_test_data): Likewise.
19412         (lgamma_test_data): Likewise.
19413         (log_test_data): Likewise.
19414         (log10_test_data): Likewise.
19415         (log2_test_data): Likewise.
19416         (tgamma_test_data): Likewise.
19417
19418         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19419         (acos_test_tonearest): Likewise.
19420         (acos_test_towardzero): Likewise.
19421         (acos_test_downward): Likewise.
19422         (acos_test_upward): Likewise.
19423         (acosh_test): Likewise.
19424         (asin_test): Likewise.
19425         (asin_test_tonearest): Likewise.
19426         (asin_test_towardzero): Likewise.
19427         (asin_test_downward): Likewise.
19428         (asin_test_upward): Likewise.
19429         (asinh_test): Likewise.
19430         (atan_test): Likewise.
19431         (atanh_test): Likewise.
19432         (atan2_test): Likewise.
19433         (cabs_test): Likewise.
19434         (cacos_test): Likewise.
19435         (cacosh_test): Likewise.
19436         (casin_test): Likewise.
19437         (casinh_test): Likewise.
19438         (catan_test): Likewise.
19439         (catanh_test): Likewise.
19440         (cbrt_test): Likewise.
19441         (ccos_test): Likewise.
19442         (ccosh_test): Likewise.
19443         (cexp_test): Likewise.
19444         (clog_test): Likewise.
19445         (clog10_test): Likewise.
19446         (cos_test): Likewise.
19447         (cos_test_tonearest): Likewise.
19448         (cos_test_towardzero): Likewise.
19449         (cos_test_downward): Likewise.
19450         (cos_test_upward): Likewise.
19451         (cosh_test): Likewise.
19452         (cosh_test_tonearest): Likewise.
19453         (cosh_test_towardzero): Likewise.
19454         (cosh_test_downward): Likewise.
19455         (cosh_test_upward): Likewise.
19456         (cpow_test): Likewise.
19457         (csin_test): Likewise.
19458         (csinh_test): Likewise.
19459         (csqrt_test): Likewise.
19460         (ctan_test): Likewise.
19461         (ctan_test_tonearest): Likewise.
19462         (ctan_test_towardzero): Likewise.
19463         (ctan_test_downward): Likewise.
19464         (ctan_test_upward): Likewise.
19465         (ctanh_test): Likewise.
19466         (ctanh_test_tonearest): Likewise.
19467         (ctanh_test_towardzero): Likewise.
19468         (ctanh_test_downward): Likewise.
19469         (ctanh_test_upward): Likewise.
19470         (erf_test): Likewise.
19471         (erfc_test): Likewise.
19472         (exp_test): Likewise.
19473         (exp_test_tonearest): Likewise.
19474         (exp_test_towardzero): Likewise.
19475         (exp_test_downward): Likewise.
19476         (exp_test_upward): Likewise.
19477         (exp10_test): Likewise.
19478         (exp2_test): Likewise.
19479         (expm1_test): Likewise.
19480         (fmod_test): Likewise.
19481         (gamma_test): Likewise.
19482         (hypot_test): Likewise.
19483         (j0_test): Likewise.
19484         (j1_test): Likewise.
19485         (jn_test): Likewise.
19486         (lgamma_test): Likewise.
19487         (log_test): Likewise.
19488         (log10_test): Likewise.
19489         (log1p_test): Likewise.
19490         (log2_test): Likewise.
19491         (logb_test_downward): Likewise.
19492         (pow_test): Likewise.
19493         (pow_test_tonearest): Likewise.
19494         (pow_test_towardzero): Likewise.
19495         (pow_test_downward): Likewise.
19496         (pow_test_upward): Likewise.
19497         (remainder_test): Likewise.
19498         (remquo_test): Likewise.
19499         (sin_test): Likewise.
19500         (sin_test_tonearest): Likewise.
19501         (sin_test_towardzero): Likewise.
19502         (sin_test_downward): Likewise.
19503         (sin_test_upward): Likewise.
19504         (sincos_test): Likewise.
19505         (sinh_test): Likewise.
19506         (sinh_test_tonearest): Likewise.
19507         (sinh_test_towardzero): Likewise.
19508         (sinh_test_downward): Likewise.
19509         (sinh_test_upward): Likewise.
19510         (sqrt_test): Likewise.
19511         (tan_test): Likewise.
19512         (tan_test_tonearest): Likewise.
19513         (tan_test_towardzero): Likewise.
19514         (tan_test_downward): Likewise.
19515         (tan_test_upward): Likewise.
19516         (tanh_test): Likewise.
19517         (tgamma_test): Likewise.
19518         (y0_test): Likewise.
19519         (y1_test): Likewise.
19520         (yn_test): Likewise.
19521
19522         * math/gen-libm-test.pl (adjust_arg): Remove function.
19523         (special_function): Remove argument $in_func.  Only handle
19524         generating output for tables of tests, not inside functions.
19525         (parse_args): Likewise.
19526         (generate_testfile): Remove variable $in_func.  Update call to
19527         parse_args.
19528         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19529         (MINUS_ZERO_INIT): Rename macro to minus_zero.
19530         (PLUS_INFTY_INIT): Rename macro to plus_infty.
19531         (MINUS_INFTY_INIT): Rename macro to minus_infty.
19532         (QNAN_VALUE_INIT): Rename macro to qnan_value.
19533         (MAX_VALUE_INIT): Rename macro to max_value.
19534         (MIN_VALUE_INIT): Rename macro to min_value.
19535         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19536         (plus_zero): Remove variable.
19537         (minus_zero): Likewise.
19538         (plus_infty): Likewise.
19539         (minus_infty): Likewise.
19540         (qnan_value): Likewise.
19541         (max_value): Likewise.
19542         (min_value): Likewise.
19543         (min_subnorm_value): Likewise.
19544
19545 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19546
19547         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19548         uint64_t or uint32_t usage.
19549         * crypt/sha256-block.c: Likewise.
19550         * crypt/sha256-crypt.c: Likewise.
19551         * crypt/sha256.c: Likewise.
19552         * crypt/sha512-block.c: Likewise.
19553         * crypt/sha512-crypt.c: Likewise.
19554         * crypt/sha512.c: Likewise.
19555         * debug/backtrace-tst.c: Likewise.
19556         * debug/pcprofiledump.c: Likewise.
19557         * elf/cache.c: Likewise.
19558         * elf/dl-cache.c: Likewise.
19559         * elf/dl-misc.c: Likewise.
19560         * elf/dl-profile.c: Likewise.
19561         * elf/dl-support.c: Likewise.
19562         * elf/ldconfig.c: Likewise.
19563         * elf/sprof.c: Likewise.
19564         * iconv/dummy-repertoire.c: Likewise.
19565         * iconv/iconv_charmap.c: Likewise.
19566         * iconv/skeleton.c: Likewise.
19567         * iconvdata/8bit-generic.c: Likewise.
19568         * iconvdata/cp737.h: Likewise.
19569         * iconvdata/cp775.h: Likewise.
19570         * iconvdata/ibm1008.h: Likewise.
19571         * iconvdata/ibm1025.h: Likewise.
19572         * iconvdata/ibm1046.h: Likewise.
19573         * iconvdata/ibm1097.h: Likewise.
19574         * iconvdata/ibm1112.h: Likewise.
19575         * iconvdata/ibm1122.h: Likewise.
19576         * iconvdata/ibm1123.h: Likewise.
19577         * iconvdata/ibm1124.h: Likewise.
19578         * iconvdata/ibm1129.h: Likewise.
19579         * iconvdata/ibm1130.h: Likewise.
19580         * iconvdata/ibm1132.h: Likewise.
19581         * iconvdata/ibm1133.h: Likewise.
19582         * iconvdata/ibm1137.h: Likewise.
19583         * iconvdata/ibm1140.h: Likewise.
19584         * iconvdata/ibm1141.h: Likewise.
19585         * iconvdata/ibm1142.h: Likewise.
19586         * iconvdata/ibm1143.h: Likewise.
19587         * iconvdata/ibm1144.h: Likewise.
19588         * iconvdata/ibm1145.h: Likewise.
19589         * iconvdata/ibm1146.h: Likewise.
19590         * iconvdata/ibm1147.h: Likewise.
19591         * iconvdata/ibm1148.h: Likewise.
19592         * iconvdata/ibm1149.h: Likewise.
19593         * iconvdata/ibm1153.h: Likewise.
19594         * iconvdata/ibm1154.h: Likewise.
19595         * iconvdata/ibm1155.h: Likewise.
19596         * iconvdata/ibm1156.h: Likewise.
19597         * iconvdata/ibm1157.h: Likewise.
19598         * iconvdata/ibm1158.h: Likewise.
19599         * iconvdata/ibm1160.h: Likewise.
19600         * iconvdata/ibm1161.h: Likewise.
19601         * iconvdata/ibm1162.h: Likewise.
19602         * iconvdata/ibm1163.h: Likewise.
19603         * iconvdata/ibm1164.h: Likewise.
19604         * iconvdata/ibm1166.h: Likewise.
19605         * iconvdata/ibm1167.h: Likewise.
19606         * iconvdata/ibm12712.h: Likewise.
19607         * iconvdata/ibm1390.h: Likewise.
19608         * iconvdata/ibm1399.h: Likewise.
19609         * iconvdata/ibm16804.h: Likewise.
19610         * iconvdata/ibm4517.h: Likewise.
19611         * iconvdata/ibm4899.h: Likewise.
19612         * iconvdata/ibm4909.h: Likewise.
19613         * iconvdata/ibm4971.h: Likewise.
19614         * iconvdata/ibm5347.h: Likewise.
19615         * iconvdata/ibm803.h: Likewise.
19616         * iconvdata/ibm856.h: Likewise.
19617         * iconvdata/ibm901.h: Likewise.
19618         * iconvdata/ibm902.h: Likewise.
19619         * iconvdata/ibm9030.h: Likewise.
19620         * iconvdata/ibm9066.h: Likewise.
19621         * iconvdata/ibm921.h: Likewise.
19622         * iconvdata/ibm922.h: Likewise.
19623         * iconvdata/ibm9448.h: Likewise.
19624         * iconvdata/isiri-3342.h: Likewise.
19625         * iconvdata/jis0201.h: Likewise.
19626         * include/link.h: Likewise.
19627         * include/netdb.h: Likewise.
19628         * inet/check_native.c: Likewise.
19629         * inet/check_pf.c: Likewise.
19630         * inet/getipv4sourcefilter.c: Likewise.
19631         * inet/getnameinfo.c: Likewise.
19632         * inet/getsourcefilter.c: Likewise.
19633         * inet/htonl.c: Likewise.
19634         * inet/setipv4sourcefilter.c: Likewise.
19635         * inet/setsourcefilter.c: Likewise.
19636         * inet/test-inet6_opt.c: Likewise.
19637         * inet/tst-network.c: Likewise.
19638         * locale/C-collate.c: Likewise.
19639         * locale/C-ctype.c: Likewise.
19640         * locale/C-time.c: Likewise.
19641         * locale/C-translit.h: Likewise.
19642         * locale/loadarchive.c: Likewise.
19643         * locale/programs/3level.h: Likewise.
19644         * locale/programs/charmap.c: Likewise.
19645         * locale/programs/charmap.h: Likewise.
19646         * locale/programs/ld-address.c: Likewise.
19647         * locale/programs/ld-collate.c: Likewise.
19648         * locale/programs/ld-ctype.c: Likewise.
19649         * locale/programs/ld-identification.c: Likewise.
19650         * locale/programs/ld-measurement.c: Likewise.
19651         * locale/programs/ld-messages.c: Likewise.
19652         * locale/programs/ld-monetary.c: Likewise.
19653         * locale/programs/ld-name.c: Likewise.
19654         * locale/programs/ld-numeric.c: Likewise.
19655         * locale/programs/ld-paper.c: Likewise.
19656         * locale/programs/ld-telephone.c: Likewise.
19657         * locale/programs/ld-time.c: Likewise.
19658         * locale/programs/linereader.c: Likewise.
19659         * locale/programs/locale.c: Likewise.
19660         * locale/programs/locarchive.c: Likewise.
19661         * locale/programs/locfile.h: Likewise.
19662         * locale/programs/repertoire.c: Likewise.
19663         * locale/programs/simple-hash.c: Likewise.
19664         * locale/programs/simple-hash.h: Likewise.
19665         * malloc/memusage.c: Likewise.
19666         * malloc/memusagestat.c: Likewise.
19667         * nis/nis_defaults.c: Likewise.
19668         * nis/nis_hash.c: Likewise.
19669         * nis/nis_print.c: Likewise.
19670         * nis/nis_xdr.c: Likewise.
19671         * nscd/connections.c: Likewise.
19672         * nscd/hstcache.c: Likewise.
19673         * nscd/nscd_gethst_r.c: Likewise.
19674         * nscd/nscd_getserv_r.c: Likewise.
19675         * nscd/nscd_helper.c: Likewise.
19676         * nscd/servicescache.c: Likewise.
19677         * nss/makedb.c: Likewise.
19678         * nss/nss_db/db-XXX.c: Likewise.
19679         * nss/nss_db/db-initgroups.c: Likewise.
19680         * nss/nss_db/db-netgrp.c: Likewise.
19681         * nss/nss_files/files-network.c: Likewise.
19682         * nss/nss_files/files-parse.c: Likewise.
19683         * posix/bug-regex5.c: Likewise.
19684         * posix/fnmatch_loop.c: Likewise.
19685         * posix/regcomp.c: Likewise.
19686         * posix/regexec.c: Likewise.
19687         * posix/tst-rfc3484-2.c: Likewise.
19688         * posix/tst-rfc3484-3.c: Likewise.
19689         * posix/tst-rfc3484.c: Likewise.
19690         * resolv/nss_dns/dns-canon.c: Likewise.
19691         * resolv/nss_dns/dns-network.c: Likewise.
19692         * resolv/res_init.c: Likewise.
19693         * resolv/res_mkquery.c: Likewise.
19694         * resolv/tst-aton.c: Likewise.
19695         * stdlib/cxa_atexit.c: Likewise.
19696         * stdlib/cxa_finalize.c: Likewise.
19697         * stdlib/gen-fpioconst.c: Likewise.
19698         * stdlib/strtol_l.c: Likewise.
19699         * string/tst-endian.c: Likewise.
19700         * sunrpc/auth_des.c: Likewise.
19701         * sunrpc/clnt_udp.c: Likewise.
19702         * sunrpc/rtime.c: Likewise.
19703         * sunrpc/svcauth_des.c: Likewise.
19704         * sunrpc/xdr.c: Likewise.
19705         * sunrpc/xdr_intXX_t.c: Likewise.
19706         * sunrpc/xdr_rec.c: Likewise.
19707         * sysdeps/generic/ldconfig.h: Likewise.
19708         * sysdeps/generic/ldsodefs.h: Likewise.
19709         * sysdeps/generic/memusage.h: Likewise.
19710         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19711         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19712         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19713         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19714         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19715         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19716         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19717         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19718         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19719         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19720         * sysdeps/posix/getaddrinfo.c: Likewise.
19721         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19722         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19723         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19724         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19725         * sysdeps/powerpc/test-gettimebase.c: Likewise.
19726         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19727         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19728         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19729         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19730         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19731         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19732         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19733         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19734         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19735         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19736         * sysdeps/x86_64/dl-tls.h: Likewise.
19737         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19738         * time/alt_digit.c: Likewise.
19739         * time/era.c: Likewise.
19740         * wcsmbs/tst-c16c32-1.c: Likewise.
19741
19742 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19743
19744         * math/libm-test.inc (struct test_sincos_data): New type.
19745         (RUN_TEST_LOOP_sincos): New macro.
19746         (sincos_test_data): New variable.
19747         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19748
19749 2013-05-16  Richard Henderson  <rth@redhat.com>
19750
19751         * math/atest-exp2.c (LIMB64): New macro.
19752         (CONSTSZ): New macro.
19753         (mp_exp1, mp_exp_m1, mp_log2): New variables.
19754         (hexdig): Move ...
19755         (print_mpn_fp): ... to function scope.
19756         (read_mpn_hex): Remove.
19757         (get_log2): Remove.
19758         (exp2_mpn): Use mp_log2.
19759         (main): Use mp_exp1.
19760
19761 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19762
19763         * math/libm-test.inc: Remove comment about not testing "inexact"
19764         exceptions.
19765         (INEXACT_EXCEPTION): New macro.
19766         (NO_INEXACT_EXCEPTION): Likewise.
19767         (INVALID_EXCEPTION_OK): Update value.
19768         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19769         (OVERFLOW_EXCEPTION_OK): Likewise.
19770         (UNDERFLOW_EXCEPTION_OK): Likewise.
19771         (IGNORE_ZERO_INF_SIGN): Likewise.
19772         (ERRNO_UNCHANGED): Likewise.
19773         (ERRNO_EDOM): Likewise.
19774         (ERRNO_ERANGE): Likewise.
19775         (test_exceptions): Handle testing "inexact" exceptions.
19776         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19777         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19778         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19779         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19780         INEXACT_EXCEPTION.
19781         (rint_towardzero_test_data): Likewise.
19782         (rint_downward_test_data): Likewise.
19783         (rint_upward_test_data): Likewise.
19784
19785         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19786         with OVERFLOW_EXCEPTION.
19787         (exp10_test_data): Likewise.
19788         (exp2_test_data): Likewise.
19789         (expm1_test_data): Likewise.
19790         (lgamma_test_data): Likewise.
19791         (pow_test_data): Likewise.
19792         (tgamma_test_data): Likewise.
19793         (yn_test_data): Remove duplicate test of overflow.
19794
19795         * math/libm-test.inc (struct test_cc_c_data): New type.
19796         (RUN_TEST_LOOP_cc_c): New macro.
19797         (cpow_test_data): New variable.
19798         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19799
19800         * math/libm-test.inc (struct test_f_L_data): New type.
19801         (RUN_TEST_LOOP_f_L): New macro.
19802         (llrint_test_data): New variable.
19803         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19804         (llrint_tonearest_test_data): New variable.
19805         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19806         (llrint_towardzero_test_data): New variable.
19807         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19808         (llrint_downward_test_data): New variable.
19809         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19810         (llrint_upward_test_data): New variable.
19811         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19812         (llround_test_data): New variable.
19813         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19814
19815 2013-05-13  Peter Collingbourne  <pcc@google.com>
19816
19817         * math/atest-exp2.c (get_log2): Remove const attribute.
19818
19819 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19820
19821         * math/libm-test.inc (struct test_f_l_data): New type.
19822         (RUN_TEST_LOOP_f_l): New macro.
19823         (lrint_test_data): New variable.
19824         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19825         (lrint_tonearest_test_data): New variable.
19826         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19827         (lrint_towardzero_test_data): New variable.
19828         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19829         (lrint_downward_test_data): New variable.
19830         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19831         (lrint_upward_test_data): New variable.
19832         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19833         (lround_test_data): New variable.
19834         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19835
19836 2013-05-15  Peter Collingbourne  <pcc@google.com>
19837
19838         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19839         (EXTRACT_WORDS64) Use where appropriate.
19840         (INSERT_WORDS64) Likewise.
19841
19842         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19843         constraints with x constraints.
19844         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19845
19846         * malloc/obstack.c (_obstack_compat): Add initializer.
19847
19848 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19849
19850         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19851         si_trapno and add si_addr_lsb to _sifields.sigfault.
19852         (si_trapno): Remove macro.
19853         (si_addr_lsb): Define new macro.
19854         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19855
19856 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19857
19858         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19859         instead of TEST_f_l.
19860         (llrint_test_tonearest): Likewise.
19861         (llrint_test_towardzero): Likewise.
19862         (llrint_test_downward): Likewise.
19863         (llrint_test_upward): Likewise.
19864         (llround_test): Likewise.
19865
19866         * math/libm-test.inc (struct test_f_i_data): Add comment.
19867         (RUN_TEST_LOOP_f_b): New macro.
19868         (RUN_TEST_LOOP_f_b_tg): Likewise.
19869         (finite_test_data): New variable.
19870         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19871         (isfinite_test_data): New variable.
19872         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19873         (isinf_test_data): New variable.
19874         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19875         (isnan_test_data): New variable.
19876         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19877         (isnormal_test_data): New variable.
19878         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19879         (issignaling_test_data): New variable.
19880         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19881         (signbit_test_data): New variable.
19882         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19883
19884         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19885         with INVALID_EXCEPTION.
19886         (acosh_test_data): Likewise.
19887         (asin_test_data): Likewise.
19888         (atanh_test_data): Likewise.
19889         (fmod_test_data): Likewise.
19890         (log_test_data): Likewise.
19891         (log10_test_data): Likewise.
19892         (log2_test_data): Likewise.
19893         (pow_test_data): Likewise.
19894         (sqrt_test_data): Likewise.
19895         (y0_test_data): Likewise.
19896         (y1_test_data): Likewise.
19897         (yn_test_data): Likewise.
19898
19899         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19900         function contents.
19901
19902         * math/libm-test.inc (struct test_ff_i_data): New type.
19903         (RUN_TEST_LOOP_ff_i_tg): New macro.
19904         (isgreater_test_data): New variable.
19905         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19906         (isgreaterequal_test_data): New variable.
19907         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19908         (isless_test_data): New variable.
19909         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19910         (islessequal_test_data): New variable.
19911         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19912         (islessgreater_test_data): New variable.
19913         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19914         (isunordered_test_data): New variable.
19915         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19916
19917 2013-05-14  David S. Miller  <davem@davemloft.net>
19918
19919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19920
19921 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
19922
19923         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19924
19925         * math/libm-test.inc (struct test_fF_f1_data): Change type of
19926         extra_test to int.
19927         (struct test_f_i_data): Change type of max_ulp to int.
19928
19929         * math/libm-test.inc (test_ffI_f1_data): New type.
19930         (RUN_TEST_LOOP_ffI_f1): New macro.
19931         (remquo_test_data): New variable.
19932         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19933
19934         * setjmp/tst-setjmp-fp.c: New file.
19935         * setjmp/Makefile (tests): Add tst-setjmp-fp.
19936         (link-libm): New variable.
19937         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19938
19939         * math/libm-test.inc (struct test_f_i_data): New type.
19940         (RUN_TEST_LOOP_f_i): New macro.
19941         (RUN_TEST_LOOP_f_i_tg): Likewise.
19942         (fpclassify_test_data): New variable.
19943         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19944         (ilogb_test_data): New variable.
19945         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19946
19947         * math/libm-test.inc (scalbln_test): Correct function name in END
19948         call.
19949
19950         * math/libm-test.inc (struct test_f_f1_data): Add comment.
19951         (RUN_TEST_LOOP_fI_f1): New macro.
19952         (frexp_test_data): New variable.
19953         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19954
19955         * math/libm-test.inc (struct test_fF_f1_data): New type.
19956         (RUN_TEST_LOOP_fF_f1): New macro.
19957         (modf_test_data): New variable.
19958         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19959
19960         * math/libm-test.inc (struct test_f_f1_data): New type.
19961         (RUN_TEST_LOOP_f_f1): New macro.
19962         (gamma_test_data): New variable.
19963         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19964         (lgamma_test_data): New variable.
19965         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19966
19967 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
19968
19969         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19970         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19971         (main): Comment "tls" pseudo-hwcap.
19972
19973 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
19974
19975         * math/libm-test.inc (struct test_fl_f_data): New type.
19976         (RUN_TEST_LOOP_fl_f): New variable.
19977         (scalbln_test_data): New variable.
19978         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19979
19980         * math/libm-test.inc (struct test_fi_f_data): New type.
19981         (RUN_TEST_LOOP_fi_f): New macro.
19982         (ldexp_test_data): New variable.
19983         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19984         (scalbn_test_data): New variable.
19985         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19986
19987         * math/libm-test.inc (struct test_c_f_data): New type.
19988         (RUN_TEST_LOOP_c_f): New macro.
19989         (cabs_test_data): New variable.
19990         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19991         (carg_test_data): New variable.
19992         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19993         (cimag_test_data): New variable.
19994         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19995         (creal_test_data): New variable.
19996         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19997
19998         * math/libm-test.inc (struct test_if_f_data): New type.
19999         (RUN_TEST_LOOP_if_f): New macro.
20000         (jn_test_data): New variable.
20001         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20002         (yn_test_data): New variable.
20003         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20004
20005         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20006
20007 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20008
20009         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20010         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20011
20012 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20013
20014         * benchtests/Makefile (CPPFLAGS-nonlib): Add
20015         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20016         (bench-deps): Add bench-timing.h.
20017         * benchtests-bench-skeleton.c: Include bench-timing.h.
20018         (main): Use TIMING_* macros instead of clock_gettime.
20019         * benchtests/bench-timing.h: New file.
20020
20021         [BZ #14582]
20022         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20023         Renamed from _LIB_VERSION.
20024         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20025
20026 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
20027
20028         * math/libm-test.inc (struct test_fff_f_data): New type.
20029         (RUN_TEST_LOOP_fff_f): New macro.
20030         (fma_test_data): New variable.
20031         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20032         (fma_towardzero_test_data): New variable.
20033         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20034         (fma_downward_test_data): New variable.
20035         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20036         (fma_upward_test_data): New variable.
20037         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20038
20039         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20040         (struct test_c_c_data): New type.
20041         (RUN_TEST_LOOP_c_c): New macro.
20042         (cacos_test_data): New variable.
20043         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20044         (cacosh_test_data): New variable.
20045         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20046         (casin_test_data): New variable.
20047         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20048         (casinh_test_data): New variable.
20049         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20050         (catan_test_data): New variable.
20051         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20052         (catanh_test_data): New variable.
20053         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20054         (ccos_test_data): New variable.
20055         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20056         (ccosh_test_data): New variable.
20057         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20058         (cexp_test_data): New variable.
20059         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20060         (clog_test_data): New variable.
20061         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20062         (clog10_test_data): New variable.
20063         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20064         (conj_test_data): New variable.
20065         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20066         (cproj_test_data): New variable.
20067         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20068         (csin_test_data): New variable.
20069         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20070         (csinh_test_data): New variable.
20071         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20072         (csqrt_test_data): New variable.
20073         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20074         (ctan_test_data): New variable.
20075         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20076         (ctan_tonearest_test_data): New variable.
20077         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20078         (ctan_towardzero_test_data): New variable.
20079         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20080         (ctan_downward_test_data): New variable.
20081         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20082         (ctan_upward_test_data): New variable.
20083         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20084         (ctanh_test_data): New variable.
20085         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20086         (ctanh_tonearest_test_data): New variable.
20087         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20088         (ctanh_towardzero_test_data): New variable.
20089         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20090         (ctanh_downward_test_data): New variable.
20091         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20092         (ctanh_upward_test_data): New variable.
20093         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20094         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20095         of BUILD_COMPLEX.
20096
20097         * math/libm-test.inc (struct test_ff_f_data): New type.
20098         (struct test_ff_f_data_nexttoward): Likewise.
20099         (RUN_TEST_LOOP_2_f): New macro.
20100         (RUN_TEST_LOOP_ff_f): Likewise.
20101         (atan2_test_data): New variable.
20102         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20103         (copysign_test_data): New variable.
20104         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20105         (fdim_test_data): New variable.
20106         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20107         (fmax_test_data): New variable.
20108         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20109         (fmin_test_data): New variable.
20110         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20111         (fmod_test_data): New variable.
20112         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20113         (hypot_test_data): New variable.
20114         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20115         (nextafter_test_data): New variable.
20116         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20117         (nexttoward_test_data): New variable.
20118         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20119         (pow_test_data): New variable.
20120         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20121         (pow_tonearest_test_data): New variable.
20122         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20123         (pow_towardzero_test_data): New variable.
20124         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20125         (pow_downward_test_data): New variable.
20126         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20127         (pow_upward_test_data): New variable.
20128         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20129         (remainder_test_data): New variable.
20130         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20131         (scalb_test_data): New variable.
20132         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20133         * sysdeps/i386/fpu/libm-test-ulps: Update.
20134
20135 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
20136
20137         * math/libm-test.inc (fma_test): Use max_value instead of local
20138         variable fltmax.
20139         (nextafter_test): Likewise.
20140
20141         * math/libm-test.inc (acos_towardzero_test_data): New variable.
20142         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20143         (acos_downward_test_data): New variable.
20144         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20145         (acos_upward_test_data): New variable.
20146         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20147         (acosh_test_data): New variable.
20148         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20149         (asin_test_data): New variable.
20150         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20151         (asin_tonearest_test_data): New variable.
20152         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20153         (asin_towardzero_test_data): New variable.
20154         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20155         (asin_downward_test_data): New variable.
20156         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20157         (asin_upward_test_data): New variable.
20158         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20159         (asinh_test_data): New variable.
20160         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20161         (atan_test_data): New variable.
20162         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20163         (atanh_test_data): New variable.
20164         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20165         (cbrt_test_data): New variable.
20166         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20167         (ceil_test_data): New variable.
20168         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20169         (cos_test_data): New variable.
20170         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20171         (cos_tonearest_test_data): New variable.
20172         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20173         (cos_towardzero_test_data): New variable.
20174         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20175         (cos_downward_test_data): New variable.
20176         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20177         (cos_upward_test_data): New variable.
20178         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20179         (cosh_test_data): New variable.
20180         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20181         (cosh_tonearest_test_data): New variable.
20182         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20183         (cosh_towardzero_test_data): New variable.
20184         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20185         (cosh_downward_test_data): New variable.
20186         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20187         (cosh_upward_test_data): New variable.
20188         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20189         (erf_test_data): New variable.
20190         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20191         (erfc_test_data): New variable.
20192         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20193         (exp_test_data): New variable.
20194         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20195         (exp_tonearest_test_data): New variable.
20196         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20197         (exp_towardzero_test_data): New variable.
20198         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20199         (exp_downward_test_data): New variable.
20200         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20201         (exp_upward_test_data): New variable.
20202         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20203         (exp10_test_data): New variable.
20204         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20205         (exp2_test_data): New variable.
20206         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20207         (expm1_test_data): New variable.
20208         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20209         (fabs_test_data): New variable.
20210         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20211         (floor_test_data): New variable.
20212         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20213         (j0_test_data): New variable.
20214         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20215         (j1_test_data): New variable.
20216         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20217         (log_test_data): New variable.
20218         (log_test): Run tests with RUN_TEST_LOOP_f_f.
20219         (log10_test_data): New variable.
20220         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20221         (log1p_test_data): New variable.
20222         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20223         (log2_test_data): New variable.
20224         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20225         (logb_test_data): New variable.
20226         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20227         (logb_downward_test_data): New variable.
20228         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20229         (nearbyint_test_data): New variable.
20230         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20231         (rint_test_data): New variable.
20232         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20233         (rint_tonearest_test_data): New variable.
20234         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20235         (rint_towardzero_test_data): New variable.
20236         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20237         (rint_downward_test_data): New variable.
20238         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20239         (rint_upward_test_data): New variable.
20240         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20241         (round_test_data): New variable.
20242         (round_test): Run tests with RUN_TEST_LOOP_f_f.
20243         (sin_test_data): New variable.
20244         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20245         (sin_tonearest_test_data): New variable.
20246         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20247         (sin_towardzero_test_data): New variable.
20248         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20249         (sin_downward_test_data): New variable.
20250         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20251         (sin_upward_test_data): New variable.
20252         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20253         (sinh_test_data): New variable.
20254         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20255         (sinh_tonearest_test_data): New variable.
20256         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20257         (sinh_towardzero_test_data): New variable.
20258         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20259         (sinh_downward_test_data): New variable.
20260         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20261         (sinh_upward_test_data): New variable.
20262         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20263         (sqrt_test_data): New variable.
20264         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20265         (tan_test_data): New variable.
20266         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20267         (tan_tonearest_test_data): New variable.
20268         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20269         (tan_towardzero_test_data): New variable.
20270         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20271         (tan_downward_test_data): New variable.
20272         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20273         (tan_upward_test_data): New variable.
20274         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20275         (tanh_test_data): New variable.
20276         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20277         (tgamma_test_data): New variable.
20278         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20279         (trunc_test_data): New variable.
20280         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20281         (y0_test_data): New variable.
20282         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20283         (y1_test_data): New variable.
20284         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20285         (significand_test_data): New variable.
20286         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20287
20288 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
20289
20290         [BZ #12387]
20291         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20292
20293 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20294
20295         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20296
20297 2013-05-10  Andreas Jaeger  <aj@suse.de>
20298
20299         [BZ #15448]
20300         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20301         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20302
20303 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
20304
20305         * math/gen-libm-test.pl (adjust_arg): New function.
20306         (special_functions): Handle generating output in both functions
20307         and arrays.
20308         (parse_args): Likewise.
20309         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
20310         $in_func argument to parse_args.
20311         * math/libm-test.inc (struct test_f_f_data): New type.
20312         (IF_ROUND_INIT_): New macro.
20313         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20314         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20315         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20316         (IF_ROUND_INIT_FE_UPWARD): Likewise.
20317         (ROUND_RESTORE_): Likewise.
20318         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20319         (ROUND_RESTORE_FE_TONEAREST): Likewise.
20320         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20321         (ROUND_RESTORE_FE_UPWARD): Likewise.
20322         (RUN_TEST_LOOP_f_f): New macro.
20323         (acos_test_data): New variable.
20324         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20325         (acos_tonearest_test_data): New variable.
20326         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20327
20328 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20329
20330         * benchtests/bench-skeleton.c (startup): Fix coding style.
20331
20332 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
20333
20334         [BZ #6809]
20335         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20336         negative infinity argument.
20337         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20338         negative infinity argument.
20339         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20340         negative infinity argument.
20341         * math/libm-test.inc (tgamma_test): Expect errno to be set for
20342         domain errors.
20343
20344 2013-05-10  Florian Weimer  <fweimer@redhat.com>
20345
20346         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20347         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20348         * iconv/iconv_prog.c (main): Likewise.
20349         * locale/programs/charmap-dir.c (charmap_readdir)
20350         (fopen_uncompressed): Likewise.
20351         * locale/programs/locfile.c (siblings_uncached)
20352         (write_locale_data): Use lstat64 instead of lstat.
20353         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20354         stat.
20355
20356 2013-05-10  Andreas Jaeger  <aj@suse.de>
20357
20358         [BZ #15395]
20359         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20360         localization.
20361         Include <locale.h>.
20362
20363 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
20364
20365         * elf/dl-close.c (_dl_close_worker): Add comments.
20366
20367 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
20368
20369         [BZ #15359]
20370         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20371         high part of pi/2.
20372         (__ieee754_rem_pio2l): Update comments.
20373
20374         [BZ #15429]
20375         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20376         high part of pi/2.
20377         (__ieee754_rem_pio2l): Update comments.
20378
20379         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20380         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20381
20382         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20383         M_PI_4l.
20384
20385         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20386         (M_PI_34_LOG10El): Likewise.
20387         (M_PI2_LOG10El): Likewise.
20388         (M_PI4_LOG10El): Likewise.
20389         (M_PI_LOG10El): Likewise.
20390
20391 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20392
20393         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20394
20395 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
20396
20397         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20398         (MINUS_ZERO_INIT): Likewise.
20399         (PLUS_INFTY_INIT): Likewise.
20400         (MINUS_INFTY_INIT): Likewise.
20401         (QNAN_VALUE_INIT): Likewise.
20402         (MAX_VALUE_INIT): Likewise.
20403         (MIN_VALUE_INIT): Likewise.
20404         (MIN_SUBNORM_VALUE_INIT): Likewise.
20405         (plus_zero): Initialize with PLUS_ZERO_INIT.
20406         (minus_zero): Initialize with MINUS_ZERO_INIT.
20407         (plus_infty): Initialize with PLUS_INFTY_INIT.
20408         (minus_infty): Initialize with MINUS_INFTY_INIT.
20409         (qnan_value): Initialize with QNAN_VALUE_INIT.
20410         (max_value): Initialize with MAX_VALUE_INIT.
20411         (min_value): Initialize with MIN_VALUE_INIT.
20412         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20413
20414         * math/libm-test.inc (RUN_TEST_if_f): New macro.
20415         (jn_test): Use TEST_if_f instead of TEST_ff_f.
20416         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20417         (yn_test): Use TEST_if_f instead of TEST_ff_f.
20418
20419         * math/libm-test.inc (RUN_TEST_f_f): New macro.
20420         (RUN_TEST_2_f): Likewise.
20421         (RUN_TEST_ff_f): Likewise.
20422         (RUN_TEST_fi_f): Likewise.
20423         (RUN_TEST_fl_f): Likewise.
20424         (RUN_TEST_fff_f): Likewise.
20425         (RUN_TEST_c_f): Likewise.
20426         (RUN_TEST_f_f1): Likewise.
20427         (RUN_TEST_fF_f1): Likewise.
20428         (RUN_TEST_fI_f1): Likewise.
20429         (RUN_TEST_ffI_f1): Likewise.
20430         (RUN_TEST_c_c): Likewise.
20431         (RUN_TEST_cc_c): Likewise.
20432         (RUN_TEST_f_i): Likewise.
20433         (RUN_TEST_f_i_tg): Likewise.
20434         (RUN_TEST_ff_i_tg): Likewise.
20435         (RUN_TEST_f_b): Likewise.
20436         (RUN_TEST_f_b_tg): Likewise.
20437         (RUN_TEST_f_l): Likewise.
20438         (RUN_TEST_f_L): Likewise.
20439         (RUN_TEST_sincos): Likewise.
20440         * math/gen-libm-test.pl (new_test): Take new argument to indicate
20441         whether to show exceptions.  Do not include ");\n" in return
20442         value.
20443         (special_functions): Output call to RUN_TEST_sincos instead of
20444         check_float calls.  Update calls to new_test.
20445         (parse_args): Output call to single RUN_TEST_* macro instead of
20446         check_* calls and other assignments.  Update calls to new_test.
20447
20448         [BZ #2546]
20449         [BZ #2560]
20450         [BZ #5159]
20451         [BZ #15426]
20452         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20453         input to result for tgamma overflow.
20454         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20455         (gamma_coeff): New variable.
20456         (NCOEFF): New macro.
20457         (gamma_positive): New function.
20458         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20459         underflow here.  Use gamma_positive instead of exp (lgamma) for
20460         other arguments.
20461         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20462         (gamma_coeff): New variable.
20463         (NCOEFF): New macro.
20464         (gammaf_positive): New function.
20465         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20466         underflow here.  Use gamma_positive instead of exp (lgamma) for
20467         other arguments.
20468         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20469         (gamma_coeff): New variable.
20470         (NCOEFF): New macro.
20471         (gammal_positive): New function.
20472         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20473         underflow here.  Use gamma_positive instead of exp (lgamma) for
20474         other arguments.
20475         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20476         (gamma_coeff): New variable.
20477         (NCOEFF): New macro.
20478         (gammal_positive): New function.
20479         (__ieee754_gammal_r): Handle positive infinity, overflow and
20480         underflow here.  Handle NaN the same as positive infinity.  Remove
20481         check x < 0xffffffff for negative integers.  Use gamma_positive
20482         instead of exp (lgamma) for other arguments.
20483         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20484         (gamma_coeff): New variable.
20485         (NCOEFF): New macro.
20486         (gammal_positive): New function.
20487         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20488         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20489         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20490         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20491         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20492         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20493         * sysdeps/generic/math_private.h (__gamma_productf): New
20494         prototype.
20495         (__gamma_product): Likewise.
20496         (__gamma_productl): Likewise.
20497         * math/Makefile (libm-calls): Add gamma_product.
20498         * math/libm-test.inc (tgamma_test): Add more tests.
20499         * sysdeps/i386/fpu/libm-test-ulps: Update.
20500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20501
20502 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
20503
20504         * benchtests/bench-skeleton.c (main): Preheat CPU.
20505
20506 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
20507
20508         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20509
20510 2013-05-07  Roland McGrath  <roland@hack.frob.com>
20511
20512         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20513         and _dl_skip_args_internal.
20514
20515 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
20516
20517         * manual/message.texi (Message Translation): Talk about users.
20518         Message to key mapping impacts design.
20519
20520 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20521
20522         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20523
20524         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20525
20526         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20527         * sysdeps/wordsize-64/glob64.c: ... here.
20528
20529         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20530         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20531         New macros.
20532
20533         * debug/getlogin_r_chk.c: Moved to ...
20534         * login/getlogin_r_chk.c: ... here.
20535         * debug/Makefile (routines): Move getlogin_r_chk to ...
20536         * login/Makefile (routines): ... here.
20537         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20538         * login/Versions (libc: GLIBC_2.4): ... here.
20539
20540         * io/poll.c (__poll): Renamed from poll.
20541         Add libc_hidden_def.
20542         (poll): Define as weak alias.
20543
20544         * debug/ptsname_r_chk.c: Moved to ...
20545         * login/ptsname_r_chk.c: ... here.
20546         * debug/Makefile (routines): Move ptsname_r_chk to ...
20547         * login/Makefile (routines): ... here.
20548         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20549         * login/Versions (libc: GLIBC_2.4): ... here.
20550
20551         * posix/getlogin.c: Moved to ...
20552         * login/getlogin.c: ... here.
20553         * posix/getlogin_r.c: Moved to ...
20554         * login/getlogin_r.c: ... here.
20555         * posix/getlogin_r.c: Moved to ...
20556         * login/getlogin_r.c: ... here.
20557         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20558         * login/Makefile (routines): ... here.
20559         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20560         * login/Versions (libc: GLIBC_2.0): ... here.
20561
20562         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20563         (setrlimit): Define as weak alias.
20564
20565         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20566         Call __ names for open, ftruncate, and close.
20567         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20568         (truncate): Define as weak alias.
20569
20570 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
20571
20572         * math/gen-libm-test.pl (parse_args): Initialize x before each
20573         test of frexp, modf and remquo.
20574
20575         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20576         test signgam value.
20577
20578 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20579
20580         [BZ #15418]
20581         [BZ #15419]
20582         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20583         internal tests.
20584         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20585
20586 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20587
20588         * elf/dl-writev.h: New file.
20589         * elf/dl-misc.c: Include it.
20590         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20591         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20592
20593 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
20594
20595         * math/libm-test.inc (noXFails): Remove variable.
20596         (noXPasses): Likewise.
20597         (BUILD_COMPLEX_INT): Remove macro.
20598         (print_screen): Remove xfail argument.
20599         (print_screen_max_error): Likewise.
20600         (update_stats): Likewise.
20601         (print_max_error): Likewise.  Update calls to other affected
20602         functions.
20603         (print_complex_max_error): Likewise.
20604         (test_single_exception): Update calls to print_screen.
20605         (test_single_errno): Likewise.
20606         (check_float_internal): Remove xfail argument.  Update calls to
20607         other affected functions.
20608         (check_float): Likewise.
20609         (check_complex): Likewise.
20610         (check_int): Likewise.
20611         (check_long): Likewise.
20612         (check_bool): Likewise.
20613         (check_longlong): Likewise.
20614         (main): Don't print noXFails and noXPasses.
20615         * math/gen-libm-test.pl (top level): Don't mention expected
20616         failure handling in comment.
20617         (new_test): Don't handle expected failures.
20618         (parse_args): Don't mention expected failure handling in comment.
20619         (generate_testfile): Don't handle expected failures.
20620         (parse_ulps): Likewise.
20621         (print_ulps_file): Likewise.
20622         (get_failure): Remove function.
20623         (output_test): Don't handle expected failures.
20624         * make/README.libm-test: Don't mention expected failure handling.
20625
20626         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
20627         (minus_zero): Likewise.
20628         (plus_infty): Likewise.
20629         (minus_infty): Likewise.
20630         (qnan_value): Likewise.
20631         (max_value): Likewise.
20632         (min_value): Likewise.
20633         (min_subnorm_value): Likewise.
20634         (initialize): Do not initialize those variables dynamically.
20635
20636 2013-05-03  Roland McGrath  <roland@hack.frob.com>
20637
20638         * io/open.c (__open_2): Moved to ...
20639         * io/open_2.c: ... this new file.
20640         * io/open64.c (__open64_2): Moved to ...
20641         * io/open64_2.c: ... this new file.
20642         * io/openat.c (__openat_2): Moved to ...
20643         * io/openat_2.c: ... this new file.
20644         * io/openat64.c (__openat64_2): Moved to ...
20645         * io/openat64_2.c: ... this new file.
20646         * io/Makefile (routines): Add them.
20647         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20648         * sysdeps/unix/sysv/linux/open_2.c: File removed.
20649         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20650         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20651         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20652         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20653         (__openat64): Add hidden_ver.
20654         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20655         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20656
20657         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20658         Separately conditionalize setting of GLRO(dl_sysinfo) so
20659         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20660         as well, but the actual setting is only under [NEED_DL_SYSINFO].
20661
20662 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20663
20664         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20665         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20666         definition.
20667         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20668         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20669         (_libc_vdso_platform_setup): Add __vdso_time initialization.
20670         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20671         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20672
20673 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
20674
20675         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20676         test signgam value.
20677
20678         * math/libm-test.inc (hypot_test): Do not use
20679         IGNORE_ZERO_INF_SIGN.
20680
20681 2013-05-03  Andreas Jaeger  <aj@suse.de>
20682
20683         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20684         Linux 3.9.
20685         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20686         (PF_MAX): Adjust for VSOCK change.
20687
20688 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20689
20690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20691
20692 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
20693
20694         [BZ #15264]
20695         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20696         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20697         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20698
20699 2013-05-02  David S. Miller  <davem@davemloft.net>
20700
20701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20702
20703 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
20704
20705         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20706
20707 2013-05-01  Roland McGrath  <roland@hack.frob.com>
20708
20709         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20710
20711 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
20712
20713         [BZ #14952]
20714         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20715         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20716         Use __attribute__ ((__gnu_inline__)).
20717         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20718         Don't use __attribute__ ((__gnu_inline__)).
20719
20720 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
20721
20722         [BZ #15423]
20723         * math/s_catan.c (__catan): Handle small real or imaginary part of
20724         input specially to avoid spurious underflow.
20725         * math/s_catanf.c (__catanf): Likewise.
20726         * math/s_catanh.c (__catanh): Likewise.
20727         * math/s_catanhf.c (__catanhf): Likewise.
20728         * math/s_catanhl.c (__catanhl): Likewise.
20729         * math/s_catanl.c (__catanl): Likewise.
20730         * math/libm-test.inc (catan_test): Add more tests.
20731         (catanh_test): Likewise.
20732         * sysdeps/i386/fpu/libm-test-ulps: Update.
20733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20734
20735 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20736
20737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20738
20739 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
20740
20741         [BZ #15416]
20742         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20743         accurately for denominator in atan2.
20744         * math/s_catanf.c (__catanf): Likewise.
20745         * math/s_catanh.c (__catanh): Likewise.
20746         * math/s_catanhf.c (__catanhf): Likewise.
20747         * math/s_catanhl.c (__catanhl): Likewise.
20748         * math/s_catanl.c (__catanl): Likewise.
20749         * math/libm-test.inc (catan_test): Add more tests.
20750         (catanh_test): Likewise.
20751         * sysdeps/i386/fpu/libm-test-ulps: Update.
20752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20753
20754 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20755
20756         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20757
20758         * benchtests/Makefile (bench): Remove slow benchmarks.
20759         * benchtests/atan-inputs: Add slow benchmark inputs.
20760         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20761         (BENCH_FUNC): Accept variant offset.
20762         (VARIANT): Define.
20763         * benchtests/bench-skeleton.c (main): Run benchmark for each
20764         variant.
20765         * benchtests/cos-inputs: Add slow benchmark inputs.
20766         * benchtests/exp-inputs: Likewise.
20767         * benchtests/pow-inputs: Likewise.
20768         * benchtests/sin-inputs: Likewise.
20769         * benchtests/slowatan-inputs: Remove.
20770         * benchtests/slowatan.c: Remove.
20771         * benchtests/slowcos-inputs: Remove.
20772         * benchtests/slowcos.c: Remove.
20773         * benchtests/slowexp-inputs: Remove.
20774         * benchtests/slowexp.c: Remove.
20775         * benchtests/slowpow-inputs: Remove.
20776         * benchtests/slowpow.c: Remove.
20777         * benchtests/slowsin-inputs: Remove.
20778         * benchtests/slowsin.c: Remove.
20779         * benchtests/slowtan-inputs: Remove.
20780         * benchtests/slowtan.c: Remove.
20781         * benchtests/tan-inputs: Add slow benchmark inputs.
20782         * scripts/bench.pl: Parse comments and directives.
20783
20784         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
20785         in CPPFLAGS.
20786         ($(objpfx)bench-%.c): Remove *-ITER.
20787         * benchtests/bench-modf.c: Remove definition of ITER.
20788         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20789         (main): Loop for DURATION seconds instead of fixed number of
20790         iterations.
20791         * scripts/bench.pl: Don't expect iterations in parameters.
20792
20793 2013-04-29  Roland McGrath  <roland@hack.frob.com>
20794
20795         * io/fchdir.c (__fchdir): Renamed from fchdir.
20796         (fchdir): Define as weak alias.
20797
20798 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20799
20800         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20801         (ERRNO_EDOM): Likewise.
20802         (ERRNO_ERANGE): Likewise.
20803         (noErrnoTests): New variable.
20804         (init_max_error): Set errno to 0.
20805         (test_single_errno): New function.
20806         (test_errno): Likewise.
20807         (check_float_internal): Call test_errno.  Set errno to 0.
20808         (check_complex): Refer to errno tests in comment.
20809         (check_int): Call test_errno.  Set errno to 0.
20810         (check_long): Likewise.
20811         (check_bool): Likewise.
20812         (check_longlong): Likewise.
20813         (cos_test): Use ERRNO_* flags for errno tests instead of
20814         check_int.
20815         (expm1_test): Likewise.
20816         (fmod_test): Likewise.
20817         (ilogb_test): Likewise.
20818         (lgamma_test): Likewise.
20819         (pow_test): Likewise.
20820         (remainder_test): Likewise.
20821         (sin_test): Likewise.
20822         (tan_test): Likewise.
20823         (yn_test): Likewise.
20824         (initialize): Set errno to 0.
20825         (main): Print number of errno tests.
20826         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20827
20828 2013-04-29  Andreas Jaeger  <aj@suse.de>
20829
20830         [BZ #15084]
20831         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20832         and RES_USEVC.
20833
20834         [BZ #15085]
20835         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20836         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20837         unimplemented.
20838
20839         [BZ #15380]
20840         * stdlib/random.c (__initstate): Return NULL if
20841         __initstate fails.
20842
20843         [BZ #15086]
20844         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20845         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20846         RES_SNGLKUPREOP.
20847
20848 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20849
20850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20851
20852 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20853
20854         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20855         of individual tests.
20856         (casin_test): Likewise.
20857         (casinh_test): Likewise.
20858
20859 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
20860
20861         [BZ #15409]
20862         * math/s_catan.c (__catan): Handle arguments with large real or
20863         imaginary part separately without squaring.
20864         * math/s_catanf.c (__catanf): Likewise.
20865         * math/s_catanh.c (__catanh): Likewise.
20866         * math/s_catanhf.c (__catanhf): Likewise.
20867         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20868         and redefine.
20869         (__catanhl): Handle arguments with large real or imaginary part
20870         separately without squaring.
20871         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20872         and redefine.
20873         (__catanl): Handle arguments with large real or imaginary part
20874         separately without squaring.
20875         * math/libm-test.inc (catan_test): Add more tests.
20876         (catanh_test): Likewise.
20877         * sysdeps/i386/fpu/libm-test-ulps: Update.
20878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20879
20880 2013-04-27  Andreas Jaeger  <aj@suse.de>
20881
20882         [BZ #15007]
20883         * stdlib/stdlib.h: Update guards for qecvt.
20884         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20885         <stdlib.h>.
20886
20887 2013-04-27  Allan McRae  <allan@archlinux.org>
20888
20889         * sysdeps/i386/fpu/libm-test-ulps: Update.
20890
20891 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
20892
20893         [BZ #15406]
20894         * math/s_catan.c: Include <float.h>.
20895         (__catan): Ensure underflow exception occurs for underflowed
20896         result.
20897         * math/s_catanf.c: Include <float.h>.
20898         (__catanf): Ensure underflow exception occurs for underflowed
20899         result.
20900         * math/s_catanh.c: Include <float.h>.
20901         (__catanh): Ensure underflow exception occurs for underflowed
20902         result.
20903         * math/s_catanhf.c: Include <float.h>.
20904         (__catanhf): Ensure underflow exception occurs for underflowed
20905         result.
20906         * math/s_catanhl.c: Include <float.h>.
20907         (__catanhl): Ensure underflow exception occurs for underflowed
20908         result.
20909         * math/s_catanl.c: Include <float.h>.
20910         (__catanl): Ensure underflow exception occurs for underflowed
20911         result.
20912         * math/libm-test.inc (catan_test): Add more tests.
20913         (catanh_test): Likewise.
20914
20915         [BZ #15405]
20916         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20917         underflowed result.
20918         * math/s_ccoshf.c (__ccoshf): Likewise.
20919         * math/s_ccoshl.c (__ccoshl): Likewise.
20920         * math/s_csin.c (__csin): Likewise.
20921         * math/s_csinf.c (__csinf): Likewise.
20922         * math/s_csinh.c (__csinh): Likewise.
20923         * math/s_csinhf.c (__csinhf): Likewise.
20924         * math/s_csinhl.c (__csinhl): Likewise.
20925         * math/s_csinl.c (__csinl): Likewise.
20926         * math/libm-test.inc (ccos_test): Add more tests.
20927         (ccosh_test): Likewise.
20928         (csin_test): Likewise.
20929         (csinh_test): Likewise.
20930
20931 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20932
20933         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20934         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20935         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20936         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20937         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20938         powerpc/power5+/fpu folders.
20939         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20940
20941
20942 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
20943
20944         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20945
20946 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
20947
20948         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20949         additions to variable.
20950         [$(config-machine) = x86_64] (modules-names): Likewise.
20951         ($(objpfx)tst-audit3): Remove dependency.
20952         ($(objpfx)tst-audit3.out): Likewise.
20953         ($(objpfx)tst-audit4): Likewise.
20954         ($(objpfx)tst-audit4.out): Likewise.
20955         ($(objpfx)tst-audit5): Likewise.
20956         ($(objpfx)tst-audit5.out): Likewise.
20957         ($(objpfx)tst-audit6): Likewise.
20958         ($(objpfx)tst-audit6.out): Likewise.
20959         ($(objpfx)tst-audit7): Likewise.
20960         ($(objpfx)tst-audit7.out): Likewise.
20961         (tst-audit3-ENV): Remove variable.
20962         (tst-audit4-ENV): Likewise.
20963         (tst-audit5-ENV): Likewise.
20964         (tst-audit6-ENV): Likewise.
20965         (tst-audit7-ENV): Likewise.
20966         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20967         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20968         addition to variable.
20969         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20970         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20971         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20972         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20973         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20974         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20975         tst-audit3, tst-audit4 and tst-audit5.
20976         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20977         tst-audit6 and tst-audit7.
20978         [$(subdir) = elf] (modules-names): Add audit modules for those
20979         tests.
20980         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20981         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20982         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20983         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20984         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20985         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20986         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20987         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20988         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20989         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20990         [$(subdir) = elf] (tst-audit3-ENV): New variable.
20991         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20992         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20993         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20994         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20995         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20996         Likewise.
20997         [$(subdir) = elf && $(config-cflags-avx) = yes]
20998         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20999         [$(subdir) = elf && $(config-cflags-avx) = yes]
21000         (CFLAGS-tst-auditmod4a.c): Likewise.
21001         [$(subdir) = elf && $(config-cflags-avx) = yes]
21002         (CFLAGS-tst-auditmod4b.c): Likewise.
21003         [$(subdir) = elf && $(config-cflags-avx) = yes]
21004         (CFLAGS-tst-auditmod6b.c): Likewise.
21005         [$(subdir) = elf && $(config-cflags-avx) = yes]
21006         (CFLAGS-tst-auditmod6c.c): Likewise.
21007         [$(subdir) = elf && $(config-cflags-avx) = yes]
21008         (CFLAGS-tst-auditmod7b.c): Likewise.
21009         * elf/tst-audit3.c: Move to ...
21010         * sysdeps/x86_64/tst-audit3.c: ... here.
21011         * elf/tst-audit4.c: Move to ...
21012         * sysdeps/x86_64/tst-audit4.c: ... here.
21013         * elf/tst-audit5.c: Move to ...
21014         * sysdeps/x86_64/tst-audit5.c: ... here.
21015         * elf/tst-audit6.c: Move to ...
21016         * sysdeps/x86_64/tst-audit6.c: ... here.
21017         * elf/tst-audit7.c: Move to ...
21018         * sysdeps/x86_64/tst-audit7.c: ... here.
21019         * elf/tst-auditmod3a.c: Move to ...
21020         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21021         * elf/tst-auditmod3b.c: Move to ...
21022         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21023         * elf/tst-auditmod4a.c: Move to ...
21024         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21025         * elf/tst-auditmod4b.c: Move to ...
21026         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21027         * elf/tst-auditmod5a.c: Move to ...
21028         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21029         * elf/tst-auditmod5b.c: Move to ...
21030         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21031         * elf/tst-auditmod6a.c: Move to ...
21032         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21033         * elf/tst-auditmod6b.c: Move to ...
21034         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21035         * elf/tst-auditmod6c.c: Move to ...
21036         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21037         * elf/tst-auditmod7a.c: Move to ...
21038         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21039         * elf/tst-auditmod7b.c: Move to ...
21040         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21041
21042 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
21043
21044         [BZ #15366]
21045         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21046         define unconditionally.
21047         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21048         define unconditionally.
21049         (INT8_C, INT16_C, etc.): Likewise.
21050
21051 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
21052
21053         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21054         __ehdr_start with hidden visibility.
21055
21056         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21057
21058 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
21059
21060         * math/libm-test.inc (cos_test): Use accurate hex constants.
21061         (sincost_test): Likewise.
21062
21063 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
21064
21065         * math/libm-test.inc (catan_test): Add more tests.
21066         (catanh_test): Likewise.
21067
21068         * math/s_catanf.c (__catanf): Use suffixed floating-point
21069         constants.
21070         * math/s_catanhf.c (__catanhf): Likewise.
21071         * math/s_catanhl.c (__catanhl): Likewise.
21072         * math/s_catanl.c (__catanl): Likewise.
21073
21074         [BZ #15394]
21075         * math/s_catan.c (__catan): Calculate imaginary part of result
21076         with log1p not log unless computing log of number close to 0.
21077         * math/s_catanf.c (__catanf): Likewise.
21078         * math/s_catanl.c (__catanl): Likewise.
21079         * math/s_catanh.c (__catanh): Calculate real part of result with
21080         log1p not log unless computing log of number close to 0.
21081         * math/s_catanhf.c (__catanhf): Likewise.
21082         * math/s_catanhl.c (__catanhl): Likewise.
21083         * math/libm-test.inc (catan_test): Add more tests.
21084         (catanh_test): Likewise.
21085         * sysdeps/i386/fpu/libm-test-ulps: Update.
21086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21087
21088 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21089
21090         * benchtests/Makefile: Mention files in which fast and slow
21091         paths of math functions are implemented.
21092
21093 2013-04-23  Roland McGrath  <roland@hack.frob.com>
21094
21095         * sysdeps/posix/timespec_get.c: New file.
21096
21097 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21098
21099         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21100         POWER.
21101         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21102         for POWER.
21103         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21104         powerpc/power5/fpu folders.
21105         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21106         * benchtests/Makefile: Add modf testcase.
21107         * benchtests/bench-modf.c: New file: Benchmark test for mo
21108
21109 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21110
21111         [BZ #14888]
21112         * time/Makefile (tests): Add tst-strptime-whitespace.
21113         * time/strptime_l.c (get_number): Use ISSPACE.
21114         (__strptime_internal): Likewise.
21115         * time/tst-strptime-whitespace.c: New test case.
21116
21117 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
21118
21119         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21120         member.
21121         (_nss_files_init): Set it here.
21122
21123 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
21124
21125         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21126         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21127         unsigned.
21128
21129 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
21130
21131         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21132
21133 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21134
21135         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21136         size just once.
21137
21138 2013-04-21  David S. Miller  <davem@davemloft.net>
21139
21140         * po/ru.po: Update Russion translation from translation project.
21141
21142 2013-04-17  Adam Conrad  <adconrad@0c3.net>
21143
21144         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21145         and setfsgid.
21146
21147 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
21148
21149         * configure.in: Remove i386 configure warning. Remove i386 case.
21150         * configure: Regenerate.
21151         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21152         Add example to error message.
21153         * sysdeps/i386/configure: Regenerate.
21154
21155 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21156
21157         * benchtests/Makefile (bench): Add cos, tan, slowcos and
21158         slowtan.
21159         * benchtests/cos-inputs: New file.
21160         * benchtests/slowcos-inputs: New file.
21161         * benchtests/slowcos.c: New file.
21162         * benchtests/slowtan-inputs: New file.
21163         * benchtests/slowtan.c: New file.
21164         * benchtests/tan-inputs: New file.
21165
21166 2013-04-16  Roland McGrath  <roland@hack.frob.com>
21167
21168         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21169         considered kosher.
21170
21171 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21172
21173         * benchtests/Makefile: Include cppflags-iterator.mk to add
21174         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21175
21176         * Makefile.in (bench-clean): New target.
21177         * benchtests/Makefile (bench-clean): Likewise.
21178
21179 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
21180
21181         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21182
21183 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
21184
21185         * stdio-common/tstdiomisc.c: Fix coding-style violation.
21186
21187 2013-04-15  Andreas Schwab  <schwab@suse.de>
21188
21189         * nscd/grpcache.c (cache_addgr): Properly check for short write.
21190         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21191         * nscd/pwdcache.c (cache_addpw): Likewise.
21192         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
21193         more than recsize.
21194
21195 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21196
21197         * benchtests/Makefile (bench): Write all output to
21198         bench-out.tmp together.
21199
21200 2013-04-15  Andreas Schwab  <schwab@suse.de>
21201
21202         * nscd/nscd.c (main): Don't fork again after closing files.
21203
21204 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21205
21206         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21207
21208         * benchtests/Rules (bench-deps): Collect dependencies into a
21209         single variable.  Add Makefile to dependencies.
21210         ($(objpfx)bench-%.c): Depend on bench-deps.
21211
21212 2013-04-12  Roland McGrath  <roland@hack.frob.com>
21213             Xavier Roche  <roche+kml2@exalead.com>
21214
21215         [BZ #15361]
21216         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21217         just that it's a file descriptor.
21218         * manual/llio.texi (Synchronizing AIO Operations): Update description
21219         for EBADF error from aio_fsync.
21220
21221 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21222
21223         * Rules (bench): Move target definition...
21224         * benchtests/Makefile: ... here.
21225
21226 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
21227
21228         * math/libm-test.inc (cos_test): Fix PI/2 test.
21229         (sincos_test): Likewise.
21230         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21231         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21232
21233 2013-04-11  Andreas Schwab  <schwab@suse.de>
21234
21235         [BZ #13988]
21236         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21237         accept exponent character only when digits were seen.
21238         * stdio-common/Makefile (tests): Add bug26.
21239         * stdio-common/bug26.c: New file.
21240
21241         [BZ #14293]
21242         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21243         non-freeable.
21244
21245 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21246
21247         * Makeconfig (rtld-prefix): Define built linker prefix.
21248         * Rules (run-bench): Use it.
21249         * math/Makefile (run-regen-ulps): Likewise.
21250
21251         * Rules (bench): Remove eval.
21252
21253 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21254             Roland McGrath  <roland@hack.frob.com>
21255             Ondrej Bilka  <neleai@seznam.cz>
21256
21257         [BZ #15346]
21258         * time/getdate.c: Include ctype.h and alloca.h.
21259         (__getdate_r): Trim leading and trailing spaces of input.
21260         * time/tst-getdate.c (tests): Add tests with leading and
21261         trailing spaces.
21262
21263 2013-04-08  Roland McGrath  <roland@hack.frob.com>
21264
21265         [BZ #14280]
21266         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21267         when computing value.
21268
21269 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21270
21271         * math/README.libm-test (How can I generate "libm-test-ulps"?):
21272         Use testrun.sh to run libm tests.
21273
21274         [BZ #15309]
21275         * elf/dl-open.c (dl_open_worker): memset all of seen array.
21276
21277 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
21278
21279         [BZ #15264]
21280         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21281
21282 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21283
21284         * Makefile.in (regen-ulps): New target.
21285         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21286         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21287         [ifneq (no,$(PERL)] (regen-ulps): New target.
21288         [ifeq (no,$(PERL)] (regen-ulps): New target.
21289         * math/libm-test.inc (ulps_file_name): Define.
21290         (output_dir): New variable.
21291         (options): Add "output-dir" option.
21292         (parse_opt): Handle 'o' case.
21293         (main): If output_dir is non-NULL use it as a prefix
21294         otherwise use "".
21295         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21296
21297 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21298
21299         [BZ #10060, #10062]
21300         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21301         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21302         fail configure if __sync_val_compare_and_swap is not inlined.
21303         * sysdeps/i386/configure: Regenerate.
21304         * configure.in: Build for i686 when configured for i386.
21305         * configure: Regenerate.
21306         * README: Remove i386 reference.
21307
21308 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21309
21310         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21311         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21312
21313 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
21314
21315         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21316         (lmsnanval): New variables.
21317         (F): Add conversion tests.
21318         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21319         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21320
21321         * stdio-common/tstdiomisc.c (F): Properly collect individual
21322         tests' results.
21323
21324         [BZ #14686, #15336]
21325         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21326         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21327         Instead, use input NaN values or generate a qNaN by arithmetic
21328         operation.  Also fix bugs to comply with the standard.
21329         * math/libm-test.inc (remainder_test): Add more tests.
21330
21331         [BZ #15335, #15342]
21332         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21333         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21334         input NaN values or generate a qNaN by arithmetic operation.
21335
21336         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21337         unreachable code.
21338
21339         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21340         definitions.
21341
21342 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
21343
21344         [BZ #14478]
21345         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21346         underflowed result.
21347         * math/s_cexpf.c (__cexpf): Likewise.
21348         * math/s_cexpl.c (__cexpl): Likewise.
21349         * math/libm-test.inc (cexp_test): Add more tests.
21350
21351 2013-04-03  Andreas Schwab  <schwab@suse.de>
21352
21353         [BZ #15330]
21354         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21355         order arrays from heap if bigger than alloca cutoff.
21356
21357 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
21358
21359         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21360         (SNAN_TESTS_double): Refer to GCC PR56831.
21361         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21362         GCC PR56828.
21363
21364 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21365
21366         * Rules (bench): Move bench.out after the run is complete.
21367
21368         * Rules (bench): Echo currently running benchmark.
21369
21370         * benchtests/Makefile (bench): Add atan and slowatan.
21371         * benchtests/atan-inputs: New file.
21372         * benchtests/slowatan-inputs: New file.
21373         * benchtests/slowatan.c: New file.
21374
21375         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21376         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21377         its value.
21378
21379         [BZ #15305]
21380         * sysdeps/unix/sysv/linux/kernel-features.h
21381         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21382         __ASSUME_XFS_RESTRICTED_CHOWN.
21383         * sysdeps/unix/sysv/linux/pathconf.c
21384         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21385         Save and restore errno.
21386
21387 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
21388
21389         [BZ #15327]
21390         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21391         arguments using __kernel_casinh.
21392         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21393         arguments using __kernel_casinhf.
21394         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21395         arguments using __kernel_casinhl.
21396         * math/libm-test.inc (cacosh_test): Add more tests.
21397         * sysdeps/i386/fpu/libm-test-ulps: Update.
21398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21399
21400 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21401
21402         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21403         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21404
21405         * bench/Makefile (bench): Add sin and slowsin.
21406         * benchtests/sin-inputs: New file.
21407         * benchtests/slowsin-inputs: New file.
21408         * benchtests/slowsin.c: New file.
21409
21410         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21411         (bench): Add slowexp and slowpow.
21412         (exp-ITER): Increase iterations.
21413         (pow-ITER): Likewise.
21414         * benchtests/exp-inputs: Change input.
21415         * benchtests/pow-inputs: Likewise.
21416         * benchtests/slowexp-inputs: New file.
21417         * benchtests/slowexp.c: New file.
21418         * benchtests/slowpow-inputs: New file.
21419         * benchtests/slowpow.c: New file.
21420
21421 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21422
21423         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21424         instructions.
21425         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21426         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21427         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21428         * benchtests/Makefile: Add rint benchtest.
21429         * benchtests/rint-inputs: Input for rint benchtest.
21430
21431 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
21432
21433         * Versions.def (libm): Add GLIBC_2.18.
21434         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21435         hidden libm prototypes.
21436         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21437         * math/Makefile (libm-calls): Add s_issignaling.
21438         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21439         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
21440         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21441         declaration.
21442         * math/math.h [__USE_GNU] (issignaling): New macro.
21443         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21444         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21445         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21446         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21447         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21448         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21449         * manual/arith.texi (issignaling): New section.
21450         * manual/libm-err-tab.pl (@all_functions): Update comment.
21451         * math/gen-libm-test.pl (parse_args): Apply special handling for
21452         issignaling.
21453         * math/libm-test.inc (print_float, issignaling_test): New
21454         functions.
21455         (check_float_internal): Add issignaling checks.
21456         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21457         default definition.
21458         * sysdeps/powerpc/math-tests.h: New file.
21459         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21460         tests.
21461         * math/test-snan.c (TEST_FUNC): Likewise.
21462
21463 2013-03-30  David S. Miller  <davem@davemloft.net>
21464
21465         * po/de.po: Update from translation team.
21466
21467 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
21468
21469         [BZ #10357]
21470         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21471         imaginary part less than 1.0 and real part less than 0.5
21472         specially.
21473         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21474         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21475         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21476         (cacos_test): Add more tests.
21477         (casin_test): Likewise.
21478         (casinh_test): Likewise.
21479         * sysdeps/i386/fpu/libm-test-ulps: Update.
21480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21481
21482 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21483
21484         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21485         ONE with its value.
21486
21487         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21488         (__pow_mp): Replace ONE and MONE with their values.
21489         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21490         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21491         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21492         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21493         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21494         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21495
21496         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21497
21498         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21499         (__pow_mp): Replace ZERO and MZERO with their values.
21500         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21501         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21502         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21503         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21504         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21505         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21506         (__sqr): Likewise.
21507
21508         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21509
21510         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21511
21512 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21513
21514         * include/stdlib.h [!SHARED] (__call_tls_dtors):
21515         Declare with __attribute__ ((weak)).
21516         * stdlib/exit.c (__libc_atexit) [!SHARED]:
21517         Call __call_tls_dtors only if it's not NULL.
21518
21519 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21520
21521         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21522         didn't do it already, then set _dl_phdr and _dl_phnum based on the
21523         magic __ehdr_start linker symbol if it's defined.
21524         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21525         them up here if it was already done.
21526
21527         * elf/dl-support.c (_dl_phdr): Make pointer to const.
21528         (_dl_aux_init): Use const in cast when setting it.
21529         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21530         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21531         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21532
21533         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21534         Declare them here.
21535         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21536         * csu/libc-tls.c: Nor here.
21537         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21538
21539         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21540         (__libc_message): Never call vsyslog.
21541
21542 2013-03-28  Alan Modra  <amodra@gmail.com>
21543
21544         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21545         Define as empty.
21546         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21547         Likewise.
21548
21549 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21550
21551         [BZ #15214]
21552         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21553         underflow.
21554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21555
21556 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21557
21558         [BZ #15304]
21559         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21560         Don't add gid passed as argument.
21561
21562         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21563
21564 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
21565
21566         [BZ #15307]
21567         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21568         imaginary part between 1.0 and 1.5 and real part less than 0.5
21569         specially.
21570         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21571         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21572         * math/libm-test.inc (cacos_test): Add more tests.
21573         (casin_test): Likewise.
21574         (casinh_test): Likewise.
21575         * sysdeps/i386/fpu/libm-test-ulps: Update.
21576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21577
21578 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21579
21580         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21581         constants.
21582         (norm): Likewise.
21583         (denorm): Likewise.
21584         (__dbl_mp): Likewise.
21585         (add_magnitudes): Likewise.
21586         (sub_magnitudes): Likewise.
21587         (__add): Likewise.
21588         (__sub): Likewise.
21589         (__mul): Likewise.
21590         (__sqr): Likewise.
21591         (__inv): Likewise.
21592         (__dvd): Likewise.
21593
21594         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21595         commented code.
21596         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21597         (__dubcos): Likewise.
21598         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21599         (__ieee754_acos): Likewise.
21600         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21601         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21602         (__exp1): Likewise.
21603         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21604         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21605         (log1): Likewise.
21606         (my_log2): Likewise.
21607         (checkint): Likewise.
21608         * sysdeps/ieee754/dbl-64/e_remainder.c
21609         (__ieee754_remainder): Likewise.
21610         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21611         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21612         (bsloww): Likewise.
21613         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21614
21615         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21616         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21617         MANTISSA_STORE_T to store computations on mantissa.  Use
21618         macros for rounding and division.
21619         (denorm): Likewise.
21620         (__dbl_mp): Likewise.
21621         (add_magnitudes): Likewise.
21622         (sub_magnitudes): Likewise.
21623         (__mul): Likewise.
21624         (__sqr): Likewise.
21625         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21626         powers of two in terms of TWOPOW macro.
21627         (mp_no): Make type of mantissa as MANTISSA_T.
21628         [!RADIXI]: Define RADIXI.
21629         [!TWO52]: Define TWO52.
21630         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21631
21632 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21633
21634         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21635         llroundl symbol when building for PPC32.
21636
21637 2013-03-24  Mark H Weaver  <mhw@netris.org>
21638
21639         * manual/arith.texi (Normalization Functions): Fix prototypes for
21640         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21641
21642 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21643
21644         [BZ #13889]
21645         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21646         high value to check if expl overflow.
21647         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21648         to check for underflow and overflow.
21649         * math/libm-test.inc: Add exp test.
21650
21651 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
21652
21653         [BZ #11120]
21654         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21655         with NOT_IN_libc.
21656
21657 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21658
21659         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21660         symbol.
21661
21662 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21663
21664         * math/gen-libm-test.pl (parse_args, special_functions): Properly
21665         wrap blocks consisting of several statements.
21666
21667         * sysdeps/generic/math-tests.h: New file.
21668         * sysdeps/i386/fpu/math-tests.h: Likewise.
21669         * math/test-snan.c: Include it.
21670         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21671
21672 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21673
21674         [BZ #15285]
21675         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21676         (__ieee754_j0l): Do not improve calculations using cos of twice
21677         input for inputs above LDBL_MAX / 2.0L.
21678         (__ieee754_y0l): Likewise.
21679         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21680         (__ieee754_j1l): Do not improve calculations using cos of twice
21681         input for inputs above LDBL_MAX / 2.0L.
21682         (__ieee754_y1l): Likewise.
21683         * math/libm-test.inc (j0_test): Add another test.
21684         (j1_test): Likewise.
21685         (y0_test): Likewise.
21686         (y1_test): Likewise.
21687         * sysdeps/i386/fpu/libm-test-ulps: Update.
21688
21689 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21690
21691         * Rules ($(objpfx)bench-%.c): Include code from a C source
21692         file.
21693
21694 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21695
21696         [BZ #15287]
21697         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21698         imaginary part 1.0 and real part less than 0.5 specially.
21699         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21700         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21701         * math/libm-test.inc (cacos_test): Add more tests.
21702         (casin_test): Likewise.
21703         (casinh_test): Likewise.
21704         * sysdeps/i386/fpu/libm-test-ulps: Update.
21705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21706
21707 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21708
21709         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21710         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21711
21712 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
21713
21714         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21715         * config.make.in (config-cflags-sse4): Remove variable.
21716         (config-cflags-avx): Likewise.
21717         (config-cflags-sse2avx): Likewise.
21718         (config-cflags-novzeroupper): Likewise.
21719         (config-asflags-i686): Likewise.
21720         (have-mfma4): Likewise.
21721         (have-as-vis3): Likewise.
21722         (MIG): Likewise.
21723         * configure.in (MIG): Do not AC_SUBST.
21724         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21725         (libc_cv_cc_sse4): Do not AC_SUBST.
21726         (libc_cv_cc_avx): Likewise.
21727         (libc_cv_cc_sse2avx): Likewise.
21728         (libc_cv_cc_novzeroupper): Likewise.
21729         (libc_cv_cc_fma4): Likewise.
21730         (libc_cv_as_i686): Likewise.
21731         (libc_cv_sparc_as_vis3): Likewise.
21732         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21733         LIBC_CONFIG_VAR.
21734         (config-asflags-i686): Likewise.
21735         (config-cflags-avx): Likewise.
21736         (config-cflags-sse2avx): Likewise.
21737         (have-mfma4): Likewise.
21738         (config-cflags-novzeroupper): Likewise.
21739         * sysdeps/mach/configure.in (MIG): Likewise.
21740         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21741         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21742         LIBC_CONFIG_VAR.
21743         (config-cflags-avx): Likewise.
21744         (config-cflags-sse2avx): Likewise.
21745         (have-mfma4): Likewise.
21746         (config-cflags-novzeroupper): Likewise.
21747         * configure: Regenerated.
21748         * sysdeps/i386/configure: Likewise.
21749         * sysdeps/mach/configure: Likewise.
21750         * sysdeps/sparc/configure: Likewise.
21751         * sysdeps/x86_64/configure: Likewise.
21752
21753 2013-03-20  Roland McGrath  <roland@hack.frob.com>
21754
21755         [BZ #14812]
21756         * locale/programs/localedef.c (options): Put N_ translation marker
21757         on argument names, not just descriptions.
21758
21759 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21760
21761         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21762
21763 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
21764
21765         [BZ #14176]
21766         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21767
21768 2013-03-19  Roland McGrath  <roland@hack.frob.com>
21769
21770         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21771         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21772         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21773         [!BEFORE_ABORT] (before_abort): New function.
21774         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21775         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21776         (writev_for_fatal): New function.
21777         (WRITEV_FOR_FATAL): New macro; call that.
21778         (backtrace_and_maps): New function.
21779         (BEFORE_ABORT): New macro; call that.
21780         (struct str_list): Type removed.
21781         (__libc_message, __libc_fatal): Functions removed.
21782         Include <sysdeps/posix/libc_fatal.c> instead.
21783
21784 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
21785
21786         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21787         constants.
21788         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21789         double constants.
21790
21791 2013-03-19  Andreas Schwab  <schwab@suse.de>
21792
21793         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21794         * sysdeps/gnu/configure: Regenerate.
21795
21796         * configure.in: Substitute libc_cv_rtlddir.
21797         * configure: Regenerate.
21798         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21799         * Makeconfig (rtlddir, inst_rtlddir): New variables.
21800         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21801         * elf/Makefile (install-others, CFLAGS-interp.c)
21802         (ldso_install, common-ldd-rewrite): Likewise.
21803         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21804         $(inst_slibdir)/$(rtld-installed-name).
21805         * scripts/rellns-sh: Add -p option.
21806         * Makerules (make-shlib-link): Use rellns-sh to get relative name
21807         for source.
21808
21809 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21810
21811         * manual/nptl.texi: Renamed to ...
21812         * manual/threads.texi: ... this.
21813         * manual/Makefile (chapters): Update.
21814
21815 2013-03-18  Roland McGrath  <roland@hack.frob.com>
21816
21817         [BZ #14812]
21818         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21819         on argument names, not just descriptions.
21820         * malloc/memusagestat.c (options): Likewise.
21821         * nss/getent.c (options): Likewise.
21822
21823 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
21824
21825         [BZ #14812]
21826         * iconv/iconv_prog.c (options): Put N_ translation marker
21827         on argument names, not just descriptions.
21828         * iconv/iconvconfig.c (options): Likewise.
21829
21830 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
21831
21832         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21833         implementation which is faster on all x86_64 architectures.
21834         Tested on AMD, Intel Nehalem, SNB, IVB.
21835         * sysdeps/x86_64/strnlen.S: Likewise.
21836
21837         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21838         Remove all multiarch strlen and strnlen versions.
21839         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21840         Remove strlen and strnlen related parts.
21841
21842         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21843         Inline strlen part.
21844         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21845
21846         * sysdeps/x86_64/multiarch/strlen.S: Remove.
21847         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21848         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21849         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21850         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21851         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21852
21853 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
21854
21855         * manual/memory.texi (Malloc Tunable Parameters):
21856         Sort parameters alphabetically. Add comments for missing entries.
21857
21858 2013-03-17  David S. Miller  <davem@davemloft.net>
21859
21860         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21861
21862 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
21863
21864         [BZ #15283]
21865         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21866         for arguments at most half maximum finite value.
21867         * math/libm-test.inc (j0_test): Add more tests.
21868         (j1_test): Likewise.
21869         (y0_test): Likewise.
21870         (y1_test): Likewise.
21871         * sysdeps/i386/fpu/libm-test-ulps: Update.
21872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21873
21874         [BZ #14155]
21875         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21876         1 / x and functions P and Q for arguments above 0x1p256L.
21877         (__ieee754_y0l): Likewise.
21878         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21879         (__ieee754_y1l): Likewise.
21880         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21881         (j1_test): Likewise.
21882         (y0_test): Likewise.
21883         (y1_test): Likewise.
21884
21885 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
21886
21887         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21888         variable.
21889
21890 2013-03-15  Roland McGrath  <roland@hack.frob.com>
21891
21892         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21893         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21894         zero since it's initialized to EXEC_PAGESIZE.
21895
21896         * sysdeps/unix/sysv/linux/ldsodefs.h
21897         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21898         * sysdeps/generic/ldsodefs.h: ... here.
21899
21900 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
21901
21902         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21903
21904         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21905         math/test-snan.c.
21906         * math/test-snan.c: Renamed from
21907         sysdeps/powerpc/fpu/test-powerpc-snan.c.
21908         * math/Makefile (tests): Add test-snan.
21909         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21910         test-powerpc-snan.
21911
21912         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21913         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
21914         functions.
21915         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
21916         __builtin_nan family of functions.
21917         * math/libm-test.inc (initialize): Initialize qnan_value with
21918         __builtin_nan family of functions.
21919         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21920         Remove variables.
21921         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21922         Remove functions.
21923         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
21924         storage class.  Initialize qNaN_var and sNaN_var with
21925         __builtin_nan and __builtin_nans families of functions,
21926         respectively.
21927
21928         * math/libm-test.inc (acosh_test): Also test with qNaN input.
21929         (sqrt_test): Remove duplicate test with qNaN input.
21930         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21931         (round_test, signbit_test, significand_test): Note missing +/-Inf
21932         as well as qNaN tests.
21933
21934         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21935         qNaN_var.  Fix a few strings, too.
21936         * math/libm-test.inc (nan_value): Rename to qnan_value.
21937         * math/gen-libm-test.pl (%beautify): Adjust to that.
21938         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21939         * math/test-misc.c (main): Likewise.
21940         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21941         to __qnan_bytes, and __qnan_union, respectively.
21942         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21943         Likewise.
21944         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21945         and lqnanval, respectively.
21946         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21947         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21948         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21949         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21950
21951         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21952         * math/test-misc.c (main) [__x86_64__]: Enable test for long
21953         doubles.
21954
21955         * math/test-misc.c (main): Fix copy'n'pastos.
21956         * misc/tst-efgcvt.c (special): Likewise.
21957
21958         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21959         Remove declarations.
21960
21961 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21962
21963         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21964         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21965         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21966         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21967
21968 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21969
21970         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21971         macro to return vdso values correctly in IFUNC implementations.
21972         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21973         Optimization by using IFUNC.
21974
21975 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21976             Richard Henderson  <rth@redhat.com>
21977             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21978
21979         * Makefile.in (bench): New target.
21980         * NEWS: Mention the benchmark framework.
21981         * Rules (bench): Likewise.
21982         (binaries-bench): Generate binaries for functions to
21983         benchmark.
21984         * benchtests/Makefile: New makefile for benchmark tests.
21985         * benchtests/bench-skeleton.c: New skeleton file for benchmark
21986         programs.
21987         * benchtests/exp-inputs: New input file for EXP function.
21988         * benchtests/pow-inputs: New input file for POW function.
21989         * scripts/bench.pl: New script to generate source files for
21990         benchmark programs.
21991
21992 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21993
21994         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21995         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21996         computations on mantissa.  Use macros for rounding and
21997         division.
21998         (denorm): Likewise.
21999         (__dbl_mp): Likewise.
22000         (add_magnitudes): Likewise.
22001         (sub_magnitudes): Likewise.
22002         (__mul): Likewise.
22003         (__sqr): Likewise.
22004         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22005         powers of two in terms of TWOPOW macro.
22006         (mp_no): Make type of mantissa as MANTISSA_T.
22007         [!RADIXI]: Define RADIXI.
22008         [!TWO52]: Define TWO52.
22009         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22010
22011         * manual/nptl.texi (cindex): Modify threads to pthreads.
22012
22013 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
22014
22015         * sysdeps/x86_64/preconfigure: Regenerated.
22016
22017 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
22018
22019         [BZ #14155]
22020         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22021         0x1p28 and above.
22022         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22023         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22024         0x1p28 and above.
22025         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22026         * math/libm-test.inc (j0_test): Do not allow one spurious
22027         underflow exception.
22028         (y1_test): Likewise.
22029
22030 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22031
22032         * manual/Makefile (chapters): Add nptl.
22033         * manual/debug.texi (Debugging Support): Add link to Threads
22034         chapter.
22035         * manual/nptl.texi: New file.
22036
22037         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22038
22039 2013-03-14  Petr Baudis  <pasky@ucw.cz>
22040
22041         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22042         for non-NULL pointer before the memory validity test. Pointed
22043         out by Holger Brunck <holger.brunck@keymile.com>.
22044
22045 2013-03-13  Andreas Schwab  <schwab@suse.de>
22046
22047         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22048         instead of .os.
22049
22050 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
22051
22052         * timezone/zic.c: Update from tzcode 2013b.
22053
22054 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
22055
22056         * manual/install.texi (Configuring and compiling):
22057         Mention i686 and i586.
22058         * INSTALL: Regenerate.
22059
22060 2013-03-12  Roland McGrath  <roland@hack.frob.com>
22061
22062         * sysdeps/init_array/elf-init.c: New file.
22063         * csu/elf-init.c
22064         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22065         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22066
22067         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22068         __gmon_start__ as global, but as static with a .preinit_array pointer.
22069         * sysdeps/init_array/gmon-start.c: New file.  Use that.
22070         * sysdeps/init_array/crti.S: New file, empty except for comments.
22071         * sysdeps/init_array/crtn.S: Likewise.
22072
22073 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
22074
22075         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22076         definining bcopy.
22077         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22078         Remove Prefer_SSE_for_memop.
22079         * sysdeps/x86_64/multiarch/init-arch.h: Remove
22080         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22081         HAS_PREFER_SSE_FOR_MEMOP.
22082         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22083         memset-x86-64.
22084         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22085         Remove bzero, memset ifunc support.
22086         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22087         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22088         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22089         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22090
22091 2013-03-11  Andreas Schwab  <schwab@suse.de>
22092
22093         [BZ #15234]
22094         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22095         by SHLIB_COMPAT.
22096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22097         (GLIBC_2.16): Remove pthread_atfork.
22098
22099 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22100
22101         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22102         (ptestcases.h): Likewise.
22103
22104 2013-03-08  Roland McGrath  <roland@hack.frob.com>
22105
22106         * Makeconfig ($(common-objpfx)config.status): Depend on
22107         sysdeps/*/preconfigure{,.in} too.
22108
22109 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
22110
22111         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22112         (__free_hook): Use void * instead of __malloc_ptr_t.
22113         (__malloc_hook): Likewise.
22114         (__realloc_hook): Likewise.
22115         (__memalign_hook): Likewise.
22116         (__after_morecore_hook): Likewise.
22117         * malloc/arena.c (save_malloc_hook): Likewise.
22118         (save_free_hook): Likewise.
22119         * malloc/hooks.c (malloc_hook_ini): Likewise.
22120         (realloc_hook_ini): Likewise.
22121         (memalign_hook_ini): Likewise.
22122         * malloc/malloc.c (malloc_hook_ini): Likewise.
22123         (realloc_hook_ini): Likewise.
22124         (memalign_hook_ini): Likewise.
22125         (__free_hook): Likewise.
22126         (__malloc_hook): Likewise.
22127         (__realloc_hook): Likewise.
22128         (__memalign_hook): Likewise.
22129         (__libc_malloc): Likewise.
22130         (__libc_free): Likewise.
22131         (__libc_realloc): Likewise.
22132         (__libc_memalign): Likewise.
22133         (__libc_valloc): Likewise.
22134         (__libc_pvalloc): Likewise.
22135         (__libc_calloc): Likewise.
22136         (__posix_memalign): Likewise.
22137         * malloc/morecore.c (__sbrk): Likewise.
22138         (__default_morecore): Likewise.
22139
22140         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22141
22142         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22143         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22144         __malloc_ptrdiff_t.
22145
22146         * malloc/malloc.h (__malloc_size_t): Remove macro.
22147         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22148         __malloc_size_t.
22149         (old_memalign_hook): Likewise.
22150         (old_realloc_hook): Likewise.
22151         (struct hdr): Likewise.
22152         (flood): Likewise.
22153         (mallochook): Likewise.
22154         (memalignhook): Likewise.
22155         (reallochook): Likewise.
22156         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22157         (tr_old_realloc_hook): Likewise.
22158         (tr_old_memalign_hook): Likewise.
22159         (tr_mallochook): Likewise.
22160         (tr_reallochook): Likewise.
22161         (tr_memalignhook): Likewise.
22162
22163 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22164
22165         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22166         default_ldbl_pack and using as default implementation.
22167         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22168         implementation.
22169         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22170         redundant definition.
22171         (ldbl_insert_mantissa): Likewise.
22172         (ldbl_canonicalize): Likewise.
22173         (ldbl_nearbyint): Likewise.
22174         (ldbl_pack): Rename to ldbl_pack_ppc.
22175         (ldbl_unpack): Rename to ldbl_unpack_ppc.
22176         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22177         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22178
22179 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22180
22181         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22182         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22183         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22184         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22185         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22186         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22187         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22188         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22189
22190 2013-03-07  Andreas Jaeger  <aj@suse.de>
22191
22192         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22193         bits/mman-linux.h.
22194
22195 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22196
22197         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22198         Include mpa.h and declare __MPEXP.
22199         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22200         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22201         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22202         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22203         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22204         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22205         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22206
22207         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22208         (__slowpow): Use long double EXPL and LOGL functions to
22209         compute POW.
22210         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22211         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22212         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22213         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22214         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22215         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22216
22217         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22218         intermediate variable to calculate exponent.
22219         (__sqr): Likewise.
22220         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22221         Likewise.
22222         (__sqr): Likewise.
22223
22224         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22225         [!NO__SQR]: Define __sqr.
22226         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22227         and NO__SQR.  Remove all code except __mul and __sqr.  Include
22228         sysdeps/ieee754/dbl-64/mpa.c.
22229         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22230
22231         [BZ #12723]
22232         * posix/Makefile (tests): Add tst-pathconf.
22233         * posix/tst-pathconf.c: New test case.
22234         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22235         _PC_PIPE_BUF.
22236         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22237
22238 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
22239
22240         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22241
22242 2013-03-06  Andreas Jaeger  <aj@suse.de>
22243
22244         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22245         definition via __MAP_ANONYMOUS.
22246
22247         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22248         it's not part of Linux headers.
22249
22250         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22251         (MAP_HUGE_MASK): Define.
22252
22253         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22254         Define.
22255         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22256         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22257         Define.
22258         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22259         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22260         Define.
22261         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22262         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22263         Define.
22264         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22265
22266         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22267         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22268         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22269         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22270         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22271         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22272
22273         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22274         Handle f2fs.
22275
22276         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22277         Handle f2fs and efivarfs.
22278
22279         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22280         f2fs.
22281
22282         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22283         (EFIVARFS_MAGIC): Add.
22284         (F2FS_LINK_MAX): Add.
22285
22286 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22287
22288         * stdio-common/vfprintf.c: Replace __builtin_expect with
22289         __glibc_unlikely.
22290
22291 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
22292
22293         [BZ #13550]
22294         * sysdeps/generic/bp-sym.h: Remove file.
22295         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22296         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22297         <bp-sym.h> and <bp-asm.h>.
22298         (__longjmp): Don't use BP_SYM.
22299         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22300         and <bp-asm.h>.
22301         (memcpy): Don't use BP_SYM.
22302         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22303         <bp-sym.h> and <bp-asm.h>.
22304         (memcpy): Don't use BP_SYM.
22305         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22306         <bp-asm.h>.
22307         (memcpy): Don't use BP_SYM.
22308         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22309         <bp-asm.h>.
22310         (memset): Don't use BP_SYM.
22311         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22312         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22313         (__bzero): Don't use BP_SYM.
22314         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22315         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22316         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22317         <bp-sym.h> and <bp-asm.h>.
22318         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22319         pointers.
22320         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22321         <bp-sym.h> and <bp-asm.h>.
22322         (memcpy): Don't use BP_SYM.
22323         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22324         <bp-sym.h> and <bp-asm.h>.
22325         (memset): Don't use BP_SYM.
22326         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22327         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22328         (__bzero): Don't use BP_SYM.
22329         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22330         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22331         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22332         <bp-sym.h> and <bp-asm.h>.
22333         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22334         pointers.
22335         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22336         <bp-sym.h> and <bp-asm.h>.
22337         (memcpy): Don't use BP_SYM.
22338         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22339         <bp-sym.h> and <bp-asm.h>.
22340         (memset): Don't use BP_SYM.
22341         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22342         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22343         (__bzero): Don't use BP_SYM.
22344         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22345         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22346         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22347         <bp-sym.h> and <bp-asm.h>.
22348         (__memchr): Don't use BP_SYM.
22349         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22350         <bp-sym.h> and <bp-asm.h>.
22351         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22352         pointers.
22353         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22354         <bp-sym.h> and <bp-asm.h>.
22355         (memcpy): Don't use BP_SYM.
22356         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22357         <bp-sym.h> and <bp-asm.h>.
22358         (__mempcpy): Don't use BP_SYM.
22359         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22360         <bp-sym.h> and <bp-asm.h>.
22361         (__memrchr): Don't use BP_SYM.
22362         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22363         <bp-sym.h> and <bp-asm.h>.
22364         (memset): Don't use BP_SYM.
22365         (__bzero): Likewise.
22366         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22367         <bp-sym.h> and <bp-asm.h>.
22368         (__rawmemchr): Don't use BP_SYM.
22369         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22370         <bp-sym.h> and <bp-asm.h>.
22371         (__STRCMP): Don't use BP_SYM.
22372         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22373         <bp-sym.h> and <bp-asm.h>.
22374         (strchr): Don't use BP_SYM.
22375         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22376         <bp-sym.h> and <bp-asm.h>.
22377         (__strchrnul): Don't use BP_SYM.
22378         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22379         <bp-sym.h> and <bp-asm.h>.
22380         (strlen): Don't use BP_SYM.
22381         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22382         <bp-sym.h> and <bp-asm.h>.
22383         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22384         pointers.
22385         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22386         <bp-sym.h> and <bp-asm.h>.
22387         (__strnlen): Don't use BP_SYM.
22388         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22389         <bp-sym.h> and <bp-asm.h>.
22390         (__GI__setjmp): Don't use BP_SYM.
22391         (_setjmp): Likewise.
22392         (__sigsetjmp): Likewise.
22393         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22394         (L(start_addresses)): Don't use BP_SYM.
22395         (_start): Likewise.
22396         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22397         <bp-asm.h>.
22398         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22399         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22400         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22401         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22402         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22403         <bp-asm.h>.
22404         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22405         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
22406         about bounded pointers.
22407         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22408         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22409         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22410         <bp-asm.h>.
22411         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22412         about bounded pointers.  Remove GKM FIXME comments.
22413         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22414         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22415         <bp-asm.h>.
22416         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22417         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
22418         Remove GKM FIXME comments.
22419         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22420         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22421         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22422         <bp-asm.h>.
22423         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22424         about bounded pointers.  Remove GKM FIXME comment.
22425         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22426         and <bp-asm.h>.
22427         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22428         pointers.
22429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22430         <bp-sym.h> and <bp-asm.h>.
22431         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22433         <bp-sym.h> and <bp-asm.h>.
22434         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22435         comment.
22436
22437 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22438
22439         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22440         call free(NULL).
22441
22442 2013-03-05  David S. Miller  <davem@davemloft.net>
22443
22444         * po/es.po: Update from translation team.
22445
22446 2013-03-05  Andreas Jaeger  <aj@suse.de>
22447
22448         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22449         <bits/mman-linux.h>.
22450         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22451         is fine.
22452         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22453         <bits/mman-linux.h> to end of file.
22454         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22455         is fine.
22456         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22457         <bits/mman-linux.h> to end of file.
22458         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22459         is fine.
22460         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22461         <bits/mman-linux.h> to end of file.
22462
22463         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22464         (MCL_CURRENT, MCL_FUTURE): Define here.
22465
22466 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22467
22468         [BZ #15232]
22469         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22470         attribute_hidden.
22471         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22472
22473 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22474
22475         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22476         fourth parameter needed for rt_sigprocmask syscall.
22477         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22478         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22479         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22480         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22481         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22482         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22483
22484 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
22485
22486         [BZ #13550]
22487         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22488         comment about bounded pointers.
22489         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22490         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22491
22492 2013-03-04  Andreas Jaeger  <aj@suse.de>
22493
22494         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22495         common definitions.
22496
22497         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22498         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22499         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22500         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22501         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22502         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22503
22504 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22505
22506         [BZ #15055]
22507         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22508         __ieee754_sqrl instead of __sqrl.
22509
22510 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
22511
22512         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22513         * sysdeps/powerpc/fpu_control.h: ... here.
22514         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22515         * sysdeps/powerpc/bits/fenvinline.h: ... here.
22516         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22517         * sysdeps/powerpc/bits/mathinline.h: ... here.
22518
22519 2013-03-01  Roland McGrath  <roland@hack.frob.com>
22520
22521         * elf/dl-hwcaps.c (_dl_important_hwcaps):
22522         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22523         to just [NEED_DL_SYSINFO_DSO].
22524         * elf/dl-support.c: Likewise.
22525         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22526         * elf/rtld.c (dl_main): Likewise.
22527         * elf/setup-vdso.h (setup_vdso): Likewise.
22528         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22529         * sysdeps/unix/sysv/linux/dl-sysdep.c
22530         (_dl_discover_osversion): Likewise.
22531
22532 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
22533
22534         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22535         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22536
22537 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22538
22539         * NEWS: Mention libm performance improvements and non-x86 PI
22540         futex support.
22541
22542         * csu/libc-start.c (__pthread_initialize_minimal): Change
22543         function arguments.
22544         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22545
22546 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
22547
22548         [BZ #13550]
22549         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22550         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22551         <bp-sym.h> and <bp-asm.h>.
22552         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22553         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22554         and <bp-asm.h>.
22555         (memcpy): Don't use BP_SYM.
22556         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22557         <bp-asm.h>.
22558         (__mpn_add_n): Don't use BP_SYM.
22559         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22560         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22561         and <bp-asm.h>.
22562         (__mpn_addmul_1): Don't use BP_SYM.
22563         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22564         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22565         <bp-sym.h>.
22566         (_setjmp): Don't use BP_SYM.
22567         (__novmx_setjmp): Likewise.
22568         (__GI__setjmp): Likewise.
22569         (__vmx_setjmp): Likewise.
22570         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22571         <bp-sym.h>.
22572         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22573         (__bzero): Don't use BP_SYM.
22574         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22575         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22576         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22577         <bp-sym.h> and <bp-asm.h>.
22578         (memcpy): Don't use BP_SYM.
22579         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22580         <bp-sym.h> and <bp-asm.h>.
22581         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22582         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22583         <bp-sym.h> and <bp-asm.h>.
22584         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22585         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22586         <bp-asm.h>.
22587         (__mpn_lshift): Don't use BP_SYM.
22588         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22589         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22590         <bp-asm.h>.
22591         (memset): Don't use BP_SYM.
22592         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22593         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22594         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22595         <bp-asm.h>.
22596         (__mpn_mul_1): Don't use BP_SYM.
22597         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22598         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22599         <bp-sym.h> and <bp-asm.h>.
22600         (memcmp): Don't use BP_SYM.
22601         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22602         <bp-sym.h> and <bp-asm.h>.
22603         (memcpy): Don't use BP_SYM.
22604         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22605         <bp-sym.h> and <bp-asm.h>.
22606         (memset): Don't use BP_SYM.
22607         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22608         <bp-sym.h> and <bp-asm.h>.
22609         (strncmp): Don't use BP_SYM.
22610         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22611         <bp-sym.h> and <bp-asm.h>.
22612         (memcpy): Don't use BP_SYM.
22613         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22614         <bp-sym.h> and <bp-asm.h>.
22615         (memset): Don't use BP_SYM.
22616         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22617         <bp-sym.h> and <bp-asm.h>.
22618         (__memchr): Don't use BP_SYM.
22619         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22620         <bp-sym.h> and <bp-asm.h>.
22621         (memcmp): Don't use BP_SYM.
22622         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22623         <bp-sym.h> and <bp-asm.h>.
22624         (memcpy): Don't use BP_SYM.
22625         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22626         <bp-sym.h> and <bp-asm.h>.
22627         (__mempcpy): Don't use BP_SYM.
22628         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22629         <bp-sym.h> and <bp-asm.h>.
22630         (__memrchr): Don't use BP_SYM.
22631         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22632         <bp-sym.h> and <bp-asm.h>.
22633         (memset): Don't use BP_SYM.
22634         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22635         <bp-sym.h> and <bp-asm.h>.
22636         (__rawmemchr): Don't use BP_SYM.
22637         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22638         <bp-sym.h> and <bp-asm.h>.
22639         (__STRCMP): Don't use BP_SYM.
22640         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22641         <bp-sym.h> and <bp-asm.h>.
22642         (strchr): Don't use BP_SYM.
22643         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22644         <bp-sym.h> and <bp-asm.h>.
22645         (__strchrnul): Don't use BP_SYM.
22646         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22647         <bp-sym.h> and <bp-asm.h>.
22648         (strlen): Don't use BP_SYM.
22649         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22650         <bp-sym.h> and <bp-asm.h>.
22651         (strncmp): Don't use BP_SYM.
22652         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22653         <bp-sym.h> and <bp-asm.h>.
22654         (__strnlen): Don't use BP_SYM.
22655         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22656         <bp-asm.h>.
22657         (__mpn_rshift): Don't use BP_SYM.
22658         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22659         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22660         <bp-sym.h> and <bp-asm.h>.
22661         (__sigsetjmp): Don't use BP_SYM.
22662         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22663         (L(start_addresses)): Don't use BP_SYM.
22664         (_start): Likewise.
22665         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22666         <bp-asm.h>.
22667         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22668         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22669         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22670         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22671         <bp-asm.h>.
22672         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22673         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22674         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22675         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22676         <bp-asm.h>.
22677         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22678         comments.
22679         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22680         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22681         <bp-asm.h>.
22682         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
22683         FIXME comments.
22684         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22685         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22686         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22687         <bp-asm.h>.
22688         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22689         comment.
22690         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22691         and <bp-asm.h>.
22692         (strncmp): Don't use BP_SYM,
22693         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22694         <bp-asm.h>.
22695         (__mpn_sub_n): Don't use BP_SYM.
22696         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22697         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22698         and <bp-asm.h>.
22699         (__mpn_submul_1): Don't use BP_SYM.
22700         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22702         <bp-sym.h> and <bp-asm.h>.
22703         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22705         <bp-sym.h> and <bp-asm.h>.
22706         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22707         comment.
22708
22709 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22710
22711         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22712         Use ZK to minimize writes to Z.
22713         (sub_magnitudes): Simplify code a bit.
22714         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22715         Use ZK to minimize writes to Z.
22716         (sub_magnitudes): Simplify code a bit.
22717
22718 2013-02-27  Roland McGrath  <roland@hack.frob.com>
22719
22720         * csu/gmon-start.c: Add special exception to license text.
22721
22722 2013-02-27  Richard Henderson  <rth@redhat.com>
22723
22724         * scripts/config.guess: Update from config.git.
22725         * scripts/config.sub: Likewise.
22726
22727 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22728
22729         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22730
22731         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22732
22733         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22734
22735         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22736
22737         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22738
22739 2013-02-26  Roland McGrath  <roland@hack.frob.com>
22740
22741         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22742         [$(build-shared = yes].
22743
22744 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22745
22746         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22747         (__mul): Reduce iterations for calculating mantissa.
22748
22749         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22750         MPTWO.
22751         (__mpranred): Likewise.
22752
22753         [BZ #15160]
22754         * malloc/memusagestat.c (main): Draw graphs for heap and stack
22755         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22756
22757 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
22758
22759         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22760         Define __attribute__.
22761
22762 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22763
22764         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22765         unused.
22766         * posix/regex_internal.h (__attribute): Remove.
22767         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22768         (re_string_context_at): Likewise.
22769         (bitset_not): Use __attribute__ and mark function as possibly
22770         unused.
22771         (bitset_merge): Likewise.
22772         (bitset_mask): Likewise.
22773         (re_string_char_size_at): Likewise.
22774         (re_string_wchar_at): Likewise.
22775         (re_string_elem_size_at): Likewise.
22776
22777 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22778
22779         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22780         code.
22781         (cc32): Likewise.
22782
22783         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22784         (__acr): Likewise.
22785         (__cpy): Likewise.
22786         (norm): Likewise.
22787         (denorm): Likewise.
22788         (__dbl_mp): Likewise.
22789         (add_magnitudes): Likewise.
22790         (sub_magnitudes): Likewise.
22791         (__mul): Likewise.
22792         (__inv): Likewise.
22793
22794         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22795         style.
22796
22797         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22798         style.
22799
22800         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22801         code.
22802
22803         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22804         up changes with default code.
22805         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22806         Likewise.
22807
22808 2013-02-24  Allan McRae  <allan@archlinux.org>
22809
22810         * manual/socket.texi (The Internet Namespace): Order menu items
22811         to match that in the file.
22812
22813         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22814         node listing of the info page menu.
22815
22816 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
22817
22818         [BZ #13550]
22819         * sysdeps/i386/bp-asm.h: Remove file.
22820         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22821         (PARMS): Do not use macros from bp-asm.h.
22822         (S1): Likewise.
22823         (S2): Likewise.
22824         (SIZE): Likewise.
22825         (__mpn_add_n): Do not use BP_SYM
22826         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22827         "bp-asm.h".
22828         (PARMS): Do not use macros from bp-asm.h.
22829         (S1): Likewise.
22830         (SIZE): Likewise.
22831         (__mpn_addmul_1): Do not use BP_SYM
22832         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22833         "bp-asm.h".
22834         (PARMS): Do not use macros from bp-asm.h.
22835         (SIGMSK): Likewise.
22836         (_setjmp): Likewise.  Do not use BP_SYM.
22837         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22838         "bp-asm.h".
22839         (PARMS): Do not use macros from bp-asm.h.
22840         (SIGMSK): Likewise.
22841         (setjmp): Likewise.  Do not use BP_SYM.
22842         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22843         "bp-asm.h".
22844         (PARMS): Do not use macros from bp-asm.h.
22845         (__frexp): Do not use BP_SYM.
22846         (frexp): Likewise.
22847         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22848         "bp-asm.h".
22849         (PARMS): Do not use macros from bp-asm.h.
22850         (__frexpf): Do not use BP_SYM.
22851         (frexpf): Likewise.
22852         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22853         "bp-asm.h".
22854         (PARMS): Do not use macros from bp-asm.h.
22855         (__frexpl): Do not use BP_SYM.
22856         (frexpl): Likewise.
22857         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22858         "bp-asm.h".
22859         (PARMS): Do not use macros from bp-asm.h.
22860         (__remquo): Do not use BP_SYM.
22861         (remquo): Likewise.
22862         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22863         "bp-asm.h".
22864         (PARMS): Do not use macros from bp-asm.h.
22865         (__remquof): Do not use BP_SYM.
22866         (remquof): Likewise.
22867         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22868         "bp-asm.h".
22869         (PARMS): Do not use macros from bp-asm.h.
22870         (__remquol): Do not use BP_SYM.
22871         (remquol): Likewise.
22872         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22873         "bp-asm.h".
22874         (PARMS): Do not use macros from bp-asm.h.
22875         (DEST): Likewise.
22876         (SRC): Likewise.
22877         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
22878         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22879         "bp-asm.h".
22880         (PARMS): Do not use macros from bp-asm.h.
22881         (strlen): Do not use BP_SYM.
22882         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22883         "bp-asm.h".
22884         (PARMS): Do not use macros from bp-asm.h.
22885         (S1): Likewise.
22886         (S2): Likewise.
22887         (SIZE): Likewise.
22888         (__mpn_add_n): Do not use BP_SYM.
22889         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22890         "bp-asm.h".
22891         (PARMS): Do not use macros from bp-asm.h.
22892         (S1): Likewise.
22893         (SIZE): Likewise.
22894         (__mpn_addmul_1): Do not use BP_SYM.
22895         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22896         weak_alias.
22897         (bzero): Likewise.
22898         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22899         "bp-asm.h".
22900         (PARMS): Do not use macros from bp-asm.h.
22901         (S): Likewise.
22902         (SIZE): Likewise.
22903         (__mpn_lshift): Do not use BP_SYM.
22904         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22905         "bp-asm.h".
22906         (PARMS): Do not use macros from bp-asm.h.
22907         (DEST): Likewise.
22908         (SRC): Likewise.
22909         (LEN): Likewise.
22910         (memcpy): Likewise.  Do not use BP_SYM.
22911         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22912         libc_hidden_def and weak_alias.
22913         (mempcpy): Do not use BP_SYM in weak_alias.
22914         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22915         "bp-asm.h".
22916         (PARMS): Do not use macros from bp-asm.h.
22917         (DEST): Likewise.
22918         (LEN): Likewise.
22919         [!BZERO_P] (CHR): Likewise.
22920         (memset): Likewise.  Do not use BP_SYM.
22921         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22922         "bp-asm.h".
22923         (PARMS): Do not use macros from bp-asm.h.
22924         (S1): Likewise.
22925         (SIZE): Likewise.
22926         (__mpn_mul_1): Do not use BP_SYM.
22927         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22928         "bp-asm.h".
22929         (PARMS): Do not use macros from bp-asm.h.
22930         (S): Likewise.
22931         (SIZE): Likewise.
22932         (__mpn_rshift): Do not use BP_SYM.
22933         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22934         "bp-asm.h".
22935         (PARMS): Do not use macros from bp-asm.h.
22936         (STR): Likewise.
22937         (CHR): Likewise.
22938         (strchr): Likewise.  Do not use BP_SYM.
22939         (index): Do not use BP_SYM in weak_alias.
22940         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22941         "bp-asm.h".
22942         (PARMS): Do not use macros from bp-asm.h.
22943         (DEST): Likewise.
22944         (SRC): Likewise.
22945         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
22946         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22947         "bp-asm.h".
22948         (PARMS): Do not use macros from bp-asm.h.
22949         (strlen): Do not use BP_SYM.
22950         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22951         "bp-asm.h".
22952         (PARMS): Do not use macros from bp-asm.h.
22953         (S1): Likewise.
22954         (S2): Likewise.
22955         (SIZE): Likewise.
22956         (__mpn_sub_n): Do not use BP_SYM.
22957         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22958         "bp-asm.h".
22959         (PARMS): Do not use macros from bp-asm.h.
22960         (S1): Likewise.
22961         (SIZE): Likewise.
22962         (__mpn_submul_1): Do not use BP_SYM.
22963         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22964         "bp-asm.h".
22965         (PARMS): Do not use macros from bp-asm.h.
22966         (S1): Likewise.
22967         (S2): Likewise.
22968         (SIZE): Likewise.
22969         (__mpn_add_n): Do not use BP_SYM.
22970         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22971         weak_alias.
22972         (bzero): Likewise.
22973         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22974         "bp-asm.h".
22975         (PARMS): Do not use macros from bp-asm.h.
22976         (BLK2): Likewise.
22977         (LEN): Likewise.
22978         (memcmp): Do not use BP_SYM.
22979         (bcmp): Do not use BP_SYM in weak_alias.
22980         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22981         "bp-asm.h".
22982         (PARMS): Do not use macros from bp-asm.h.
22983         (DEST): Likewise.
22984         (SRC): Likewise.
22985         (LEN): Likewise.
22986         (memcpy): Likewise.  Do not use BP_SYM.
22987         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22988         "bp-asm.h".
22989         (PARMS): Do not use macros from bp-asm.h.
22990         (DEST): Likewise.
22991         (SRC): Likewise.
22992         (LEN): Likewise.
22993         (memmove): Likewise.  Do not use BP_SYM.
22994         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22995         "bp-asm.h".
22996         (PARMS): Do not use macros from bp-asm.h.
22997         (DEST): Likewise.
22998         (SRC): Likewise.
22999         (LEN): Likewise.
23000         (__mempcpy): Likewise.  Do not use BP_SYM.
23001         (mempcpy): Do not use BP_SYM in weak_alias.
23002         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23003         "bp-asm.h".
23004         (PARMS): Do not use macros from bp-asm.h.
23005         (DEST): Likewise.
23006         (LEN): Likewise.
23007         [!BZERO_P] (CHR): Likewise.
23008         (memset): Likewise.  Do not use BP_SYM.
23009         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23010         "bp-asm.h".
23011         (PARMS): Do not use macros from bp-asm.h.
23012         (STR2): Likewise.
23013         (strcmp): Do not use BP_SYM.
23014         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23015         "bp-asm.h".
23016         (PARMS): Do not use macros from bp-asm.h.
23017         (STR): Likewise.
23018         (DELIM): Likewise.
23019         [USE_AS_STRTOK_R] (SAVE): Likewise.
23020         (FUNCTION): Likewise.  Do not use BP_SYM.
23021         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23022         aliases.
23023         (strtok_r): Likewise.
23024         (__GI___strtok_r): Likewise.
23025         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23026         (PARMS): Do not use macros from bp-asm.h.
23027         (S): Likewise.
23028         (SIZE): Likewise.
23029         (__mpn_lshift): Do not use BP_SYM.
23030         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23031         (PARMS): Do not use macros from bp-asm.h.
23032         (STR): Likewise.
23033         (CHR): Likewise.
23034         (__memchr): Do not use BP_SYM.
23035         (memchr): Do not use BP_SYM in weak_alias.
23036         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23037         (PARMS): Do not use macros from bp-asm.h.
23038         (BLK2): Likewise.
23039         (LEN): Likewise.
23040         (memcmp): Do not use BP_SYM.
23041         (bcmp): Do not use BP_SYM in weak_alias.
23042         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23043         (PARMS): Do not use macros from bp-asm.h.
23044         (S1): Likewise.
23045         (SIZE): Likewise.
23046         (__mpn_mul_1): Do not use BP_SYM.
23047         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23048         "bp-asm.h".
23049         (PARMS): Do not use macros from bp-asm.h.
23050         (STR): Likewise.
23051         (CHR): Likewise.
23052         (__rawmemchr): Do not use BP_SYM.
23053         (rawmemchr): Do not use BP_SYM in weak_alias.
23054         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23055         (PARMS): Do not use macros from bp-asm.h.
23056         (S): Likewise.
23057         (SIZE): Likewise.
23058         (__mpn_rshift): Do not use BP_SYM.
23059         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23060         (PARMS): Do not use macros from bp-asm.h.
23061         (SIGMSK): Likewise.
23062         (__sigsetjmp): Likewise.  Do not use BP_SYM.
23063         * sysdeps/i386/start.S: Do not include "bp-sym.h".
23064         (_start): Do not use BP_SYM.
23065         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23066         (PARMS): Do not use macros from bp-asm.h.
23067         (DEST): Likewise.
23068         (SRC): Likewise.
23069         (__stpcpy): Likewise.  Do not use BP_SYM.
23070         (stpcpy): Do not use BP_SYM in weak_alias.
23071         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23072         "bp-asm.h".
23073         (PARMS): Do not use macros from bp-asm.h.
23074         (DEST): Likewise.
23075         (SRC): Likewise.
23076         (LEN): Likewise.
23077         (__stpncpy): Likewise.  Do not use BP_SYM.
23078         (stpncpy): Do not use BP_SYM in weak_alias.
23079         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23080         (PARMS): Do not use macros from bp-asm.h.
23081         (STR): Likewise.
23082         (CHR): Likewise.
23083         (strchr): Likewise.  Do not use BP_SYM.
23084         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23085         "bp-asm.h".
23086         (PARMS): Do not use macros from bp-asm.h.
23087         (STR): Likewise.
23088         (CHR): Likewise.
23089         (__strchrnul): Likewise.  Do not use BP_SYM.
23090         (strchrnul): Do not use BP_SYM in weak_alias.
23091         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23092         "bp-asm.h".
23093         (PARMS): Do not use macros from bp-asm.h.
23094         (STOP): Likewise.
23095         (strcspn): Do not use BP_SYM.
23096         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23097         "bp-asm.h".
23098         (PARMS): Do not use macros from bp-asm.h.
23099         (STR): Likewise.
23100         (STOP): Likewise.
23101         (strpbrk): Likewise.  Do not use BP_SYM.
23102         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23103         "bp-asm.h".
23104         (PARMS): Do not use macros from bp-asm.h.
23105         (STR): Likewise.
23106         (CHR): Likewise.
23107         (strrchr): Likewise.  Do not use BP_SYM.
23108         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23109         (PARMS): Do not use macros from bp-asm.h.
23110         (SKIP): Likewise.
23111         (strspn): Do not use BP_SYM.
23112         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23113         (PARMS): Do not use macros from bp-asm.h.
23114         (STR): Likewise.
23115         (DELIM): Likewise.
23116         (SAVE): Likewise.
23117         (FUNCTION): Likewise.  Do not use BP_SYM.
23118         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23119         aliases.
23120         (strtok_r): Likewise.
23121         (__GI___strtok_r): Likewise.
23122         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23123         (PARMS): Do not use macros from bp-asm.h.
23124         (S1): Likewise.
23125         (S2): Likewise.
23126         (SIZE): Likewise.
23127         (__mpn_sub_n): Do not use BP_SYM.
23128         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23129         "bp-asm.h".
23130         (PARMS): Do not use macros from bp-asm.h.
23131         (S1): Likewise.
23132         (SIZE): Likewise.
23133         (__mpn_submul_1): Do not use BP_SYM.
23134         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23135         <bp-sym.h>.
23136         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23137         and <bp-asm.h>.
23138         (PARMS): Do not use macros from bp-asm.h.
23139         (FLAGS): Likewise.
23140         (PTID): Likewise.
23141         (TLS): Likewise.
23142         (CTID): Likewise.
23143         (__clone): Do not use BP_SYM.
23144         (clone): Do not use BP_SYM in weak_alias.
23145         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23146         and <bp-asm.h>.
23147         (PARMS): Do not use macros from bp-asm.h.
23148         (LEN): Likewise.
23149         (__mmap64): Do not use BP_SYM.
23150         (mmap64): Do not use BP_SYM in weak_alias.
23151         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23152         <bp-sym.h> and <bp-asm.h>.
23153         (PARMS): Do not use macros from bp-asm.h.
23154         (__posix_fadvise64_l64): Do not use BP_SYM.
23155         * sysdeps/unix/sysv/linux/i386/semtimedop.S
23156         (PARMS): Do not use macros from bp-asm.h.
23157         (NSOPS): Likewise.
23158         (semtimedop): Do not use BP_SYM.
23159         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23160         and <bp-asm.h>.
23161
23162 2013-02-21  Allan McRae  <allan@archlinux.org>
23163
23164         * manual/message.texi (Charset conversion in gettext):
23165         Move @end statement to beginning of line.
23166
23167 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23168
23169         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23170         static.
23171         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23172         Likewise.
23173
23174         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23175         (denorm): Likewise.
23176         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23177         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23178
23179 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23180
23181         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23182         tail-call to the resolved function if pltexit isn't needed.
23183
23184 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23185
23186         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23187         or Y being zero as being unlikely.
23188         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23189         Likewise.
23190
23191 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
23192
23193         * manual/nss.texi (System Databases and Name Service Switch):
23194         Remove frobnicate @pxref.
23195
23196 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23197
23198         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23199         __attribute__ ((unused)) to __attribute__ ((__unused__)).
23200
23201 2013-02-20  Petr Machata  <pmachata@redhat.com>
23202
23203         * elf/elf.h (R_ARM_TARGET1): New macro.
23204         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23205         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23206         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23207         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23208         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23209         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23210         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23211         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23212         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23213         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23214         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23215         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23216         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23217         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23218         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23219         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23220         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23221         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23222         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23223         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23224         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23225         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23226         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23227         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23228         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23229         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23230         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23231         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23232         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23233         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23234         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23235         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23236         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23237         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23238         (R_ARM_THM_GOT_BREL12): Likewise.
23239         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23240         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23241         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23242         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23243         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23244         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23245         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23246         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23247         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23248
23249 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23250
23251         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23252         __attribute_used__ to __attribute__ ((unused)).
23253
23254 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23255
23256         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23257         powerpc mpa.c.
23258         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23259         comment formatting.
23260         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23261
23262 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
23263
23264         [BZ #13550]
23265         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23266         Remove macro.
23267         (ENTER): Remove both macro definitions.
23268         (LEAVE): Likewise.
23269         (CHECK_BOUNDS_LOW): Likewise.
23270         (CHECK_BOUNDS_HIGH): Likewise.
23271         (CHECK_BOUNDS_BOTH): Likewise.
23272         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23273         (RETURN_BOUNDED_POINTER): Likewise.
23274         (RETURN_NULL_BOUNDED_POINTER): Likewise.
23275         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23276         (POP_ERRNO_LOCATION_RETURN): Likewise.
23277         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23278         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23279         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23280         macros.
23281         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23282         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23283         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23284         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23285         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23286         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23287         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23288         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23289         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23290         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23291         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23292         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23293         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23294         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23295         removed macros.
23296         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23297         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23298         macros.
23299         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23300         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23301         * sysdeps/i386/i586/memset.S (memset): Likewise.
23302         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23303         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23304         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23305         macros.
23306         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23307         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23308         Change uses of L(2) to L(out).
23309         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23310         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23311         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23312         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23313         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23314         removed macros.
23315         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23316         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23317         macros.
23318         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23319         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23320         (RETURN): Do not use macro LEAVE.
23321         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23322         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23323         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23324         * sysdeps/i386/i686/memset.S (memset): Likewise.
23325         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23326         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23327         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23328         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23329         Likewise.
23330         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23331         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
23332         L(1_2) and L(1_3) into L(1).
23333         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23334         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23335         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23336         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23337         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23338         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23339         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23340         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23341         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23342         macros.
23343         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23344         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23345         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23346         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23347         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23348         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23349         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23350         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23351         * sysdeps/i386/strcspn.S (strcspn): Likewise.
23352         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23353         * sysdeps/i386/strrchr.S (strrchr): Likewise.
23354         * sysdeps/i386/strspn.S (strspn): Likewise.
23355         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23356         conditional code.
23357         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23358         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23359         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23360         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
23361         L(1_3) into L(1_1).
23362         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23363         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23364         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23365         macros.
23366         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23367
23368 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
23369
23370         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23371         macro.
23372
23373 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23374
23375         * math/atest-exp.c (exp_mpn): Remove ROUND.
23376         * math/atest-exp2.c (exp_mpn): Likewise.
23377         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23378
23379         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23380         * stdlib/tst-tls-atexit-lib.c: Likewise.
23381         * stdlib/tst-tls-atexit.c: Likewise.
23382
23383 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23384
23385         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23386         and __attribute_alloc_size__.
23387
23388 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23389
23390         * include/programs/xmalloc.h: Change __attribute_alloc_size to
23391         __attribute_alloc_size__.
23392         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23393         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23394
23395 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23396
23397         * include/programs/xmalloc.h: New file.
23398         * catgets/gencat.c: Include it.
23399         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23400         * elf/pldd.c: Likewise.
23401         * iconv/iconv_charmap.c: Likewise.
23402         * iconv/iconvconfig.c: Likewise.
23403         * iconv/strtab.c: Likewise.
23404         * locale/programs/locale.c: Likewise.
23405         * locale/programs/localedef.h: Likewise.
23406         * locale/programs/simple-hash.c: Likewise.
23407         * nscd/nscd.h: Likewise.
23408         * nss/makedb.c: Likewise.
23409         * sysdeps/generic/ldconfig.h: Likewise.
23410
23411 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23412
23413         * Versions.def: Add GLIBC_2.18.
23414         * include/link.h (struct link_map): New member l_tls_dtor_count.
23415         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23416         (__call_tls_dtors): Likewise.
23417         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23418         __cxa_thread_atexit_impl.
23419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23420         Likewise.
23421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23422         Likewise.
23423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23424         Likewise.
23425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23426         Likewise.
23427         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23428         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23429         Likewise.
23430         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23431         Likewise.
23432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23433         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23434         Likewise.
23435         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23436         (tests): Add test case tst-tls-atexit.
23437         (modules-names): Add shared library for tst-tls-atexit.
23438         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23439         (GLIBC_PRIVATE): Add __call_tls_dtors.
23440         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23441         for libstdc++.
23442         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23443         * stdlib/tst-tls-atexit.c: New test case.
23444         * stdlib/tst-tls-atexit-lib.c: New test case.
23445
23446         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23447
23448         * elf/Versions (ld): Add _dl_find_dso_for_object.
23449         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23450         * elf/dl-open.c (_dl_find_dso_for_object): New function.
23451         (dl_open_worker): Use _dl_find_dso_for_object.
23452         * elf/dl-sym.c (do_sym): Likewise.
23453         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23454
23455 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23456
23457         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23458         Syntactic changes only.
23459         (_dl_runtime_profile): Do a tail-call to the resolved function.
23460
23461 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
23462
23463         [BZ #13550]
23464         * sysdeps/x86_64/bp-asm.h: Remove file.
23465         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23466         <bp-sym.h> and <bp-asm.h>.
23467         (__clone): Do not use BP_SYM.
23468         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23469         <bp-sym.h> and <bp-asm.h>.
23470         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23471         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23472         "bp-asm.h".
23473         (_setjmp): Do not use BP_SYM.
23474         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23475         "bp-asm.h".
23476         (setjmp): Do not use BP_SYM.
23477         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23478         libc_hidden_def.
23479         (mempcpy): Do not use BP_SYM in weak_alias.
23480         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23481         "bp-asm.h".
23482         (strchr): Do not use BP_SYM.
23483         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23484         "bp-asm.h".
23485         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23486         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23487         (_start): Do not use BP_SYM.
23488         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23489         "bp-asm.h".
23490         (strcat): Do not use BP_SYM.
23491         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23492         "bp-asm.h".
23493         (STRCMP): Do not use BP_SYM.
23494         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23495         "bp-asm.h".
23496         (STRCPY): Do not use BP_SYM.
23497         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23498         "bp-asm.h".
23499         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23500         "bp-asm.h".
23501         (FUNCTION): Do not use BP_SYM.
23502         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23503         weak_alias.
23504         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23505
23506 2013-02-17  Andreas Jaeger  <aj@suse.de>
23507
23508         * time/Versions: Sort entries.
23509         * string/Versions: Likewise.
23510         * resolv/Versions: Likewise.
23511         * posix/Versions: Likewise.
23512         * iconv/Versions: Likewise.
23513         * elf/Versions: Likewise.
23514         * wcsmbs/Versions: Likewise.
23515
23516 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23517
23518         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23519         loop termination condition.
23520
23521         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23522         variable to calculate EZ.
23523         (__sqr): Likewise.
23524
23525         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23526         the lower precision input.
23527
23528 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
23529
23530         [BZ #13550]
23531         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23532         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23533         (run-via-rtld-prefix): Do not handle %-bp tests.
23534         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23535         (all-object-suffixes): Remove .ob.
23536         (bppfx): Remove variable.
23537         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23538         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23539         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23540         [$(build-bounded) = yes] (libtype.ob): Likewise.
23541         * Makerules (elide-routines.ob): Remove variable.
23542         (do-tests-clean): Do not handle *-bp.out.
23543         (common-mostlyclean): Do not handle *-bp and *-bp.out.
23544         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23545         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23546         (tests): Do not include $(tests-bp.out).
23547         (xtests): Do not include $(xtests-bp.out).
23548         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23549         [$(build-bounded) = yes] ($(addprefix
23550         $(objpfx),$(binaries-bounded))): Remove rule.
23551         ($(objpfx)%-bp.out): Remove rule.
23552         * config.make.in (build-bounded): Remove variable.
23553         * crypt/Makefile [$(build-bounded) = yes]
23554         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23555         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23556         append to variable.
23557         [$(build-bounded) = yes] (install-lib): Likewise.
23558         [$(build-bounded) = yes] (generated): Likewise.
23559         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23560         Remove rule.
23561         * intl/Makefile [$(build-bounded) = yes]
23562         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23563         * math/Makefile [$(build-bounded) = yes]
23564         ($(tests:%=$(objpfx)%-bp): Likewise.
23565         * misc/Makefile [$(build-bounded) = yes]
23566         ($(objpfx)tst-tsearch-bp): Likewise.
23567         * nptl/Makeconfig (bounded-thread-library): Remove variable.
23568         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23569         Remove dependency.
23570         * string/Makefile (o-objects.ob): Remove variable.
23571         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23572         (CFLAGS-.ob): Remove variable.
23573         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23574         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23575         both definitions of variable.
23576         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23577         (ASFLAGS-.ob): Remove variable.
23578
23579 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
23580
23581         [BZ #13550]
23582         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23583         Remove __BOUNDED_POINTERS__ from condition.
23584         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23585         * string/bits/string2.h [!__NO_STRING_INLINES &&
23586         !__BOUNDED_POINTERS__]: Likewise.
23587         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23588         Likewise.
23589         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23590         Remove conditional code.
23591         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23592         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23593         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23594         condition.
23595
23596         [BZ #13550]
23597         * csu/libc-start.c: Do not include <bp-sym.h>.
23598         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23599         * elf/dl-open.c: Do not include <bp-sym.h>.
23600         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23601         * math/fegetenv.c: Do not include <bp-sym.h>.
23602         (fegetenv): Do not use BP_SYM in versioned symbols.
23603         * nptl/sysdeps/pthread/bits/libc-lockP.h
23604         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23605         <bp-sym.h>.
23606         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23607         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23608         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23609         (__pthread_mutex_destroy): Likewise.
23610         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23611         (__pthread_mutex_lock): Likewise.
23612         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23613         (__pthread_mutex_trylock): Likewise.
23614         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23615         (__pthread_mutex_unlock): Likewise.
23616         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23617         (__pthread_mutexattr_init): Likewise.
23618         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23619         (__pthread_mutexattr_destroy): Likewise.
23620         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23621         (__pthread_mutexattr_settype): Likewise.
23622         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23623         (__pthread_rwlock_init): Likewise.
23624         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23625         (__pthread_rwlock_destroy): Likewise.
23626         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23627         (__pthread_rwlock_rdlock): Likewise.
23628         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23629         (__pthread_rwlock_tryrdlock): Likewise.
23630         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23631         (__pthread_rwlock_wrlock): Likewise.
23632         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23633         (__pthread_rwlock_trywrlock): Likewise.
23634         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23635         (__pthread_rwlock_unlock): Likewise.
23636         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23637         (__pthread_key_create): Likewise.
23638         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23639         (__pthread_setspecific): Likewise.
23640         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23641         (__pthread_getspecific): Likewise.
23642         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23643         Likewise.
23644         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23645         (_pthread_cleanup_push_defer): Likewise.
23646         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23647         (_pthread_cleanup_pop_restore): Likewise.
23648         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23649         (pthread_setcancelstate): Likewise.
23650         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23651         <bp-sym.h>.
23652         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23653         (memchr): Do not use BP_SYM in weak_alias.
23654         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23655         (fegetenv): Do not use BP_SYM in versioned symbols.
23656         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23657         (fesetenv): Do not use BP_SYM in versioned symbols.
23658         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23659         (feupdateenv): Do not use BP_SYM in versioned symbols.
23660         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23661         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23662         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23663         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23664         (open64): Do not use BP_SYM in weak_alias.
23665         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23666         (fegetenv): Do not use BP_SYM in versioned symbols.
23667         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23668         (fesetenv): Do not use BP_SYM in versioned symbols.
23669         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23670         (feupdateenv): Do not use BP_SYM in versioned symbols.
23671         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23672         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23673         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23674         (feraiseexcept): Do not use BP_SYM in versioned symbols.
23675         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23676         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23677         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23678         <bp-sym.h>.
23679         (__libc_start_main): Do not use BP_SYM.
23680
23681 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23682
23683         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23684         redundant return line.
23685         (norm): Likewise.
23686         (denorm): Likewise.
23687         (dbl_mp): Likewise.
23688         (sub_magnitudes): Likewise.
23689         (__add): Likewise.
23690         (__sub): Likewise.
23691         (__mul): Likewise.
23692         (__inv): Likewise.
23693         (__dvd): Likewise.
23694         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23695         (norm): Likewise.
23696         (denorm): Likewise.
23697         (dbl_mp): Likewise.
23698         (sub_magnitudes): Likewise.
23699         (__add): Likewise.
23700         (__sub): Likewise.
23701         (__mul): Likewise.
23702         (__inv): Likewise.
23703         (__dvd): Likewise.
23704
23705         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23706         instead of __mul.
23707         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23708         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23709         (cc32): Likewise.
23710
23711         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23712         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23713         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23714         of __mul for squares.
23715         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23716         function
23717         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23718         Likewise.
23719         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23720         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23721
23722 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
23723
23724         [BZ #13550]
23725         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23726         code.
23727         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23728         prototype or function definition.  Rename ubp_* variables and
23729         parameters.  Remove argv definitions conditional on
23730         [__BOUNDED_POINTERS__].
23731         * debug/backtrace.c (__backtrace): Do not use __unbounded.
23732         * elf/dl-runtime.c (_dl_fixup): Likewise.
23733         * include/set-hooks.h (RUN_HOOK): Likewise.
23734         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23735         definition.
23736         * string/strcpy.c (strcpy): Do not use __unbounded.
23737         * sysdeps/generic/frame.h (struct layout): Likewise.
23738         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23739         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23740         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23741         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23742         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23743         (__backtrace): Likewise.
23744         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23745         use __ptrvalue.
23746         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23747         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23748         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23749         Likewise.
23750         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23751         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23752         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23753         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23754         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23755         Do not use __unbounded.
23756         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23757         Rename __unboundedrlimits parameter to rlimits in prototype.
23758         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23759         Do not use __unbounded.
23760         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23761         not use __ptrvalue.
23762         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23763         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23764         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23765         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23766         __ptrvalue or __unbounded.
23767         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23768         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23769         use __unbounded.
23770         (__new_msgctl): Do not use __ptrvalue.
23771         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23772         __unbounded.
23773         (__libc_msgrcv): Do not use __ptrvalue.
23774         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23775         startup_info): Do not use __unbounded.
23776         (__libc_start_main): Likewise.  Rename ubp_* variables and
23777         parameters.  Remove argv definitions conditional on
23778         [__BOUNDED_POINTERS__].
23779         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23780         __ptrvalue.
23781         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23782         use __unbounded.
23783         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23784         or __ptrvalue.
23785         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23786         use __unbounded.
23787         (__new_shmctl): Do not use __ptrvalue.
23788         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23789         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23790         Likewise.
23791         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23792         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23793         (__libc_sigaction): Likewise.
23794         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23795         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23796         Likewise.
23797         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23798
23799 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
23800
23801         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23802
23803         * string/mempcpy.c: Implement by calling memcpy.
23804
23805 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23806
23807         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23808
23809         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23810         evaluation.
23811
23812         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23813         values in the mantissa.
23814
23815         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23816         minimize writes to Z.
23817         (sub_magnitudes): Simplify code a bit.
23818
23819 2013-02-12  Roland McGrath  <roland@hack.frob.com>
23820
23821         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23822         from the message.  The linker prefixes all warnings with that already.
23823
23824 2013-02-12  Andreas Schwab  <schwab@suse.de>
23825
23826         [BZ #15078]
23827         * posix/regexec.c (extend_buffers): Add parameter min_len.
23828         (check_matching): Pass minimum needed length.
23829         (clean_state_log_if_needed): Likewise.
23830         (get_subexp): Likewise.
23831         * posix/Makefile (tests): Add bug-regex34.
23832         (bug-regex34-ENV): Define.
23833         * posix/bug-regex34.c: New file.
23834
23835         [BZ #11561]
23836         * posix/regcomp.c (parse_bracket_exp): When looking up collating
23837         elements compare against the byte sequence of it, not its name.
23838         * posix/Makefile (tests): Add bug-regex35.
23839         (bug-regex35-ENV): Define.
23840         * posix/bug-regex35.c: New file.
23841
23842 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23843
23844         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
23845         comment.
23846         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23847         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23848         (CHECK_EOL): Add undef.
23849
23850 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
23851
23852         * bits/stdlib-bsearch.h: New file.
23853         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23854         * stdlib/stdlib.h: Likewise.
23855
23856 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23857
23858         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23859         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23860         declaration.
23861         * manual/search.texi (Array Search Function): Add missing const in
23862         lfind prototype.
23863         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23864         declaration to use rlim_t.
23865         (Basic Scheduling Functions): Remove erroneous const from
23866         sched_getparam prototype.  Remove erroneous * from
23867         sched_get_priority_max and sched_get_priority_min prototypes.
23868         (Resource Usage): Fix summary @comment on vtimes to refer to
23869         sys/vtimes.h rather than vtimes.h.
23870         Add missing *s in vtimes prototype.
23871         (Limits on Resources): Fix ulimit prototype to return long int.
23872         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23873         prototypes to use long int rather than double.
23874         (BSD Random): Fix initstate and setstate to use char *, not void *.
23875         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23876         prototype to make second argument 'struct aiocb64 *const[]'.
23877         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23878         (Status of AIO Operations): Remove erroneous const in aio_return and
23879         aio_return64 prototypes.
23880         (Synchronizing I/O): Fix sync prototype to return void.
23881         * manual/startup.texi (Suboptions): Remove an erroneous const in
23882         getsubopt prototype.
23883         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23884         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23885         use size_t rather than int.
23886         (Scanning All Users): Likewise for getpwent_r.
23887         (Setting Groups): Add missing const to setgroups prototype.
23888         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23889         * manual/socket.texi (Host Names): Fix gethostbyaddr and
23890         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23891         'const void *' rather than 'const char *'.
23892         (Host Address Functions): Likewise for inet_ntop.
23893         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23894         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23895         ssize_t for return value.
23896         (Sending Data): Likewise for send, sendto, sendmsg.
23897         (Socket Option Functions): Add a missing const in setsockopt prototype.
23898         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23899         use wchar_t for the argument.
23900         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23901         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23902         take no arguments.
23903         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23904         double/float/long double for second argument.
23905         Fix return types of significand, significandf, significandl.
23906         * manual/filesys.texi (Setting Permissions): Use mode_t for second
23907         argument in fchmod prototype.
23908         (File Owner): Use uid_t and gid_t in fchown prototype.
23909         (File Times): Add const to utimes, futimes, and lutimes prototypes.
23910         (Making Special Files): Use mode_t and dev_t in mknod prototype.
23911         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23912         use 'const struct dirent **' as argument types to CMP function pointer
23913         argument.
23914         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23915         (File Times): Fix summary magic @comment for struct utimbuf and utime
23916         to refer to utime.h, not time.h.
23917         * manual/string.texi (Argz Functions): Add missing const in
23918         argz_extract and argz_next prototypes.
23919         (Finding Tokens in a String): Likewise for basename.
23920         (String/Array Comparison): Fix typo in wcscasecmp prototype.
23921         (Copying and Concatenation): Fix typo in wmemmove prototype.
23922         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23923         (Signal Stack): Remove erroneous const in sigstack prototype.
23924         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23925         prototype.
23926         (Simple Calendar Time): Likewise for stime.
23927         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23928         prototype.
23929         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23930         say sys/sysctl.h instead.
23931         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23932         and vsyslog prototypes.
23933
23934 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23935
23936         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23937         Remove.
23938
23939 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23940
23941         * misc/sys/mman.h: Fix typo in mremap comment.
23942
23943 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23944
23945         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23946         the '\0' terminator.
23947
23948 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23949
23950         [BZ #13550]
23951         * debug/segfault.c: Don't include <bp-checks.h>.
23952         * sysdeps/generic/bp-checks.h: Remove file.
23953         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23954         (__GETDENTS): Don't use CHECK_N.
23955         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23956         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23957         (__getgroups): Don't use CHECK_N.
23958         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23959         (setgroups): Don't use CHECK_N.
23960         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23961         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23962         (__libc_msgrcv): Don't use CHECK_N.
23963         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23964         (__libc_msgsnd): Don't use CHECK_N.
23965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23966         <bp-checks.h>.
23967         (__libc_pread): Don't use CHECK_N.
23968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23969         include <bp-checks.h>.
23970         (__libc_pread64): Don't use CHECK_N.
23971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23972         include <bp-checks.h>.
23973         (__libc_pwrite): Don't use CHECK_N.
23974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23975         include <bp-checks.h>.
23976         (__libc_pwrite64): Don't use CHECK_N.
23977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23978         <bp-checks.h>.
23979         (__libc_pread): Don't use CHECK_N.
23980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23981         include <bp-checks.h>.
23982         (__libc_pread64): Don't use CHECK_N.
23983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23984         include <bp-checks.h>.
23985         (__libc_pwrite): Don't use CHECK_N.
23986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23987         include <bp-checks.h>.
23988         (__libc_pwrite64): Don't use CHECK_N.
23989         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23990         (do_pread): Don't use CHECK_N.
23991         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23992         (do_pread64): Don't use CHECK_N.
23993         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23994         (do_pwrite): Don't use CHECK_N.
23995         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23996         (do_pwrite64): Don't use CHECK_N.
23997         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23998         (__libc_readv): Don't use CHECK_N.
23999         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24000         (semop): Don't use CHECK_N.
24001         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24002         <bp-checks.h>.
24003         (semtimedop): Don't use CHECK_N.
24004         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24005         (__libc_pread): Don't use CHECK_N.
24006         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24007         <bp-checks.h>.
24008         (__libc_pread64): Don't use CHECK_N.
24009         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24010         <bp-checks.h>.
24011         (__libc_pwrite): Don't use CHECK_N.
24012         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24013         <bp-checks.h>.
24014         (__libc_pwrite64): Don't use CHECK_N.
24015         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24016         <bp-checks.h>.
24017         (__libc_msgrcv): Don't use CHECK_N.
24018         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24019         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
24020         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24021         (__libc_writev): Don't use CHECK_N.
24022
24023 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24024
24025         * string/strcpy.c: Removed unused variable.
24026
24027         * Makeconfig (+sysdep-includes): Define with := rather than =.
24028         Use an existing include/ subdir of each sysdeps dir before it.
24029
24030 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24031
24032         * nscd/connection.c (register_traced_file): Comment function.
24033         [HAVE_INOTIFY] (union __inev): Define.
24034         [HAVE_INOTIFY] (inotify_check_files): New function.
24035         [HAVE_INOTIFY] (clear_db_cache): Likewise.
24036         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24037         clear_db_cache.
24038         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24039
24040 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24041
24042         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24043         loaded if not already and that a failure is permanent.
24044
24045 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24046
24047         [BZ #15006]
24048         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24049         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24050
24051 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24052
24053         [BZ #13550]
24054         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24055         (CHECK_1_NULL_OK): Likewise.
24056         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24057         (__fxstat): Do not use CHECK_1.
24058         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24059         <bp-checks.h>.
24060         (___fxstat64): Do not use CHECK_1.
24061         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24062         <bp-checks.h>.
24063         (__fxstatat): Do not use CHECK_1.
24064         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24065         <bp-checks.h>.
24066         (__fxstatat64): Do not use CHECK_1.
24067         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24068         <bp-checks.h>.
24069         (__fxstat): Do not use CHECK_1.
24070         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24071         <bp-checks.h>.
24072         (__fxstatat): Do not use CHECK_1.
24073         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24074         <bp-checks.h>.
24075         (__getresgid): Do not use CHECK_1.
24076         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24077         <bp-checks.h>.
24078         (__getresuid): Do not use CHECK_1.
24079         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24080         <bp-checks.h>.
24081         (__lxstat): Do not use CHECK_1.
24082         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24083         <bp-checks.h>.
24084         (__old_msgctl): Do not use CHECK_1.
24085         (__new_msgctl): Likewise.
24086         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24087         <bp-checks.h>.
24088         (__new_setrlimit): Do not use CHECK_1.
24089         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24090         <bp-checks.h>.
24091         (__old_shmctl): Do not use CHECK_1.
24092         (__new_shmctl): Likewise.
24093         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24094         <bp-checks.h>.
24095         (__xstat): Do not use CHECK_1.
24096         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24097         (__lxstat): Do not use CHECK_1.
24098         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24099         <bp-checks.h>.
24100         (___lxstat64): Do not use CHECK_1.
24101         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24102         (__old_msgctl): Do not use CHECK_1.
24103         (__new_msgctl): Likewise.
24104         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24105         <bp-checks.h>.
24106         (__gettimeofday): Do not use CHECK_1.
24107         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24108         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24109         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24110         <bp-checks.h>.
24111         (__gettimeofday): Do not use CHECK_1.
24112         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24113         (__old_shmctl): Do not use CHECK_1_NULL_OK.
24114         (__new_shmctl): Do not use CHECK_1.
24115         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24116         <bp-checks.h>.
24117         (do_sigtimedwait): Do not use CHECK_1.
24118         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24119         <bp-checks.h>.
24120         (do_sigwaitinfo): Do not use CHECK_1.
24121         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24122         <bp-checks.h>.
24123         (msgctl): Do not use CHECK_1.
24124         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24125         <bp-checks.h>.
24126         (shmctl): Do not use CHECK_1.
24127         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24128         (ustat): Do not use CHECK_1.
24129         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24130         <bp-checks.h>.
24131         (__fxstat): Do not use CHECK_1.
24132         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24133         <bp-checks.h>.
24134         (__fxstatat): Do not use CHECK_1.
24135         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24136         <bp-checks.h>.
24137         (__lxstat): Do not use CHECK_1.
24138         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24139         <bp-checks.h>.
24140         (__xstat): Do not use CHECK_1.
24141         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24142         (__xstat): Do not use CHECK_1.
24143         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24144         (___xstat64): Do not use CHECK_1.
24145
24146         [BZ #13550]
24147         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24148         definitions.
24149         (CHECK_BOUNDS_HIGH): Likewise.
24150         * string/strcpy.c: Do not include <bp-checks.h>.
24151         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24152
24153 2013-02-07  Roland McGrath  <roland@hack.frob.com>
24154
24155         * nscd/nscd-client.h (__nscd_drop_map_ref):
24156         Add __attribute__ ((unused)).
24157         * nis/nss-nisplus.h (niserr2nss): Likewise.
24158
24159         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24160         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24161
24162         * csu/libc-tls.c (init_static_tls, init_slotinfo):
24163         Remove inline keyword.
24164         * include/rounding-mode.h (round_away): Likewise.
24165         * libio/wfileops.c (adjust_wide_data): Likewise.
24166         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24167         (__m128i_strloadu_tolower): Likewise.
24168         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24169         (__m128i_strloadu_tolower): Likewise.
24170         * time/mktime.c (ydhms_diff): Likewise.
24171         * locale/elem-hash.h (elem_hash): Likewise.
24172         * locale/setlocale.c (setdata): Likewise.
24173         * posix/regex_internal.h (re_string_char_size_at): Likewise.
24174         (re_string_wchar_at): Likewise.
24175         (bitset_not, bitset_merge, bitset_mask): Likewise.
24176         [!(__GNUC__ > 3)] (inline): Remove macro.
24177         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24178         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24179         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24180         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24181         * string/memcmp.c (memcmp_bytes): Likewise.
24182         * locale/programs/locarchive.c (compute_hashval): Likewise.
24183         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24184         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24185         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24186         * nss/getent.c (print_rpc, print_protocols): Likewise.
24187         (print_passwd, print_group, print_aliases): Likewise.
24188         * nis/nss-nisplus.h (niserr2nss): Likewise.
24189         * nscd/connections.c (restart_p): Likewise.
24190         Change return type to bool.
24191
24192 2013-02-05  Roland McGrath  <roland@hack.frob.com>
24193
24194         * Makeconfig (all-Depend-files): Add existing
24195         $(sorted-subdirs:=/Depend) files.
24196         (all-subdirs): Remove nss.
24197         * sysdeps/unix/inet/Subdirs: Add it here instead.
24198         * hesiod/Depend: New file.
24199
24200         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24201         instead of calling alloca.
24202
24203         * io/lseek.c (__lseek): Rename to __libc_lseek.
24204         Define __lseek as an alias.
24205
24206         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24207
24208 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
24209
24210         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24211         else clause and remove check for non-standard endianness.
24212
24213 2013-02-04  David S. Miller  <davem@davemloft.net>
24214
24215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24216
24217 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
24218
24219         [BZ #13550]
24220         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24221         (__ubp_memchr): Remove prototype.
24222         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24223         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24224         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24225         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24226         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24227         Remove alias.
24228         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24229         (__ubp_memchr): Likewise.
24230         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24231         (__ubp_memchr): Likewise.
24232         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24233         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24234         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24235         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24236         CHECK_STRING.
24237         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24238         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24239         (__getcwd): Do not use CHECK_STRING.
24240         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24241         <bp-checks.h>.
24242         (__real_chown): Do not use CHECK_STRING.
24243         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24244         <bp-checks.h>.
24245         (fchownat): Do not use CHECK_STRING.
24246         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24247         CHECK_STRING.
24248         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24249         <bp-checks.h>.
24250         (__lchown): Do not use CHECK_STRING.
24251         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24252         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24253         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24254         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24256         include <bp-checks.h>.
24257         (truncate64): Do not use CHECK_STRING.
24258         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24259         <bp-checks.h>.
24260         (__real_chown): Do not use CHECK_STRING.
24261         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24262         <bp-checks.h>.
24263         (__lchown): Do not use CHECK_STRING.
24264         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24265         <bp-checks.h>.
24266         (__chown): Do not use CHECK_STRING.
24267         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24268         <bp-checks.h>.
24269         (truncate64): Do not use CHECK_STRING.
24270         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24271         Likewise.
24272         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24273         (__xmknod): Do not use CHECK_STRING.
24274         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24275         <bp-checks.h>.
24276         (__xmknodat): Do not use CHECK_STRING.
24277         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24278         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24279
24280 2013-02-04  Andreas Schwab  <schwab@suse.de>
24281
24282         [BZ #14142]
24283         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24284         * include/netdb.h: Likewise for h_errno.
24285         * elf/tst-stackguard1.c: Include <tls.h>.
24286
24287 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
24288
24289         * elf/link.h (struct link_map): Extend the l_addr comment.
24290         * include/link.h (struct link_map): Likewise.
24291
24292 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
24293
24294         [BZ #13550]
24295         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24296         (BOUNDED_1): Remove macro.
24297         * debug/backtrace.c: Don't include <bp-checks.h>.
24298         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24299         (__backtrace): Likewise.
24300         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24301         <bp-checks.h>.
24302         (__backtrace): Don't use BOUNDED_1.
24303         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24304         <bp-checks.h>.
24305         (__backtrace): Don't use BOUNDED_1.
24306         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24307         (__backtrace): Don't use BOUNDED_1.
24308         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24309         (shmat): Don't use BOUNDED_N.
24310
24311 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
24312
24313         [BZ #13550]
24314         * sysdeps/generic/bp-start.h: Remove file.
24315         * csu/libc-start.c: Don't include <bp-start.h>.
24316         (LIBC_START_MAIN): Set up __environ directly instead of using
24317         INIT_ARGV_and_ENVIRON.
24318         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24319         <bp-start.h>.
24320
24321         [BZ #13550]
24322         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24323         definitions.
24324         (CHECK_FCNTL): Likewise.
24325         (CHECK_N_PAGES): Likewise.
24326
24327         [BZ #13550]
24328         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24329         definitions.
24330         (CHECK_SIGSET_NULL_OK): Likewise.
24331         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24332         <bp-checks.h>.
24333         (sigpending): Don't use CHECK_SIGSET.
24334         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24335         <bp-checks.h>.
24336         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24337         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24338         <bp-checks.h>.
24339         (do_sigsuspend): Don't use CHECK_SIGSET.
24340         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24341         use CHECK_SIGSET.
24342         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24343         (do_sigwait): Don't use CHECK_SIGSET.
24344         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24345         use CHECK_SIGSET.
24346         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24347         include <bp-checks.h>.
24348         (sigpending): Don't use CHECK_SIGSET.
24349         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24350         include <bp-checks.h>.
24351         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24352         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24353         <bp-checks.h>.
24354         (sigpending): Don't use CHECK_SIGSET.
24355         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24356         <bp-checks.h>.
24357         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24358
24359         [BZ #13550]
24360         * sysdeps/generic/bp-semctl.h: Remove file.
24361         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24362         <bp-checks.h> and <bp-semctl.h>.
24363         (__old_semctl): Don't use CHECK_SEMCTL.
24364         (__new_semctl): Likewise.
24365         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24366         and <bp-semctl.h>.
24367         (__old_semctl): Don't use CHECK_SEMCTL.
24368         (__new_semctl): Likewise.
24369         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24370         <bp-checks.h> and <bp-semctl.h>.
24371         (__old_semctl): Don't use CHECK_SEMCTL.
24372         (__new_semctl): Likewise.
24373         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24374         <bp-checks.h> and <bp-semctl.h>.
24375         (semctl): Don't use CHECK_SEMCTL.
24376
24377         [BZ #13550]
24378         * Makerules (elide-bp-thunks): Remove variable.
24379         (elide-routines.oS): Don't use $(elide-bp-thunks).
24380         (elide-routines.os): Likewise.
24381         (elide-routines.o): Likewise.
24382         (elide-routines.op): Likewise.
24383         (elide-routines.og): Likewise.
24384         (objects): Don't use $(bp-thunks).
24385         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24386         include.
24387         (common-generated): Do not add s-proto-bp.d.
24388         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24389         (int): Likewise.
24390         (typ): Likewise.
24391         Do not generate makefile rules for bounded-pointer thunks.
24392         * sysdeps/generic/bp-thunks.h: Remove file.
24393         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24394         * sysdeps/unix/s-proto-bp.S: Likewise.
24395
24396         [BZ #15062]
24397         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24398         parts of result separately when argument is not close to line from
24399         -i to i and one part of argument is small.
24400         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24401         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24402         * math/libm-test.inc (cacos_test): Add more tests.
24403         (casin_test): Likewise.
24404         (casinh_test): Likewise.
24405         * sysdeps/i386/fpu/libm-test-ulps: Update.
24406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24407
24408 2013-01-31  David S. Miller  <davem@davemloft.net>
24409
24410         * po/de.po: Update from translation team.
24411
24412 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
24413
24414         * time/tzfile.c: Include stdint.h for SIZE_MAX.
24415
24416 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
24417
24418         * configure.in (_AC_PROG_CC_C89): New definition.
24419         * configure: Regenerate.
24420
24421         * configure.in (AC_PROG_CPP): New definition.
24422         * configure: Regenerate.
24423
24424 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24425
24426         * debug/tst-backtrace.h: New file.
24427         * debug/tst-backtrace2.c: Include tst-backtrace.h.
24428         (ret): Remove variable.
24429         (x): Likewise.
24430         (FAIL): Remove macro.
24431         (NO_INLINE): Likewise.
24432         (fn1): Use match function instead of strstr.
24433         * debug/tst-backtrace3.c: Include tst-backtrace.h.
24434         (ret): Remove variable.
24435         (x): Likewise.
24436         (FAIL): Remove macro.
24437         (NO_INLINE): Likewise.
24438         (fn): Use match function instead of strstr.
24439         * debug/tst-backtrace4.c: Include tst-backtrace.h.
24440         (ret): Remove variable.
24441         (x): Likewise.
24442         (FAIL): Remove macro.
24443         (NO_INLINE): Likewise.
24444         (handle_signal): Use match function instead of strstr.
24445         * debug/tst-backtrace5.c: Include tst-backtrace.h.
24446         (ret): Remove variable.
24447         (x): Likewise.
24448         (FAIL): Remove macro.
24449         (NO_INLINE): Likewise.
24450         (handle_signal): Use match function instead of strstr.
24451
24452 2013-01-23  Roland McGrath  <roland@hack.frob.com>
24453
24454         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24455
24456 2013-01-23  David S. Miller  <davem@davemloft.net>
24457
24458         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24459         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24460         argument of CAS if possible.
24461         * sysdeps/sparc/sparc64/bits/atomic.h
24462         (__arch_compare_and_exchange_val_32_acq): Likewise.
24463         (__arch_compare_and_exchange_val_64_acq): Likewise.
24464
24465 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
24466
24467         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24468         * sysdeps/posix/ulimit.c: ... this.
24469         Include <limits.h>.
24470         * sysdeps/unix/bsd/ulimit.c: Remove file.
24471
24472 2013-01-23  Adam Conrad  <adconrad@0c3.net>
24473
24474         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24475         (LDFLAGS-tst-array5): Likewise.
24476
24477 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24478
24479         [BZ #15036]
24480         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24481         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24482         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24483         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24484
24485 2013-01-21  David S. Miller  <davem@davemloft.net>
24486
24487         * sysdeps/sparc/backtrace.c: New file.
24488         * sysdeps/sparc/sparc32/backtrace.h: New file.
24489         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24490         * sysdeps/sparc/sparc64/backtrace.h: New file.
24491         * sysdeps/sparc/sparc64/backtrace.c: Delete.
24492         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24493         -funwind-tables.
24494
24495 2013-01-21  Andreas Schwab  <schwab@suse.de>
24496
24497         [BZ #15020]
24498         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24499         closed its stdout.
24500
24501 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
24502
24503         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24504         "mpa2.h".
24505         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24506
24507 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
24508             Mark Mitchell  <mark@codesourcery.com>
24509             Tom de Vries  <tom@codesourcery.com>
24510             Paul Pluzhnikov  <ppluzhnikov@google.com>
24511
24512         * debug/tst-backtrace2.c: New file.
24513         * debug/tst-backtrace3.c: Likewise.
24514         * debug/tst-backtrace4.c: Likewise.
24515         * debug/tst-backtrace5.c: Likewise.
24516         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24517         (CFLAGS-tst-backtrace3.c): Likewise.
24518         (CFLAGS-tst-backtrace4.c): Likewise.
24519         (CFLAGS-tst-backtrace5.c): Likewise.
24520         (LDFLAGS-tst-backtrace2): Likewise.
24521         (LDFLAGS-tst-backtrace3): Likewise.
24522         (LDFLAGS-tst-backtrace4): Likewise.
24523         (LDFLAGS-tst-backtrace5): Likewise.
24524         (tests): Add new tests tst-backtrace2, tst-backtrace3,
24525         tst-backtrace4 and tst-backtrace5.
24526
24527 2013-01-18  Anton Blanchard  <anton@samba.org>
24528             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24529
24530         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24531         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24532         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24533         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24535         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24536         "+r" and remove output regs list as redundant.  Add explicit inline
24537         asm to specify register of return val to work around compiler codegen
24538         bug.  Remove (int) cast on return value.  Add return type parameter to
24539         use in macro so that this macro does not truncate return value for
24540         64-bit values.
24541         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24542         pass to INTERNAL_VSYSCALL_NCS.
24543         (INLINE_VSYSCALL): Add 'long int' as return type to
24544         INTERNAL_VSYSCALL_NCS macro invocation.
24545         (INTERNAL_VSYSCALL): Add 'long int' as return type to
24546         INTERNAL_VSYSCALL_NCS macro invocation.
24547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24548
24549 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24550
24551         [BZ #14496]
24552         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24553         Fix application of SIMD FP exception mask.
24554
24555         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24556         mp_no from a power of two.
24557         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24558         __mpexp_twomm1.  Use __pow_mp.
24559
24560         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24561         multiplication.
24562
24563 2013-01-17  David S. Miller  <davem@davemloft.net>
24564
24565         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24566
24567 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24568
24569         [BZ #15023]
24570         * include/complex.h: Condition contents on [!_COMPLEX_H].
24571         (__kernel_casinhf): New prototype.
24572         (__kernel_casinh): Likewise.
24573         (__kernel_casinhl): Likewise.
24574         * math/Makefile (libm_calls): Add k_casinh.
24575         * math/k_casinh.c: New file.
24576         * math/k_casinhf.c: Likewise.
24577         * math/k_casinhl.c: Likewise.
24578         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24579         finite nonzero arguments.
24580         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24581         finite nonzero arguments.
24582         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24583         finite nonzero arguments.
24584         * math/s_casinh.c: Do not include <float.h>.
24585         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24586         * math/s_casinhf.c: Do not include <float.h>.
24587         (__casinhf): Move code for finite nonzero arguments to
24588         k_casinhf.c.
24589         * math/s_casinhl.c: Do not include <float.h>.
24590         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24591         redefine.
24592         (__casinhl): Move code for finite nonzero arguments to
24593         k_casinhl.c.
24594         * math/libm-test.inc (cacos_test): Add more tests.
24595         * sysdeps/i386/fpu/libm-test-ulps: Update.
24596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24597
24598 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
24599
24600         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24601         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24602         [!HAVE_MREMAP]: Remove [defined linux] case.
24603         * malloc/arena.c: Do not include <malloc-sysdep.h>.
24604
24605 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24606
24607         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24608
24609 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
24610
24611         * elf/elf.h (R_386_SIZE32): New relocation.
24612         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24613         R_386_SIZE32.
24614         (elf_machine_rela): Likewise.
24615         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24616         R_X86_64_SIZE64 and R_X86_64_SIZE32.
24617
24618 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24619
24620         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24621         (FP_FAST_FMA): Do not define.
24622         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24623         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24624         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24625         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24626         !_SOFT_FLOAT]: Likewise.
24627         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24628         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24629         value.
24630         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24631         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24632         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24633         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24634         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24635         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24636         file.
24637
24638 2013-01-16  Andreas Schwab  <schwab@suse.de>
24639
24640         [BZ #14327]
24641         * include/stdlib.h (__mktemp): Add declaration.
24642         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24643         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24644
24645 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24646
24647         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24648         definitions.
24649         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24650         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24651         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24652         definitions here.
24653         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24654         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24655         definitions.
24656         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24657         and ONE.
24658         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24659         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24660         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24661         definitions.
24662         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24663         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24664         definitions.
24665         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24666
24667         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24668
24669 2013-01-15  David S. Miller  <davem@davemloft.net>
24670
24671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24672         trunc{,f} to libm-sysdep_routes.
24673         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24675         file.
24676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24678         file.
24679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24680         file.
24681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24683         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24684         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24685         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24686         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24687         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24688         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24689
24690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24691         nearbyint{,f} to libm-sysdep_routes.
24692         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24694         New file.
24695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24696         file.
24697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24698         New file.
24699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24700         file.
24701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24703         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24704         file.
24705         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24706         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24707         file.
24708         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24709         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24710         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24711
24712         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24713         libc_feholdexcept and libc_fesetenv.
24714
24715 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
24716
24717         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24718
24719 2013-01-14  David S. Miller  <davem@davemloft.net>
24720
24721         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24722         (SPARC_ASM_VIS2_IFUNC): Likewise.
24723         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24725         use of 'siam' instruction.
24726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24727         Likewise.
24728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24729         Likewise.
24730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24731         Likewise.
24732         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24733         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24734         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24735         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24737         file.
24738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24739         file.
24740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24741         file.
24742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24743         file.
24744         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24745         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24746         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24747         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24749         new VIS2 routines.
24750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24753         Likewise.
24754         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24755         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24756         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24757         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24759         routines to libm-sysdep_routines.
24760         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24761
24762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24763         fdim/fdimf to libm-sysdep_routines.
24764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24765         file.
24766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24768         file.
24769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24772         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24773         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24774         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24775         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24776
24777 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24778
24779         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24780         to optimize copies.
24781
24782         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24783         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24784         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24785
24786         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24787         local variable MPTWO.
24788         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24789         Likewise.
24790
24791 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24792
24793         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24794         GLOB_NOESCAPE.
24795
24796 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24797
24798         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24799
24800 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24801
24802         * manual/pattern.texi (glob_t): Document gl_flags.
24803         (glob64_t): Likewise.
24804
24805 2013-01-11  David S. Miller  <davem@davemloft.net>
24806
24807         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24808         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24809         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
24810         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24811         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24812         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24813         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24814         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24815         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24816         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24817         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24818         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24819         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24820
24821         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24822         sparc V9 rather than using V8 code.
24823         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24824         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24825
24826         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24827         Move to...
24828         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24829         Here.
24830
24831 2013-01-11  Roland McGrath  <roland@hack.frob.com>
24832
24833         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24834         not in the main loop.
24835         * configure: Regenerated.
24836
24837 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
24838
24839         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24840         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24841         to just #else.
24842         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
24843         [!__GLIBC_HAVE_LONG_LONG] case.
24844         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24845         condition to just #else.
24846         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24847         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24848         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24849         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24850         unconditional.
24851         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24852         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24853         #elif condition to just #else.
24854         * sysdeps/unix/sysv/linux/sys/sysmacros.h
24855         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24856         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24857         #elif condition to just #else.
24858
24859 2013-01-11  Steve Ellcey  <sellcey@mips.com>
24860
24861         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24862         (EF_MIPS_ARCH_64): Fix value.
24863         (EF_MIPS_ARCH_32R2): New.
24864         (EF_MIPS_ARCH_64R2): New.
24865
24866 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
24867
24868         * Makeconfig (+link-pie-before-libc): New.
24869         (+link-pie-after-libc): Likewise.
24870         (+link-pie-tests): Likewise.
24871         (+link-pie): Rewritten.
24872         (link-before-libc): Remove $(config-LDFLAGS).
24873         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24874         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24875         (config-LDFLAGS): Renamed to ...
24876         (rtld-LDFLAGS): This.
24877         (rtld-tests-LDFLAGS): New macro.
24878         (link-libc-rpath-link): Likewise.
24879         (link-libc-tests-rpath-link): Likewise.
24880         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24881         (link-libc): Prepand $(link-libc-rpath-link).
24882         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24883         (test-program-prefix): New macro.
24884         (test-via-rtld-prefix): Likewise.
24885         (test-program-cmd): Likewise.
24886         (host-test-program-cmd): Likewise.
24887         * Makefile ($(common-objpfx)testrun.sh): Replace
24888         $(run-program-prefix) with $(test-program-prefix).
24889         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24890         $(rtld-LDFLAGS).
24891         ($(common-objpfx)shlib.lds): Likewise.
24892         (build-module-helper): Likewise.
24893         ($(common-objpfx)format.lds): Likewise.
24894         * Rules (binaries-pie-tests): New.
24895         (binaries-pie-notests): Likewise.
24896         (binaries-pie): Rewritten.
24897         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24898         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24899         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24900         (make-test-out): Replace $(host-built-program-cmd) with
24901         $(host-test-program-cmd).
24902         * config.make.in (build-hardcoded-path-in-tests): New variable.
24903         * configure.in (--enable-hardcoded-path-in-tests): New configure
24904         option.
24905         (hardcoded_path_in_tests): New AC_SUBST.
24906         * configure: Regenerated.
24907         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24908         $(built-program-cmd) with $(test-program-cmd).
24909         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24910         (test_program_cmd): This.
24911         * elf/Makefile ($(objpfx)order.out): Run test with
24912         $(test-program-prefix).
24913         ($(objpfx)order2.out): Likewise.
24914         ($(objpfx)tst-initorder.out): Likewise.
24915         ($(objpfx)tst-initorder2.out): Likewise.
24916         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24917         $(test-program-cmd).
24918         ($(objpfx)tst-array1-static.out): Likewise.
24919         ($(objpfx)tst-array2.out): Likewise.
24920         ($(objpfx)tst-array3.out): Likewise.
24921         ($(objpfx)tst-array4.out): Likewise.
24922         ($(objpfx)tst-array5.out): Likewise.
24923         ($(objpfx)tst-array5-static.out): Likewise.
24924         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24925         $(test-program-cmd).
24926         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24927         $(run-program-prefix) with $(test-program-prefix).
24928         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24929         (test_program_prefix): This.
24930         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24931         $(run-program-prefix) with $(test-program-prefix).
24932         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24933         (test_program_prefix): This.
24934         * iconvdata/tst-tables.sh: Likewise.
24935         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24936         $(run-program-prefix) with $(test-program-prefix).
24937         ($(objpfx)tst-translit.out): Likewise.
24938         ($(objpfx)tst-gettext2.out): Likewise.
24939         ($(objpfx)tst-gettext4.out): Likewise.
24940         ($(objpfx)tst-gettext6.out): Likewise.
24941         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24942         (test_program_prefix): This.
24943         * intl/tst-gettext2.sh: Likewise.
24944         * intl/tst-gettext4.sh  Likewise.
24945         * intl/tst-gettext6.sh: Likewise.
24946         * intl/tst-translit.sh: Likewise.
24947         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24948         with $(test-program-cmd).
24949         * libio/Makefile ($(objpfx)test-freopen.out): Replace
24950         $(run-program-prefix) with $(test-program-prefix).
24951         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24952         (test_program_prefix): This.
24953         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24954         $(run-program-prefix) with $(test-program-prefix).
24955         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24956         (test_program_prefix): This.
24957         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24958         * posix/Makefile ($(objpfx)globtest.out): Replace
24959         $(run-via-rtld-prefix) and $(test-wrapper) with
24960         $(test-program-prefix) and $(test-via-rtld-prefix).
24961         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24962         $(test-program-prefix).
24963         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24964         $(host-test-program-cmd).
24965         (tst-spawn-ARGS): Likewise.
24966         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24967         $(test-program-prefix).
24968         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24969         (test_via_rtld_prefix): This.
24970         (test_wrapper): Renamed to ...
24971         (test_program_prefix): This.
24972         (run_program_prefix): Replaced by test_program_prefix.
24973         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24974         (test_program_prefix): This.
24975         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24976         with $(host-test-program-cmd).
24977         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24978         $(run-program-prefix) with $(test-program-prefix).
24979         ($(objpfx)tst-printf.out): Likewise.
24980         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24981         $(test-program-cmd).
24982         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24983         (test_program_prefix): This.
24984         * stdio-common/tst-unbputc.sh: Likewise.
24985         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24986         $(run-program-prefix) with $(test-program-prefix).
24987         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24988         (test_program_prefix): This.
24989         * string/Makefile ($(objpfx)tst-svc.out):  Replace
24990         $(built-program-cmd) with $(test-program-cmd).
24991
24992 2013-01-11  Andreas Jaeger  <aj@suse.de>
24993
24994         [BZ #15003]
24995         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24996         value. Sync with Linux 3.7.
24997
24998 2013-01-10  David S. Miller  <davem@davemloft.net>
24999
25000         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25001         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25002         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25003
25004 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25005
25006         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25007         never set.
25008         * configure: Regenerated.
25009
25010 2013-01-10  David S. Miller  <davem@davemloft.net>
25011
25012         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25013         sparc V9 rather than using V8 code.
25014         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25015         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25016
25017 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25018
25019         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25020         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25021         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25022         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25023         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25024         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25025         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25026         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25027         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25028         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25029         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25030         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25031         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25032         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25033         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25034         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25035         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25036         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25037         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25038         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25039         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25040         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25041         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25042         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25043         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25044         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25045         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25046
25047 2013-01-10  David S. Miller  <davem@davemloft.net>
25048
25049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25050
25051 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25052
25053         * posix/Makefile (tests-static): New variable.
25054         (tests): Add $(tests-static).
25055         (tst-exec-static-ARGS): New variable.
25056         (tst-spawn-static-ARGS): Likewise.
25057         * posix/tst-exec-static.c: New file.
25058         * posix/tst-spawn-static.c: Likewise.
25059         * posix/tst-exec.c: Support run directly.
25060         * posix/tst-spawn.c: Likewise.
25061
25062 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
25063
25064         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25065         long.
25066         * math/bits/mathcalls.h (llrint): Likewise.
25067         (llround): Likewise.
25068         * stdlib/stdlib.h (struct drand48_data): Likewise.
25069         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25070         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25071         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25072         Likewise.
25073         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25074         Likewise.
25075         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25076         (elf_greg_t): Likewise.
25077         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25078         (__jmp_buf): Likewise.
25079         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25080         definitions.
25081         (llrint): Likewise, for all definitions.
25082         (llrintl): Likewise.
25083
25084         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25085         Remove [__GNUC__] condition.
25086         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25087         condition to just [__USE_ISOC99].
25088         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25089
25090 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25091
25092         [BZ #14200]
25093         * sysdeps/unix/sysv/linux/x86/bits/environments.h
25094         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25095         defined.
25096         (_POSIX_V6_ILP32_OFF32): Likewise.
25097         (_XBS5_ILP32_OFF32): Likewise.
25098         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25099         (__ILP32_OFFBIG_LDFLAGS): Likewise.
25100
25101 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25102
25103         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25104
25105         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25106         doubles __mpexp_twomm1.  Adjust usage.
25107         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25108         Remove.
25109
25110 2013-01-10  Andreas Schwab  <schwab@suse.de>
25111
25112         [BZ #14964]
25113         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25114         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25115
25116 2013-01-09  David S. Miller  <davem@davemloft.net>
25117
25118         [BZ #15003]
25119         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25120         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25121         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25122         (TCP_FASTOPEN): Define.
25123         (tcp_repair_opt): New structure.
25124         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25125         enum values.
25126         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25127         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25128         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25129         (tcp_cookie_transactions): New structure.
25130
25131 2013-01-09  Anton Blanchard  <anton@samba.org>
25132
25133         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25134         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25135         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25136         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25137
25138 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
25139
25140         * include/features.h (__USE_ANSI): Remove.
25141
25142 2013-01-09  Roland McGrath  <roland@hack.frob.com>
25143
25144         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25145
25146         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25147
25148 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
25149
25150         * sysdeps/s390/fpu/libm-test-ulps: Update.
25151
25152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25153
25154         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25155         (__acr): Likewise.
25156         (__cpy): Likewise.
25157         (norm): Likewise.
25158         (denorm): Likewise.
25159         (__mp_dbl): Likewise.
25160         (__dbl_mp): Likewise.
25161         (add_magnitudes): Likewise.
25162         (sub_magnitudes): Likewise.
25163         (__add): Likewise.
25164         (__sub): Likewise.
25165         (__mul): Likewise.
25166         (__inv): Likewise.
25167         (__dvd): Likewise.
25168         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25169         (__acr): Likewise.
25170         (__cpy): Likewise.
25171         (norm): Likewise.
25172         (denorm): Likewise.
25173         (__mp_dbl): Likewise.
25174         (__dbl_mp): Likewise.
25175         (add_magnitudes): Likewise.
25176         (sub_magnitudes): Likewise.
25177         (__add): Likewise.
25178         (__sub): Likewise.
25179         (__mul): Likewise.
25180         (__inv): Likewise.
25181         (__dvd): Likewise.
25182         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25183         (__acr): Likewise.
25184         (__cpy): Likewise.
25185         (norm): Likewise.
25186         (denorm): Likewise.
25187         (__mp_dbl): Likewise.
25188         (__dbl_mp): Likewise.
25189         (add_magnitudes): Likewise.
25190         (sub_magnitudes): Likewise.
25191         (__add): Likewise.
25192         (__sub): Likewise.
25193         (__mul): Likewise.
25194         (__inv): Likewise.
25195         (__dvd): Likewise.
25196
25197 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
25198
25199         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25200         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25201         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25202         2 && __USE_EXTERN_INLINES]: Likewise.
25203
25204 2013-01-08  Andreas Jaeger  <aj@suse.de>
25205
25206         [BZ# 14985]
25207         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25208         Remove.
25209         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25210         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25211
25212 2013-01-07  Anton Blanchard  <anton@samba.org>
25213
25214         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25215         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25216         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25217         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25218         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25219         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25220         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25221         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25222         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25223         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25224         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25225         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25226         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25227         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25228         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25229         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25230         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25231         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25232         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25233         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25234         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25235         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25236         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25237         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25238         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25239         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25240         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25241         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25242         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25243         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25244         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25245         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25246         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25247         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25248         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25249         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25250         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25251         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25252         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25253         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25254         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25255         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25256         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25257
25258 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
25259
25260         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25261         (__MALLOC_PMT): Likewise.
25262         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25263         [__GNUC__], only on [_LIBC].
25264         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25265         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25266         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25267         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25268         forward declaration.
25269         (realloc_hook_ini): Likewise.
25270         (memalign_hook_ini): Likewise.
25271         (__libc_memalign): Do not use __MALLOC_PMT in variable
25272         declaration.
25273         (__libc_valloc): Likewise.
25274         (__libc_pvalloc): Likewise.
25275         (__libc_calloc): Likewise.
25276         (__posix_memalign): Likewise.
25277
25278         [BZ #14996]
25279         * math/s_casinh.c: Include <float.h>.
25280         (__casinh): Do not do computation with squaring and square root
25281         for large arguments.
25282         * math/s_casinhf.c: Include <float.h>.
25283         (__casinhf): Do not do computation with squaring and square root
25284         for large arguments.
25285         * math/s_casinhl.c: Include <float.h>.
25286         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25287         (__casinhl): Do not do computation with squaring and square root
25288         for large arguments.
25289         * math/libm-test.inc (casin_test): Add more tests.
25290         (casinh_test): Likewise.
25291         * sysdeps/i386/fpu/libm-test-ulps: Update.
25292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25293
25294 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
25295
25296         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25297         (__x86_64_raw_data_cache_size): Likewise.
25298         (__x86_64_data_cache_size_half): Likewise.
25299         (__x86_64_raw_data_cache_size_half): Likewise.
25300         (__x86_64_shared_cache_size): Likewise.
25301         (__x86_64_raw_shared_cache_size): Likewise.
25302         (__x86_64_shared_cache_size_half): Likewise.
25303         (__x86_64_raw_shared_cache_size_half): Likewise.
25304         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25305         to ...
25306         (__x86_data_cache_size): This.
25307         (__x86_64_raw_data_cache_size): Renamed to ...
25308         (__x86_raw_data_cache_size): This.
25309         (__x86_64_data_cache_size_half): Renamed to ...
25310         (__x86_data_cache_size_half): This.
25311         (__x86_64_raw_data_cache_size_half): Renamed to ...
25312         (__x86_raw_data_cache_size_half): This.
25313         (__x86_64_shared_cache_size): Renamed to ...
25314         (__x86_shared_cache_size): This.
25315         (__x86_64_raw_shared_cache_size): Renamed to ...
25316         (__x86_raw_shared_cache_size): This.
25317         (__x86_64_shared_cache_size_half): Renamed to ...
25318         (__x86_shared_cache_size_half): This.
25319         (__x86_64_raw_shared_cache_size_half): Renamed to ...
25320         (__x86_raw_shared_cache_size_half): This.
25321         * sysdeps/x86_64/memcpy.S: Updated.
25322         * sysdeps/x86_64/memset.S: Likewise.
25323         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25324         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25325         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25326
25327 2013-01-04  David S. Miller  <davem@davemloft.net>
25328
25329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25330
25331 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
25332
25333         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25334         1 to avoid redefinition warning.
25335         (__USE_GNU): Don't define.
25336         (init_signaling_nan): Protoize.
25337
25338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25339
25340 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25341
25342         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25343         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25344         (__cpymn): Likewise.
25345         (norm): Remove commented code.
25346         (denorm): Likewise.
25347         (__mp_dbl): Likewise.
25348         (__inv): Likewise.
25349         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25350         (__cpymn): Likewise.
25351         (norm): Remove commented code.
25352         (denorm): Likewise.
25353         (__mp_dbl): Likewise.
25354         (__inv): Likewise.
25355
25356         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25357         mp_no value for 1.0 and 2.0.
25358         (norm): Use RADIXI instead of radixi.d.
25359         (denorm): Likewise.
25360         (__mul): Use 0.0 instead of zero.d.
25361         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25362         mp_no value for 1.0 and 2.0.
25363         (norm): Use RADIXI instead of radixi.d.
25364         (denorm): Likewise.
25365         (__mul): Use 0.0 instead of zero.d.
25366
25367 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
25368
25369         [BZ #14994]
25370         * math/s_casinh.c (__casinh): Reduce finite argument to first
25371         quadrant then set signs of results at the end.
25372         * math/s_casinhf.c (__casinhf): Likewise.
25373         * math/s_casinhl.c (__casinhl): Likewise.
25374         * math/libm-test.inc (casin_test): Add more tests.
25375         (casinh_test): Likewise.
25376         * sysdeps/i386/fpu/libm-test-ulps: Update.
25377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25378
25379 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25380
25381         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25382
25383         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25384
25385         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25386         declarations.
25387         (denorm): Likewise.
25388         (__mp_dbl): Likewise.
25389         (__inv): Likewise.
25390
25391         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25392         and adjust the header comment.
25393
25394         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25395         variable name from declaration.
25396
25397 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
25398
25399         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25400         Initialize COMMON_CPUID_INDEX_7 element.
25401         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25402         (CPUID_RTM): Likewise.
25403         (HAS_RTM): Likewise.
25404         (COMMON_CPUID_INDEX_7): New enum.
25405
25406 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
25407
25408         [BZ #14981]
25409         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25410         size is zero, record memory as freed.
25411
25412 2013-01-03  Andreas Jaeger  <aj@suse.de>
25413
25414         * po/ia.po: Add new Interlingua translation.
25415
25416 2012-01-03  Allan McRae  <allan@archlinux.org>
25417
25418         * locale/programs/localedef.c: Fix description of '--posix' flag.
25419
25420 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
25421
25422         * NEWS: Update dates in second copyright notice.
25423         * README: Update copyright dates in example.
25424         * manual/libc.texinfo: Update copyright dates.
25425         * scripts/test-installation.pl: Update copyright date in --version
25426         output.
25427
25428         * hurd/ctty-input.c: Fix copyright notice formatting.
25429         * hurd/ctty-output.c: Likewise.
25430         * hurd/dtable.c: Likewise.
25431         * hurd/hurd-raise.c: Likewise.
25432         * hurd/hurdprio.c: Likewise.
25433         * hurd/msgportdemux.c: Likewise.
25434         * misc/sys/file.h: Likewise.
25435         * misc/sys/ioctl.h: Likewise.
25436         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25437         * sysdeps/mach/hurd/chdir.c: Likewise.
25438         * sysdeps/mach/hurd/fchdir.c: Likewise.
25439         * sysdeps/mach/hurd/rename.c: Likewise.
25440         * sysdeps/mach/hurd/rmdir.c: Likewise.
25441         * sysdeps/mach/hurd/seekdir.c: Likewise.
25442         * sysdeps/mach/hurd/setsid.c: Likewise.
25443         * sysdeps/posix/wait3.c: Likewise.
25444
25445         * All files with FSF copyright notices: Update copyright dates
25446         using scripts/update-copyrights.
25447         * intl/plural.c: Regenerated.
25448         * locale/programs/charmap-kw.h: Likewise.
25449         * locale/programs/locfile-kw.h: Likewise.
25450
25451 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25452
25453         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25454         four values.
25455
25456         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25457         calculation loop and add branch prediction.
25458
25459         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25460         check access beyond bounds of m1np.
25461
25462         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25463         MPTWO.
25464         (__inv): Remove local variable MPTWO to use the global
25465         constant.
25466         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25467         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25468         variable MPTWO.
25469         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25470         MP3HALFS static const.
25471
25472 2013-01-01  David S. Miller  <davem@davemloft.net>
25473
25474         * po/ca.po: Update from translation team.
25475
25476 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
25477
25478         * scripts/update-copyrights: New file.
25479         * Makeconfig: Reformat copyright notice.
25480         * ctype/ctype.h: Likewise.
25481         * debug/swprintf_chk.c: Likewise.
25482         * elf/dl-cache.c: Likewise.
25483         * elf/dl-debug.c: Likewise.
25484         * elf/dl-object.c: Likewise.
25485         * grp/initgroups.c: Likewise.
25486         * hurd/Makefile: Likewise.
25487         * hurd/hurd/signal.h: Likewise.
25488         * hurd/hurdfault.c: Likewise.
25489         * hurd/hurdioctl.c: Likewise.
25490         * hurd/hurdlookup.c: Likewise.
25491         * hurd/intr-msg.c: Likewise.
25492         * iconv/gconv_open.c: Likewise.
25493         * libio/swprintf.c: Likewise.
25494         * locale/lc-ctype.c: Likewise.
25495         * locale/nl_langinfo.c: Likewise.
25496         * mach/Machrules: Likewise.
25497         * mach/Makefile: Likewise.
25498         * malloc/obstack.h: Likewise.
25499         * manual/Makefile: Likewise.
25500         * manual/tsort.awk: Likewise.
25501         * misc/bits/stab.def: Likewise.
25502         * nis/nis_print_group_entry.c: Likewise.
25503         * nis/nis_table.c: Likewise.
25504         * nis/nss_compat/compat-pwd.c: Likewise.
25505         * nis/nss_compat/compat-spwd.c: Likewise.
25506         * po/Makefile: Likewise.
25507         * posix/fnmatch.c: Likewise.
25508         * posix/regex.h: Likewise.
25509         * resolv/Makefile: Likewise.
25510         * resolv/nss_dns/dns-network.c: Likewise.
25511         * resolv/res_hconf.c: Likewise.
25512         * scripts/gen-sorted.awk: Likewise.
25513         * soft-fp/soft-fp.h: Likewise.
25514         * stdio-common/printf.h: Likewise.
25515         * stdlib/monetary.h: Likewise.
25516         * stdlib/random.c: Likewise.
25517         * stdlib/random_r.c: Likewise.
25518         * sysdeps/generic/Makefile: Likewise.
25519         * sysdeps/gnu/Makefile: Likewise.
25520         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25521         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25522         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25523         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25524         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25525         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25526         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25527         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25528         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25529         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25530         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25531         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25532         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25533         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25534         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25535         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25536         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25537         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25538         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25539         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25540         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25541         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25542         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25543         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25544         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25545         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25546         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25547         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25548         * sysdeps/mach/hurd/errnos.awk: Likewise.
25549         * sysdeps/mach/hurd/fork.c: Likewise.
25550         * sysdeps/mach/hurd/getcwd.c: Likewise.
25551         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25552         * sysdeps/mach/hurd/mmap.c: Likewise.
25553         * sysdeps/mach/hurd/utimes.c: Likewise.
25554         * sysdeps/mach/hurd/xmknod.c: Likewise.
25555         * sysdeps/posix/profil.c: Likewise.
25556         * sysdeps/posix/readdir_r.c: Likewise.
25557         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25558         * sysdeps/powerpc/bits/setjmp.h: Likewise.
25559         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25560         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25561         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25562         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25563         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25564         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25565         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25566         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25567         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25568         * sysdeps/pthread/lio_listio.c: Likewise.
25569         * sysdeps/sparc/dl-procinfo.h: Likewise.
25570         * sysdeps/unix/i386/sysdep.S: Likewise.
25571         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25572         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25573         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25574         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25576         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25577         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25578         * sysdeps/unix/sysv/linux/speed.c: Likewise.
25579         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25580         * sysdeps/wordsize-32/divdi3.c: Likewise.
25581         * time/sys/time.h: Likewise.
25582         * wcsmbs/Makefile: Likewise.
25583
25584 2013-01-01  David S. Miller  <davem@davemloft.net>
25585
25586         * po/fr.po: Update from translation team.
25587
25588         * catgets/gencat.c: Update copyright year.
25589         * csu/version.c: Likewise.
25590         * debug/catchsegv.sh: Likewise.
25591         * debug/pcprofiledump.c: Likewise.
25592         * debug/xtrace.sh: Likewise.
25593         * elf/ldconfig.c: Likewise.
25594         * elf/ldd.bash.in: Likewise.
25595         * elf/pldd.c: Likewise.
25596         * elf/sotruss.ksh: Likewise.
25597         * elf/sprof.c: Likewise.
25598         * iconv/iconv_prog.c: Likewise.
25599         * iconv/iconvconfig.c: Likewise.
25600         * locale/programs/locale.c: Likewise.
25601         * locale/programs/localedef.c: Likewise.
25602         * login/programs/pt_chown.c: Likewise.
25603         * malloc/memusage.sh: Likewise.
25604         * malloc/memusagestat.c: Likewise.
25605         * malloc/mtrace.pl: Likewise.
25606         * nscd/nscd.c: Likewise.
25607         * nss/getent.c: Likewise.
25608         * nss/makedb.c: Likewise.
25609         * posix/getconf.c: Likewise.
25610
25611 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25612
25613         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25614         numbers.
25615
25616 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
25617
25618         * math/bits/mathcalls.h (modf): Use __nonnull.
25619
25620 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25621
25622         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25623         (split): Use macro CN instead of the bare value.
25624         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25625         could be used.
25626         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25627         instead of the bare value.
25628         (power1): Likewise.
25629
25630 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25631
25632         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25633         __ATAN_TWOM.
25634         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25635
25636         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25637         their values.
25638         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25639         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25640         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25641         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25642
25643 2012-12-28  Andreas Jaeger  <aj@suse.de>
25644
25645         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
25646         values are from Linux 3.7.
25647
25648         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25649         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
25650
25651 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25652
25653         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25654         TRUE case.
25655
25656         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25657         (norm): Likewise.
25658         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25659         variables with preprocessor constants.
25660         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25661         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25662         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25663
25664 2012-12-27  Bruno Haible  <bruno@clisp.org>
25665
25666         [BZ #14317]
25667         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25668         only if needed.
25669
25670 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25671
25672         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25673         and use variable directly.
25674         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25675
25676         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25677         MPONE.
25678         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25679         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25680         variable MPONE.
25681         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25682         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25683         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25684         include directive.  Remove local variable MPONE.
25685         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25686         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25687         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25688
25689 2012-12-25  David S. Miller  <davem@davemloft.net>
25690
25691         * version.h (RELEASE): Set to "development".
25692         (VERSION): Set to "2.17.90".
25693         * NEWS: Add 2.18 section.
25694
25695 2012-12-21  David S. Miller  <davem@davemloft.net>
25696
25697         * po/hr.po: Update from translation team.
25698
25699 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25700
25701         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25702
25703 2012-12-19  Steve Ellcey  <sellcey@mips.com>
25704
25705         * NEWS:  Mention new memcpy for MIPS.
25706
25707 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25708
25709         * manual/contrib.texi (Contributors): Spelling correction.
25710
25711 2012-12-15  David S. Miller  <davem@davemloft.net>
25712
25713         * po/ru.po: Update from translation team.
25714
25715 2012-12-13  David S. Miller  <davem@davemloft.net>
25716
25717         * NEWS: Mention IFUNC testsuite enhancements.
25718
25719         * po/pl.po: Update from translation team.
25720         * po/bg.po: Likewise.
25721
25722         * manual/contrib.texi (Contributors): Update entries for Hongjiu
25723         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
25724
25725 2012-12-11  David S. Miller  <davem@davemloft.net>
25726
25727         * po/sv.po: Update from translation team.
25728
25729         * po/vi.po: Update from translation team.
25730
25731         * po/cs.po: Update from translation team.
25732
25733         * po/de.po: Update from translation team.
25734         * po/eo.po: Likewise.
25735         * po/nl.po: Likewise.
25736
25737 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25738
25739         [BZ #14246]
25740         * manual/argp.texi (Argp Helper Functions): Move node to follow
25741         Argp Parsing State.
25742
25743         [BZ #14872]
25744         * manual/conf.texi (Limits on File System Capacity): Mention if
25745         terminating null is included in the max size.
25746
25747 2012-12-10  Andreas Jaeger  <aj@suse.de>
25748
25749         * po/cs.po: Update from translation team.
25750
25751 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25752
25753         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25754         void pointer and cast to uintptr_t.
25755         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25756         path.
25757         * sysdeps/s390/s390-64/memcpy.S: Likewise.
25758         * sysdeps/s390/s390-64/memset.S: Likewise.
25759
25760 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
25761
25762         [BZ #14833]
25763         * menual/message.texi (Message Translation): Fix typos.
25764         (Helper programs for gettext): Likewise.
25765
25766 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
25767
25768         [BZ #14898]
25769         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25770         Change to -1.
25771
25772 2012-12-07  David S. Miller  <davem@davemloft.net>
25773
25774         * po/libc.pot: Update.
25775
25776 2012-12-07  Richard Henderson  <rth@redhat.com>
25777
25778         [BZ #10114]
25779         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25780         normal/normal case to before the switch.
25781         (_FP_DIV): Likewise.
25782
25783 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
25784             Mike Frysinger  <vapier@gentoo.org>
25785
25786         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25787         check for __NR_fadvise64_64.
25788
25789 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
25790
25791         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25792         0, not just to plain "0" as a statement.
25793         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25794         with cw.
25795
25796 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
25797
25798         * NEWS: Use sourceware.org in Bugzilla URL.
25799
25800 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25801
25802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25803         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25804
25805         * stdio-common/tst-put-error.c (do_test): Add newline to the
25806         padded test to ensure flush.
25807
25808 2012-12-05  Jeff Law  <law@redhat.com>
25809
25810         * sunrpc/etc.rpc (fedfs_admin): Add entry.
25811
25812 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
25813
25814         * README: Don't refer to ports add-on as distributed separately.
25815         Mention AArch64 in list of systems supported in the ports add-on.
25816
25817         * LICENSES: Add more non-FSF copyright and license notices.
25818
25819         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25820         ((unused)).
25821
25822         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25823
25824         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25825         10000 as width of padded output.
25826
25827 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25828
25829         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25830
25831         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25832         variable LX with __attribute__ ((unused)).
25833         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25834         Likewise.
25835         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25836         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25837         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25838         with __attribute__ ((unused)).
25839
25840 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
25841
25842         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25843
25844 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25845
25846         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25847         (CFLAGS-nldbl-acos.c): New variable.
25848         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25849         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25850         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25851         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25852         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25853         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25854         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25855         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25856         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25857         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25858         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25859         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25860         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25861         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25862         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25863         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25864         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25865         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25866         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25867         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25868         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25869         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25870         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25871         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25872         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25873         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25874         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25875         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25876         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25877         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25878         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25879         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25880         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25881         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25882         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25883         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25884         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25885         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25886         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25887         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25888         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25889         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25890         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25891         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25892         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25893         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25894         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25895         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25896         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25897         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25898         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25899         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25900         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25901         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25902         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25903         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25904         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25905         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25906         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25907         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25908         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25909         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25910         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25911         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25912         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25913         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25914         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25915         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25916         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25917         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25918         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25919         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25920         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25921         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25922         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25923         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25924         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25925         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25926         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25927         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25928         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25929         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25930         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25931         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25932         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25933         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25934         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25935         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25936         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25937         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25938         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25939         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25940         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25941         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25942         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25943         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25944         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25945
25946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25947         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25948
25949         [BZ #14914]
25950         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25951         whole low double instead of just low 47 bits when splitting values
25952         into two parts.
25953
25954 2012-12-03  Allan McRae  <allan@archlinux.org>
25955
25956         * manual/stdio.texi (Predefined Printf Handlers): Remove
25957         @hsep and @vsep usage.
25958
25959 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
25960
25961         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25962         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25963
25964 2012-12-03  Jeff Law  <law@redhat.com>
25965
25966         * time/sys/time.h (settimeofday): Do not mark TV argument
25967         as __nonnull.
25968
25969 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
25970
25971         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25972         when currently writing and seek to current position when not.
25973         * libio/Makefile (tests): Remove bug-fclose1.
25974         * libio/bug-fclose1.c: Delete.
25975
25976 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
25977
25978         * manual/arith.texi (feenableexcept): Fix typo.
25979         (fedisableexcept): Likewise.
25980
25981 2012-11-30  Roland McGrath  <roland@hack.frob.com>
25982
25983         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25984         second, differently-typed declaration, rather than a cast.
25985
25986 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25987
25988         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25989         * include/rpc/svc.h: ... here.
25990
25991 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
25992
25993         [BZ #13013]
25994         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25995         depending n and resplen2 to catch cases where answer
25996         equals answerp2.
25997
25998 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
25999
26000         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26001         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26002
26003 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
26004
26005         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26006
26007 2012-11-29  Roland McGrath  <roland@hack.frob.com>
26008
26009         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26010
26011 2012-11-28  Jeff Law  <law@redhat.com>
26012
26013         [BZ #13761]
26014         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26015         dataset_temporary.  Track alloca usage into alloca_used.
26016         If dataset is large allocate and release it via malloc/free.
26017
26018 2012-06-04  Florian Weimer  <fweimer@redhat.com>
26019
26020         [BZ #14197]
26021         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26022
26023 2012-11-28  David S. Miller  <davem@davemloft.net>
26024
26025         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26026
26027 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26028
26029         [BZ #14803]
26030         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26031         of pi/2 rounded to nearest to 64 bits.
26032         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26033         nearest to 64 bits.
26034         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26035         bits.
26036
26037 2012-11-28  Jeff Law <law@redhat.com>
26038             Martin Osvald <mosvald@redhat.com>
26039
26040         [BZ #14889]
26041         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26042         * sunrpc/svc.c: Include time.h.
26043         (__svc_accept_failed): New function.
26044         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26045         any reason other than EINTR, call __svc_accept_failed.
26046         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26047         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26048
26049 2012-11-28  Andreas Schwab  <schwab@suse.de>
26050
26051         * scripts/abilist.awk: Also handle indirect functions in .opd
26052         section.
26053
26054 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26055
26056         [BZ #13881]
26057         * sysdeps/x86/fpu/powl_helper.c: New file.
26058         * sysdeps/x86/fpu/Makefile: Likewise.
26059         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26060         (p3): New object.
26061         (__ieee754_powl): Use __powl_helper for finite arguments except
26062         integer exponents below 8.
26063         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26064         (p3): New object.
26065         (__ieee754_powl): Use __powl_helper for finite arguments except
26066         integer exponents below 8.
26067         * math/libm-test.inc (pow_test): Add more tests and enable some
26068         previously disabled tests.
26069         * sysdeps/i386/fpu/libm-test-ulps: Update.
26070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26071
26072 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26073             Carlos O'Donell  <carlos_odonell@mentor.com>
26074
26075         * nss/makedb.c (is_prime): Assert that input is odd and greater
26076         than 4.  Note that fact in a comment too.
26077         (next_prime): Add 4 to input.
26078
26079 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26080
26081         [BZ #11741]
26082         * libio/Makefile (tests): Add test case tst-fwrite-error.
26083         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26084         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26085         * libio/tst-fwrite-error.c: New test case.
26086
26087 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
26088
26089         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26090         before casting to void *.
26091         * include/libc-internal.h (__pointer_type): New macro.
26092         (__integer_if_pointer_type_sub): Likewise.
26093         (__integer_if_pointer_type): Likewise.
26094         (cast_to_integer): Likewise.
26095         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26096         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26097         before casting to atomic64_t.
26098         (atomic_exchange_acq): Likewise.
26099         (__arch_exchange_and_add_body): Likewise.
26100         (__arch_add_body): Likewise.
26101         (atomic_add_negative): Likewise.
26102         (atomic_add_zero): Likewise.
26103
26104 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
26105
26106         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26107         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26108         (add_fdes): Likewise.
26109         (linear_search_fdes): Likewise.
26110         (binary_search_unencoded_fdes): Likewise.
26111
26112 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
26113
26114         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26115
26116 2012-11-24  Adam Conrad  <adconrad@0c3.net>
26117
26118         * configure.in: Autodetect C++ header directories.
26119         * configure: Regenerated.
26120
26121 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
26122
26123         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26124
26125 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
26126
26127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26128
26129 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
26130
26131         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26132         LDBL_MANT_DIG == 106]: Disable some tests.
26133         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26134         Likewise.
26135         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26136         Likewise.
26137
26138         [BZ #14871]
26139         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26140         input for small inputs.  Return +/- pi/2 for large inputs.
26141         * math/libm-test.inc (atan_test): Add more tests.
26142
26143         * sysdeps/generic/unwind-dw2-fde-glibc.c
26144         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26145         __attribute__ ((unused)).
26146
26147         [BZ #14645]
26148         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26149         x * y if x and y are nonzero and z is zero.
26150
26151         [BZ #14811]
26152         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26153         nonzero exponents with absolute value below 0x1p-117 to +/-
26154         0x1p-117.
26155
26156         [BZ #14869]
26157         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26158         up arguments below 2**-450, not just those below 2**-500.
26159         * math/libm-test.inc (hypot_test): Add another test.
26160
26161         [BZ #14868]
26162         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26163         Return a+b for ratio over 2**120, not 2**60.
26164         * math/libm-test.inc (hypot_test): Add another test.
26165
26166         * math/libm-test.inc (clog_test): Use
26167         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26168         (clog10_test): Likewise.
26169
26170         [BZ #6778]
26171         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26172
26173 2012-11-22  Andreas Schwab  <schwab@suse.de>
26174
26175         * sysdeps/i386/fpu/libm-test-ulps: Update.
26176
26177 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
26178
26179         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26180         printf output with newline.
26181
26182 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
26183
26184         [BZ #14865]
26185         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26186         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26187         -z nodlopen, -z initfirst and -z execstack support.
26188         * configure: Regenerated.
26189
26190         * elf/elf.h (DF_1_NODIRECT): New macro.
26191         (DF_1_IGNMULDEF): Likewise.
26192         (DF_1_NOKSYMS): Likewise.
26193         (DF_1_NOHDR): Likewise.
26194         (DF_1_EDITED): Likewise.
26195         (DF_1_NORELOC): Likewise.
26196         (DF_1_SYMINTPOSE): Likewise.
26197         (DF_1_GLOBAUDIT): Likewise.
26198         (DF_1_SINGLETON): Likewise.
26199         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26200         DT_1_SUPPORTED_MASK bits.
26201         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26202
26203 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
26204
26205         * sysdeps/unix/make-syscalls.sh: Document prefixes.
26206
26207 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
26208
26209         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26210         macro.
26211
26212         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26213         (sendmmsg): Move declarations...
26214         * socket/sys/socket.h: ... here.
26215         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26216         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26217         include it from...
26218         * socket/recvmmsg.c: ... this new file.
26219         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26220         (sendmmsg): Rename to __sendmmsg, create weak alias and make
26221         definition of __sendmmsg hidden.
26222         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26223         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26224         Move ENOSYS stub into and include it from...
26225         * socket/sendmmsg.c: ... this new file.
26226         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26227         (sysdep_routines): Move recvmmsg and sendmmsg...
26228         * socket/Makefile (routines): ... here.
26229         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26230         (GLIBC_PRIVATE): Add __sendmmsg.
26231         * include/sys/socket.h (__sendmmsg): Add declarations.
26232         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26233         sendmmsg.
26234
26235 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
26236
26237         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26238         variable I1 with __attribute__ ((unused)).
26239         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26240
26241 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26242
26243         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26244         DUMMY variables with __attribute__ ((unused)).
26245
26246         * bits/byteswap.h: Include <bits/types.h>.
26247         (__bswap_64): Use __uint64_t instead of unsigned long long int.
26248
26249 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26250
26251         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26252         string_t.  Do not manually set errno.
26253         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26254         length with __strnlen.  Make sure to both set errno and return it on
26255         failure.
26256
26257 2012-11-19  David S. Miller  <davem@davemloft.net>
26258
26259         With help from Joseph Myers.
26260         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26261         very large arguments properly.
26262         * math/libm-test.inc (atan_test): New tests.
26263         (atan2_test): New tests.
26264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26265         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26266
26267 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26268
26269         [BZ #14856]
26270         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26271         Define to 3.
26272
26273         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26274         [POSIX] (EADDRNOTAVAIL): Likewise.
26275         [POSIX] (EAFNOSUPPORT): Likewise.
26276         [POSIX] (EALREADY): Likewise.
26277         [POSIX] (ECONNABORTED): Likewise.
26278         [POSIX] (ECONNREFUSED): Likewise.
26279         [POSIX] (ECONNRESET): Likewise.
26280         [POSIX] (EDESTADDRREQ): Likewise.
26281         [POSIX] (EDQUOT): Likewise.
26282         [POSIX] (EHOSTUNREACH): Likewise.
26283         [POSIX] (EIDRM): Likewise.
26284         [POSIX] (EISCONN): Likewise.
26285         [POSIX] (ELOOP): Likewise.
26286         [POSIX] (EMULTIHOP): Likewise.
26287         [POSIX] (ENETDOWN): Likewise.
26288         [POSIX] (ENETUNREACH): Likewise.
26289         [POSIX] (ENOBUFS): Likewise.
26290         [POSIX] (ENODATA): Likewise.
26291         [POSIX] (ENOLINK): Likewise.
26292         [POSIX] (ENOMSG): Likewise.
26293         [POSIX] (ENOPROTOOPT): Likewise.
26294         [POSIX] (ENOSR): Likewise.
26295         [POSIX] (ENOSTR): Likewise.
26296         [POSIX] (ENOTCONN): Likewise.
26297         [POSIX] (ENOTSOCK): Likewise.
26298         [POSIX] (EOPNOTSUPP): Likewise.
26299         [POSIX] (EOVERFLOW): Likewise.
26300         [POSIX] (EPROTO): Likewise.
26301         [POSIX] (EPROTONOSUPPORT): Likewise.
26302         [POSIX] (EPROTOTYPE): Likewise.
26303         [POSIX] (ESTALE): Likewise.
26304         [POSIX] (ETIME): Likewise.
26305         [POSIX] (ETXTBSY): Likewise.
26306         [POSIX] (EWOULDBLOCK): Likewise.
26307         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26308         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26309         [POSIX] (SEEK_CUR): Likewise.
26310         [POSIX] (SEEK_END): Likewise.
26311         [POSIX || UNIX98] (mode_t): Do not require.
26312         [POSIX] (off_t): Likewise.
26313         [POSIX] (pid_t): Likewise.
26314         [POSIX] (sys/stat.h): Do not allow header.
26315         [POSIX] (unistd.h): Likewise.
26316         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26317         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26318         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26319         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26320         require.
26321         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26322         sigevent): Specify elements.
26323         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26324         entry.
26325         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26326         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26327
26328         * conform/data/cpio.h-data [POSIX]: Disable whole file.
26329         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26330         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26331         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26332         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26333         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26334         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26335         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26336         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26337         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26338         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26339         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26340         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26341         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26342         Likewise.
26343         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26344         Likewise.
26345         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26346         Likewise.
26347         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26348         Likewise.
26349         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26350         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26351         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26352         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26353         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26354         Specify lower bound on value.
26355         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26356         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26357         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26358         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26359         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26360         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26361         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26362         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26363         value.
26364         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26365         as optional.
26366         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26367         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26368         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26369         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26370         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26371         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26372         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26373         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26374         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26375         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26376         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26377         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26378         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26379         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26380         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26381         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26382         entry.
26383         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26384         optional.
26385         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26386         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26387         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26388         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26389         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26390         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26391         Likewise.
26392         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26393         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26394         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26395         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26396         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
26397         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26398         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26399         as optional.
26400         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26401         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26402         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26403         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26404         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26405         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26406         specify as optional.
26407         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26408         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26409         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26410         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26411         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26412         [XPG3] (NL_LANGMAX): Likewise.
26413         [POSIX || XPG3] (NL_MSGMAX): Likewise.
26414         [POSIX || XPG3] (NL_NMAX): Likewise.
26415         [POSIX || XPG3] (NL_SETMAX): Likewise.
26416         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26417         [XPG3] (NZERO): Likewise.
26418         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26419         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26420         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26421         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26422         (REG_ERANGE): Expect.
26423         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26424         optional-constant.
26425         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26426         Use (void) in prototype.
26427         [POSIX] (*_t): Allow.
26428         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26429         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26430         (WRDE_BADVAL): Expect.
26431
26432         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26433         expect.
26434         [XPG3 || XPG4] (O_RSYNC): Likewise.
26435         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26436         Likewise.
26437         [XPG3 || XPG4] (pthread_sigmask): Likewise.
26438         [XPG3 || XPG4] (sigqueue): Likewise.
26439         [XPG3 || XPG4] (sigtimedwait): Likewise.
26440         [XPG3 || XPG4] (sigwaitinfo): Likewise.
26441         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26442         [XPG3 || XPG4] (vsnprintf): Likewise.
26443         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26444         Likewise.
26445         [XPG3 || XPG4] (blksize_t): Likewise.
26446         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26447         Likewise.
26448         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26449         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26450         [XPG3 || XPG4] (struct itimerspec): Likewise.
26451         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26452         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26453         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26454         [XPG3 || XPG4] (clockid_t): Likewise.
26455         [XPG3 || XPG4] (timer_t): Likewise.
26456         [XPG3 || XPG4] (clock_getres): Likewise.
26457         [XPG3 || XPG4] (clock_gettime): Likewise.
26458         [XPG3 || XPG4] (clock_settime): Likewise.
26459         [XPG3 || XPG4] (nanosleep): Likewise.
26460         [XPG3 || XPG4] (timer_create): Likewise.
26461         [XPG3 || XPG4] (timer_delete): Likewise.
26462         [XPG3 || XPG4] (timer_gettime): Likewise.
26463         [XPG3 || XPG4] (timer_getoverrun): Likewise.
26464         [XPG3 || XPG4] (timer_settime): Likewise.
26465         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26466         [XPG3 || XPG4] (getlogin_r): Likewise.
26467         [XPG3 || XPG4] (pread): Likewise.
26468         [XPG3 || XPG4] (pthread_atfork): Likewise.
26469         [XPG3 || XPG4] (pwrite): Likewise.
26470
26471         [BZ #14835]
26472         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26473         <bits/siginfo.h>.
26474
26475 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26476
26477         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26478         finalizing MALLSTREAM.
26479
26480         * sysdeps/mach/hurd/syncfs.c: New file.
26481
26482 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26483
26484         [BZ #14719]
26485         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26486         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26487         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26488         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26489         (_nss_dns_gethostbyname4_r): Likewise.
26490         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26491         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26492
26493 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
26494
26495         [BZ #13763]
26496         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26497
26498 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
26499
26500         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26501         * elf/cache.c (print_entry): Print ",AArch64" for
26502         FLAG_AARCH64_LIB64
26503
26504         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26505         * elf/cache.c (print_entry): Print ",hard-float" for
26506         FLAG_ARM_LIBHF.
26507
26508 2012-11-18  David S. Miller  <davem@davemloft.net>
26509
26510         With help from Joseph Myers.
26511         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26512         cutoff to 2**-13.
26513         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26514         cutoff to 2**-25.
26515         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26516         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26517         small.
26518         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26519         * math/libm-test.inc (y0_test): New tests.
26520         (y1_test): New tests.
26521         * sysdeps/i386/fpu/libm-test-ulps: Update.
26522         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26523         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26524
26525 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
26526
26527         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26528         64-bit targets.
26529         * configure: Regenerated.
26530
26531 2012-11-17  David S. Miller  <davem@davemloft.net>
26532
26533         [BZ #14811]
26534         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26535         nonzero exponents with absolute value below 0x1p-128 to +/-
26536         0x1p-128.
26537
26538 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
26539
26540         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26541
26542         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26543
26544         * posix/getconf-speclist.c: New file.
26545         * posix/posix-envs.def: Likewise.
26546         * posix/confstr.c (START_ENV_GROUP): New macro.
26547         (END_ENV_GROUP): Likewise.
26548         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26549         (KNOWN_PRESENT_ENV_STRING): Likewise.
26550         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26551         (UNKNOWN_ENVIRONMENT): Likewise.
26552         (confstr): Include posix-envs.def instead of handling
26553         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26554         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26555         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26556         (END_ENV_GROUP): Likewise.
26557         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26558         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26559         (UNKNOWN_ENVIRONMENT): Likewise.
26560         (__sysconf): Include posix-envs.def instead of handling associated
26561         cases directly here.
26562         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26563         preprocessing getconf-speclist.c rather than running getconf or
26564         generating empty file.
26565
26566 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
26567
26568         * scripts/check-local-headers.sh: Ignore 'mach' headers.
26569
26570 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
26571
26572         [BZ #14672]
26573         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26574
26575 2012-11-16  David S. Miller  <davem@davemloft.net>
26576
26577         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26578         smaller than LDBL_EPSILON/2.0L, just return xm1.
26579
26580 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
26581
26582         * elf/tst-array1.c (init): Set constructor priority to 1000.
26583         (fini): Set destructor priority to 1000.
26584         * elf/tst-array2dep.c: Likewise.
26585
26586 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26587
26588         [BZ #11741]
26589         * libio/fileops.c (_IO_new_file_write): Correctly return error.
26590         (_IO_new_file_xsputn): Also return EOF if none of the input
26591         data was written when overflow failed.
26592         * libio/iopadn.c (_IO_padn): Likewise.
26593         * libio/iowpadn.c (_IO_wpadn): Likewise.
26594         * stdio-common/tst-put-error.c: Add copyright notice.
26595         (do_test): Add case for printing padded string.
26596         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26597         _IO_padn returned error.
26598         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26599         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26600         return EOF.
26601
26602 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26603
26604         * libio/libioP.h: Add comment note that the references to C++
26605         bits are now obsolete.
26606
26607 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26608
26609         * math/libm-test.inc (check_complex): Use asprintf.
26610
26611 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
26612
26613         * debug/pcprofiledump.c (print_version): Update copyright year.
26614         * malloc/memusagestat.c (print_version): Likewise.
26615
26616 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26617
26618         [BZ #14831]
26619         * elf/Makefile (tests): Add tst-audit8.
26620         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26621         ($(objpfx)tst-audit8.out): New target.
26622         (tst-audit8-ENV): New variable.
26623         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26624         audit if l_reloc_result is NULL.
26625         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26626         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26627         * elf/tst-audit8.c: New file.
26628
26629 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26630
26631         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26632         * misc/Makefile (CFLAGS-select.c): Define.
26633         * posix/Makefile (CFLAGS-pause.c): Define.
26634
26635 2012-11-13  David S. Miller  <davem@davemloft.net>
26636
26637         * crypt/Makefile: Move test targets after toplevel Rules
26638         inclusion.  Grab any necessary sysdep routines when linking.
26639         * crypt/md5.c (md5_process_block): Remove define, we will always
26640         name it __md5_process_block.
26641         (md5_finish_ctx): Update md5_process_block call.
26642         (md5_stream): Likewise.
26643         (md5_process_bytes): Likewise.
26644         (md5_process_block): Rename to __md5_process_block and move to ...
26645         * crypt/md5-block.c: ... here.
26646         * crypt/sha256.c (sha256_process_block): Move to ...
26647         * crypt/sha256-block.c: ... here.
26648         * crypt/sha512.c (sha512_process_block): Move to ...
26649         * crypt/sha512-block.c: ... here.
26650         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26651         path.
26652         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26653         * sysdeps/sparc/sparc64/multiarch/Makefile
26654         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26655         crypt subdir.
26656         (localedef-aux): Add md5 crypto assembler when in locale subdir.
26657         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26658         multiarch changes.
26659         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26660         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26661         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26662         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26663         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26664         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26665         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26666         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26667         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26668         file.
26669         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26670         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26671         file.
26672         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26673
26674 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
26675
26676         * timezone/tzselect.ksh: Update from tzcode git revision
26677         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26678         * timezone/zdump.c: Likewise.
26679         * timezone/zic.c: Likewise.
26680         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26681         in TZVERSION setting, not $(PKGVERSION).
26682         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
26683         REPORT_BUGS_TO settings.
26684
26685         [BZ #14838]
26686         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26687         macro.
26688
26689 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26690
26691         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26692         detection to immediately after _FP_ROUND().
26693         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26694         bits are 0.
26695
26696 2012-11-11  David S. Miller  <davem@davemloft.net>
26697
26698         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26699         inttypes.h
26700         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26701         __close rather than their public counterparts.
26702
26703 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
26704
26705         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26706         file.
26707         [UNIX98] (sem_timedwait): Do not expect.
26708         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26709         [XPG4 || UNIX98] (sockatmark): Do not expect.
26710         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26711         (clock_getcpuclockid): Do not expect.
26712         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26713         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26714         Do not expect.
26715         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26716         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26717         [UNIX98] (vwscanf): Likewise.
26718         [UNIX98] (vswscanf): Likewise.
26719
26720 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
26721
26722         * timezone/version.h: Remove file.
26723         * timezone/README: Do not refer to version.h.
26724         * timezone/Makefile ($(objpfx)zic.o): New dependency on
26725         $(objpfx)version.h.
26726         ($(objpfx)zdump.o): Likewise.
26727         ($(objpfx)version.h): New target.
26728
26729         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26730         2012i.
26731         * timezone/README: Don't mention modification to tzselect.ksh.
26732         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26733         work on unmodified tzselect.ksh.  Substitute version numbers in
26734         tzselect.ksh.
26735
26736         * Makefile (format-me): Remove.
26737         (INSTALL): Adjust indentation.  Use commands directly instead of
26738         using $(format-me).
26739
26740         * aclocal.m4 (ACX_PKGVERSION): New macro.
26741         (ACX_BUGURL): Likewise.
26742         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26743         (PKGVERSION): New AC_DEFINE_UNQUOTED.
26744         (REPORT_BUGS_TO): Likewise.
26745         * configure: Regenerated.
26746         * config.h.in (PKGVERSION): New macro.
26747         (REPORT_BUGS_TO): Likewise.
26748         * config.make.in (PKGVERSION): New variable.
26749         (PKGVERSION_TEXI): Likewise.
26750         (REPORT_BUGS_TO): Likewise.
26751         (REPORT_BUGS_TEXI): Likewise.
26752         * Makefile (format-me): Use -I$(common-objpfx)manual.
26753         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26754         ($(common-objpfx)manual/%): New target.
26755         (manual/%): Remove target.
26756         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26757         (print_version): Use PKGVERSION.
26758         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26759         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26760         and REPORT_BUGS_TO.
26761         ($(objpfx)xtrace): Likewise.
26762         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26763         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26764         (print_version): Use PKGVERSION.
26765         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26766         (do_version): Use PKGVERSION.
26767         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26768         REPORT_BUGS_TO.
26769         (common-ldd-rewrite): Likewise.
26770         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26771         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26772         (print_version): Use PKGVERSION.
26773         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26774         * elf/pldd.c (argp_program_bug_address): Remove variable.
26775         (more_help): New function.
26776         (argp): Use more_help.
26777         (print_version): Use PKGVERSION.
26778         * elf/sln.c (main): Use PKGVERSION.
26779         (usage): Use REPORT_BUGS_TO.
26780         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26781         (top level): Use PKGVERSION.
26782         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26783         (print_version): Use PKGVERSION.
26784         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26785         (print_version): Use PKGVERSION.
26786         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26787         (print_version): Use PKGVERSION.
26788         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26789         (print_version): Use PKGVERSION.
26790         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26791         (print_version): Use PKGVERSION.
26792         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26793         (print_version): Use PKGVERSION.
26794         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26795         and BUGURL.
26796         ($(objpfx)memusage): Likewise.
26797         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26798         (do_version): Use PKGVERSION.
26799         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26800         (print_version): Use PKGVERSION.
26801         * malloc/mtrace.pl ($PACKAGE): Remove variable.
26802         ($PKGVERSION): New variable.
26803         ($REPORT_BUGS_TO): Likewise.
26804         (usage): Use $REPORT_BUGS_TO.
26805         (top level): Use $PKGVERSION.
26806         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26807         ($(objpfx)pkgvers.texi): New rule.
26808         ($(objpfx)stamp-pkgvers): Likewise.
26809         * manual/install.texi: Include pkgvers.texi.
26810         (--with-pkgversion): Document new configure option.
26811         (--with-bugurl): Likewise.
26812         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26813         than necessarily for this particular distribution.  Use
26814         REPORT_BUGS_TO for where to report bugs.
26815         * INSTALL: Regenerated.
26816         * manual/libc.texinfo: Include pkgvers.texi.
26817         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26818         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26819         (print_version): Use PKGVERSION.
26820         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26821         (print_version): Use PKGVERSION.
26822         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26823         (print_version): Use PKGVERSION.
26824         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26825         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26826         macro.
26827         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26828         (print_version): Use PKGVERSION.
26829         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26830         (print_version): Use PKGVERSION.
26831         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26832         and PKGVERSION.
26833
26834         * timezone/checktab.awk: Update from tzcode 2012i.
26835         * timezone/ialloc.c: Likewise.
26836         * timezone/private.h: Likewise.
26837         * timezone/scheck.c: Likewise.
26838         * timezone/tzfile.h: Likewise.
26839         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26840         (TZVERSION): Hardcode tzcode version number.
26841         * timezone/zdump.c: Update from tzcode 2012i.
26842         * timezone/zic.c: Likewise.
26843         * timezone/version.h: New file.
26844         * timezone/README: Describe version.h.  Update upstream location.
26845
26846         [BZ #14824]
26847         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26848         (mktemp): Enable declaration.
26849         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26850         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26851         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26852         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26853         Likewise.
26854         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26855         Likewise.
26856         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26857         Likewise.
26858         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26859         Likewise.
26860         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26861         Likewise.
26862         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26863         Likewise.
26864
26865         [BZ #14821]
26866         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26867         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
26868         for copies of such integer values.
26869         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26870         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26871
26872 2012-11-09  Andreas Jaeger  <aj@suse.de>
26873
26874         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26875         definitions and declarations that are provided by
26876         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26877
26878 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26879
26880         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26881         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26882         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26883         definition.
26884
26885 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26886
26887         * elf/elf.h: Update comment before AArch64 relocations.
26888
26889 2012-11-07  David S. Miller  <davem@davemloft.net>
26890
26891         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26892         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26893         (__start_context): Declare.
26894         (__makecontext_ret): Delete.
26895         (__makecontext): Hook up __start_context instead of
26896         __makecontext_ret.
26897         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26898         (sysdep_routines): Add __start_context when in stdlib.
26899
26900 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26901
26902         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26903         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26904         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
26905         hardcoded "nm".
26906         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
26907         (READELF): New variable.  Use it instead of hardcoded "readelf".
26908
26909 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26910
26911         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26912         * sysdeps/x86/Makefile: Here.
26913         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26914         * sysdeps/x86/tst-xmmymm.sh: This.
26915
26916 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26917
26918         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26919         expectations.
26920         [UNIX98] (pthread_barrier_t): Do not expect.
26921         [UNIX98] (pthread_barrierattr_t): Likewise.
26922         [UNIX98] (pthread_spinlock_t): Likewise.
26923         [UNIX98] (pthread_barrier_destroy): Likewise.
26924         [UNIX98] (pthread_barrier_init): Likewise.
26925         [UNIX98] (pthread_barrier_wait): Likewise.
26926         [UNIX98] (pthread_barrierattr_destroy): Likewise.
26927         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26928         [UNIX98] (pthread_barrierattr_init): Likewise.
26929         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26930         [UNIX98] (pthread_getcpuclockid): Likewise.
26931         [UNIX98] (pthread_mutex_timedlock): Likewise.
26932         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26933         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26934         [UNIX98] (pthread_sigmask): Likewise.
26935         [UNIX98] (pthread_spin_destroy): Likewise.
26936         [UNIX98] (pthread_spin_init): Likewise.
26937         [UNIX98] (pthread_spin_lock): Likewise.
26938         [UNIX98] (pthread_spin_trylock): Likewise.
26939         [UNIX98] (pthread_spin_unlock): Likewise.
26940         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26941         Do not expect.
26942         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26943         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26944         [XPG3 || XPG4] (pthread_cond_t): Likewise.
26945         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26946         [XPG3 || XPG4] (pthread_key_t): Likewise.
26947         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26948         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26949         [XPG3 || XPG4] (pthread_once_t): Likewise.
26950         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26951         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26952         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26953         [XPG3 || XPG4] (pthread_t): Likewise.
26954
26955         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26956         not expect.
26957         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26958
26959         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26960         Change function return type to int.
26961
26962         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26963         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26964         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26965         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26966         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26967         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26968         [!POSIX] (posix_madvise): Likewise.
26969         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26970         && !UNIX98].
26971         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26972         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26973         (mode_t): Likewise.
26974         (posix_mem_offset): Likewise.
26975         (posix_typed_mem_get_info): Likewise.
26976         (posix_typed_mem_open): Likewise.
26977
26978         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26979         Change condition to [XOPEN2K8].
26980
26981         * conform/conformtest.pl: Preprocess allow-header data with -x c
26982         instead of from stdin.
26983         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26984         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26985         [C99-based standards] (cerfc): Likewise.
26986         [C99-based standards] (cexp2): Likewise.
26987         [C99-based standards] (cexpm1): Likewise.
26988         [C99-based standards] (clog10): Likewise.
26989         [C99-based standards] (clog1p): Likewise.
26990         [C99-based standards] (clog2): Likewise.
26991         [C99-based standards] (clgamma): Likewise.
26992         [C99-based standards] (ctgamma): Likewise.
26993         [C99-based standards] (cerff): Likewise.
26994         [C99-based standards] (cerfcf): Likewise.
26995         [C99-based standards] (cexp2f): Likewise.
26996         [C99-based standards] (cexpm1f): Likewise.
26997         [C99-based standards] (clog10f): Likewise.
26998         [C99-based standards] (clog1pf): Likewise.
26999         [C99-based standards] (clog2f): Likewise.
27000         [C99-based standards] (clgammaf): Likewise.
27001         [C99-based standards] (ctgammaf): Likewise.
27002         [C99-based standards] (cerfl): Likewise.
27003         [C99-based standards] (cerfcl): Likewise.
27004         [C99-based standards] (cexp2l): Likewise.
27005         [C99-based standards] (cexpm1l): Likewise.
27006         [C99-based standards] (clog10l): Likewise.
27007         [C99-based standards] (clog1pl): Likewise.
27008         [C99-based standards] (clog2l): Likewise.
27009         [C99-based standards] (clgammal): Likewise.
27010         [C99-based standards] (ctgammal): Likewise.
27011         * conform/data/inttypes.h-data [C99-based standards]: Include
27012         stdint.h-data.  Remove all expectations for stdint.h contents.
27013         [C99-based standards] (PRI*): Do not allow.
27014         [C99-based standards] (SCN*): Likewise.
27015         [C99-based standards] (*_t): Likewise.
27016         [C99-based-standards] (PRId8): Expect macro.
27017         [C99-based-standards] (PRIi8): Likewise.
27018         [C99-based-standards] (PRIo8): Likewise.
27019         [C99-based-standards] (PRIu8): Likewise.
27020         [C99-based-standards] (PRIx8): Likewise.
27021         [C99-based-standards] (PRIX8): Likewise.
27022         [C99-based-standards] (SCNd8): Likewise.
27023         [C99-based-standards] (SCNi8): Likewise.
27024         [C99-based-standards] (SCNo8): Likewise.
27025         [C99-based-standards] (SCNu8): Likewise.
27026         [C99-based-standards] (SCNx8): Likewise.
27027         [C99-based-standards] (PRIdLEAST8): Likewise.
27028         [C99-based-standards] (PRIiLEAST8): Likewise.
27029         [C99-based-standards] (PRIoLEAST8): Likewise.
27030         [C99-based-standards] (PRIuLEAST8): Likewise.
27031         [C99-based-standards] (PRIxLEAST8): Likewise.
27032         [C99-based-standards] (PRIXLEAST8): Likewise.
27033         [C99-based-standards] (SCNdLEAST8): Likewise.
27034         [C99-based-standards] (SCNiLEAST8): Likewise.
27035         [C99-based-standards] (SCNoLEAST8): Likewise.
27036         [C99-based-standards] (SCNuLEAST8): Likewise.
27037         [C99-based-standards] (SCNxLEAST8): Likewise.
27038         [C99-based-standards] (PRIdFAST8): Likewise.
27039         [C99-based-standards] (PRIiFAST8): Likewise.
27040         [C99-based-standards] (PRIoFAST8): Likewise.
27041         [C99-based-standards] (PRIuFAST8): Likewise.
27042         [C99-based-standards] (PRIxFAST8): Likewise.
27043         [C99-based-standards] (PRIXFAST8): Likewise.
27044         [C99-based-standards] (SCNdFAST8): Likewise.
27045         [C99-based-standards] (SCNiFAST8): Likewise.
27046         [C99-based-standards] (SCNoFAST8): Likewise.
27047         [C99-based-standards] (SCNuFAST8): Likewise.
27048         [C99-based-standards] (SCNxFAST8): Likewise.
27049         [C99-based-standards] (PRId16): Likewise.
27050         [C99-based-standards] (PRIi16): Likewise.
27051         [C99-based-standards] (PRIo16): Likewise.
27052         [C99-based-standards] (PRIu16): Likewise.
27053         [C99-based-standards] (PRIx16): Likewise.
27054         [C99-based-standards] (PRIX16): Likewise.
27055         [C99-based-standards] (SCNd16): Likewise.
27056         [C99-based-standards] (SCNi16): Likewise.
27057         [C99-based-standards] (SCNo16): Likewise.
27058         [C99-based-standards] (SCNu16): Likewise.
27059         [C99-based-standards] (SCNx16): Likewise.
27060         [C99-based-standards] (PRIdLEAST16): Likewise.
27061         [C99-based-standards] (PRIiLEAST16): Likewise.
27062         [C99-based-standards] (PRIoLEAST16): Likewise.
27063         [C99-based-standards] (PRIuLEAST16): Likewise.
27064         [C99-based-standards] (PRIxLEAST16): Likewise.
27065         [C99-based-standards] (PRIXLEAST16): Likewise.
27066         [C99-based-standards] (SCNdLEAST16): Likewise.
27067         [C99-based-standards] (SCNiLEAST16): Likewise.
27068         [C99-based-standards] (SCNoLEAST16): Likewise.
27069         [C99-based-standards] (SCNuLEAST16): Likewise.
27070         [C99-based-standards] (SCNxLEAST16): Likewise.
27071         [C99-based-standards] (PRIdFAST16): Likewise.
27072         [C99-based-standards] (PRIiFAST16): Likewise.
27073         [C99-based-standards] (PRIoFAST16): Likewise.
27074         [C99-based-standards] (PRIuFAST16): Likewise.
27075         [C99-based-standards] (PRIxFAST16): Likewise.
27076         [C99-based-standards] (PRIXFAST16): Likewise.
27077         [C99-based-standards] (SCNdFAST16): Likewise.
27078         [C99-based-standards] (SCNiFAST16): Likewise.
27079         [C99-based-standards] (SCNoFAST16): Likewise.
27080         [C99-based-standards] (SCNuFAST16): Likewise.
27081         [C99-based-standards] (SCNxFAST16): Likewise.
27082         [C99-based-standards] (PRId32): Likewise.
27083         [C99-based-standards] (PRIi32): Likewise.
27084         [C99-based-standards] (PRIo32): Likewise.
27085         [C99-based-standards] (PRIu32): Likewise.
27086         [C99-based-standards] (PRIx32): Likewise.
27087         [C99-based-standards] (PRIX32): Likewise.
27088         [C99-based-standards] (SCNd32): Likewise.
27089         [C99-based-standards] (SCNi32): Likewise.
27090         [C99-based-standards] (SCNo32): Likewise.
27091         [C99-based-standards] (SCNu32): Likewise.
27092         [C99-based-standards] (SCNx32): Likewise.
27093         [C99-based-standards] (PRIdLEAST32): Likewise.
27094         [C99-based-standards] (PRIiLEAST32): Likewise.
27095         [C99-based-standards] (PRIoLEAST32): Likewise.
27096         [C99-based-standards] (PRIuLEAST32): Likewise.
27097         [C99-based-standards] (PRIxLEAST32): Likewise.
27098         [C99-based-standards] (PRIXLEAST32): Likewise.
27099         [C99-based-standards] (SCNdLEAST32): Likewise.
27100         [C99-based-standards] (SCNiLEAST32): Likewise.
27101         [C99-based-standards] (SCNoLEAST32): Likewise.
27102         [C99-based-standards] (SCNuLEAST32): Likewise.
27103         [C99-based-standards] (SCNxLEAST32): Likewise.
27104         [C99-based-standards] (PRIdFAST32): Likewise.
27105         [C99-based-standards] (PRIiFAST32): Likewise.
27106         [C99-based-standards] (PRIoFAST32): Likewise.
27107         [C99-based-standards] (PRIuFAST32): Likewise.
27108         [C99-based-standards] (PRIxFAST32): Likewise.
27109         [C99-based-standards] (PRIXFAST32): Likewise.
27110         [C99-based-standards] (SCNdFAST32): Likewise.
27111         [C99-based-standards] (SCNiFAST32): Likewise.
27112         [C99-based-standards] (SCNoFAST32): Likewise.
27113         [C99-based-standards] (SCNuFAST32): Likewise.
27114         [C99-based-standards] (SCNxFAST32): Likewise.
27115         [C99-based-standards] (PRId64): Likewise.
27116         [C99-based-standards] (PRIi64): Likewise.
27117         [C99-based-standards] (PRIo64): Likewise.
27118         [C99-based-standards] (PRIu64): Likewise.
27119         [C99-based-standards] (PRIx64): Likewise.
27120         [C99-based-standards] (PRIX64): Likewise.
27121         [C99-based-standards] (SCNd64): Likewise.
27122         [C99-based-standards] (SCNi64): Likewise.
27123         [C99-based-standards] (SCNo64): Likewise.
27124         [C99-based-standards] (SCNu64): Likewise.
27125         [C99-based-standards] (SCNx64): Likewise.
27126         [C99-based-standards] (PRIdLEAST64): Likewise.
27127         [C99-based-standards] (PRIiLEAST64): Likewise.
27128         [C99-based-standards] (PRIoLEAST64): Likewise.
27129         [C99-based-standards] (PRIuLEAST64): Likewise.
27130         [C99-based-standards] (PRIxLEAST64): Likewise.
27131         [C99-based-standards] (PRIXLEAST64): Likewise.
27132         [C99-based-standards] (SCNdLEAST64): Likewise.
27133         [C99-based-standards] (SCNiLEAST64): Likewise.
27134         [C99-based-standards] (SCNoLEAST64): Likewise.
27135         [C99-based-standards] (SCNuLEAST64): Likewise.
27136         [C99-based-standards] (SCNxLEAST64): Likewise.
27137         [C99-based-standards] (PRIdFAST64): Likewise.
27138         [C99-based-standards] (PRIiFAST64): Likewise.
27139         [C99-based-standards] (PRIoFAST64): Likewise.
27140         [C99-based-standards] (PRIuFAST64): Likewise.
27141         [C99-based-standards] (PRIxFAST64): Likewise.
27142         [C99-based-standards] (PRIXFAST64): Likewise.
27143         [C99-based-standards] (SCNdFAST64): Likewise.
27144         [C99-based-standards] (SCNiFAST64): Likewise.
27145         [C99-based-standards] (SCNoFAST64): Likewise.
27146         [C99-based-standards] (SCNuFAST64): Likewise.
27147         [C99-based-standards] (SCNxFAST64): Likewise.
27148         [C99-based-standards] (PRIdMAX): Likewise.
27149         [C99-based-standards] (PRIiMAX): Likewise.
27150         [C99-based-standards] (PRIoMAX): Likewise.
27151         [C99-based-standards] (PRIuMAX): Likewise.
27152         [C99-based-standards] (PRIxMAX): Likewise.
27153         [C99-based-standards] (PRIXMAX): Likewise.
27154         [C99-based-standards] (SCNdMAX): Likewise.
27155         [C99-based-standards] (SCNiMAX): Likewise.
27156         [C99-based-standards] (SCNoMAX): Likewise.
27157         [C99-based-standards] (SCNuMAX): Likewise.
27158         [C99-based-standards] (SCNxMAX): Likewise.
27159         [C99-based-standards] (PRIdPTR): Likewise.
27160         [C99-based-standards] (PRIiPTR): Likewise.
27161         [C99-based-standards] (PRIoPTR): Likewise.
27162         [C99-based-standards] (PRIuPTR): Likewise.
27163         [C99-based-standards] (PRIxPTR): Likewise.
27164         [C99-based-standards] (PRIXPTR): Likewise.
27165         [C99-based-standards] (SCNdPTR): Likewise.
27166         [C99-based-standards] (SCNiPTR): Likewise.
27167         [C99-based-standards] (SCNoPTR): Likewise.
27168         [C99-based-standards] (SCNuPTR): Likewise.
27169         [C99-based-standards] (SCNxPTR): Likewise.
27170         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27171         allow.
27172         * conform/data/stdint.h-data: Update comments to clarify
27173         requirements.
27174         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
27175         type.
27176         [C99-based standards] (INT8_MAX): Likewise.
27177         [C99-based standards] (INT16_MIN): Likewise.
27178         [C99-based standards] (INT16_MAX): Likewise.
27179         [C99-based standards] (INT32_MIN): Likewise.
27180         [C99-based standards] (INT32_MAX): Likewise.
27181         [C99-based standards] (INT64_MIN): Likewise.
27182         [C99-based standards] (INT64_MAX): Likewise.
27183         [C99-based standards] (UINT8_MAX): Likewise.
27184         [C99-based standards] (UINT16_MAX): Likewise.
27185         [C99-based standards] (UINT32_MAX): Likewise.
27186         [C99-based standards] (UINT64_MAX): Likewise.
27187         [C99-based standards] (INT_LEAST8_MIN): Likewise.
27188         [C99-based standards] (INT_LEAST8_MAX): Likewise.
27189         [C99-based standards] (INT_LEAST16_MIN): Likewise.
27190         [C99-based standards] (INT_LEAST16_MAX): Likewise.
27191         [C99-based standards] (INT_LEAST32_MIN): Likewise.
27192         [C99-based standards] (INT_LEAST32_MAX): Likewise.
27193         [C99-based standards] (INT_LEAST64_MIN): Likewise.
27194         [C99-based standards] (INT_LEAST64_MAX): Likewise.
27195         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27196         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27197         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27198         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27199         [C99-based standards] (INT_FAST8_MIN): Likewise.
27200         [C99-based standards] (INT_FAST8_MAX): Likewise.
27201         [C99-based standards] (INT_FAST16_MIN): Likewise.
27202         [C99-based standards] (INT_FAST16_MAX): Likewise.
27203         [C99-based standards] (INT_FAST32_MIN): Likewise.
27204         [C99-based standards] (INT_FAST32_MAX): Likewise.
27205         [C99-based standards] (INT_FAST64_MIN): Likewise.
27206         [C99-based standards] (INT_FAST64_MAX): Likewise.
27207         [C99-based standards] (UINT_FAST8_MAX): Likewise.
27208         [C99-based standards] (UINT_FAST16_MAX): Likewise.
27209         [C99-based standards] (UINT_FAST32_MAX): Likewise.
27210         [C99-based standards] (UINT_FAST64_MAX): Likewise.
27211         [C99-based standards] (INTPTR_MIN): Likewise.
27212         [C99-based standards] (INTPTR_MAX): Likewise.
27213         [C99-based standards] (UINTPTR_MAX): Likewise.
27214         [C99-based standards] (INTMAX_MIN): Likewise.
27215         [C99-based standards] (INTMAX_MAX): Likewise.
27216         [C99-based standards] (UINTMAX_MAX): Likewise.
27217         [C99-based standards] (PTRDIFF_MIN): Likewise.
27218         [C99-based standards] (PTRDIFF_MAX): Likewise.
27219         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27220         [C99-based standards] (SIZE_MAX): Likewise.
27221         [C99-based standards] (WCHAR_MAX): Likewise.
27222         [C99-based standards] (WINT_MAX): Likewise.
27223         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
27224         constraint on value.
27225         [C99-based standards] (WCHAR_MIN): Likewise.
27226         [C99-based standards] (WINT_MIN): Likewise.
27227         [C99-based standards] (*_t): Allow.
27228         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27229         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27230         Include math.h-data and complex.h-data.  Remove all expectations
27231         of math.h and complex.h contents.
27232         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27233         at end of line.
27234         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27235         (struct tm): Expect tag.
27236         [C99-based-standards] (wcstof): Expect function.
27237         [C99-based-standards] (wcstold): Likewise.
27238         [C99-based-standards] (wcstoll): Likewise.
27239         [C99-based-standards] (wcstoull): Likewise.
27240         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27241         macro-int-constant.  Specify type.
27242         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
27243         constraint on value.
27244         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27245         Specify type.
27246         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27247         Specify value.
27248         [ISO C standards]: Do not allow headers.
27249         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27250         wcs[abcdefghijklmnopqrstuvwxyz]*.
27251         [ISO C standards] (*_t): Do not allow.
27252         * conform/data/wctype.h-data [C99-based standards] (iswblank):
27253         Expect function.
27254         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27255         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27256         Specify type.
27257         [ISO C standards]: Do not allow headers.
27258         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27259         is[abcdefghijklmnopqrstuvwxyz]*.
27260         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27261         to[abcdefghijklmnopqrstuvwxyz]*.
27262         [ISO C standards] (*_t): Do not allow.
27263         * conform/data/stdalign.h-data: New file.
27264         * conform/data/stdbool.h-data: Likewise.
27265         * conform/data/stdnoreturn.h-data: Likewise.
27266
27267 2012-11-07  Roland McGrath  <roland@hack.frob.com>
27268
27269         [BZ #14815]
27270         * manual/filesys.texi (Directory Entries): Typo fix.
27271         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27272
27273 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27274
27275         * elf/elf.h (EM_AARCH64): New macro.
27276         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27277         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27278         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27279         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27280         (R_AARCH64_TLSDESC): Likewise.
27281         (NT_ARM_TLS): Likewise.
27282         (NT_ARM_HW_BREAK): Likewise.
27283         (NT_ARM_HW_WATCH): Likewise.
27284
27285 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27286
27287         [BZ #14811]
27288         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27289         (__ieee754_powl): Saturate nonzero exponents with absolute value
27290         below 0x1p-79 to +/- 0x1p-79.
27291         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27292         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27293         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27294         nonzero exponents with absolute value below 0x1p-32 to +/-
27295         0x1p-32.
27296         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27297         (__ieee754_powl): Saturate nonzero exponents with absolute value
27298         below 0x1p-79 to +/- 0x1p-79.
27299         * math/libm-test.inc (pow_test): Add more tests.
27300
27301 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27302
27303         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27304         _dl_s390_cap_flags with kernel. Increase string length.
27305         (_dl_s390_platforms): Add z196 and zEC12.
27306
27307 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27308
27309         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27310         Change XOPEN21K to XOPEN2K.
27311
27312 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
27313
27314         * string/memmove.c: Use memcpy when possible.
27315
27316 2012-11-06  Andreas Jaeger  <aj@suse.de>
27317
27318         * po/eo.po: Update from translation team.
27319
27320 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
27321
27322         [BZ #14793]
27323         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27324         exponent and small x and y exponents, scale x or y up.  Increase
27325         by 2 the exponent used in scaling up.
27326         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27327         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27328         * math/libm-test.inc (fma_test): Add more tests.
27329         (fma_test_towardzero): Likewise.
27330         (fma_test_downward): Likewise.
27331         (fma_test_upward): Likewise.
27332
27333 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
27334
27335         [BZ #14805]
27336         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27337         fenv_t *.
27338
27339         [BZ #14801]
27340         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27341         namespace for names of struct fields.
27342         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27343         fenv_t fields.
27344         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27345         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27346
27347 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27348
27349         [BZ #3665]
27350         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27351
27352 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27353
27354         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27355         PTR_DEMANGLE.
27356
27357         [BZ #5246]
27358         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27359         PTR_DEMANGLE.
27360
27361 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
27362
27363         [BZ #14797]
27364         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27365         definitely overflow as x * y not x * y + z.
27366         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27367         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27368         * math/libm-test.inc (fma_test): Add more tests.
27369         (fma_test_towardzero): Likewise.
27370         (fma_test_downward): Likewise.
27371         (fma_test_upward): Likewise.
27372
27373 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27374
27375         [BZ #157]
27376
27377         * include/stub-tag.h: Remove file.
27378         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27379         '#include' of it.
27380         * manual/maint.texi (Porting): Don't reference it.
27381         * Makerules ($(objpfx)stubs): Likewise.
27382         * dirent/closedir.c: Don't include <stub-tag.h>.
27383         * dirent/dirfd.c: Likewise.
27384         * dirent/fdopendir.c: Likewise.
27385         * dirent/getdents.c: Likewise.
27386         * dirent/getdents64.c: Likewise.
27387         * dirent/opendir.c: Likewise.
27388         * dirent/readdir.c: Likewise.
27389         * dirent/readdir64.c: Likewise.
27390         * dirent/readdir64_r.c: Likewise.
27391         * dirent/readdir_r.c: Likewise.
27392         * dirent/rewinddir.c: Likewise.
27393         * dirent/seekdir.c: Likewise.
27394         * dirent/telldir.c: Likewise.
27395         * gmon/profil.c: Likewise.
27396         * grp/setgroups.c: Likewise.
27397         * inet/if_index.c: Likewise.
27398         * io/access.c: Likewise.
27399         * io/chdir.c: Likewise.
27400         * io/chmod.c: Likewise.
27401         * io/chown.c: Likewise.
27402         * io/close.c: Likewise.
27403         * io/dup.c: Likewise.
27404         * io/dup2.c: Likewise.
27405         * io/dup3.c: Likewise.
27406         * io/euidaccess.c: Likewise.
27407         * io/faccessat.c: Likewise.
27408         * io/fchdir.c: Likewise.
27409         * io/fchmod.c: Likewise.
27410         * io/fchmodat.c: Likewise.
27411         * io/fchown.c: Likewise.
27412         * io/fchownat.c: Likewise.
27413         * io/fcntl.c: Likewise.
27414         * io/flock.c: Likewise.
27415         * io/fstatfs.c: Likewise.
27416         * io/fstatfs64.c: Likewise.
27417         * io/fstatvfs.c: Likewise.
27418         * io/fstatvfs64.c: Likewise.
27419         * io/futimens.c: Likewise.
27420         * io/fxstat.c: Likewise.
27421         * io/fxstat64.c: Likewise.
27422         * io/fxstatat.c: Likewise.
27423         * io/fxstatat64.c: Likewise.
27424         * io/getcwd.c: Likewise.
27425         * io/isatty.c: Likewise.
27426         * io/lchmod.c: Likewise.
27427         * io/lchown.c: Likewise.
27428         * io/link.c: Likewise.
27429         * io/linkat.c: Likewise.
27430         * io/lseek.c: Likewise.
27431         * io/lseek64.c: Likewise.
27432         * io/lxstat64.c: Likewise.
27433         * io/mkdir.c: Likewise.
27434         * io/mkdirat.c: Likewise.
27435         * io/mkfifo.c: Likewise.
27436         * io/mkfifoat.c: Likewise.
27437         * io/open.c: Likewise.
27438         * io/open64.c: Likewise.
27439         * io/openat.c: Likewise.
27440         * io/openat64.c: Likewise.
27441         * io/pipe.c: Likewise.
27442         * io/pipe2.c: Likewise.
27443         * io/poll.c: Likewise.
27444         * io/posix_fadvise.c: Likewise.
27445         * io/posix_fadvise64.c: Likewise.
27446         * io/posix_fallocate.c: Likewise.
27447         * io/posix_fallocate64.c: Likewise.
27448         * io/read.c: Likewise.
27449         * io/readlink.c: Likewise.
27450         * io/readlinkat.c: Likewise.
27451         * io/rmdir.c: Likewise.
27452         * io/sendfile.c: Likewise.
27453         * io/sendfile64.c: Likewise.
27454         * io/statfs.c: Likewise.
27455         * io/statfs64.c: Likewise.
27456         * io/statvfs.c: Likewise.
27457         * io/statvfs64.c: Likewise.
27458         * io/symlink.c: Likewise.
27459         * io/symlinkat.c: Likewise.
27460         * io/ttyname.c: Likewise.
27461         * io/ttyname_r.c: Likewise.
27462         * io/umask.c: Likewise.
27463         * io/unlink.c: Likewise.
27464         * io/unlinkat.c: Likewise.
27465         * io/utime.c: Likewise.
27466         * io/utimensat.c: Likewise.
27467         * io/write.c: Likewise.
27468         * io/xmknod.c: Likewise.
27469         * io/xmknodat.c: Likewise.
27470         * io/xstat.c: Likewise.
27471         * io/xstat64.c: Likewise.
27472         * login/getpt.c: Likewise.
27473         * login/grantpt.c: Likewise.
27474         * login/unlockpt.c: Likewise.
27475         * math/e_acoshl.c: Likewise.
27476         * math/e_acosl.c: Likewise.
27477         * math/e_asinl.c: Likewise.
27478         * math/e_atan2l.c: Likewise.
27479         * math/e_atanhl.c: Likewise.
27480         * math/e_coshl.c: Likewise.
27481         * math/e_expl.c: Likewise.
27482         * math/e_fmodl.c: Likewise.
27483         * math/e_gammal_r.c: Likewise.
27484         * math/e_hypotl.c: Likewise.
27485         * math/e_j0l.c: Likewise.
27486         * math/e_j1l.c: Likewise.
27487         * math/e_jnl.c: Likewise.
27488         * math/e_lgammal_r.c: Likewise.
27489         * math/e_log10l.c: Likewise.
27490         * math/e_log2l.c: Likewise.
27491         * math/e_logl.c: Likewise.
27492         * math/e_powl.c: Likewise.
27493         * math/e_rem_pio2l.c: Likewise.
27494         * math/e_sinhl.c: Likewise.
27495         * math/e_sqrtl.c: Likewise.
27496         * math/fclrexcpt.c: Likewise.
27497         * math/fedisblxcpt.c: Likewise.
27498         * math/feenablxcpt.c: Likewise.
27499         * math/fegetenv.c: Likewise.
27500         * math/fegetexcept.c: Likewise.
27501         * math/fegetround.c: Likewise.
27502         * math/feholdexcpt.c: Likewise.
27503         * math/fesetenv.c: Likewise.
27504         * math/fesetround.c: Likewise.
27505         * math/feupdateenv.c: Likewise.
27506         * math/fgetexcptflg.c: Likewise.
27507         * math/fraiseexcpt.c: Likewise.
27508         * math/fsetexcptflg.c: Likewise.
27509         * math/ftestexcept.c: Likewise.
27510         * math/k_cosl.c: Likewise.
27511         * math/k_rem_pio2l.c: Likewise.
27512         * math/k_sinl.c: Likewise.
27513         * math/k_tanl.c: Likewise.
27514         * math/s_asinhl.c: Likewise.
27515         * math/s_atanl.c: Likewise.
27516         * math/s_cbrtl.c: Likewise.
27517         * math/s_erfl.c: Likewise.
27518         * math/s_expm1l.c: Likewise.
27519         * math/s_log1pl.c: Likewise.
27520         * math/s_tanhl.c: Likewise.
27521         * misc/acct.c: Likewise.
27522         * misc/brk.c: Likewise.
27523         * misc/chflags.c: Likewise.
27524         * misc/chroot.c: Likewise.
27525         * misc/fchflags.c: Likewise.
27526         * misc/fgetxattr.c: Likewise.
27527         * misc/flistxattr.c: Likewise.
27528         * misc/fremovexattr.c: Likewise.
27529         * misc/fsetxattr.c: Likewise.
27530         * misc/fsync.c: Likewise.
27531         * misc/ftruncate.c: Likewise.
27532         * misc/futimes.c: Likewise.
27533         * misc/futimesat.c: Likewise.
27534         * misc/getdomain.c: Likewise.
27535         * misc/getdtsz.c: Likewise.
27536         * misc/gethostid.c: Likewise.
27537         * misc/gethostname.c: Likewise.
27538         * misc/getloadavg.c: Likewise.
27539         * misc/getpagesize.c: Likewise.
27540         * misc/getsysstats.c: Likewise.
27541         * misc/getxattr.c: Likewise.
27542         * misc/gtty.c: Likewise.
27543         * misc/ioctl.c: Likewise.
27544         * misc/lgetxattr.c: Likewise.
27545         * misc/listxattr.c: Likewise.
27546         * misc/llistxattr.c: Likewise.
27547         * misc/lremovexattr.c: Likewise.
27548         * misc/lsetxattr.c: Likewise.
27549         * misc/lutimes.c: Likewise.
27550         * misc/madvise.c: Likewise.
27551         * misc/mincore.c: Likewise.
27552         * misc/mlock.c: Likewise.
27553         * misc/mlockall.c: Likewise.
27554         * misc/mmap.c: Likewise.
27555         * misc/mprotect.c: Likewise.
27556         * misc/msync.c: Likewise.
27557         * misc/munlock.c: Likewise.
27558         * misc/munlockall.c: Likewise.
27559         * misc/munmap.c: Likewise.
27560         * misc/preadv.c: Likewise.
27561         * misc/preadv64.c: Likewise.
27562         * misc/ptrace.c: Likewise.
27563         * misc/pwritev.c: Likewise.
27564         * misc/pwritev64.c: Likewise.
27565         * misc/readv.c: Likewise.
27566         * misc/reboot.c: Likewise.
27567         * misc/remap_file_pages.c: Likewise.
27568         * misc/removexattr.c: Likewise.
27569         * misc/revoke.c: Likewise.
27570         * misc/select.c: Likewise.
27571         * misc/setdomain.c: Likewise.
27572         * misc/setegid.c: Likewise.
27573         * misc/seteuid.c: Likewise.
27574         * misc/sethostid.c: Likewise.
27575         * misc/sethostname.c: Likewise.
27576         * misc/setregid.c: Likewise.
27577         * misc/setreuid.c: Likewise.
27578         * misc/setxattr.c: Likewise.
27579         * misc/sstk.c: Likewise.
27580         * misc/stty.c: Likewise.
27581         * misc/swapoff.c: Likewise.
27582         * misc/swapon.c: Likewise.
27583         * misc/sync.c: Likewise.
27584         * misc/syncfs.c: Likewise.
27585         * misc/syscall.c: Likewise.
27586         * misc/truncate.c: Likewise.
27587         * misc/ualarm.c: Likewise.
27588         * misc/usleep.c: Likewise.
27589         * misc/ustat.c: Likewise.
27590         * misc/utimes.c: Likewise.
27591         * misc/vhangup.c: Likewise.
27592         * misc/writev.c: Likewise.
27593         * posix/_exit.c: Likewise.
27594         * posix/alarm.c: Likewise.
27595         * posix/execve.c: Likewise.
27596         * posix/fexecve.c: Likewise.
27597         * posix/fork.c: Likewise.
27598         * posix/fpathconf.c: Likewise.
27599         * posix/getaddrinfo.c: Likewise.
27600         * posix/getegid.c: Likewise.
27601         * posix/geteuid.c: Likewise.
27602         * posix/getgid.c: Likewise.
27603         * posix/getgroups.c: Likewise.
27604         * posix/getlogin.c: Likewise.
27605         * posix/getlogin_r.c: Likewise.
27606         * posix/getpgid.c: Likewise.
27607         * posix/getpid.c: Likewise.
27608         * posix/getppid.c: Likewise.
27609         * posix/getresgid.c: Likewise.
27610         * posix/getresuid.c: Likewise.
27611         * posix/getsid.c: Likewise.
27612         * posix/getuid.c: Likewise.
27613         * posix/glob64.c: Likewise.
27614         * posix/nanosleep.c: Likewise.
27615         * posix/pathconf.c: Likewise.
27616         * posix/pause.c: Likewise.
27617         * posix/posix_madvise.c: Likewise.
27618         * posix/pread.c: Likewise.
27619         * posix/pread64.c: Likewise.
27620         * posix/pwrite.c: Likewise.
27621         * posix/pwrite64.c: Likewise.
27622         * posix/sched_getaffinity.c: Likewise.
27623         * posix/sched_getp.c: Likewise.
27624         * posix/sched_gets.c: Likewise.
27625         * posix/sched_primax.c: Likewise.
27626         * posix/sched_primin.c: Likewise.
27627         * posix/sched_rr_gi.c: Likewise.
27628         * posix/sched_setaffinity.c: Likewise.
27629         * posix/sched_setp.c: Likewise.
27630         * posix/sched_sets.c: Likewise.
27631         * posix/sched_yield.c: Likewise.
27632         * posix/setgid.c: Likewise.
27633         * posix/setlogin.c: Likewise.
27634         * posix/setpgid.c: Likewise.
27635         * posix/setresgid.c: Likewise.
27636         * posix/setresuid.c: Likewise.
27637         * posix/setsid.c: Likewise.
27638         * posix/setuid.c: Likewise.
27639         * posix/sleep.c: Likewise.
27640         * posix/spawni.c: Likewise.
27641         * posix/sysconf.c: Likewise.
27642         * posix/times.c: Likewise.
27643         * posix/wait.c: Likewise.
27644         * posix/wait3.c: Likewise.
27645         * posix/wait4.c: Likewise.
27646         * posix/waitpid.c: Likewise.
27647         * resolv/gai_sigqueue.c: Likewise.
27648         * resource/getpriority.c: Likewise.
27649         * resource/getrlimit.c: Likewise.
27650         * resource/getrusage.c: Likewise.
27651         * resource/nice.c: Likewise.
27652         * resource/setpriority.c: Likewise.
27653         * resource/setrlimit.c: Likewise.
27654         * resource/ulimit.c: Likewise.
27655         * rt/aio_cancel.c: Likewise.
27656         * rt/aio_fsync.c: Likewise.
27657         * rt/aio_read.c: Likewise.
27658         * rt/aio_sigqueue.c: Likewise.
27659         * rt/aio_suspend.c: Likewise.
27660         * rt/aio_write.c: Likewise.
27661         * rt/clock_getres.c: Likewise.
27662         * rt/clock_gettime.c: Likewise.
27663         * rt/clock_nanosleep.c: Likewise.
27664         * rt/clock_settime.c: Likewise.
27665         * rt/lio_listio.c: Likewise.
27666         * rt/mq_close.c: Likewise.
27667         * rt/mq_getattr.c: Likewise.
27668         * rt/mq_notify.c: Likewise.
27669         * rt/mq_open.c: Likewise.
27670         * rt/mq_receive.c: Likewise.
27671         * rt/mq_send.c: Likewise.
27672         * rt/mq_setattr.c: Likewise.
27673         * rt/mq_timedreceive.c: Likewise.
27674         * rt/mq_timedsend.c: Likewise.
27675         * rt/mq_unlink.c: Likewise.
27676         * rt/shm_open.c: Likewise.
27677         * rt/shm_unlink.c: Likewise.
27678         * rt/timer_create.c: Likewise.
27679         * rt/timer_delete.c: Likewise.
27680         * rt/timer_getoverr.c: Likewise.
27681         * rt/timer_gettime.c: Likewise.
27682         * rt/timer_settime.c: Likewise.
27683         * setjmp/__longjmp.c: Likewise.
27684         * setjmp/setjmp.c: Likewise.
27685         * signal/kill.c: Likewise.
27686         * signal/killpg.c: Likewise.
27687         * signal/raise.c: Likewise.
27688         * signal/sigaction.c: Likewise.
27689         * signal/sigaltstack.c: Likewise.
27690         * signal/sigblock.c: Likewise.
27691         * signal/sigignore.c: Likewise.
27692         * signal/sigintr.c: Likewise.
27693         * signal/signal.c: Likewise.
27694         * signal/sigpause.c: Likewise.
27695         * signal/sigpending.c: Likewise.
27696         * signal/sigqueue.c: Likewise.
27697         * signal/sigreturn.c: Likewise.
27698         * signal/sigset.c: Likewise.
27699         * signal/sigsetmask.c: Likewise.
27700         * signal/sigstack.c: Likewise.
27701         * signal/sigsuspend.c: Likewise.
27702         * signal/sigtimedwait.c: Likewise.
27703         * signal/sigvec.c: Likewise.
27704         * signal/sigwait.c: Likewise.
27705         * signal/sigwaitinfo.c: Likewise.
27706         * signal/sysv_signal.c: Likewise.
27707         * socket/accept.c: Likewise.
27708         * socket/accept4.c: Likewise.
27709         * socket/bind.c: Likewise.
27710         * socket/connect.c: Likewise.
27711         * socket/getpeername.c: Likewise.
27712         * socket/getsockname.c: Likewise.
27713         * socket/getsockopt.c: Likewise.
27714         * socket/isfdtype.c: Likewise.
27715         * socket/listen.c: Likewise.
27716         * socket/recv.c: Likewise.
27717         * socket/recvfrom.c: Likewise.
27718         * socket/recvmsg.c: Likewise.
27719         * socket/send.c: Likewise.
27720         * socket/sendmsg.c: Likewise.
27721         * socket/sendto.c: Likewise.
27722         * socket/setsockopt.c: Likewise.
27723         * socket/shutdown.c: Likewise.
27724         * socket/sockatmark.c: Likewise.
27725         * socket/socket.c: Likewise.
27726         * socket/socketpair.c: Likewise.
27727         * stdio-common/ctermid.c: Likewise.
27728         * stdio-common/cuserid.c: Likewise.
27729         * stdio-common/remove.c: Likewise.
27730         * stdio-common/rename.c: Likewise.
27731         * stdio-common/renameat.c: Likewise.
27732         * stdio-common/tempname.c: Likewise.
27733         * stdlib/getcontext.c: Likewise.
27734         * stdlib/makecontext.c: Likewise.
27735         * stdlib/setcontext.c: Likewise.
27736         * stdlib/swapcontext.c: Likewise.
27737         * stdlib/system.c: Likewise.
27738         * streams/fattach.c: Likewise.
27739         * streams/fdetach.c: Likewise.
27740         * streams/getmsg.c: Likewise.
27741         * streams/getpmsg.c: Likewise.
27742         * streams/putmsg.c: Likewise.
27743         * streams/putpmsg.c: Likewise.
27744         * sysdeps/unix/bsd/getpt.c: Likewise.
27745         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27746         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27747         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27749         Likewise.
27750         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27751         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27752         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27753         * sysvipc/msgctl.c: Likewise.
27754         * sysvipc/msgget.c: Likewise.
27755         * sysvipc/msgrcv.c: Likewise.
27756         * sysvipc/msgsnd.c: Likewise.
27757         * sysvipc/semctl.c: Likewise.
27758         * sysvipc/semget.c: Likewise.
27759         * sysvipc/semop.c: Likewise.
27760         * sysvipc/semtimedop.c: Likewise.
27761         * sysvipc/shmat.c: Likewise.
27762         * sysvipc/shmctl.c: Likewise.
27763         * sysvipc/shmdt.c: Likewise.
27764         * sysvipc/shmget.c: Likewise.
27765         * termios/tcdrain.c: Likewise.
27766         * termios/tcflow.c: Likewise.
27767         * termios/tcflush.c: Likewise.
27768         * termios/tcgetattr.c: Likewise.
27769         * termios/tcgetpgrp.c: Likewise.
27770         * termios/tcsendbrk.c: Likewise.
27771         * termios/tcsetattr.c: Likewise.
27772         * termios/tcsetpgrp.c: Likewise.
27773         * time/adjtime.c: Likewise.
27774         * time/clock.c: Likewise.
27775         * time/getitimer.c: Likewise.
27776         * time/gettimeofday.c: Likewise.
27777         * time/setitimer.c: Likewise.
27778         * time/settimeofday.c: Likewise.
27779         * time/stime.c: Likewise.
27780         * time/time.c: Likewise.
27781
27782 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
27783
27784         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27785         /usr/old/bin.
27786
27787         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27788         instead of spaces.
27789         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27790
27791 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
27792
27793         [BZ #14796]
27794         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27795         FE_TONEAREST before applying Dekker multiplication and Knuth
27796         addition.  Clear inexact exceptions and check for exact zero
27797         results afterwards.
27798         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27799         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27800         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27801         * math/libm-test.inc (fma_test): Add more tests.
27802         (fma_test_towardzero): Likewise.
27803         (fma_test_downward): Likewise.
27804         (fma_test_upward): Likewise.
27805         * sysdeps/generic/math_private.h (default_libc_fesetround): New
27806         function.
27807         (libc_fesetround): New macro.
27808         (libc_fesetroundf): Likewise.
27809         (libc_fesetroundl): Likewise.
27810         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27811         function.
27812         (libc_fesetround_387): Likewise.
27813         (libc_fesetroundf): New macro.
27814         (libc_fesetround): Likewise.
27815         (libc_fesetroundl): Likewise.
27816         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27817         function.
27818         (libc_fesetroundf): New macro.
27819         (libc_fesetround): Likewise.
27820         (libc_fesetroundl): Likewise.
27821         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27822         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27823         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27824         libm_hidden_ver.
27825         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27826         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27827         libm_hidden_def.
27828         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27829         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27830         libm_hidden_ver.
27831         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27832         libm_hidden_def.
27833
27834         [BZ #3439]
27835         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27836         integer constant usable in #if and use that to give value to enum
27837         constant.
27838         (FE_DIVBYZERO): Likewise.
27839         (FE_UNDERFLOW): Likewise.
27840         (FE_OVERFLOW): Likewise.
27841         (FE_INVALID): Likewise.
27842         (FE_INVALID_SNAN): Likewise.
27843         (FE_INVALID_ISI): Likewise.
27844         (FE_INVALID_IDI): Likewise.
27845         (FE_INVALID_ZDZ): Likewise.
27846         (FE_INVALID_IMZ): Likewise.
27847         (FE_INVALID_COMPARE): Likewise.
27848         (FE_INVALID_SOFTWARE): Likewise.
27849         (FE_INVALID_SQRT): Likewise.
27850         (FE_INVALID_INTEGER_CONVERSION): Likewise.
27851         (FE_TONEAREST): Likewise.
27852         (FE_TOWARDZERO): Likewise.
27853         (FE_UPWARD): Likewise.
27854         (FE_DOWNWARD): Likewise.
27855         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27856         (FE_DIVBYZERO): Likewise.
27857         (FE_OVERFLOW): Likewise.
27858         (FE_UNDERFLOW): Likewise.
27859         (FE_INEXACT): Likewise.
27860         (FE_TONEAREST): Likewise.
27861         (FE_DOWNWARD): Likewise.
27862         (FE_UPWARD): Likewise.
27863         (FE_TOWARDZERO): Likewise.
27864         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27865         (FE_UNDERFLOW): Likewise.
27866         (FE_OVERFLOW): Likewise.
27867         (FE_DIVBYZERO): Likewise.
27868         (FE_INVALID): Likewise.
27869         (FE_TONEAREST): Likewise.
27870         (FE_TOWARDZERO): Likewise.
27871         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27872         (FE_OVERFLOW): Likewise.
27873         (FE_UNDERFLOW): Likewise.
27874         (FE_DIVBYZERO): Likewise.
27875         (FE_INEXACT): Likewise.
27876         (FE_TONEAREST): Likewise.
27877         (FE_TOWARDZERO): Likewise.
27878         (FE_UPWARD): Likewise.
27879         (FE_DOWNWARD): Likewise.
27880         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27881         (FE_DIVBYZERO): Likewise.
27882         (FE_OVERFLOW): Likewise.
27883         (FE_UNDERFLOW): Likewise.
27884         (FE_INEXACT): Likewise.
27885         (FE_TONEAREST): Likewise.
27886         (FE_DOWNWARD): Likewise.
27887         (FE_UPWARD): Likewise.
27888         (FE_TOWARDZERO): Likewise.
27889
27890 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
27891
27892         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27893
27894 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
27895
27896         * scripts/cross-test-ssh.sh (command): Use newlines to separate
27897         commands.  Quote $PWD.
27898         (blacklist_exports): Don't use remove_newlines.  Replace "declare
27899         -x" by "export".
27900         (remove_newlines): Remove.
27901
27902 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
27903
27904         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27905         * stdlib/stdlib.h (atof): Moved to ...
27906         * include/bits/stdlib-float.h: Here.  New file.
27907         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27908         * stdlib/bits/stdlib-float.h: New file.
27909         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27910         -mno-sse -mno-mmx.
27911         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27912         <xmmintrin.h>.
27913
27914 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27915
27916         * conform/conformtest.pl (@headers): Add fenv.h.
27917         * conform/data/fenv.h-data: New file.
27918         * include/fenv.h [_ISOMAC]: Disable all contents of file except
27919         include of <math/fenv.h>.
27920
27921         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27922         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27923         && !UNIX98].  Enables tests for XOPEN2K8.
27924         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27925         POSIX2008]: Likewise.
27926
27927         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27928         (struct rusage): Do not expect type or its members.
27929
27930         [BZ #3439]
27931         * math/math.h (FP_NAN): Define macro to integer constant usable in
27932         #if and use that to give value to enum constant.
27933         (FP_INFINITE): Likewise.
27934         (FP_ZERO): Likewise.
27935         (FP_SUBNORMAL): Likewise.
27936         (FP_NORMAL): Likewise.
27937
27938 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
27939
27940         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27941         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27942         arguments.
27943
27944 2012-11-02  Roland McGrath  <roland@hack.frob.com>
27945
27946         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27947         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27948         autoconf-time if not.
27949         * configure.in: Remove AC_PREREQ.
27950
27951 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27952
27953         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27954         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27955         of the internal implementation.
27956
27957 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27958
27959         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27960         except include of <misc/sys/syslog.h>.
27961
27962 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27963
27964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27965         function returns with a NULL context exit with zero.
27966
27967 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27968
27969         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27970
27971 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
27972
27973         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27974         (run_program_cmd): This.
27975         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27976         (tst_langinfo): New variable.  Use it.
27977
27978 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
27979
27980         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27981         floating point opcodes.
27982
27983 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27984
27985         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27986         variable.
27987
27988         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27989
27990         * sysdeps/mach/hurd/powerpc: Remove directory.
27991         * sysdeps/mach/powerpc: Likewise.
27992
27993 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27994
27995         * scripts/check-local-headers.sh: Ignore c++ headers.
27996
27997 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27998
27999         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28000         __libc_cleanup_region_start argument.
28001
28002 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
28003
28004         [BZ #14784]
28005         [BZ #14785]
28006         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28007         x * y using scaling, not as x * y + z.
28008         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28009         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28010         * math/libm-test.inc (fma_test): Add more tests.
28011         (fma_test_towardzero): Likewise.
28012         (fma_test_downward): Likewise.
28013         (fma_test_upward): Likewise.
28014
28015 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28016
28017         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28018
28019 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28020
28021         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28022         New variable.
28023
28024 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
28025
28026         * rt/tst-shm.c (worker): Correct checking for mmap failure.
28027
28028 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28029
28030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28031         Fix sort order.
28032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28033         Likewise.
28034
28035 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28036
28037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28038         Fix the order of the list for glibc 2.17.
28039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28040         Likewise.
28041
28042 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28043
28044         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28045
28046 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28047
28048         [BZ #14610]
28049         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28050         for low part of x being zero before using __atanl (y).
28051         * math/libm-test.inc (atan2_test): Add another test.
28052
28053         * manual/install.texi (Configuring and compiling): Document
28054         general use of test-wrapper and test-wrapper-env.
28055         * INSTALL: Regenerated.
28056
28057         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28058         (__fma): Do not extract and scale down low bits on after-rounding
28059         systems when result rounded to normal precision would have normal
28060         exponent.
28061         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28062         (__fmal): Do not extract and scale down low bits on after-rounding
28063         systems when result rounded to normal precision would have normal
28064         exponent.
28065         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28066         (__fmal): Do not extract and scale down low bits on after-rounding
28067         systems when result rounded to normal precision would have normal
28068         exponent.
28069         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28070         macro.
28071         (fma_test): Add more tests.
28072         (fma_test_towardzero): Likewise.
28073         (fma_test_downward): Likewise.
28074         (fma_test_upward): Likewise.
28075
28076 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
28077
28078         * sysdeps/i386/tininess.h: Renamed to ...
28079         * sysdeps/x86/tininess.h: This.
28080         * sysdeps/x86_64/tininess.h: Removed.
28081
28082 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28083
28084         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28085         input.  Use $(build-program-cmd).
28086         ($(objpfx)tst-array1-static.out): Likewise.
28087         ($(objpfx)tst-array2.out): Likewise.
28088         ($(objpfx)tst-array3.out): Likewise.
28089         ($(objpfx)tst-array4.out): Likewise.
28090         ($(objpfx)tst-array5.out): Likewise.
28091         ($(objpfx)tst-array5-static.out): Likewise.
28092
28093 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
28094
28095         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28096         if defined.
28097
28098         * nss/nsswitch.h (nss_interface_function): Provide new
28099         macro for use with NSS functions.
28100         * grp/initgroups.c: Use new macro.
28101         * nss/getXXbyYY.c: Likewise.
28102         * nss/getXXbyYY_r.c: Likewise.
28103         * nss/getXXent.c: Likewise.
28104         * nss/getXXent_r.c: Likewise.
28105         * sysdeps/posix/getaddrinfo.c: Likewise.
28106
28107 2012-10-30  Andreas Jaeger  <aj@suse.de>
28108
28109         * po/ru.po: Update Russion translation from translation project.
28110
28111 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28112
28113         [BZ #14152]
28114         [BZ #14783]
28115         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28116         result and shift together with sticky bit instead of replicating
28117         round-to-nearest rounding.
28118         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28119         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28120         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
28121         missing underflow exceptions.
28122         (fma_test_towardzero): Add more tests.
28123         (fma_test_downward): Likewise.
28124         (fma_test_upward): Likewise.
28125
28126         [BZ #14047]
28127         * sysdeps/generic/tininess.h: New file.
28128         * sysdeps/i386/tininess.h: Likewise.
28129         * sysdeps/sh/tininess.h: Likewise.
28130         * sysdeps/x86_64/tininess.h: Likewise.
28131         * stdlib/tst-strtod-underflow.c: Likewise.
28132         * stdlib/tst-tininess.c: Likewise.
28133         * stdlib/strtod_l.c: Include <tininess.h>.
28134         (round_and_return): Do not set errno for exact underflow cases.
28135         Force an underflow exception when setting errno for underflow.
28136         Determine underflow based on rounding to normal precision if
28137         TININESS_AFTER_ROUNDING.
28138         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28139         ERANGE for exact underflow cases.
28140         * stdlib/Makefile (tests): Add tst-tininess and
28141         tst-strtod-underflow.
28142         ($(objpfx)tst-tininess): Use $(link-libm).
28143         ($(objpfx)tst-strtod-underflow): Likewise.
28144
28145 2012-10-30  Andreas Jaeger  <aj@suse.de>
28146
28147         [BZ#14767]
28148         * elf/Makefile (tests): Remove conditional for have-initfini-array
28149         since this is now always required and the variable does not exist
28150         anymore.
28151         (tests-static): Likewise.
28152         (modules-names): Likewise.
28153
28154         * po/eo.po: Add Esperanto translation from translation project.
28155
28156         * elf/tst-array1.c (fini_array): Make writeable so that it can be
28157         merged with constructor/destructor.
28158         (init_array): Likewise.
28159         * elf/tst-array2dep.c (fini_array): Likewise.
28160         (init_array): Likewise.
28161
28162 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
28163
28164         * manual/message.texi: Delete @cartouche tags.
28165
28166 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
28167
28168         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28169         EOPNOTSUPP.
28170         * sysdeps/mach/hurd/fsync.c: Likewise.
28171
28172         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28173         [_POSIX_REALTIME_SIGNALS]: Change condition to
28174         [_POSIX_REALTIME_SIGNALS > 0].
28175
28176 2012-10-27  Andreas Jaeger  <aj@suse.de>
28177
28178         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28179         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28180         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28181         [__WORDSIZE != 64]: Likewise.
28182
28183 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
28184
28185         *  iconvdata/tst-table.sh: Remove ${SHELL}.
28186         *  iconvdata/tst-tables.sh: Likewise.
28187
28188 2012-10-25  David S. Miller  <davem@davemloft.net>
28189
28190         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28191         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28192         of strtoull.
28193
28194         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28195         ifunc-impl-list.c
28196         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28197         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28198         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28199         file.
28200
28201 2012-10-25  Roland McGrath  <roland@hack.frob.com>
28202
28203         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28204         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28205         __getdirentries.
28206
28207 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28208             Jim Blandy  <jimb@codesourcery.com>
28209
28210         * scripts/cross-test-ssh.sh: New file.
28211         * manual/install.texi (Configuring and compiling): Document use of
28212         cross-test-ssh.sh.
28213         * INSTALL: Regenerated.
28214
28215 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
28216
28217         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28218         EOPNOTSUPP.
28219
28220 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28221
28222         * Makeconfig (run-program-prefix): Fix comment.
28223
28224 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28225             Jim Blandy  <jimb@codesourcery.com>
28226
28227         * Makeconfig (test-wrapper): New variable,
28228         (test-wrapper-env): Likewise.
28229         [$(cross-compiling) = yes && $(test-wrapper) != ""]
28230         (run-built-tests): Define to yes.
28231         (run-program-prefix): Use $(test-wrapper).
28232         (built-program-cmd): Likewise.
28233         * Rules (make-test-out): Use $(test-wrapper-env) and
28234         $(host-built-program-cmd).
28235         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28236         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28237         tst-pathopt.sh.
28238         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28239         $(test-wrapper-env) to tst-rtld-load-self.sh.
28240         ($(objpfx)order2.out): Use $(test-wrapper).
28241         ($(objpfx)tst-initorder.out): Likewise.
28242         ($(objpfx)tst-initorder2.out): Likewise.
28243         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28244         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28245         (test_wrapper_env): New variable.  Use it to run ld.so.
28246         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28247         Use it to run ld.so.
28248         (test_wrapper_env): Likewise.
28249         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28250         $(test-wrapper) to run-iconv-test.sh.
28251         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28252         (ICONV): Use $test_wrapper.
28253         * posix/Makefile ($(objpfx)globtest.out): Pass
28254         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28255         globtest.sh, not $(run-program-prefix).
28256         * posix/globtest.sh (run_via_rtld_prefix): New variable.
28257         (test_wrapper): Likewise.
28258         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
28259         set together with run_via_rtld_prefix.
28260         (run_program_prefix): Define in terms of test_wrapper and
28261         run_via_rtld_prefix.
28262
28263 2012-10-24  Roland McGrath  <roland@hack.frob.com>
28264
28265         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28266         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28267         Targets removed.
28268
28269         [BZ #14743]
28270         * include/time.h: Remove librt_hidden_proto (clock_gettime).
28271         Declare __clock_getres, __clock_gettime, __clock_settime,
28272         __clock_nanosleep, and __clock_getcpuclockid.
28273         * rt/clock_gettime.c: Define __clock_gettime as an alias.
28274         Remove librt_hidden_def (clock_gettime).
28275         * sysdeps/unix/clock_gettime.c: Likewise.
28276         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28277         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28278         * rt/clock_getres.c: Define __clock_getres as an alias.
28279         * sysdeps/posix/clock_getres.c: Likewise.
28280         * rt/clock_settime.c: Define __clock_settime as an alias.
28281         * sysdeps/unix/clock_settime.c: Likewise.
28282         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28283         * sysdeps/unix/clock_nanosleep.c: Likewise.
28284         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28285         * rt/clock-compat.c: New file.
28286         * rt/Makefile (librt-routines): Add clock-compat and move
28287         $(clock-routines) to ...
28288         (routines): ... here, new variable.
28289         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28290         Don't add get_clockfreq here.
28291         * rt/Versions (libc: GLIBC_2.17): New version set.
28292         Add clock_* symbols here.
28293         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
28294         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28295         (GLIBC_2.17): Add clock_* symbols.
28296         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28297         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28298         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28300         Likewise.
28301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28302         Likewise.
28303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28304         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28307         * NEWS: Mention the move.
28308
28309         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28310         Use __open, __read, __close rather than their public counterparts.
28311         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28312         (__get_clockfreq_via_cpuinfo): Likewise.
28313         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28314         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28315
28316         * config.h.in (HAVE_IFUNC): New #undef.
28317         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28318         was successful.
28319         * configure: Regenerated.
28320
28321 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
28322
28323         * configure.in: Move READELF check to start of file.
28324         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28325         libc_cv_asm_gnu_indirect_function in the process.
28326         * configure: Regenerated.
28327
28328 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
28329
28330         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28331         send the output to /dev/null.
28332         (libc_cv_cc_with_libunwind): Likewise.
28333         (libc_cv_as_noexecstack): Likewise.
28334         * configure: Regenerate.
28335
28336 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28337
28338         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28339
28340         * posix/globtest.sh (TMPDIR): Do not set.
28341         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28342         (testout): Likewise.
28343
28344 2012-10-24  Andreas Jaeger  <aj@suse.de>
28345
28346         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28347         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28348         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28349         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28350         posix_fadvise64, posix_fallocate64.
28351
28352         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28353         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28354         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28355         Likewise.
28356         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28357         Likewise.
28358         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28359
28360         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28361         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28362         <bits/fcntl-linux.h>.
28363         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28364
28365         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28366         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28367         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28368         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28369         [__WORDSIZE != 64]: Likewise.
28370
28371 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28372
28373         * Makeconfig (run-built-tests): New variable.
28374         * Rules [$(cross-compiling) = yes]: Change condition to
28375         [$(run-built-tests) = no].
28376         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28377         to [$(run-built-tests) = yes].
28378         * elf/Makefile [$(cross-compiling) = no]: Likewise
28379         * grp/Makefile [$(cross-compiling) = no]: Likewise.
28380         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28381         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28382         * intl/Makefile [$(cross-compiling) = no]: Likewise.
28383         * io/Makefile [$(cross-compiling) = no]: Likewise.
28384         * libio/Makefile [$(cross-compiling) = no]: Likewise.
28385         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28386         * misc/Makefile [$(cross-compiling) = no]: Likewise.
28387         * posix/Makefile [$(cross-compiling) = no]: Likewise.
28388         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28389         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28390         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28391         * string/Makefile [$(cross-compiling) = no]: Likewise.
28392
28393         * posix/Makefile ($(objpfx)globtest.out): Pass
28394         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28395         $(rtld-installed-name).
28396         * posix/globtest.sh (elf_objpfx): Remove variable.
28397         (rtld_installed_name): Likewise.
28398         (library_path): Likewise.
28399         (run_program_prefix): New variable.  Use for running globtest
28400         binary.
28401
28402 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
28403             Joseph Myers  <joseph@codesourcery.com>
28404
28405         * Makeconfig (host-built-program-cmd): New variable.
28406         * elf/Makefile (tst-stackguard1-ARGS): Use
28407         $(host-built-program-cmd).
28408         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28409         (tst-spawn-ARGS): Likewise.
28410         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28411
28412 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28413             Jim Blandy  <jimb@codesourcery.com>
28414
28415         * Makeconfig (run-via-rtld-prefix): New variable.
28416         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28417         (built-program-cmd): Likewise.
28418
28419 2012-10-22  Andreas Jaeger  <aj@suse.de>
28420
28421         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28422         __O_RSYNC if it exists, otherwise to O_SYNC.
28423
28424 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
28425             Joseph Myers  <joseph@codesourcery.com>
28426
28427         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28428         /dev/null.
28429         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28430         from /dev/null
28431         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28432         /dev/null.
28433
28434 2012-10-22  Andreas Jaeger  <aj@suse.de>
28435
28436         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28437         Define always.
28438         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28439
28440         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28441         bits/fcntl-linux.h.
28442
28443         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28444         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28445
28446         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28447         to __O_LARGEFILE.
28448         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28449         to __O_LARGEFILE.
28450
28451 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
28452             Joseph Myers  <joseph@codesourcery.com>
28453
28454         * config.make.in (NM): New variable.
28455
28456 2012-10-21  Andreas Jaeger  <aj@suse.de>
28457
28458         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28459         definitions and declarations that are provided by
28460         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28461
28462 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28463
28464         [BZ #14683]
28465         * elf/Makefile (tests-static): Add tst-leaks1-static.
28466         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28467         ($(objpfx)tst-leaks1-static): New rule.
28468         ($(objpfx)tst-leaks1-static-mem): Likewise.
28469         (tst-leaks1-static-ENV): New macro.
28470         * elf/dl-open.c (dl_open_worker): Check the main application
28471         only if SHARED is defined.
28472         * elf/tst-leaks1-static.c: New file.
28473
28474 2012-10-20  Andreas Jaeger  <aj@suse.de>
28475
28476         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28477         generic values for Linux.
28478         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28479         and declarations that are provided by <bits/fcntl-linux.h> and
28480         include <bits/fcntl-linux.h>.
28481         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28482         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28483
28484 2012-10-20  Roland McGrath  <roland@hack.frob.com>
28485
28486         * io/fcntl.h: Move include of <bits/types.h> to the top and
28487         include it unconditionally.
28488
28489 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28490
28491         * wcsmbs/Makefile (tests-ifunc): New variable.
28492         (tests): Add $(tests-ifunc).
28493         * wcsmbs/test-wcschr-ifunc.c: New file.
28494         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28495         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28496         * wcsmbs/test-wcslen-ifunc.c: Likewise.
28497         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28498         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28499
28500         * string/Makefile (tests-ifunc): New variable.
28501         (tests): Add $(tests-ifunc).
28502         * string/test-memccpy.c (TEST_NAME): New macro.
28503         * string/test-memchr.c (TEST_NAME): Likewise.
28504         * string/test-memcmp.c (TEST_NAME): Likewise.
28505         * string/test-memcpy.c (TEST_NAME): Likewise.
28506         * string/test-memmem.c (TEST_NAME): Likewise.
28507         * string/test-memmove.c (TEST_NAME): Likewise.
28508         * string/test-memset.c (TEST_NAME): Likewise.
28509         * string/test-rawmemchr.c (TEST_NAME): Likewise.
28510         * string/test-stpcpy.c (TEST_NAME): Likewise.
28511         * string/test-stpncpy.c (TEST_NAME): Likewise.
28512         * string/test-strcasecmp.c (TEST_NAME): Likewise.
28513         * string/test-strcasestr.c (TEST_NAME): Likewise.
28514         * string/test-strcat.c (TEST_NAME): Likewise.
28515         * string/test-strchr.c (TEST_NAME): Likewise.
28516         * string/test-strcmp.c(TEST_NAME): Likewise.
28517         * string/test-strcpy.c (TEST_NAME): Likewise.
28518         * string/test-strcspn.c (TEST_NAME): Likewise.
28519         * string/test-strlen.c (TEST_NAME): Likewise.
28520         * string/test-strncasecmp.c (TEST_NAME): Likewise.
28521         * string/test-strncmp.c (TEST_NAME): Likewise.
28522         * string/test-strncpy.c (TEST_NAME): Likewise.
28523         * string/test-strnlen.c (TEST_NAME): Likewise.
28524         * string/test-strpbrk.c (TEST_NAME): Likewise.
28525         * string/test-strrchr.c (TEST_NAME): Likewise.
28526         * string/test-strspn.c (TEST_NAME): Likewise.
28527         * string/test-strstr.c (TEST_NAME): Likewise.
28528         * string/test-bcopy-ifunc.c: New file.
28529         * string/test-bzero-ifunc.c: Likewise.
28530         * string/test-memccpy-ifunc.c: Likewise.
28531         * string/test-memchr-ifunc.c: Likewise.
28532         * string/test-memcmp-ifunc.c: Likewise.
28533         * string/test-memcpy-ifunc.c: Likewise.
28534         * string/test-memmem-ifunc.c: Likewise.
28535         * string/test-memmove-ifunc.c: Likewise.
28536         * string/test-mempcpy-ifunc.c: Likewise.
28537         * string/test-memset-ifunc.c: Likewise.
28538         * string/test-rawmemchr-ifunc.c: Likewise.
28539         * string/test-stpcpy-ifunc.c: Likewise.
28540         * string/test-stpncpy-ifunc.c: Likewise.
28541         * string/test-strcasecmp-ifunc.c: Likewise.
28542         * string/test-strcasestr-ifunc.c: Likewise.
28543         * string/test-strcat-ifunc.c: Likewise.
28544         * string/test-strchr-ifunc.c: Likewise.
28545         * string/test-strchrnul-ifunc.c: Likewise.
28546         * string/test-strcmp-ifunc.c: Likewise.
28547         * string/test-strcpy-ifunc.c: Likewise.
28548         * string/test-strcspn-ifunc.c: Likewise.
28549         * string/test-strlen-ifunc.c: Likewise.
28550         * string/test-strncasecmp-ifunc.c: Likewise.
28551         * string/test-strncat-ifunc.c: Likewise.
28552         * string/test-strncmp-ifunc.c: Likewise.
28553         * string/test-strncpy-ifunc.c: Likewise.
28554         * string/test-strnlen-ifunc.c: Likewise.
28555         * string/test-strpbrk-ifunc.c: Likewise.
28556         * string/test-strrchr-ifunc.c: Likewise.
28557         * string/test-strspn-ifunc.c: Likewise.
28558         * string/test-strstr-ifunc.c: Likewise.
28559
28560         * debug/Makefile (tests-ifunc): New variable.
28561         (tests): Add $(tests-ifunc).
28562         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28563         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28564         * debug/test-stpcpy_chk-ifunc.c: New file.
28565         * debug/test-strcpy_chk-ifunc.c: Likewise.
28566
28567 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28568
28569         [BZ #13601]
28570         * elf/dl-load.c (open_verify): Retry read if the entire ELF
28571         header is not read in.
28572
28573 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
28574
28575         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
28576         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
28577         directly.  Pass built executable to script as
28578         $(built-program-cmd).
28579         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
28580         $testprogram without using LD_LIBRARY_PATH and $ldso.
28581
28582         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28583         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28584         $(rtld-installed-name).
28585         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28586         (rtld_installed_name): Likewise.
28587         (library_path): Likewise.
28588         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
28589         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28590         $(run-program-prefix) to tst-tables.sh.
28591         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
28592         it to run tst-table-from and tst-table-to.
28593         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28594         Pass it to tst-table.sh.
28595         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28596         $(run-program-prefix) to tst-gettext.sh.
28597         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28598         tst-translit.sh.
28599         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28600         tst-gettext2.sh.
28601         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
28602         to run tst-gettext.
28603         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
28604         to run tst-gettext2.
28605         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
28606         to run tst-translit.
28607         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28608         $(run-program-prefix) to tst-mtrace.sh.
28609         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
28610         to run tst-mtrace.
28611         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28612         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28613         $(rtld-installed-name).
28614         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28615         (rtld_installed_name): Likewise.
28616         (run_program_prefix): New variable.  Use it to run wordexp-test.
28617
28618         * Makeconfig (ARCH): Remove all definitions.
28619         (machine): Likewise.
28620         [ARCH]: Remove conditional code.
28621         [!objdir]: Give error.
28622         [!objdir] (objpfx): Remove.
28623         [!objdir] (common-objpfx): Likewise.
28624         [!objdir] (common-objdir): Likewise.
28625         * configure.in (config_makefile): Remove.  Hardcode Makefile in
28626         AC_CONFIG_FILES call.
28627         * configure: Regenerated.
28628
28629         [BZ #13888]
28630         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28631         or TMPDIR.
28632         (testout): Likewise.
28633
28634         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28635         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28636         $(rtld-installed-name).
28637         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28638         (rtld_installed_name): Likwise.
28639         (runit): Remove function.
28640         (run_getconf): New variable,  Use it for running getconf binary.
28641
28642 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
28643
28644         [BZ #14716]
28645         * string/test-memmem.c (check_result): New function.
28646         (do_one_test): Use it.
28647         (check1): New function.
28648         (test_main): Use it.
28649
28650 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
28651
28652         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28653
28654 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
28655
28656         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28657         (_G_LSEEK64): Likewise.
28658         (_G_MMAP64): Likewise.
28659         (_G_FSTAT64): Likewise.
28660         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28661         (_G_LSEEK64): Likewise.
28662         (_G_MMAP64): Likewise.
28663         (_G_FSTAT64): Likewise.
28664         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28665         unconditional.  Call __mmap64 directly.
28666         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28667         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
28668         __lseek64 directly.
28669         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28670         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
28671         __mmap64 directly.
28672         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28673         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28674         __lseek64 directly.
28675         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28676         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28677         __lseek64 directly.
28678         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28679         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
28680         __lseek64 directly.
28681         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28682         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
28683         __fxstat64 directly.
28684         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28685         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28686         unconditional.
28687         (freopen64) [!_G_OPEN64]: Remove conditional code.
28688         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28689         unconditional.
28690         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28691         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28692         unconditional.
28693         (ftello64) [!_G_LSEEK64]: Remove conditional code.
28694         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28695         unconditional.
28696         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28697         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28698         unconditional.
28699         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28700         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28701         unconditional.
28702         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28703         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28704         unconditional.
28705         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28706         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28707         unconditional.
28708         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28709
28710 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28711
28712         [BZ #12140]
28713         * manual/memory.texi (Malloc Tunable Parameters): Add note
28714         about free list pointers overwriting some perturb bytes.
28715         Wording suggested by Roland McGrath.
28716
28717 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
28718
28719         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28720         (lgamma_test): Likewise.
28721         (tgamma_test): Likewise.
28722
28723 2012-10-16  Florian Weimer  <fweimer@redhat.com>
28724
28725         [BZ #14700]
28726         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28727         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28728
28729 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
28730
28731         * NEWS: Mention BZ #14716.
28732         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28733         when removing AVAILABLE1_USES_J macro.
28734
28735 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
28736
28737         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28738         (__bswap_64): __uint64_t for unsigned 64-bit int.
28739
28740 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
28741
28742         * include/string.h (memmem): Declare libc hidden alias.
28743         * string/memmem.c (memmem): Define libc hidden alias.
28744         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28745         __read, __close instead of open, read, close.
28746
28747 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
28748
28749         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28750         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28751         global and hidden.
28752         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28753         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28754         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28755         Likewise.
28756         (__rawmemchr_sse2): Likewise.
28757         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28758         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28759         (__strchr_sse2): Likewise.
28760         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28761         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28762         (__strcasecmp_sse2): Likewise.
28763         (__strncasecmp_sse2): Likewise.
28764         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28765         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28766         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28767         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28768         (__strrchr_sse2): Likewise.
28769         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28770         ifunc-impl-list.c.
28771         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28772         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28773         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28774         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28775         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28776         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28777         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28778         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28779         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28780         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28781         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28782         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28783         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28784         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28785         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28786         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28787         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28788         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28789         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28790         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28791         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28792         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28793         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28794         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28795         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28796         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28797         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28798         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28799         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28800         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28801
28802         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28803         global and hidden.
28804         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28805         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28806         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28807         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28808         Likewise.
28809         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28810         Likewise.
28811         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28812         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28813         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28814         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28815         ifunc-impl-list.c.
28816         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28817         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28818         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28819         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28820         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28821         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28822         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28823         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28824         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28825         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28826         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28827         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28828         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28829         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28830         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28831         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28832         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28833         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28834         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28835         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28836         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28837         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28838         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28839         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28840         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28841         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28842         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28843         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28844         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28845         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28846         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28847         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28848         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28849         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28850         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28851         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28852         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28853         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28854         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28855         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28856         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28857
28858         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28859         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28860         * include/ifunc-impl-list.h: New file.
28861         * misc/ifunc-impl-list.c: Likewise.
28862         * misc/Makefile (routines): Add ifunc-impl-list.
28863         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28864         * string/test-string.h: Include <ifunc-impl-list.h>.
28865         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28866         TEST_NAME]: New variables.
28867         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28868         are defined.
28869         (test_init): Call __libc_ifunc_impl_list to initialize
28870         func_list if TEST_IFUNC and TEST_NAME are defined.
28871
28872         * string/Makefile (strop-tests): Add bcopy and bzero.
28873         * string/test-bcopy.c: New file.
28874         * string/test-bzero.c: Likewise.
28875         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28876         defined.
28877         * string/test-memset.c: Support bzero test if TEST_BZERO is
28878         defined.
28879         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28880         __libc_memmove.
28881         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28882         __libc_memset.
28883         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28884         of memset.
28885
28886 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
28887
28888         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28889         * configure: Regenerated.
28890
28891         * Makeconfig (+link-static-before-libc): Don't include
28892         $(link-static-libc).
28893
28894         * libio/libio.h (_IO_pos_t): Remove.
28895
28896 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28897
28898         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
28899         McGrath.
28900
28901 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28902
28903         * crypt/crypt-entry.c: Include fips-private.h.
28904         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28905         * crypt/md5c-test.c (main): Tolerate disabled MD5.
28906         * sysdeps/unix/sysv/linux/fips-private.h: New file.
28907         * sysdeps/generic/fips-private.h: New file, dummy fallback.
28908
28909 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28910
28911         * crypt/crypt-private.h: Include stdbool.h.
28912         (_ufc_setup_salt_r): Return bool.
28913         * crypt/crypt-entry.c: Include errno.h.
28914         (__crypt_r): Return NULL with EINVAL for bad salt.
28915         * crypt/crypt_util.c (bad_for_salt): New.
28916         (_ufc_setup_salt_r): Check that salt is long enough and within
28917         the specified alphabet.
28918         * crypt/badsalttest.c: New file.
28919         * crypt/Makefile (tests): Add it.
28920         ($(objpfx)badsalttest): New.
28921
28922 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
28923
28924         * NEWS: Add entry for BZ #14602.
28925
28926 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28927
28928         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28929         type-generic.
28930         * math/libm-test.inc: Update comment listing what functions and
28931         macros are tested.
28932         (isgreater_test): New function.
28933         (isgreaterequal_test): Likewise.
28934         (isless_test): Likewise.
28935         (islessequal_test): Likewise.
28936         (islessgreater_test): Likewise.
28937         (isunordered_test): Likewise.
28938         (main): Call the new functions.
28939
28940 2012-10-09  Roland McGrath  <roland@hack.frob.com>
28941
28942         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28943         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28944         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28945         * sysdeps/i386/configure: Regenerated.
28946         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28947         * sysdeps/mach/configure: Regenerated.
28948         * sysdeps/mach/hurd/configure: Regenerated.
28949         * sysdeps/powerpc/configure: Regenerated.
28950         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28951         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28952         * sysdeps/s390/s390-32/configure: Regenerated.
28953         * sysdeps/s390/s390-64/configure: Regenerated.
28954         * sysdeps/sh/configure: Regenerated.
28955         * sysdeps/sparc/configure: Regenerated.
28956         * sysdeps/unix/sysv/linux/configure: Regenerated.
28957         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28958         * sysdeps/x86_64/configure: Regenerated.
28959
28960         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28961         defined.  Don't check if MAP is NULL.
28962
28963 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28964
28965         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28966         (_G_stat64): Likewise.
28967         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28968         (_G_stat64): Likewise.
28969         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28970         instead of struct _G_stat64.
28971         * libio/fileops.c (mmap_remap_check): Likewise.
28972         (decide_maybe_mmap): Likewise.
28973         (_IO_new_file_seekoff): Likewise.
28974         (_IO_file_stat): Likewise.
28975         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28976         _G_off64_t.
28977         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28978         instead of struct _G_stat64.
28979         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28980
28981 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
28982
28983         [BZ #14602]
28984         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28985         Replace with ...
28986         (CHECK_EOL): New macro.
28987         (two_way_short_needle): Check beginning of haystack for EOL.  Use
28988         CHECK_EOL.
28989         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28990         Replace with CHECK_EOL.
28991         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28992         Replace with CHECK_EOL.
28993
28994 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
28995
28996         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28997         type-generic.
28998         * math/libm-test.inc: Update comment listing what functions and
28999         macros are tested.
29000         (finite_test): New function.
29001         (isinf_test): Likewise.
29002         (isnan_test): Likewise.
29003         (fpclassify_test): Test subnormal input.
29004         (isfinite_test): Likewise.
29005         (isnormal_test): Likewise.
29006         (main): Call the new functions.
29007
29008 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
29009
29010         [BZ #14660]
29011         * Makerules (%.dynsym): Force C locale when running
29012         $(OBJDUMP) --dynamic-syms.
29013
29014 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
29015
29016         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29017         <stdint.h>.
29018
29019 2012-10-06  David S. Miller  <davem@davemloft.net>
29020
29021         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29022         upper 32-bits of the length value in %o2 since we use branch-on-register
29023         tests which consider the entire 64-bit register.
29024
29025 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
29026
29027         * string/test-strstr.c (check2): Add a test for page boundary.
29028
29029 2012-10-05  David S. Miller  <davem@davemloft.net>
29030
29031         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29032         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29033         file.
29034         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29035         sysdep_routines.
29036         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29037         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29038         and bzero when HWCAP_SPARC_CRYPTO is present.
29039
29040 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
29041
29042         [BZ #14602]
29043         * string/test-strstr.c (check2): New function.
29044         (test_main): Call check2.
29045
29046         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29047         and bug-strchr1.
29048         * string/bug-strcasestr1.c (do_test): Moved to ...
29049         * string/test-strcasestr.c (check1): Here.  New function.
29050         (do_one_test): Break out result checking code into ...
29051         (check_result): This.  New function.
29052         (do_one_test): Call check_result.
29053         (test_main): Call check1.
29054         * string/bug-strchr1.c (do_test): Moved to ...
29055         * string/test-strchr.c (check1): Here.  New function.
29056         (do_one_test): Break out result checking code into ...
29057         (check_result): This.  New function.
29058         (do_one_test): Call check_result.
29059         (test_main): Call check1.
29060         * string/bug-strstr1.c (main): Moved to ...
29061         * string/test-strstr.c (check1): Here.  New function.
29062         (do_one_test): Break out result checking code into ...
29063         (check_result): This.  New function.
29064         (do_one_test): Call check_result.
29065         (test_main): Call check1.
29066         * string/bug-strcasestr1.c: Removed.
29067         * string/bug-strchr1.c: Likewise.
29068         * string/bug-strstr1.c: Likewise.
29069
29070         * elf/Makefile (dl-routines): Add hwcaps.
29071         * elf/dl-support.c (_dl_important_hwcaps): Removed.
29072         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29073         (_dl_important_hwcaps): Moved to ...
29074         * elf/dl-hwcaps.c: Here.  New file.
29075         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29076
29077         [BZ #14557]
29078         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29079         if IS_IN_rtld isn't defined.
29080
29081         * elf/dl-support.c (_dl_sysinfo_map): New.
29082         Include "get-dynamic-info.h" and "setup-vdso.h".
29083         (_dl_non_dynamic_init): Call setup_vdso.
29084         * elf/dynamic-link.h: Don't include <assert.h>.
29085         (elf_get_dynamic_info): Moved to ...
29086         * elf/get-dynamic-info.h: Here.  New file.
29087         * elf/dynamic-link.h: Include "get-dynamic-info.h".
29088         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29089         * elf/setup-vdso.h: Here.  New file.
29090         * elf/rtld.c: Include "setup-vdso.h".
29091         (dl_main): Call setup_vdso.
29092
29093 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
29094
29095         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29096         creal in comment listing functions tested.  List finite, isinf,
29097         isnan, isless, islessequal, isgreater, isgreaterequal,
29098         islessgreater, isunordered, lgamma_r and pow10 as functions and
29099         macros not tested.  Mention which functions not tested are aliases
29100         for other functions.  Fix typo.  Note that signs of NaNs are not
29101         tested.
29102
29103         * scripts/config.guess: Update from config.git.
29104         * scripts/config.sub: Likewise.
29105
29106 2012-10-04  Roland McGrath  <roland@hack.frob.com>
29107
29108         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29109         * misc/madvise.c (madvise): Renamed to __madvise.
29110         Make madvise a weak alias.
29111         * include/sys/mman.h: Declare __madvise.
29112         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29113         * sysdeps/unix/syscalls.list
29114         (madvise): Make __madvise the strong name, and madvise a weak alias.
29115         * sysdeps/unix/sysv/linux/syscalls.list
29116         (madvise, mmap): Remove redundant entries.
29117         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29118         * malloc/malloc.c (mtrim): Likewise.
29119         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29120
29121 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29122
29123         * sysdeps/mach/hurd/dl-cache.c: File removed.
29124         * config.h.in (USE_LDCONFIG): New #undef.
29125         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29126         * configure: Regenerated.
29127         * elf/Makefile (dl-routines): Add dl-cache only under
29128         [$(use-ldconfig) = yes].
29129         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29130         cache on [USE_LDCONFIG].
29131         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29132         [USE_LDCONFIG].
29133         * elf/rtld.c (dl_main): Likewise.
29134
29135 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
29136
29137         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29138         _SC_LEVEL4_CACHE_LINESIZE.
29139
29140 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29141
29142         * sysdeps/unix/bsd/confstr.h: File removed.
29143
29144 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
29145
29146         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29147         sys/sdt-config.h.
29148
29149 2012-10-02  Roland McGrath  <roland@hack.frob.com>
29150
29151         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29152         Make 'mapoff' field ElfW(Off) rather than off_t.
29153
29154 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
29155
29156         * nscd/Makefile: Remove nscd-cflags and all its users.
29157         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29158         (CFLAGS-nonlib): Add compiler flags for nscd modules.
29159
29160         [BZ #10631]
29161         * malloc.c (malloc_printerr): Clarify error message.
29162
29163 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
29164
29165         [BZ #14648]
29166         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29167         Set bit_FMA_Usable if FMA is supported.
29168         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29169         macro.
29170         (bit_FMA4_Usable): Updated.
29171         (index_FMA_Usable): New macro.
29172         (CPUID_FMA): Likewise
29173         (HAS_FMA): Defined with bit_FMA_Usable.
29174
29175 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29176
29177         * bits/types.h (__swblk_t): Type removed.
29178         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29179         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29180         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29181         (__SWBLK_T_TYPE): Likewise.
29182         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29183         (__SWBLK_T_TYPE): Likewise.
29184         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29185         (__SWBLK_T_TYPE): Likewise.
29186         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29187         (__SWBLK_T_TYPE): Likewise.
29188
29189 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
29190             Honza Horak <hhorak@redhat.com>
29191
29192         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29193         (xdr_mapname): Use YPMAXMAP as maxsize.
29194         (xdr_peername): Use YPMAXPEER as maxsize.
29195         (xdr_keydat): Use YPAXRECORD as maxsize.
29196         (xdr_valdat): Use YPMAXRECORD as maxsize.
29197
29198 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29199
29200         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29201
29202         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29203         * csu/init-first.c: ... here.
29204         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29205         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29206         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29207         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29208         * sysdeps/i386/init-first.c: File removed.
29209         * sysdeps/sh/init-first.c: File removed.
29210
29211 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
29212
29213         [BZ #14645]
29214         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29215         if x * y might underflow to zero and z is zero.
29216         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29217         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29218         * math/libm-test.inc (min_subnorm_value): New variable.
29219         (fma_test): Add more tests.
29220         (fma_test_towardzero): Likewise.
29221         (fma_test_downward): Likewise
29222         (fma_test_upward): Likewise.
29223         (initialize): Set min_subnorm_value.
29224
29225 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
29226
29227         [BZ #14638]
29228         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29229         0 + 0.
29230         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29231         mode for addition resulting in exact zero.
29232         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29233         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29234         exact 0 + 0.
29235         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29236         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29237         * math/libm-test.inc (fma_test): Add more tests.
29238         (fma_test_towardzero): New function.
29239         (fma_test_downward): Likewise.
29240         (fma_test_upward): Likewise.
29241         (main): Call the new functions.
29242
29243 2012-09-28  David S. Miller  <davem@davemloft.net>
29244
29245         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29246
29247 2012-09-28  Roland McGrath  <roland@hack.frob.com>
29248
29249         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29250         instead of SIGALRM.
29251
29252         * sysdeps/gnu/_G_config.h: Moved to ...
29253         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29254         * sysdeps/mach/hurd/_G_config.h: Moved to ...
29255         * sysdeps/generic/_G_config.h: ... here.
29256
29257         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
29258
29259         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29260
29261         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29262         Conditionalize target on [libnss_test1.so-version].
29263
29264         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29265
29266         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29267         (elfobjdir): Move out of conditionals.
29268
29269         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29270         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29271         (__nss_lookup_function): Conditionalize label remove_from_tree on
29272         [!DO_STATIC_NSS || SHARED], matching its only use.
29273
29274 2012-09-28  David S. Miller  <davem@davemloft.net>
29275
29276         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29277         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29278         file.
29279         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29280         sysdep_routines.
29281         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29282         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29283         when HWCAP_SPARC_CRYPTO is present.
29284
29285 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29286
29287         * io/tst-mknodat.c: Create a FIFO instead of a socket.
29288
29289 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
29290
29291         [BZ #6530]
29292         * stdio-common/vfprintf.c (process_string_arg): Revert
29293         2000-07-22 change.
29294
29295 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
29296
29297         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29298         for testcase.
29299         * stdio-common/tst-sprintf.c: Include <locale.h>
29300         (main): Test sprintf's handling of incomplete multibyte
29301         characters.
29302
29303 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
29304
29305         * elf/dl-runtime.c (VERSYMIDX): Removed.
29306         * elf/dl-version.c (VERSYMIDX): Likewise.
29307         * elf/do-rel.h (VERSYMIDX): Likewise.
29308         (VALIDX): Likewise.
29309         * elf/dynamic-link.h (VERSYMIDX): Likewise.
29310         * elf/rtld.c (VALIDX): Likewise.
29311         (ADDRIDX): Likewise.
29312         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29313         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29314         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29315         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29316         (VALIDX): Likewise.
29317         (ADDRIDX): Likewise.
29318
29319 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29320
29321         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29322
29323 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
29324
29325         [BZ #11438]
29326         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29327         to global scope.
29328         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29329         addresses are in the same scope as 192.0.2/24.
29330         * posix/gai.conf: Document new scope table defaults.
29331
29332 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29333
29334         [BZ #5298]
29335         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29336         for ftell.  Compute offsets from write pointers instead.
29337         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29338
29339 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29340
29341         [BZ #14543]
29342         * libio/Makefile (tests): New test case tst-fseek.
29343         * libio/tst-fseek.c: New test case to verify that fseek/ftell
29344         combination works in wide mode.
29345         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29346         state when the external buffer state changes.
29347
29348 2012-09-27  David S. Miller  <davem@davemloft.net>
29349
29350         [BZ #14376]
29351         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29352         pass reloc->r_addend in as the 'high' argument to
29353         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29354
29355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29356
29357 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29358
29359         * rt/tst-aio2.c: Include <pthread.h>.
29360         * rt/tst-aio3.c: Likewise.
29361
29362 2012-09-27  Steve Ellcey  <sellcey@mips.com>
29363
29364         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29365
29366 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
29367
29368         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29369         contents on [SHARED].
29370
29371 2012-09-26  Marek Polacek  <polacek@redhat.com>
29372
29373         [BZ #14530]
29374         [BZ #13741]
29375         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29376         for C++ and GCC <4.3 as well as for non GCC compilers.
29377
29378 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
29379
29380         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29381
29382 2012-09-25  Roland McGrath  <roland@hack.frob.com>
29383
29384         * Makefile.in (all, install): Declare with .PHONY.
29385         Reported by Michael Hope <michael.hope@linaro.org>.
29386
29387 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29388
29389         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29390         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29391         system header.
29392         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29393         Likewise.
29394         (sydep_routines): Add the new and the internal functions.
29395         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29396         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29398         (GLIBC_2.17): Add the new function.
29399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29400         (GLIBC_2.17): Likewise.
29401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29402         (GLIBC_2.17): Likewise.
29403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29404         (GLIBC_2.17): Likewise.
29405         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29406
29407 2012-09-25  Alan Modra  <amodra@gmail.com>
29408
29409         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29410         Add release barrier before setting once_control to say
29411         initialisation is done.  Add hints on lwarx.  Use macro in
29412         place of isync.
29413         (clear_once_control): Add release barrier.
29414
29415 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29416
29417         [BZ #13629]
29418         * math/s_clog.c (__clog): Handle more values close to |z| = 1
29419         specially.
29420         * math/s_clog10.c (__clog10): Likewise.
29421         * math/s_clog10f.c (__clog10f): Likewise.
29422         * math/s_clog10l.c (__clog10l): Likewise.
29423         * math/s_clogf.c (__clogf): Likewise.
29424         * math/s_clogl.c (__clogl): Likewise.
29425         * math/Makefile (libm-calls): Add x2y2m1.
29426         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29427         (__x2y2m1): Likewise.
29428         (__x2y2m1l): Likewise.
29429         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29430         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29431         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29432         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29433         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29434         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29435         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29436         * sysdeps/i386/fpu/libm-test-ulps: Update.
29437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29438
29439         [BZ #14621]
29440         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29441         int as type of variable DEPTH.
29442         (glob): Use size_t instead of int as type of variables NEWCOUNT
29443         and OLD_PATHC.
29444
29445 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29446
29447         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29448         Add s_sincosf-sse2.
29449         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29450         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29451         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29452         macros for using routine as __sincosf_ia32.
29453         Use macro for function declaration and weak_alias.
29454         * sysdeps/i386/fpu/libm-test-ulps: Update.
29455
29456         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29457         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29458
29459         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29460         subnormal argument.
29461         * math/s_cexpf.c (__cexpf): Likewise.
29462         * math/s_csinf.c (__csinf): Likewise.
29463         * math/s_csinhf.c (__csinhf): Likewise.
29464         * math/s_ctanf.c (__ctanf): Likewise.
29465         * math/s_ctanhf.c (__ctanhf): Likewise.
29466         * math/s_ccosh.c (__ccoshf): Likewise.
29467         * math/s_cexp.c (__cexpl): Likewise.
29468         * math/s_csin.c (__csin): Likewise.
29469         * math/s_csinh.c (__csinh): Likewise.
29470         * math/s_ctan.c (__ctan): Likewise.
29471         * math/s_ctanh.c (ctanh): Likewise.
29472         * math/s_ccoshl.c (__ccoshl): Likewise.
29473         * math/s_cexpl.c (__cexpl): Likewise.
29474         * math/s_csinl.c (__csinl): Likewise.
29475         * math/s_csinhl.c (__csinhl): Likewise.
29476         * math/s_ctanl.c (__ctanl): Likewise.
29477         * math/s_ctanhl.c (__ctanhl): Likewise.
29478
29479 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29480
29481         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29482         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29483         (_IO_off_t): Define to __off_t, not _G_off_t.
29484         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29485         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29486         (_IO_wint_t): Define to wint_t, not _G_wint_t.
29487         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29488         type of __dummy and __dummy2 fields.
29489         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29490         (_G_ssize_t): Likewise.
29491         (_G_off_t): Likewise.
29492         (_G_pid_t): Likewise.
29493         (_G_uid_t): Likewise.
29494         (_G_wchar_t): Likewise.
29495         (_G_wint_t): Likewise.
29496         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29497         (_G_ssize_t): Likewise.
29498         (_G_off_t): Likewise.
29499         (_G_pid_t): Likewise.
29500         (_G_uid_t): Likewise.
29501         (_G_wchar_t): Likewise.
29502         (_G_wint_t): Likewise.
29503         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29504         (_G_ssize_t): Likewise.
29505         (_G_off_t): Likewise.
29506         (_G_pid_t): Likewise.
29507         (_G_uid_t): Likewise.
29508         (_G_wchar_t): Likewise.
29509         (_G_wint_t): Likewise.
29510
29511 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29512
29513         * malloc/arena.c: Include malloc-sysdep.h.
29514         (shrink_heap): Use check_may_shrink_heap to decide if madvise
29515         is sufficient to shrink the heap or an unmap is needed.
29516         * sysdeps/generic/malloc-sysdep.h: New file.  Define
29517         new function check_may_shrink_heap.
29518         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
29519         new function check_may_shrink_heap.
29520
29521 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29522
29523         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29524         comments.
29525
29526 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
29527
29528         * catgets/test-gencat.sh: Add "set -e".
29529         * elf/tst-pathopt.sh: Likewise.
29530         * grp/tst_fgetgrent.sh: Likewise.
29531         * iconvdata/run-iconv-test.sh: Likewise.
29532         * intl/tst-gettext.sh: Likewise.
29533         * intl/tst-gettext2.sh: Likewise.
29534         * intl/tst-gettext4.sh: Likewise.
29535         * intl/tst-gettext6.sh: Likewise.
29536         * intl/tst-translit.sh: Likewise.
29537         * io/ftwtest-sh: Likewise.
29538         * libio/test-freopen.sh: Likewise.
29539         * malloc/tst-mtrace.sh: Likewise.
29540         * posix/globtest.sh: Likewise.
29541         * posix/tst-getconf.sh: Likewise.
29542         * posix/wordexp-tst.sh: Likewise.
29543         * stdio-common/tst-printf.sh: Likewise.
29544         * stdio-common/tst-unbputc.sh: Likewise.
29545         * stdlib/tst-fmtmsg.sh: Likewise.
29546         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29547         * catgets/Makefile: Do not specify -e option when running
29548         testsuite shell scripts.
29549         * elf/Makefile: Likewise.
29550         * grp/Makefile: Likewise.
29551         * iconvdata/Makefile: Likewise.
29552         * intl/Makefile: Likewise.
29553         * io/Makefile: Likewise.
29554         * libio/Makefile: Likewise.
29555         * malloc/Makefile: Likewise.
29556         * posix/Makefile: Likewise.
29557         * stdio-common/Makefile: Likewise.
29558         * stdlib/Makefile: Likewise.
29559         * sysdeps/x86_64/Makefile: Likewise.
29560
29561         * io/ftwtest-sh: Add copyright header.
29562         * posix/globtest.sh: Likewise.
29563         * posix/tst-getconf.sh: Likewise.
29564         * posix/wordexp-tst.sh: Likewise.
29565         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29566
29567 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
29568
29569         [BZ #13679]
29570         * Makeconfig (+link): Defined as $(+link-static) if
29571         $(build-shared) isn't yes.
29572         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29573         isn't yes.
29574         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29575
29576         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29577
29578         [BZ #14562]
29579         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29580         new chunk size with MALLOC_ALIGN_MASK.
29581
29582 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
29583
29584         [BZ #5044]
29585         * stdio-common/printf_fphex.c: Include <stdbool.h> and
29586         <rounding-mode.h>.
29587         (__printf_fphex): Determine rounding using get_rounding_mode and
29588         round_away.
29589         * stdio-common/tst-printf-round.c (struct hex_test): New
29590         structure.
29591         (hex_tests): New variable.
29592         (test_hex_in_one_mode): New function.
29593         (do_test): Also run tests for hex float output.
29594
29595 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
29596
29597         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29598         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29599         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29600         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29601         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29602         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29603         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29604         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29605
29606 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
29607
29608         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29609         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29610         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29611         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29612
29613 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
29614
29615         [BZ #14579]
29616         * elf/rtld.c (dl_main): Limit the check for self loading to normal
29617         mode only.
29618         * elf/tst-rtld-load-self.sh: New test.
29619         * elf/Makefile: Run it.
29620
29621 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
29622
29623         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29624         (tst-writev-ENV): Remove.
29625         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29626
29627 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
29628
29629         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29630
29631 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
29632
29633         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29634         unconditional.
29635         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29636         Likewise.
29637         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29638         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29639         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29640         Likewise.
29641
29642 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
29643
29644         [BZ #14587]
29645         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29646         * config.make.in (have-cpp-asm-debuginfo): Removed.
29647         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29648         * configure: Regenerated.
29649
29650 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
29651
29652         [BZ #5044]
29653         * stdio-common/printf_fp.c: Include <stdbool.h> and
29654         <rounding-mode.h>.
29655         (___printf_fp): Determine rounding using get_rounding_mode and
29656         round_away.
29657         * stdio-common/tst-printf-round.c: New file.
29658         * stdio-common/Makefile (tests): Add tst-printf-round.
29659         (link-libm): New variable.
29660         ($(objpfx)tst-printf-round): Depend in $(link-libm).
29661
29662 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
29663
29664         [BZ #14576]
29665         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29666         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29667         Likewise.
29668         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29669         Likewise.
29670
29671 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
29672
29673         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29674         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29675         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29676         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29677
29678 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
29679
29680         [BZ #14518]
29681         * include/rounding-mode.h: New file.
29682         * sysdeps/generic/get-rounding-mode.h: Likewise.
29683         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29684         * stdlib/strtod_l.c: Include <rounding-mode.h>.
29685         (MAX_VALUE): New macro.
29686         (MIN_VALUE): Likewise.
29687         (overflow_value): New function.
29688         (underflow_value): Likewise.
29689         (round_and_return): Use overflow_value and underflow_value to
29690         determine return values in overflow and underflow cases.  Use
29691         round_away to determine rounding depending on rounding mode.
29692         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29693         determine return values in overflow and underflow cases.
29694         * stdlib/tst-strtod-round.c: Include <fenv.h>.
29695         (struct test_results): New structure.
29696         (struct test): Use struct test_results to store expected results
29697         for all rounding modes.
29698         (TEST): Include expected results for all rounding modes.
29699         (test_in_one_mode): New function.
29700         (do_test): Use test_in_one_mode to compute and check results.
29701         Check results for all rounding modes.
29702         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29703         $(link-libm).
29704
29705 2012-12-09  Allan McRae  <allan@archlinux.org>
29706
29707         * sysdeps/i386/fpu/libm-test-ulps: Update
29708
29709 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
29710
29711         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29712         (_G_int32_t): Likewise.
29713         (_G_uint16_t): Likewise.
29714         (_G_uint32_t): Likewise.
29715         (_G_HAVE_BOOL): Likewise.
29716         (_G_HAVE_ATEXIT): Likewise.
29717         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29718         (_G_HAVE_IO_FILE_OPEN): Likewise.
29719         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29720         (_G_int32_t): Likewise.
29721         (_G_uint16_t): Likewise.
29722         (_G_uint32_t): Likewise.
29723         (_G_HAVE_BOOL): Likewise.
29724         (_G_HAVE_ATEXIT): Likewise.
29725         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29726         (_G_HAVE_IO_FILE_OPEN): Likewise.
29727         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29728         (_G_int32_t): Likewise.
29729         (_G_uint16_t): Likewise.
29730         (_G_uint32_t): Likewise.
29731         (_G_HAVE_BOOL): Likewise.
29732         (_G_HAVE_ATEXIT): Likewise.
29733         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29734         (_G_HAVE_IO_FILE_OPEN): Likewise.
29735
29736 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
29737
29738         * csu/libc-tls.c: Update copyright years.
29739
29740 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
29741
29742         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29743         [!_G_USING_THUNKS]: Remove conditional code.
29744         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29745         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29746
29747         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29748         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29749         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29750         (_G_VTABLE_LABEL_PREFIX): Likewise.
29751         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29752         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29753         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29754         (_G_VTABLE_LABEL_PREFIX): Likewise.
29755         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29756         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29757         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29758         (_G_VTABLE_LABEL_PREFIX): Likewise.
29759         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29760
29761 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
29762
29763         * libio/Makefile: Include ../Makeconfig before tests.
29764         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29765         only if $(build-shared) is yes.
29766
29767         * iconv/gconv_db.c: Update copyright years.
29768
29769 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29770
29771         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29772         unwind info if defined PIC. Fix special cases description.
29773         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29774
29775         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29776         DP_HI_MASK entry.
29777         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29778
29779 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
29780
29781         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29782
29783         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29784         is NULL.
29785
29786         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29787         (LDLIBS-tst-chk4): This.
29788         (LDFLAGS-tst-chk5): Renamed to ...
29789         (LDLIBS-tst-chk5): This.
29790         (LDFLAGS-tst-chk6): Renamed to ...
29791         (LDLIBS-tst-chk6): This.
29792         (LDFLAGS-tst-lfschk4): Renamed to ...
29793         (LDLIBS-tst-lfschk4): This.
29794         (LDFLAGS-tst-lfschk5): Renamed to ...
29795         (LDLIBS-tst-lfschk5): This.
29796         (LDFLAGS-tst-lfschk6): Renamed to ...
29797         (LDLIBS-tst-lfschk6): This.
29798
29799         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29800         on $(common-objpfx)soversions.mk.
29801
29802 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
29803
29804         [BZ #10014]
29805         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29806         example host name.
29807
29808 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29809
29810         * malloc/arena.c (arena_get_retry): New function that gets
29811         another arena for the caller to try its request on.
29812         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29813         current arena cannot fulfill the request.
29814         (__libc_memalign): Likewise.
29815         (__libc_memalign): Likewise.
29816         (__libc_pvalloc): Likewise.
29817         (__libc_calloc): Likewise.
29818
29819 2012-09-05  John Tobey  <john.tobey@gmail.com>
29820
29821         [BZ #13542]
29822         * manual/arith.texi (Operations on Complex): Fix description
29823         of carg branch cut.
29824
29825 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29826
29827         [BZ #10014]
29828         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29829         host name.
29830
29831         [BZ #10038]
29832         * manual/memory.texi (Memory): Make order of menu items match
29833         order of sections.
29834
29835 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29836
29837         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29838         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
29839         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29840
29841 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29842
29843         * csu/libc-tls.c (static_dtv): Renamed to ...
29844         (_dl_static_dtv): This.  Make it global.
29845         (_dl_initial_dtv): Removed.
29846         (__libc_setup_tls): Updated.
29847         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29848         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29849         DL_INITIAL_DTV.
29850
29851 2012-09-06  Petr Machata  <pmachata@redhat.com>
29852
29853         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29854         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29855         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29856         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29857
29858 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29859
29860         [BZ #14545]
29861         * csu/libc-tls.c (_dl_initial_dtv): New variable.
29862         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29863         freeing dtv[-1].
29864
29865 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29866
29867         [BZ #14544]
29868         * Makeconfig (link-static-before-libc): Replace $(+prector)
29869         with $(+prectorT).
29870         (link-static-after-libc): Replace $(+postctor) with
29871         $(+postctorT).
29872         (link-bounded): Replace $(+prector)/$(+postctor) with
29873         $(+prectorT)/$(+postctorT).
29874         (+prectorT): New macro.
29875         (+postctorT): Likewise.
29876
29877 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29878
29879         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29880         (round_str): Handle values above the maximum for IBM long double
29881         as inexact.
29882         * stdlib/tst-strtod-round.c (tests): Regenerated.
29883
29884 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29885
29886         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29887         assembler flag.
29888         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29889         zarch_nohighgprs around the zarch optimized routines.
29890         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29891         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29892         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29893         for zarch.
29894
29895 2012-09-05  David S. Miller  <davem@davemloft.net>
29896
29897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29898
29899         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29900         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29901         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29902         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29903         entries.
29904
29905 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29906
29907         * malloc/arena.c: Fold copyright years.
29908         * malloc/mcheck.c, malloc/memusage.c: Likewise.
29909
29910 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29911
29912         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29913
29914 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29915
29916         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
29917
29918 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29919
29920         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29921         change internal state upon failure.
29922
29923 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29924
29925         * malloc/mcheck.c (mcheck_check_all): Fix typo.
29926         * malloc/memusage.c (mmap): Likewise.
29927         (mmap64, mremap): Likewise.  Adjust name in comment.
29928
29929 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29930
29931         * libio/fileops.c: Fix typos in comments.
29932         * libio/oldfileops.c: Likewise.
29933         * libio/wfileops.c: Likewise.
29934
29935 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29936
29937         [BZ #1349]
29938         * malloc/Makefile (tests): Add tst-malloc-usable test case.
29939         (tst-malloc-usable-ENV): Set environment for test case.
29940         * malloc/hooks.c (malloc_check_get_size): New function to get
29941         requested size.
29942         * malloc/malloc.c (musable): Use malloc_check_get_size.
29943         * malloc/tst-malloc-usable.c: New test case.
29944
29945 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29946
29947         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29948
29949 2012-09-05  Allan McRae  <allan@archlinux.org>
29950
29951         [BZ #13966]
29952         * configure.in (CXX_SYSINCLUDES): Use compiler output to
29953         determine header location.
29954         * configure: Regenerated.
29955
29956 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29957
29958         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29959         float format.
29960         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29961         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29962         format.
29963         (test): Regenerate.
29964
29965 2012-09-04  David S. Miller  <davem@davemloft.net>
29966
29967         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29968         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29969         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29970
29971 2012-09-04  Florian Weimer  <fweimer@redhat.com>
29972
29973         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29974         failures.
29975
29976         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29977
29978 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
29979
29980         [BZ #9914]
29981         * libio/iogetdelim.c: Include <limits.h>.
29982         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29983         + len + 1 would overflow.
29984
29985 2012-09-03  Andreas Jaeger  <aj@suse.de>
29986
29987         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29988         * sysdeps/i386/fpu/libm-test-ulps: Update.
29989
29990 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29991
29992         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29993         Add s_sinf-sse2, s_conf-sse2.
29994
29995         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29996         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29997         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29998         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29999
30000         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30001         for using routine as __sinf_ia32.
30002         Use macro for function declaration and weak_alias.
30003         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30004         for using routine as __cosf_ia32.
30005         Use macro for function declaration and weak_alias.
30006
30007         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30008         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30009
30010         * sysdeps/x86_64/fpu/s_sinf.S: New file.
30011         * sysdeps/x86_64/fpu/s_cosf.S: New file.
30012         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30013
30014         * math/libm-test.inc (cos_test): Add more test cases.
30015         (sin_test): Likewise.
30016         (sincos_test): Likewise.
30017
30018 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30019
30020         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30021         (IFUNC_RESOLVE): Make pointers to the specialized implementations
30022         hidden.
30023         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30024
30025 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
30026
30027         [BZ #14538]
30028         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30029         first element of the GOT.
30030         (elf_machine_load_address): Return the difference between
30031         the runtime address of _DYNAMIC and elf_machine_dynamic ().
30032
30033 2012-09-01  Allan McRae  <allan@archlinux.org>
30034
30035         [BZ #13412]
30036         * configure.in (AWK): Require gawk version 3.0 or later.
30037         * configure: Regenerated.
30038
30039 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
30040
30041         * sysdeps/unix/sysv/linux/kernel-features.h
30042         (__ASSUME_POSIX_CPU_TIMERS): Remove.
30043         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30044         [__NR_clock_getres]: Make code unconditional.
30045         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30046         (clock_getcpuclockid): Remove code left unreachable by removal of
30047         conditionals.
30048         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30049         code unconditional.
30050         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30051         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30052         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30053         Make code unconditional.
30054         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30055         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30056         * sysdeps/unix/sysv/linux/clock_settime.c
30057         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30058         conditional code.
30059         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30060         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30061
30062 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
30063
30064         [BZ #14476]
30065         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30066         scripts/test-installation.pl.
30067
30068         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30069         and $ld_so_version if it is set.
30070
30071 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30072
30073         [BZ #14516]
30074         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30075         failure if reading from procfs failed.
30076         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30077
30078 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30079
30080         * sysdeps/unix/sysv/linux/kernel-features.h
30081         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30082         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30083         Remove conditional code.
30084         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30085         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30086         Remove conditional code.
30087         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30088         * sysdeps/unix/sysv/linux/i386/fxstat.c
30089         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30090         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30091         * sysdeps/unix/sysv/linux/i386/fxstatat.c
30092         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30093         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30094         * sysdeps/unix/sysv/linux/i386/lxstat.c
30095         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30096         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30097         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30098         Remove conditional code.
30099         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30100         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30101         Remove conditional code.
30102         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30103         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30104         <kernel-features.h>.
30105         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30106         Remove.
30107         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30108         Remove conditional code.
30109         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30110         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30111         Remove conditional.
30112
30113 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
30114
30115         [BZ #5400]
30116         * NEWS: Add fixed bug number.
30117
30118 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30119
30120         [BZ #14519]
30121         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30122         underflowing exponent in case of negative sign.
30123         * stdlib/tst-strtod-round-data: Add more tests.
30124         * stdlib/tst-strtod-round.c (tests): Regenerated.
30125
30126         [BZ #3479]
30127         * stdlib/strtod_l.c (NDIG): Remove.
30128         (HEXNDIG): Likewise.
30129         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30130         smallest representable value.
30131         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30132         lie within an exact representation of 1/2 ulp of the result.
30133         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30134         unconditionally.
30135         (TENS_P9_IDX): Define unconditionally.
30136         (TENS_P9_SIZE): Likewise.
30137         (TENS_P10_IDX): Likewise.
30138         (TENS_P10_SIZE): Likewise.
30139         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30140         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30141         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30142         entries for 10^2^13 and 10^2^14.
30143         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30144         (TENS_P13_IDX): Define.
30145         (TENS_P13_SIZE): Likewise.
30146         (TENS_P14_IDX): Likewise.
30147         (TENS_P14_SIZE): Likewise.
30148         (_fpioconst_pow10): Change array size to
30149         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
30150         unconditional.
30151         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30152         1024]: Add entries for 10^2^13 and 10^2^14.
30153         [LAST_POW10 > _LAST_POW10]: Remove #error.
30154         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30155         (_fpioconst_pow10): Change array size to
30156         FPIOCONST_POW10_ARRAY_SIZE.
30157         * stdlib/gen-fpioconst.c: New file.
30158         * stdlib/gen-tst-strtod-round.c: Likewise.
30159         * stdlib/tst-strtod-round-data: Likewise.
30160         * stdlib/tst-strtod-round.c: Likewise.
30161         * stdlib/Makefile (tests): Add tst-strtod-round.
30162
30163         [BZ #14459]
30164         * stdlib/strtod_l.c: Include <stdint.h>.
30165         (NDEBUG): Do not define.
30166         (round_and_return): Change EXPONENT parameter to type intmax_t.
30167         Rearrange calculations to avoid internal overflow possibilities.
30168         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30169         Rearrange calculations to avoid internal overflow possibilities.
30170         Assert that number fits inside MPNSIZE limbs.
30171         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30172         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
30173         calculations and add assertions to avoid internal overflow
30174         possibilities.  Add casts to avoid signed/unsigned operations.
30175         * stdlib/tst-strtod-overflow.c: New file.
30176         * stdlib/Makefile (tests): Add tst-strtod-overflow.
30177
30178 2012-08-25  Marek Polacek  <polacek@redhat.com>
30179
30180         * time/time.h: Fix some typos in comments.
30181
30182 2012-08-23  Roland McGrath  <roland@hack.frob.com>
30183
30184         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30185         * posix/tst-rfc3484-2.c: Likewise.
30186         * posix/tst-rfc3484-3.c: Likewise.
30187
30188 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
30189
30190         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30191         (EF_ARM_ABI_FLOAT_HARD): Likewise.
30192
30193 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
30194
30195         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30196         #include of fxstatat64.c.
30197
30198 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30199
30200         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30201         * shadow/getspent_r.c: Likewise.
30202         * shadow/getspnam.c: Likewise.
30203         * shadow/getspnam_r.c: Likewise.
30204         * gshadow/getsgent.c: Likewise.
30205         * gshadow/getsgent_r.c: Likewise.
30206         * gshadow/getsgnam.c: Likewise.
30207         * gshadow/getsgnam_r.c: Likewise.
30208         * inet/getnetbyad.c: Likewise.
30209         * inet/getnetbyad_r.c: Likewise.
30210         * inet/getnetbynm.c: Likewise.
30211         * inet/getnetbynm_r.c: Likewise.
30212         * inet/getnetent.c: Likewise.
30213         * inet/getnetent_r.c: Likewise.
30214         * inet/getproto.c: Likewise.
30215         * inet/getproto_r.c: Likewise.
30216         * inet/getprtent.c: Likewise.
30217         * inet/getprtent_r.c: Likewise.
30218         * inet/getprtname.c: Likewise.
30219         * inet/getprtname_r.c: Likewise.
30220         * inet/getrpcbyname.c: Likewise.
30221         * inet/getrpcbyname_r.c: Likewise.
30222         * inet/getrpcbynumber.c: Likewise.
30223         * inet/getrpcbynumber_r.c: Likewise.
30224         * inet/getrpcent.c: Likewise.
30225         * inet/getrpcent_r.c: Likewise.
30226         * inet/getaliasent.c: Likewise.
30227         * inet/getaliasent_r.c: Likewise.
30228         * inet/getaliasname.c: Likewise.
30229         * inet/getaliasname_r.c: Likewise.
30230         * nscd/getgrgid_r.c: Likewise.
30231         * nscd/getgrnam_r.c: Likewise.
30232         * nscd/gethstbyad_r.c: Likewise.
30233         * nscd/gethstbynm3_r.c: Likewise.
30234         * nscd/getpwnam_r.c: Likewise.
30235         * nscd/getpwuid_r.c: Likewise.
30236         * nscd/getsrvbynm_r.c: Likewise.
30237         * nscd/getsrvbypt_r.c: Likewise.
30238         * nscd/gai.c: Likewise.
30239
30240         * configure.in (build_nscd): New substituted variable, set
30241         by --disable-build-nscd and defaults to $use_nscd.
30242         * configure: Regenerated.
30243         * config.make.in (build-nscd): New substituted variable.
30244         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30245         Change conditional to require [$(build-nscd) = yes] as well.
30246         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30247
30248         [BZ# 13696]
30249         * configure.in (use_nscd): New substituted variable, set by
30250         --disable-nscd.  If enabled, define USE_NSCD.
30251         * configure: Regenerated.
30252         * config.h.in: Add USE_NSCD.
30253         * config.make.in (use-nscd): New substituted variable.
30254         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30255         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30256         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30257         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30258         (CFLAGS-getgrnam_r.c): Likewise.
30259         (CFLAGS-initgroups.c): Likewise.
30260         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30261         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30262         Variables removed.
30263         * inet/getnetgrent_r.c
30264         (nscd_setnetgrent): New function, broken out of ...
30265         (setnetgrent): ... here.  Call it.
30266         (innetgr): Conditionalize nscd bits on [USE_NSCD].
30267         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30268         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30269         * nscd/Makefile (routines, aux): Move definitions after include of
30270         Makeconfig.  Conditionalize on [$(use-nscd) != no].
30271         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30272         Conditionalize on [USE_NSCD].
30273         (is_nscd, nscd_init_cb): Likewise.
30274         (nss_load_library): Conditionalize init callback on [USE_NSCD].
30275         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30276         * nss/nss_db/db-init.c: Likewise.
30277         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30278         [USE_NSCD].
30279         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30280         (make_request): Use it.
30281         (cache_valid_p): New function.
30282         (__check_pf): Use it.
30283         * NEWS: Add item for --disable-nscd.
30284
30285 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
30286
30287         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30288         to support sed >= 4.2.1-20-ga9bf076.
30289         * configure: Regenerated.
30290
30291 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30292
30293         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30294         Conditionalize whole body on [IREL].
30295
30296 2012-08-22  Jeff Law <law@redhat.com>
30297
30298         [BZ #14505]
30299         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30300         if the family is PF_UNSPEC.
30301
30302 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
30303
30304         * Makerules (lib-version): Rename from V.
30305         (install-lib-nosubdir): Change V to lib-version.
30306
30307 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
30308
30309         [BZ #14252]
30310         * powerpc32/power6/wcschr.c: New file.
30311         * powerpc32/power6/wcscpy.c: New file.
30312         * powerpc32/power6/wcsrchr.c: New file.
30313         * powerpc64/power6/wcschr.c: New file.
30314         * powerpc64/power6/wcscpy.c: New file.
30315         * powerpc64/power6/wcsrchr.c: New file.
30316
30317 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30318
30319         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30320         (two_way_short_needle): Use it.
30321         * string/strstr.c (AVAILABLE1_USES_J): Define.
30322         * string/strcasestr.c: Likewise.
30323
30324         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30325         array references.
30326         * string/strcasestr.c (TOLOWER): Make side-effect safe.
30327
30328         [BZ #11607]
30329         * NEWS: Add an entry.
30330         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30331         define their defaults.
30332         (two_way_short_needle): Detect end-of-string on-the-fly.
30333         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30334         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30335         * string/bug-strcasestr1.c: New test.
30336         * string/Makefile: Run it.
30337
30338 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30339
30340         [BZ #11607]
30341         * string/str-two-way.h (two_way_short_needle): Optimize matching of
30342         the first character.
30343
30344 2012-08-21  Roland McGrath  <roland@hack.frob.com>
30345
30346         * csu/elf-init.c (__libc_csu_irel): Function removed.
30347         * csu/libc-start.c (apply_irel): New function.
30348         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30349
30350 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
30351
30352         * sysdeps/unix/sysv/linux/kernel-features.h
30353         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30354         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30355         <kernel-features.h>.
30356         [__NR_fadvise64_64]: Make code unconditional.
30357         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30358         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30359         !__NR_fadvise64_64)]: Likewise.
30360         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30361         !__NR_fadvise64_64))]: Likewise.
30362         [__NR_fadvise64]: Make code unconditional.
30363         [!__NR_fadvise64]: Remove conditional code.
30364         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30365         <kernel-features.h>.
30366         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30367         unconditional.
30368         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30369         conditional code.
30370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30371         not include <kernel-features.h>.
30372         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30373         unconditional.
30374         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30375         conditional code.
30376         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30377         include <kernel-features.h>.
30378         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30379         unconditional.
30380         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30381         conditional code.
30382
30383 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
30384
30385         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30386         slight instruction rearrangements per scrollpipe analysis.
30387         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30388
30389 2012-08-20  Roland McGrath  <roland@hack.frob.com>
30390
30391         * manual/syslog.texi (syslog; vsyslog, closelog):
30392         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30393         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30394
30395         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30396         DSOCAPS to match condition on defining it.
30397
30398 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
30399
30400         * sysdeps/unix/sysv/linux/kernel-features.h
30401         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30403         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30404         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30406         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30407         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30409         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30410         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30411
30412         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30413         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30414
30415         * sysdeps/unix/sysv/linux/kernel-features.h
30416         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30417         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30418         unconditional.
30419         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30420         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30421         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30422         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30423         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30424         Make code unconditional.
30425         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30426         (__mmap64) [!__NR_mmap2]: Likewise.
30427         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30428         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30429         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30430         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30431         [__NR_mmap2]: Make code unconditional.
30432         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30433         (__mmap64) [!__NR_mmap2]: Likewise.
30434
30435 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30436
30437         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30438
30439 2012-08-18  Andreas Jaeger  <aj@suse.de>
30440
30441         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30442
30443 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30444
30445         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30446         * include/unistd.h (__have_sock_cloexec): Likewise.
30447         (__have_pipe2): Likewise.
30448         (__have_dup3): Likewise.
30449
30450 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30451
30452         [BZ #9685]
30453         * include/unistd.h (__have_pipe2): Change define into an extern int.
30454         (__have_dup3): Likewise.
30455         * socket/have_sock_cloexec.c: Include fcntl.h.
30456         (__have_pipe2): New variable.
30457         (__have_dup3): Likewise.
30458
30459 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
30460
30461         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30462
30463 2012-08-17  Marek Polacek  <polacek@redhat.com>
30464
30465         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30466         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30467
30468 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30469
30470         * configure.in: Add AC_SUBST for sysheaders.
30471         * configure: Regenerated.
30472         * config.make.in (sysheaders): New substituted variable.
30473
30474         * sysdeps/unix/mkfifo.c: Moved ...
30475         * sysdeps/posix/mkfifo.c: ... here.
30476         * sysdeps/unix/mkfifoat.c: Moved ...
30477         * sysdeps/posix/mkfifoat.c: ... here.
30478
30479         * sysdeps/unix/utime.c: Moved ...
30480         * sysdeps/posix/utime.c: ... here.
30481
30482         * sysdeps/unix/time.c: Moved ...
30483         * sysdeps/posix/time.c: ... here.
30484         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30485         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30486
30487         * sysdeps/unix/nice.c: Moved ...
30488         * sysdeps/posix/nice.c: ... here.
30489
30490         * sysdeps/unix/alarm.c: Moved ...
30491         * sysdeps/posix/alarm.c: ... here.
30492
30493         * intl/Makefile ($(codeset_mo)): Depend on the input file.
30494
30495 2012-08-17  Jeff Law <law@redhat.com>
30496
30497         * intl/Makefile (codeset_mo): New variable.
30498         ($(codeset_mo)): New target.
30499         (tst-codeset.out): Depend on that.  Remove explicit rule.
30500         (tst-gettext3.out, tst-gettext5.out): Likewise.
30501         (LOCPATH-ENV, tst-codeset-ENV): New variables.
30502         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30503         * intl/tst-codeset.sh: Remove.
30504         * intl/tst-gettext3.sh: Likewise.
30505         * intl/tst-gettext5.sh: Likewise.
30506
30507 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30508
30509         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
30510         * sysdeps/unix/syscalls.list: ... here.
30511
30512         * sysdeps/posix/getaddrinfo.c
30513         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30514         (gaiconf_init, gaiconf_reload): Use them.
30515         [!_STATBUF_ST_NSEC]
30516         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30517         Define using time_t rather than struct timespec.
30518
30519         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30520         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30521         Macros removed.
30522         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30523         [!NO_THREADS].
30524         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30525         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30526         Likewise.
30527
30528         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30529         __libc_cleanup_push argument.
30530
30531         * bits/param.h: New file.
30532         * misc/sys/param.h: New file.
30533         * include/sys/param.h: New file.
30534         * misc/Makefile (headers): Add bits/param.h.
30535         * sysdeps/generic/sys/param.h: File removed.
30536         * sysdeps/unix/sysv/linux/bits/param.h: New file.
30537         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30538         * sysdeps/mach/hurd/bits/param.h: New file.
30539         * sysdeps/mach/hurd/sys/param.h: File removed.
30540
30541         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30542         last change.
30543
30544         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30545         [_IO_MTSAFE_IO].
30546         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30547         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30548         New macros.
30549
30550         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30551         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30552         rather than -D_IO_MTSAFE_IO conditionally.
30553         * stdio-common/Makefile (CPPFLAGS): Likewise.
30554         * wcsmbs/Makefile (CPPFLAGS): Likewise.
30555         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30556         Use $(libio-mtsafe).
30557         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30558         of -D_IO_MTSAFE_IO.
30559         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30560         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30561         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30562         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30563         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30564         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30565         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30566         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30567         (CFLAGS-fread_u_chk.c): Likewise.
30568         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30569         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30570         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30571         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30572         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30573         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30574         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30575         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30576         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30577
30578         * libio/Makefile: Test [$(libc-reentrant) = yes]
30579         instead of [$(filter %REENTRANT, $(defines)) nonempty].
30580
30581         * Makeconfig
30582         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30583         * sysdeps/pthread/configure: File removed.
30584         * sysdeps/pthread/Makeconfig: New file.
30585         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30586         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30587
30588 2012-08-16  Gary Benson  <gbenson@redhat.com>
30589
30590         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30591         unmapping the first object in a namespace.
30592
30593 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30594
30595         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30596         (__internal_setnetgrent): ... this.  Add internal_function to
30597         definition.  Add libc_hidden_def.
30598         (setnetgrent): Update caller.
30599         (internal_endnetgrent): Renamed to ...
30600         (__internal_endnetgrent): ... this.  Add internal_function to
30601         definition.  Add libc_hidden_def.
30602         (endnetgrent): Update caller.
30603         (internal_getnetgrent_r): Renamed to ...
30604         (__internal_getnetgrent_r): ... this.  Add internal_function to
30605         definition.  Add libc_hidden_def.
30606         (__getnetgrent_r): Update caller.
30607         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
30608
30609 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30610
30611         * stdlib/longlong.h: Update from GCC.
30612
30613 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30614
30615         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30616         on _QL, which is set by umul_ppmm but never used.
30617         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30618         variables, which are set by GMP macros but never used.
30619         * stdio-common/_itowa.c (_itowa): Likewise.
30620         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30621         * stdlib/mod_1.c (mpn_mod_1): Likewise.
30622
30623 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
30624
30625         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30626         struct La_sh_regs is not constant.
30627         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30628         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30629         and struct La_sparc64_regs are not constant.
30630
30631 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30632
30633         * sysdeps/unix/sysv/linux/kernel-features.h
30634         (__ASSUME_POSIX_TIMERS): Remove.
30635         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30636         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30637         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30638         Make code unconditional.
30639         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30640         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30641         Make code unconditional.
30642         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30643         * sysdeps/unix/sysv/linux/clock_nanosleep.c
30644         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30645         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30646         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30647         Make code unconditional.
30648         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30649         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30650         (__libc_missing_posix_timers): Remove.
30651
30652 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30653
30654         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30655         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30656
30657         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30658
30659         * elf/dl-sym.c: Include <stdlib.h>.
30660
30661         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30662         constants, which avoids warnings in 32-bit builds.
30663
30664         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30665         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30666
30667         * misc/lseek.c: File moved to ...
30668         * io/lseek.c: ... here.
30669
30670         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30671
30672         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30673         shifting LEN more than 31 bits at once.
30674
30675 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30676
30677         [BZ #14195]
30678         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30679         segmentation fault for a case of two empty input strings.
30680         * string/test-strncasecmp.c (check1): Renamed to...
30681         (bz12205): ...this.
30682         (bz14195): Add new testcase for two empty input strings and N > 0.
30683         (test_main): Call new testcase, adapt for renamed function.
30684
30685 2012-08-15  Andreas Jaeger  <aj@suse.de>
30686
30687         [BZ #14090]
30688         * crypt/md5test2.c: New test, based on test supplied by Serge
30689         Belyshev <belyshev@depni.sinp.msu.ru>.
30690         * crypt/Makefile (xtests): Add md5test-giant..
30691         * crypt/Makefile ($(objpfx)md5test-giant): Add.
30692
30693 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
30694
30695         [BZ #14090]
30696         * crypt/md5.c (md5_process_block): Don't assume the buffer
30697         length is less than 2**32.
30698         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30699         length is less than 2**64.
30700
30701 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30702
30703         * string/str-two-way.h: Include <sys/param.h>.
30704         (MAX): Macro removed.
30705
30706         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30707         Move #define and #undef of memmove to just before and after
30708         including <string.h>.
30709
30710         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30711         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30712         and after including <string.h>.  Move declarations of
30713         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30714         to before #include "string/memmove.c".
30715
30716         * include/dirent.h: Declare __getdirentries.
30717
30718         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30719         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30720
30721 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
30722
30723         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30724         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30725         * sysdeps/i386/configure: Regenerated.
30726         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30727         STABS_CURRENT_FILE, and STABS_FUN.
30728         (END): Remove call to STABS_FUN_END.
30729         (STABS_CURRENT_FILE1): Delete.
30730         (STABS_CURRENT_FILE): Likewise.
30731         (STABS_FUN): Likewise.
30732         (STABS_FUN_END): Likewise.
30733         (STABS_FUN2): Likewise.
30734         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30735         * sysdeps/x86_64/configure: Regenerated.
30736
30737 2012-08-14  Roland McGrath  <roland@hack.frob.com>
30738
30739         * elf/dl-open.c: Include <atomic.h>.
30740         * elf/dl-lookup.c: Likewise.
30741
30742 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
30743
30744         * sysdeps/unix/sysv/linux/kernel-features.h
30745         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30746         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30747         unconditionally.
30748         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30749         unconditionally.
30750         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30751         condition on __ASSUME_CLONE_THREAD_FLAGS.
30752
30753 2012-08-14  Andreas Jaeger  <aj@suse.de>
30754
30755         * sysdeps/i386/fpu/libm-test-ulps: Update.
30756
30757 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
30758
30759         * include/atomic.h (atomic_exchange_and_add): Split into ...
30760         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30761         New atomic macros.
30762
30763 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
30764
30765         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30766
30767 2012-08-13  Jeff Law <law@redhat.com>
30768
30769         * manual/stdio.texi (snprintf): Clarify handling of the trailing
30770         null byte in the output string.
30771
30772 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
30773
30774         * sysdeps/unix/sysv/linux/kernel-features.h
30775         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30776         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30777         (__ASSUME_ARG_MAX_STACK_BASED): Define.
30778         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30779         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30780         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
30781         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30782
30783 2012-08-09  Jeff Law <law@redhat.com>
30784
30785         [BZ #13939]
30786         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30787         When avoid_arena is set, don't retry in the that arena.  Pick the
30788         next one, whatever it might be.
30789         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30790         (arena_lock): Pass in new parameter to arena_get2.
30791         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30792         arena_get2.
30793         (__libc_malloc): Unify retrying after main arena failure with
30794         __libc_memalign version.
30795         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30796
30797 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30798
30799         [BZ #14166]
30800         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30801         to __redirect_strstr.
30802         (__strstr_sse42): Use typeof __redirect_strstr.
30803         (__strstr_ia32): Likewise.
30804         (__libc_strstr): New prototype.
30805         (strstr): Renamed to ...
30806         (__libc_strstr): This.
30807         (strstr): New strong alias of __libc_strstr.
30808         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30809         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30810         __redirect_time.
30811         Include <time.h>.
30812         (__libc_time): New prototype.
30813         (time_ifunc): Replace time with __libc_time.
30814         (time): New strong alias and hidden definition of __libc_time.
30815         (__GI_time): Remove strong alias.
30816         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30817         Include <stddef.h>.
30818         (memmove): Redefined to __redirect_memmove.
30819         (__memmove_sse2): Use typeof __redirect_memmove.
30820         (__memmove_ssse3): Likewise.
30821         (__memmove_ssse3_back): Likewise.
30822         (__libc_memmove): New prototype.
30823         (memmove): Renamed to ...
30824         (__libc_memmove): This.
30825         (memmove): New strong alias of __libc_memmove.
30826
30827 2012-08-08  Mark Salter  <msalter@redhat.com>
30828
30829         * elf/elf.h
30830         (R_MN10300_TLS_GD): Define.
30831         (R_MN10300_TLS_LD): Likewise.
30832         (R_MN10300_TLS_LDO): Likewise.
30833         (R_MN10300_TLS_GOTIE): Likewise.
30834         (R_MN10300_TLS_IE): Likewise.
30835         (R_MN10300_TLS_LE): Likewise.
30836         (R_MN10300_TLS_DTPMOD): Likewise.
30837         (R_MN10300_TLS_DTPOFF): Likewise.
30838         (R_MN10300_TLS_TPOFF): Likewise.
30839         (R_MN10300_SYM_DIFF): Likewise.
30840         (R_MN10300_ALIGN): Likewise.
30841         (R_MN10300_NUM): Update.
30842
30843 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
30844
30845         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30846         Remove.
30847
30848 2012-08-08  Roland McGrath  <roland@hack.frob.com>
30849
30850         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30851
30852         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30853         sysdeps/unix -> sysdeps/posix move.
30854         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30855
30856 2012-08-07      Allan McRae     <allan@archlinux.org>
30857
30858         [BZ #14303]
30859         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30860         (SUNOS_CPP): Likewise.
30861         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30862         not found.
30863         (open_input): Call CPP using execvp.
30864
30865 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30866
30867         * sysdeps/unix/sysv/linux/kernel-features.h
30868         (__ASSUME_PROT_GROWSUPDOWN): Remove.
30869         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30870         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30871         (__ASSUME_WAITID_SYSCALL): Likewise.
30872         * sysdeps/unix/sysv/linux/dl-execstack.c
30873         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30874         code unconditional.
30875         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30876         conditional code.
30877         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30878         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30879         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30880         code.
30881         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30882         unconditional.
30883         [__ASSUME_WAITID_SYSCALL]: Likewise.
30884         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30885
30886 2012-08-07  Roland McGrath  <roland@hack.frob.com>
30887
30888         * sysdeps/unix/closedir.c: Renamed to ...
30889         * sysdeps/posix/closedir.c: ... here.
30890         * sysdeps/unix/dirfd.c: Renamed to ...
30891         * sysdeps/posix/dirfd.c: ... here.
30892         * sysdeps/unix/dirstream.h: Renamed to ...
30893         * sysdeps/posix/dirstream.h: ... here.
30894         * sysdeps/unix/fdopendir.c: Renamed to ...
30895         * sysdeps/posix/fdopendir.c: ... here.
30896         * sysdeps/unix/opendir.c: Renamed to ...
30897         * sysdeps/posix/opendir.c: ... here.
30898         * sysdeps/unix/readdir.c: Renamed to ...
30899         * sysdeps/posix/readdir.c: ... here.
30900         * sysdeps/unix/readdir_r.c: Renamed to ...
30901         * sysdeps/posix/readdir_r.c: ... here.
30902         * sysdeps/unix/rewinddir.c: Renamed to ...
30903         * sysdeps/posix/rewinddir.c: ... here.
30904         * sysdeps/unix/seekdir.c: Renamed to ...
30905         * sysdeps/posix/seekdir.c: ... here.
30906         * sysdeps/unix/telldir.c: Renamed to ...
30907         * sysdeps/posix/telldir.c: ... here.
30908         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30909         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30910         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30911         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30912
30913         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30914         * bits/fcntl.h: ... here.
30915
30916         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30917         not 0.
30918         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30919         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30920         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30921         (struct flock): Move l_start, l_len to the beginning.
30922         Use __pid_t for l_pid.
30923         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30924         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30925         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30926         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30927         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30928         [__USE_LARGEFILE64] (struct flock64): New type.
30929         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30930
30931         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30932         * bits/dirent.h: ... here.
30933
30934         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30935         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30936
30937 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30938
30939         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30940         Change from 2.6.0 to 2.6.16.
30941         * sysdeps/unix/sysv/linux/configure: Regenerated.
30942         * sysdeps/unix/sysv/linux/kernel-features.h
30943         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30944         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30945         version.
30946         (__ASSUME_UTIMES): Likewise.
30947         (__ASSUME_CLONE_STOPPED): Remove.
30948         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30949         architectures, not kernel version.
30950         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30951         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30952         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30953         (__ASSUME_WAITID_SYSCALL): Likewise.
30954         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30955         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30956         * README: State 2.6.16 as minimum Linux kernel version.  Do not
30957         refer to older versions.
30958
30959 2012-08-06  Roland McGrath  <roland@hack.frob.com>
30960
30961         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30962         Define alphasort64 as an alias.
30963         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30964         Define versionsort64 as an alias.
30965         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30966         Define scandir64 as an alias.
30967         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30968         Define scandirat64 as an alias.
30969         * dirent/alphasort64.c (alphasort64):
30970         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30971         * dirent/versionsort64.c: Likewise.
30972         * dirent/scandir64.c: Likewise.
30973         * dirent/scandirat64.c: Likewise.
30974         * sysdeps/wordsize-64/alphasort.c: File removed.
30975         * sysdeps/wordsize-64/alphasort64.c: File removed.
30976         * sysdeps/wordsize-64/scandir.c: File removed.
30977         * sysdeps/wordsize-64/scandir64.c: File removed.
30978         * sysdeps/wordsize-64/scandirat.c: File removed.
30979         * sysdeps/wordsize-64/scandirat64.c: File removed.
30980         * sysdeps/wordsize-64/versionsort.c: File removed.
30981         * sysdeps/wordsize-64/versionsort64.c: File removed.
30982         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30983         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30984         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30985         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30986         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30987         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30988         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30989         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30990
30991         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30992         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30993         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30994         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30995         [defined __arch64__ || defined __sparcv9]
30996         (__INO_T_MATCHES_INO64_T): New macro.
30997         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30998         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30999         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31000         * sysdeps/unix/sysv/linux/bits/dirent.h
31001         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31002         (_DIRENT_MATCHES_DIRENT64): New macro.
31003
31004         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31005         Define lockf64 as an alias.
31006         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31007         Define fseeko64 as an alias.
31008         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31009         Define ftello64 as an alias.
31010         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31011         Define _IO_fgetpos64 and fgetpos64 as aliases.
31012         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31013         Define _IO_fsetpos64 and fsetpos64 as aliases.
31014         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31015         Conditionalize body on this.
31016         * libio/fseeko64.c: Likewise.
31017         * libio/ftello64.c: Likewise.
31018         * libio/iofgetpos64.c: Likewise.
31019         * libio/iofsetpos64.c: Likewise.
31020         * sysdeps/wordsize-64/lockf.c: File removed.
31021         * sysdeps/wordsize-64/lockf64.c: File removed.
31022         * sysdeps/wordsize-64/fseeko.c: File removed.
31023         * sysdeps/wordsize-64/fseeko64.c: File removed.
31024         * sysdeps/wordsize-64/ftello.c: File removed.
31025         * sysdeps/wordsize-64/ftello64.c: File removed.
31026         * sysdeps/wordsize-64/iofgetpos.c: File removed.
31027         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31028         * sysdeps/wordsize-64/iofsetpos.c: File removed.
31029         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31030         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31031         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31032         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31033         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31034         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31035         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31036         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31037         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31038         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31039         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31040
31041         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31042         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31043         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31044         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31045         [defined __arch64__ || defined __sparcv9]
31046         (__OFF_T_MATCHES_OFF64_T): New macro.
31047         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31048         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31049         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31050         (__OFF_T_MATCHES_OFF64_T): New macro.
31051
31052 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31053
31054         * stdlib/secure-getenv.c (__secure_getenv): Replace
31055         GLIBC_2_16 with GLIBC_2_17.
31056
31057 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31058
31059         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31060         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31061
31062 2012-08-03  David S. Miller  <davem@davemloft.net>
31063
31064         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31065
31066 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31067
31068         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31069         Remove.
31070         (__ASSUME_CORRECT_SI_PID): Likewise.
31071         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31072         (__ASSUME_TMPFS_NAME): Likewise.
31073         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31074         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31075         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31076         (HAVE_AUX_SECURE): Make definition unconditional.
31077         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31078         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31079
31080 2012-08-03  Roland McGrath  <roland@hack.frob.com>
31081
31082         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31083         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31084         * sysdeps/mach/hurd/eloop-threshold.h: New file.
31085         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31086         __eloop_threshold instead of SYMLOOP_MAX.
31087
31088         * sysdeps/generic/eloop-threshold.h: New file.
31089         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31090         of MAXSYMLINKS.
31091         * elf/chroot_canon.c (chroot_canon): Likewise.
31092
31093 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31094
31095         [BZ #13717]
31096         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31097         Change to 2.6.0 everywhere.
31098         * sysdeps/unix/sysv/linux/configure: Regenerated.
31099         * sysdeps/unix/sysv/linux/kernel-features.h
31100         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31101         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31102         kernel versions.
31103         (__ASSUME_POSIX_TIMERS): Define unconditionally.
31104         (__ASSUME_FUTEX_REQUEUE): Remove.
31105         (__ASSUME_STATFS64): Define unconditionally.
31106         (__ASSUME_AT_SECURE): Likewise.
31107         (__ASSUME_CORRECT_SI_PID): Likewise.
31108         (__ASSUME_TGKILL): Define without depending on kernel version for
31109         i386.
31110         (__ASSUME_UTIMES): Likewise.
31111         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31112         kernel version.
31113         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31114         (__ASSUME_TMPFS_NAME): Likewise.
31115         * README: Update reference to Linux kernel versions.
31116
31117 2012-08-02  Marek Polacek  <polacek@redhat.com>
31118
31119         [BZ# 14150]
31120         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
31121         libc_cv_asm_type_prefix with %.
31122         * configure: Regenerated.
31123         * include/libc-symbols.h: Remove comment about
31124         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31125         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31126         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31127         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31128         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31129         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31130         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31131         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31132         * elf/tst-unique2mod1.c: Likewise.
31133         * elf/tst-unique1mod2.c: Likewise.
31134         * elf/tst-unique1mod1.c: Likewise.
31135         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31136         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31137         Replace ASM_TYPE_DIRECTIVE with .type.
31138         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31139         * sysdeps/i386/sysdep.h: Likewise.
31140         * sysdeps/x86_64/sysdep.h: Likewise.
31141         * sysdeps/sh/sysdep.h: Likewise.
31142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31143         Do not define ASM_TYPE_DIRECTIVE.
31144         * sysdeps/powerpc/sysdep.h: Likewise.
31145         * sysdeps/powerpc/powerpc32/sysdep.h:
31146         Replace ASM_TYPE_DIRECTIVE with .type.
31147         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31148         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31149         * sysdeps/i386/fpu/e_powf.S: Likewise.
31150         * sysdeps/i386/fpu/e_expl.S: Likewise.
31151         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31152         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31153         * sysdeps/i386/fpu/e_pow.S: Likewise.
31154         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31155         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31156         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31157         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31158         * sysdeps/i386/fpu/e_log2.S: Likewise.
31159         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31160         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31161         * sysdeps/i386/fpu/e_powl.S: Likewise.
31162         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31163         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31164         * sysdeps/i386/fpu/e_logl.S: Likewise.
31165         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31166         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31167         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31168         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31169         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31170         * sysdeps/i386/fpu/e_log.S: Likewise.
31171         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31172         * sysdeps/i386/fpu/e_logf.S: Likewise.
31173         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31174         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31175         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31176         * sysdeps/i386/fpu/e_log10.S: Likewise.
31177         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31178         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31179         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31180         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31181         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31182         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31183         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31184         * sysdeps/i386/i686/strtok.S: Likewise.
31185         * sysdeps/i386/i386-mcount.S: Likewise.
31186         * sysdeps/i386/strtok.S: Likewise.
31187         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31188         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31189         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31190         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31191         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31192         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31193         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31194         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31195         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31196         * sysdeps/x86_64/_mcount.S: Likewise.
31197         * sysdeps/x86_64/strtok.S: Likewise.
31198         * sysdeps/sh/_mcount.S: Likewise.
31199
31200 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31201
31202         * libio/iofopen.c: Include <fcntl.h>.
31203         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31204         (_IO_fopen64, fopen64): Define as aliases.
31205         * libio/iofopen64.c: Include <fcntl.h>.
31206         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31207         Conditionalize body on this.
31208         * sysdeps/wordsize-64/iofopen.c: File removed.
31209         * sysdeps/wordsize-64/iofopen64.c: File removed.
31210
31211 2012-08-01  Marek Polacek  <polacek@redhat.com>
31212
31213         * libc/Makeconfig: Use elf in place of binfmt-subdir.
31214         Use dlfcn directly instead of a variable.
31215         (binfmt-subdir): Do not define.
31216         (dlfcn): Likewise.
31217
31218 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
31219
31220         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31221         Remove all definitions.
31222         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31223         <kernel-features.h>.
31224         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31225         (miss_F_GETOWN_EX): Remove all definitions.
31226         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31227         macro definition.
31228         [!__ASSUME_FCNTL64]: Remove conditional code.
31229         [__ASSUME_FCNTL64]: Make code unconditional.
31230         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31231         <kernel-features.h>.
31232         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31233         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31234         (lockf64) [__NR_fcntl64]: Make code unconditional.
31235         (lockf64) [__ASSUME_FCNTL64]: Likewise.
31236
31237         * sysdeps/unix/sysv/linux/kernel-features.h
31238         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31239         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31240         Make code unconditional.
31241         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31242         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31244         [__NR_vfork]: Make code unconditional.
31245         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31246         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31248         [__NR_vfork]: Make code unconditional.
31249         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31250         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31251
31252 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31253
31254         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31255         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31256
31257         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31258         Define mkstemp64 as an alias.
31259         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31260         Define mkstemps64 as an alias.
31261         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31262         Define mkostemp64 as an alias.
31263         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31264         Define mkostemps64 as an alias.
31265         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31266         Conditionalize body on this.
31267         * misc/mkostemp64.c: Likewise.
31268         * misc/mkostemps64.c: Likewise.
31269         * misc/mkstemps64.c: Likewise.
31270         * sysdeps/wordsize-64/mkstemp64.c: File removed.
31271         * sysdeps/wordsize-64/mkostemp64.c: File removed.
31272         * sysdeps/wordsize-64/mkostemp.c: File removed.
31273         * sysdeps/wordsize-64/mkstemp.c: File removed.
31274         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31275         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31276         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31277         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31278
31279         [BZ #14138]
31280         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31281         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31282         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31283         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31284
31285         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31286         compat_symbol macros from <shlib-compat.h> rather than the underlying
31287         default_symbol_version and symbol_version macros, so that DEFAULT
31288         lines in shlib-versions are respected.
31289         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31290
31291 2012-08-01  Florian Weimer  <fweimer@redhat.com>
31292
31293         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31294         Declare with warn_unused_result.
31295         (setgid, setregid, setegid, setresgid): Likewise.
31296         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31297         Likewise.
31298         * WUR-REPORT: Remove set*id functions.
31299
31300 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
31301
31302         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31303
31304 2012-07-31  Roland McGrath  <roland@hack.frob.com>
31305
31306         [BZ #10191]
31307         * include/sys/socket.h (__libc_accept, __libc_accept4):
31308         Add attribute_hidden.
31309         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31310
31311         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31312         use of PTR_MANGLE.
31313         * inet/getnetgrent_r.c (setup): Likewise.
31314
31315         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31316
31317 2012-07-31  David S. Miller  <davem@davemloft.net>
31318
31319         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31320
31321 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
31322
31323         [BZ #13629]
31324         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31325         value between 1.0 and 2.0 and smaller part has absolute value less
31326         than 1.0.
31327         * math/s_clog10.c (__clog10): Likewise.
31328         * math/s_clog10f.c (__clog10f): Likewise.
31329         * math/s_clog10l.c (__clog10l): Likewise.
31330         * math/s_clogf.c (__clogf): Likewise.
31331         * math/s_clogl.c (__clogl): Likewise.
31332         * math/libm-test.inc (clog_test): Add more tests.
31333         (clog10_test): Likewise.
31334         * sysdeps/i386/fpu/libm-test-ulps: Update.
31335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31336
31337 2012-07-31  Florian Weimer  <fweimer@redhat.com>
31338
31339         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31340         Exit with zero in case no suitable GID is found, and write a
31341         message to standard error.
31342
31343 2012-07-30  Roland McGrath  <roland@hack.frob.com>
31344
31345         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31346         rather than to 1.
31347         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31348         (MAXPATHLEN): Removed.
31349         (NOGROUP, NODEV): New macros.
31350         (setbit, clrbit, isset, isclr): New macros.
31351         (howmany, roundup, powerof2): New macros.
31352         (DEV_BSIZE): New macro.
31353
31354         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31355         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31356
31357         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31358         definition on [!__NO_LONG_DOUBLE_MATH].
31359
31360         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31361         PTR_MANGLE and PTR_DEMANGLE.
31362
31363         * socket/accept4.c (accept4): Rename to __libc_accept4.
31364         Define accept4 as a weak alias.
31365
31366         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31367         on [_DIRENT_HAVE_D_TYPE].
31368         * io/ftw.c (ftw_dir): Likewise.
31369
31370         * io/xmknod.c (__xmknod): Don't check PATH for being null.
31371
31372         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31373
31374         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31375         Use the BSD numbers rather than the arbitrary ones we had.
31376         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31377         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31378         (SIGXCPU, SIGXFSZ): New macros.
31379         (_NSIG): Now 32.
31380
31381         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31382         initializer on [_LIBC_REENTRANT].
31383
31384         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31385         definitions inside [_POSIX_MAPPED_FILES].
31386
31387         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31388
31389         * dirent/opendir.c: Include <fcntl.h>.
31390
31391         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31392         (__libc_getspecific): Likewise.
31393         (__libc_key_create): Likewise.
31394
31395         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31396         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31397         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31398         (tmpfile64): Define as alias.
31399         * sysdeps/wordsize-64/tmpfile.c: File removed.
31400         * sysdeps/wordsize-64/tmpfile64.c: File removed.
31401         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31402         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31403
31404         * stdio-common/vfscanf.c: Include <stdbool.h>.
31405         * nss/makedb.c: Likewise.
31406         * stdio-common/_i18n_number.h: Likewise.
31407         * argp/argp-help.c: Likewise.
31408         * posix/wordexp.c: Likewise.
31409         * sysdeps/posix/spawni.c: Likewise.
31410         * nss/nss_files/files-initgroups.c: Likewise.
31411         * stdio-common/reg-modifier.c: Include <stdlib.h>.
31412         * nss/nss_files/files-initgroups.c: Likewise.
31413         * nss/nss_db/db-netgrp.c: Likewise.
31414         * nss/nss_db/db-initgroups.c: Likewise.
31415         * io/fchmodat.c: Include <sys/stat.h>.
31416
31417         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31418         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31419
31420         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31421         [HAVE_MMAP].
31422
31423         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31424         Add multiple inclusion protection.
31425
31426 2012-07-27  David S. Miller  <davem@davemloft.net>
31427
31428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31429
31430 2012-07-27  Gary Benson  <gbenson@redhat.com>
31431
31432         [BZ #14298]
31433         * elf/rtld.c: Include <stap-probe.h>.
31434         (dl_main): Added static probes "init_start" and "init_complete".
31435         * elf/dl-load.c: Include <stap-probe.h>.
31436         (lose): Take new parameter "nsid".
31437         Added static probe "map_failed".
31438         (_dl_map_object_from_fd): Pass namespace id to lose.
31439         Added static probe "map_start".
31440         (open_verify): Pass namespace id to lose.
31441         * elf/dl-open.c: Include <stap-probe.h>.
31442         (dl_open_worker) Added static probes "map_complete", "reloc_start"
31443         and "reloc_complete".
31444         * elf/dl-close.c: Include <stap-probe.h>.
31445         (_dl_close_worker): Added static probes "unmap_start" and
31446         "unmap_complete".
31447         * elf/rtld-debugger-interface.txt: New file documenting the above.
31448
31449 2012-07-26  Roland McGrath  <roland@hack.frob.com>
31450
31451         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31452         rather than a string variable.
31453         * sunrpc/rpc_main.c (h_output): Likewise.
31454         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31455
31456 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
31457
31458         * inet/check_native.c: New file.
31459
31460 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
31461
31462         [BZ #13629]
31463         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31464         if larger part has absolute value 1.0.
31465         * math/s_clog10.c (__clog10): Likewise.
31466         * math/s_clog10f.c (__clog10f): Likewise.
31467         * math/s_clog10l.c (__clog10l): Likewise.
31468         * math/s_clogf.c (__clogf): Likewise.
31469         * math/s_clogl.c (__clogl): Likewise.
31470         * math/libm-test.inc (clog_test): Add more tests.
31471         (clog10_test): Likewise.
31472         * sysdeps/i386/fpu/libm-test-ulps: Update.
31473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31474
31475         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31476         (pltexit): Likewise.
31477         (La_regs): Likewise.
31478         (La_retval): Likewise.
31479         (int_retval): Likewise.
31480         Update #error for removed macros to refer only to definitions in
31481         tst-audit.h.
31482         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31483         macro.
31484         (pltexit): Likewise.
31485         (La_regs): Likewise.
31486         (La_retval): Likewise.
31487         (int_retval): Likewise.
31488         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31489         macro.
31490         (pltexit): Likewise.
31491         (La_regs): Likewise.
31492         (La_retval): Likewise.
31493         (int_retval): Likewise.
31494         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31495         macro.
31496         (pltexit): Likewise.
31497         (La_regs): Likewise.
31498         (La_retval): Likewise.
31499         (int_retval): Likewise.
31500         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31501         macro.
31502         (pltexit): Likewise.
31503         (La_regs): Likewise.
31504         (La_retval): Likewise.
31505         (int_retval): Likewise.
31506         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31507         macro.
31508         (pltexit): Likewise.
31509         (La_regs): Likewise.
31510         (La_retval): Likewise.
31511         (int_retval): Likewise.
31512         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31513         macro.
31514         (pltexit): Likewise.
31515         (La_regs): Likewise.
31516         (La_retval): Likewise.
31517         (int_retval): Likewise.
31518         * sysdeps/generic/tst-audit.h: Update comment to refer only to
31519         macro definitions in tst-audit.h.
31520         * sysdeps/i386/tst-audit.h: New file.
31521         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31522         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31523         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31524         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31525         * sysdeps/sh/tst-audit.h: Likewise.
31526         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31527         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31528         * sysdeps/x86_64/tst-audit.h: Likewise.
31529
31530 2012-07-26  Andreas Jaeger  <aj@suse.de>
31531
31532         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31533         ptrace.
31534
31535         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31536         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31537         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31538         PTRACE_O_MASK.
31539         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31540         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31541         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31542
31543         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31544         value.
31545
31546         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31547         _sigsys.
31548         (si_call_addr, si_syscall, si_arch): Define new macro.
31549         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31550         _sigsys.
31551         (si_call_addr, si_syscall, si_arch): Define new marcro.
31552         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31553         _sigsys.
31554         (si_call_addr, si_syscall, si_arch): Define new macro.
31555         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31556         _sigsys.
31557         (si_call_addr, si_syscall, si_arch): Define new macro.
31558
31559 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31560
31561         [BZ #13717]
31562         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31563         Change to 2.4.21 where previously 2.4.1.
31564         * sysdeps/unix/sysv/linux/configure: Regenerated.
31565         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31566         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31567         Linux kernel version.
31568         (__ASSUME_STD_AUXV): Remove.
31569         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31570         kernel version.
31571         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31572         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31573         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31574         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31575         (__ASSUME_NETLINK_SUPPORT): Likewise.
31576         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31577         (__no_netlink_support): Remove conditional definition.
31578         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31579         Remove.
31580         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31581         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31582         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31583         (if_nameindex_ioctl): Remove.
31584         (if_nameindex_netlink): Do not handle __no_netlink_support.
31585         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31586         code.
31587         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31588         Remove conditional code.
31589         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31590         code.
31591         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31592         unconditional.
31593         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31594         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31595         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31596         Remove.
31597         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31598         [!__ASSUME_STD_AUXV]: Remove conditional code.
31599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31600         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31601         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31603         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31604         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31605         code.
31606         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31608         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31609         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31610         conditional code.
31611         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31613         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31614         code.
31615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31616         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31617         conditional code.
31618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31619         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31620         code unconditional.
31621         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31622         conditional code.
31623         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31624         unconditional.
31625         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31626         conditional code.
31627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31628         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31629         unconditional.
31630         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31631         conditional code.
31632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31633         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31634         code unconditional.
31635         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31636         conditional code.
31637         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31638         unconditional.
31639         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31640         conditional code.
31641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31642         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31643         code unconditional.
31644         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31645         conditional code.
31646         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31647         unconditional.
31648         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31649         conditional code.
31650
31651 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
31652
31653         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31654         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31655         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31656         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31657         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31658         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31659         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31660         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31661         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31662         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31663         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31664         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31665         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31666         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31667         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31668         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31669         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31670         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31671         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31672         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31673         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31674         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31675         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31676
31677 2012-07-25  Florian Weimer  <fweimer@redhat.com>
31678
31679         * Versions.def: Add GLIBC_2.17.
31680         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31681         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31682         Introduce __libc_secure_getenv.
31683         * stdlib/Versions (2.17): Add secure_getenv
31684         (GLIBC_PRIVATE): Add __libc_secure_getenv.
31685         * stdlib/secure-getenv.c: Rename __secure_getenv to
31686         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
31687         symbol __secure_getenv for GLIBC_2.0.
31688         * stdlib/tst-secure-getenv.c: New.
31689         * stdlib/Makefile (tests): Add testcase.
31690         * manual/startup.texi (Environment Access): Document
31691         secure_getenv.
31692         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31693         __libc_secure_getenv.
31694         * inet/ruserpass.c (ruserpass): Likewise.
31695         * malloc/mtrace.c (mtrace): Likewise.
31696         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31697         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31698         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31699         * sysdeps/posix/tempname.c: Likewise.  Evaluate
31700         HAVE_SECURE_GETENV.
31701         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31702         __secure_getenv to __libc_secure_getenv.
31703         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31705         Likewise.
31706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31707         Likewise.
31708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31710         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31711         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31715
31716 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31717
31718         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31719         (struct La_i86_retval): Likewise.
31720         (struct La_x86_64_regs): Likewise.
31721         (struct La_x86_64_retval): Likewise.
31722         (struct La_x32_regs): Likewise.
31723         (struct La_x32_retval): Likewise.
31724         (struct La_ppc32_regs): Likewise.
31725         (struct La_ppc32_retval): Likewise.
31726         (struct La_ppc64_regs): Likewise.
31727         (struct La_ppc64_retval): Likewise.
31728         (struct La_sh_regs): Likewise.
31729         (struct La_sh_retval): Likewise.
31730         (struct La_s390_32_regs): Likewise.
31731         (struct La_s390_32_retval): Likewise.
31732         (struct La_s390_64_regs): Likewise.
31733         (struct La_s390_64_retval): Likewise.
31734         (struct La_sparc32_regs): Likewise.
31735         (struct La_sparc32_retval): Likewise.
31736         (struct La_sparc64_regs): Likewise.
31737         (struct La_sparc64_retval): Likewise.
31738         (struct audit_ifaces): Remove architecture-specific pltenter and
31739         pltexit members.
31740         * sysdeps/i386/ldsodefs.h: New file.
31741         * sysdeps/powerpc/ldsodefs.h: Likewise.
31742         * sysdeps/s390/ldsodefs.h: Likewise.
31743         * sysdeps/sh/ldsodefs.h: Likewise.
31744         * sysdeps/sparc/ldsodefs.h: Likewise.
31745         * sysdeps/x86_64/ldsodefs.h: Likewise.
31746
31747 2012-07-25  Marek Polacek  <polacek@redhat.com>
31748
31749         [BZ #6808]
31750         * math/libm-test.inc (yn_test): Add another test.
31751         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31752         to ERANGE when the result is +-Inf.
31753         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31754         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31755         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31756         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31757
31758 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
31759
31760         * conform/data/time.h-data (NULL): Use macro-constant.  Require
31761         equal to 0.
31762         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
31763         clock_t.
31764         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
31765
31766 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
31767
31768         * configure.in <sysdeps resolving>: Correct printing
31769         Implies_before.
31770         * configure: Regenerate.
31771
31772 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
31773
31774         * math/w_ilogb.c: Include <limits.h>.
31775         * math/w_ilogbl.c: Likewise.
31776
31777 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31778
31779         * manual/lang.texi (__va_copy): Document primarily as ISO C99
31780         va_copy.  Document allowing for unavailable va_copy only as
31781         pre-C99 compatibility.
31782         * manual/string.texi (Copying and Concatenation): Use va_copy
31783         instead of __va_copy in concat example.
31784
31785 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
31786
31787         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31788         (__sendto): Use create_address_port.  Initialize APORT and deallocate
31789         it if not null.
31790
31791         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31792         with O_NOLINK passed to __file_name_lookup.
31793
31794         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31795         with O_NOLINK passed to __file_name_lookup.
31796
31797         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31798         negative N or less than NGIDS.
31799
31800         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31801         type to string_t.  Set ERANGE as errno and return it if NAME is not big
31802         enough.  Use memcpy instead of strncpy.
31803
31804 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31805
31806         * elf/Makefile (check-data): Remove.
31807         (localplt.data): New vpath directive.
31808         ($(objpfx)check-localplt.out): Use localplt.data from vpath
31809         instead of $(check-data).
31810         * scripts/data/localplt-generic.data: Move to ...
31811         * sysdeps/generic/localplt.data: ... here.
31812         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31813         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31814         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31816         ... here.
31817         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31819         ... here.
31820         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31822         ... here.
31823         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31825         ... here.
31826         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31827         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31828         ... here.
31829         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31830         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31831         ... here.
31832
31833 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31834
31835         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31836         PPC32 and PPC64 files.
31837         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31838         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31839
31840 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31841
31842         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31843         __makecontext_ret to ...
31844         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31845         ... here and call exit if uc_link is NULL.  New file.
31846         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31847         __makecontext_ret.S.
31848         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31849         __makecontext_ret to ...
31850         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31851         ... here and call exit if uc_link is NULL.  New file.
31852         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31853         __makecontext_ret.S.
31854
31855 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31856
31857         * elf/elf.h (R_390_IRELATIVE): New definition.
31858         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31859         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
31860         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31861         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31862         (elf_machine_lazy_rel): Likewise.
31863         * sysdeps/s390/dl-irel.h: New file.
31864         * sysdeps/s390/s390-64/memcpy.S: New asm code.
31865         * sysdeps/s390/s390-64/memset.S: New asm code.
31866         * sysdeps/s390/s390-64/memcmp.S: New asm code.
31867         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31868         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31869         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31870         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31871         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31872         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31873         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31874         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31875         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31876         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31877         * sysdeps/s390/s390-32/memcpy.S: New asm code.
31878         * sysdeps/s390/s390-32/memset.S: New asm code.
31879         * sysdeps/s390/s390-32/memcmp.S: New asm code.
31880
31881 2012-07-17  Marek Polacek  <polacek@redhat.com>
31882
31883         [BZ #14349]
31884         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31885         * sysdeps/s390/s390-64/configure.in: Likewise.
31886         * sysdeps/sparc/configure.in: Likewise.
31887         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31888         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31889         * sysdeps/i386/configure.in: Likewise.
31890         * sysdeps/x86_64/configure.in: Likewise.
31891         * sysdeps/sh/configure.in: Likewise.
31892         * sysdeps/s390/s390-32/configure: Regenerated.
31893         * sysdeps/s390/s390-64/configure: Likewise.
31894         * sysdeps/x86_64/configure: Likewise.
31895         * sysdeps/sh/configure: Likewise.
31896         * sysdeps/powerpc/powerpc64/configure: Likewise.
31897         * sysdeps/powerpc/powerpc32/configure: Likewise.
31898         * sysdeps/sparc/configure: Likwise.
31899         * sysdeps/i386/configure: Likewise.
31900
31901         * elf/dl-open.c: Comment fixes.
31902
31903 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
31904
31905         * Makefile [CXX] (check-data): Remove.
31906         [CXX] (c++-types.data): New vpath directive.
31907         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31908         vpath.  Do not allow for C++ type data being missing.
31909         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31910         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31911         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31912         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31913         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31914         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31915         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31917         ... here.
31918         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31920         ... here.
31921         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31923         ... here.
31924         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31925         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31926         ... here.
31927         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31928         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31929         ... here.
31930         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31931         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31932         ... here.
31933         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31935         ... here.
31936         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31937         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31938
31939         * elf/tls-macros.h (TLS_LE): Move architecture-specific
31940         definitions to architecture-specific files.
31941         (TLS_IE): Likewise.
31942         (TLS_LD): Likewise.
31943         (TLS_GD): Likewise.
31944         * sysdeps/i386/tls-macros.h: New file.
31945         * sysdeps/powerpc/tls-macros.h: Likewise.
31946         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31947         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31948         * sysdeps/sh/tls-macros.h: Likewise.
31949         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31950         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31951         * sysdeps/x86_64/tls-macros.h: Likewise.
31952
31953 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31954
31955         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31956         zero value for regular exit case.
31957
31958         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31959         (__start_context): Preserve zero value for regular exit case.
31960
31961 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31962             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31963
31964         * manual/setjmp.texi (setcontext): Clarify normal process
31965         termination when uc_link is the null pointer.
31966         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31967         exit call.
31968
31969 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
31970
31971         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31972         preprocessor.  Test for each exception mask separately.
31973
31974 2012-07-16  Andreas Jaeger  <aj@suse.de>
31975
31976         * po/ru.po: Update from translation team.
31977
31978 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
31979
31980         * conform/data/string.h-data (NULL): Use macro-constant.  Require
31981         equal to 0.
31982         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31983         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31984         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31985         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31986         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31987
31988 2012-07-13  Andreas Jaeger  <aj@suse.de>
31989
31990         * po/fr.po: Update from translation team.
31991
31992 2012-07-12  Marek Polacek  <polacek@redhat.com>
31993
31994         [BZ #14173]
31995         * math/libm-test.inc (yn_test): Add test for BZ #14173.
31996         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31997         loop condition.
31998
31999 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
32000
32001         [BZ #13717]
32002         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32003         Change to 2.4.1 where previously 2.4.0.
32004         * sysdeps/unix/sysv/linux/configure: Regenerated.
32005         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32006         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32007         version.
32008         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32009         (__ASSUME_AT_CLKTCK): Remove.
32010         (__ASSUME_AT_PAGESIZE): Likewise.
32011         (__ASSUME_AT_XID): Likewise.
32012         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32013         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32014         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32015         unconditionally.
32016         (HAVE_AUX_PAGESIZE): Likewise.
32017         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32018         [__ASSUME_AT_CLKTCK]: Make code unconditional.
32019         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32020
32021 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
32022
32023         [BZ #14307]
32024         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32025         the temporary buffer used to invoke __gethostbyname2_r,
32026         __gethostbyaddr_r and gethostbyname4_r to make room for struct
32027         host_data / struct gaih_addrtuple.
32028         * resolv/nss_dns/dns-host.c (global scope): Move definition of
32029         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32030         header file nss/nsswitch.h.
32031         * nss/nsswitch.h (global scope): Add definition of implementation
32032         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32033         resolv/nss_dns/dns-host.c).
32034
32035 2012-07-11  Andreas Jaeger  <aj@suse.de>
32036
32037         * po/fr.po: Update from translation team.
32038
32039         * po/sv.po: Update from translation team
32040         * po/fr.po: Another update from translation team.
32041
32042 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32043
32044         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32045         for subnormals or multiply small sinh result by itself.
32046         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32047         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32048
32049 2012-07-11  David S. Miller  <davem@davemloft.net>
32050
32051         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32052
32053 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
32054
32055         [BZ #14347]
32056         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32057         (INTERNAL_MARK): Shift it here.
32058
32059 2012-07-10  Marek Polacek  <polacek@redhat.com>
32060
32061         [BZ #14151]
32062         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
32063         libc_cv_asm_global_directive with .globl.
32064         * configure: Regenerated.
32065         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32066         with .globl.
32067         * sysdeps/i386/configure: Regenerated.
32068         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32069         with .globl.
32070         * sysdeps/x86_64/configure: Regenerated.
32071         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32072         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32073         * elf/tst-unique2mod2.c: Likewise.
32074         * elf/tst-unique2mod1.c: Likewise.
32075         * elf/tst-unique1mod2.c: Likewise.
32076         * elf/tst-unique1mod1.c: Likewise.
32077         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32078         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32079         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32080         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32081         * sysdeps/mach/sysdep.h: Likewise.
32082         * sysdeps/i386/sysdep.h: Likewise.
32083         * sysdeps/i386/i386-mcount.S: Likewise.
32084         * sysdeps/x86_64/_mcount.S: Likewise.
32085         * sysdeps/x86_64/sysdep.h: Likewise.
32086         * sysdeps/sh/_mcount.S: Likewise.
32087         * sysdeps/sh/sysdep.h: Likewise.
32088         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32089         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32090         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32091         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32092         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32093         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32094         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32095         * locale/localeinfo.h: Likewise.
32096         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32097         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32098
32099 2012-07-09  Roland McGrath  <roland@hack.frob.com>
32100
32101         [BZ #14336]
32102         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32103         system".
32104         * manual/message.texi (The Uniforum approach): Likewise.
32105         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32106         (glibc iconv Implementation): Likewise.
32107
32108 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
32109
32110         [BZ #14337]
32111         * math/s_clog.c (__clog): Avoid scaling a value down where that
32112         could result in underflow.
32113         * math/s_clog10.c (__clog10): Likewise.
32114         * math/s_clog10f.c (__clog10f): Likewise.
32115         * math/s_clog10l.c (__clog10l): Likewise.
32116         * math/s_clogf.c (__clogf): Likewise.
32117         * math/s_clogl.c (__clogl): Likewise.
32118         * math/libm-test.inc (clog_test): Add more tests.
32119         (clog10_test): Likewise.
32120         * sysdeps/i386/fpu/libm-test-ulps: Update.
32121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32122
32123 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
32124
32125         [BZ #14283]
32126         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32127         by 7 not 8 to examine high bit of fractional part.
32128
32129         [BZ #14042]
32130         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32131         for call to __mcount_internal.
32132         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32133         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32134         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32135
32136 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
32137
32138         [BZ #14154]
32139         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32140         approximation for values within 0x1p-13f of an odd multiple of
32141         pi/4.
32142         * math/libm-test.inc (tan_test): Do not allow spurious underflow
32143         exception.  Add more tests.
32144         * sysdeps/i386/fpu/libm-test-ulps: Update.
32145
32146         [BZ #6778]
32147         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32148         inputs and return -1 for them.  Do not check for +Inf in case not
32149         reachable for +Inf.
32150         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32151         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32152         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32153         and return -1 for them.  Do not check for +Inf in case not
32154         reachable for +Inf.
32155         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32156         define.
32157         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32158         and return -1 for them.  Do not check for +Inf in case not
32159         reachable for +Inf.
32160         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
32161         spurious underflow.
32162         * sysdeps/i386/fpu/libm-test-ulps: Update.
32163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32164
32165 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
32166
32167         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32168
32169 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
32170
32171         [BZ #14157]
32172         [BZ #14331]
32173         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32174         could result in spurious underflow.  Scale down values above
32175         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32176         * math/s_csqrtf.c (__csqrtf): Likewise.
32177         * math/s_csqrtl.c (__csqrtl): Likewise.
32178         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
32179         spurious underflow.
32180         * sysdeps/i386/fpu/libm-test-ulps: Update.
32181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32182
32183 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
32184
32185         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32186         xopen-msg.sed.
32187         * catgets/xopen-msg.awk: New file.
32188         * catgets/xopen-msg.sed: Removed.
32189
32190         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32191         po2text.sed.
32192         * intl/po2test.awk: New file.
32193         * intl/po2test.sed: Removed.
32194
32195 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
32196
32197         [BZ #14328]
32198         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32199         or multiply small sinh result by itself.
32200         * math/s_ctanf.c (__ctanf): Likewise.
32201         * math/s_ctanh.c (__ctanh): Likewise.
32202         * math/s_ctanhf.c (__ctanhf): Likewise.
32203         * math/s_ctanhl.c (__ctanhl): Likewise.
32204         * math/s_ctanl.c (__ctanl): Likewise.
32205         * math/libm-test.inc (ctan_test_tonearest): New function.
32206         (ctan_test_towardzero): Likewise.
32207         (ctan_test_downward): Likewise.
32208         (ctan_test_upward): Likewise.
32209         (ctanh_test_tonearest): Likewise.
32210         (ctanh_test_towardzero): Likewise.
32211         (ctanh_test_downward): Likewise.
32212         (ctanh_test_upward): Likewise.
32213         (main): Call these new functions.
32214         * sysdeps/i386/fpu/libm-test-ulps: Update.
32215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32216
32217 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
32218
32219         * .gitignore: Delete /ports entry.
32220
32221 2012-07-03  Andreas Jaeger  <aj@suse.de>
32222
32223         * po/bg.po: Update from translation team.
32224         * po/cs.po: Likewise.
32225         * po/de.po: Likewise.
32226         * po/hr.po: Likewise.
32227         * po/nl.pl: Likewise.
32228         * po/pl.po: Likewise.
32229         * po/vi.po: Likewise.
32230
32231 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
32232
32233         * Makeconfig [!+link] (+link-before-libc): New variable.
32234         [!+link] (+link-after-libc): Likewise.
32235         [!+link] (+link-tests): Likewise.
32236         [!+link] (+link): Define in terms of $(+link-before-libc) and
32237         $(+link-after-libc).
32238         [!+link-static] (+link-static-before-libc): New variable.
32239         [!+link-static] (+link-static-after-libc): Likewise.
32240         [!+link-static] (+link-static-tests): Likewise.
32241         [!+link-static] (+link-static): Define in terms of
32242         $(+link-static-before-libc) and $(+link-static-after-libc).
32243         [build-shared] (link-libc-before-gnulib): New variable.
32244         [build-shared] (link-libc-tests): Likewise.
32245         [build-shared] (link-libc): Define in terms of
32246         $(link-libc-before-gnulib).
32247         [!build-shared] (link-libc-tests): New variable.
32248         (link-libc-static-tests): New variable.
32249         [!gnulib] (gnulib-arch): New variable.
32250         [!gnulib] (gnulib-tests): Likewise.
32251         [!gnulib] (static-gnulib-arch): Likewise.
32252         [!gnulib] (static-gnulib-tests): Likewise.
32253         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
32254         Define with "=" instead of ":=".
32255         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
32256         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
32257         * Rules (binaries-all-notests): New variable.
32258         (binaries-all-tests): Likewise.
32259         (binaries-static-notests): Likewise.
32260         (binaries-static-tests): Likewise.
32261         (binaries-all): Define using $(binaries-all-notests) and
32262         $(binaries-all-tests).
32263         (binaries-static): Define using $(binaries-static-notests) and
32264         $(binaries-static-tests).
32265         (binaries-shared-tests): New variable.
32266         (binaries-shared-notests): Likewise.
32267         (binaries-shared): Remove variable.
32268         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32269         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32270         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32271         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32272         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32273         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32274         * elf/Makefile (sln-modules): New variable.
32275         (extra-objs): Add $(sln-modules:=.o).
32276         (ldconfig-modules): Add static-stubs.
32277         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32278         * elf/static-stubs.c: New file.
32279
32280         [BZ #14283]
32281         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32282         by 7 not 8 to examine high bit of fractional part.  Use volatile
32283         variables when splitting into final array of floats if
32284         __FLT_EVAL_METHOD__ != 0.
32285         * math/libm-test.inc (cos_test): Add another test.
32286         (sin_test): Likewise.
32287         * sysdeps/i386/fpu/libm-test-ulps: Update.
32288
32289         [BZ #14273]
32290         * math/libm-test.inc (cosh_test): Add more tests.
32291
32292         * version.h (RELEASE): Set to "development".
32293         (VERSION): Set to "2.16.90".
32294
32295 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
32296
32297         * NEWS: Update copyright. Remove last-updated date.
32298         Mention math library bug fixes and timezone data changes.
32299         * README: Mention GNU/Hurd, x32, and HPPA support status.
32300
32301 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
32302
32303         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32304
32305 2012-06-27  Andreas Jaeger  <aj@suse.de>
32306
32307         * manual/contrib.texi (Contributors): Add Samuel Thibault.
32308
32309 2012-06-25  Andreas Jaeger  <aj@suse.de>
32310
32311         * sysdeps/s390/fpu/libm-test-ulps: Update.
32312
32313 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
32314             Thomas Schwinge  <thomas@codesourcery.com>
32315
32316         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32317         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32318         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32319         fanotify_mark.
32320
32321 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
32322
32323         * sysdeps/mach/start.c: Remove file.
32324         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32325         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32326         * sysdeps/sh/init-first.c: Likewise.
32327
32328         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32329         registers for frame unwinding purposes, add CFI directives.
32330         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32331         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32332         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32333         Likewise.
32334
32335         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32336         __fortify_fail returning.
32337         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32338
32339         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32340         sysdeps/sh/____longjmp_chk.S.
32341         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32342         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32343         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32344         (gen-as-const-headers): Append sigaltstack-offsets.sym.
32345
32346         * sysdeps/sh/abort-instr.h: New file.
32347         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32348         process in case exit returns.
32349
32350         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32351         initialize the GOT register before use.
32352
32353         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32354         calculation of ARGC > 4.
32355
32356         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32357         meaningful names to some local labels.
32358
32359 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32360             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32361
32362         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32363         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32364         (__arch_compare_and_exchange_val_16_acq): Likewise.
32365         (__arch_compare_and_exchange_val_32_acq): Likewise.
32366         (atomic_exchange_and_add): Fix gUSA sequence.
32367         (atomic_add): Likewise.
32368         (atomic_add_negative): Likewise.
32369         (atomic_add_zero): Likewise.
32370         (atomic_bit_test_set): Likewise.
32371
32372 2012-06-22  Andreas Schwab  <schwab@redhat.com>
32373
32374         [BZ #13579]
32375         * include/link.h (struct link_map): Add l_free_initfini.
32376         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32377         l_initfini.
32378         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32379         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32380         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32381         set.
32382
32383 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
32384
32385         * configure.in: Use AC_LANG_SOURCE.
32386         * configure: Regenerate.
32387
32388 2012-06-22  Roland McGrath  <roland@hack.frob.com>
32389
32390         * configure.in (libc_cv_localstatedir): New substituted variable.
32391         * configure: Regenerated.
32392         * config.make.in (localstatedir): New variable, substituted from
32393         libc_cv_localstatedir.
32394         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32395         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32396         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32397         * sysdeps/gnu/configure: Regenerated.
32398
32399 2012-06-21  Jeff Law  <law@redhat.com>
32400
32401         [BZ #14277]
32402         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32403         free.  Simplify list management for _LIBC case.
32404
32405 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
32406
32407         [BZ #14273]
32408         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32409         Clear sign bit of 64-bit integer value before comparing against
32410         overflow value.
32411
32412         * sysdeps/mach/configure: Regenerated.
32413
32414 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
32415
32416         [BZ #14278]
32417         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32418
32419 2012-06-21  Jeff Law  <law@redhat.com>
32420
32421         [BZ #13882]
32422         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
32423         uint16_t for elements in the "seen" array to avoid char overflows.
32424         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32425         * elf/dl-open.c (dl_open_worker): Likewise.
32426
32427 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
32428
32429         * scripts/list-sources.sh: Scan PORTS for translations.
32430         * po/libc.pot: Regenerated.
32431
32432 2012-06-21  Andreas Jaeger  <aj@suse.de>
32433
32434         [BZ #12194]
32435         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32436         warning.
32437         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32438         * bits/byteswap-16.h (__bswap_16): Likewise.
32439         * bits/byteswap.h (__bswap_constant_16): Likewise.
32440
32441 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
32442
32443         [BZ #14117]
32444         * sysdeps/i386/fpu_control.h: Removed.
32445         * sysdeps/x86_64/fpu_control.h: Moved to ...
32446         * sysdeps/x86/fpu_control.h: Here.
32447
32448         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32449         (_FPU_SETCW): Likewise.
32450
32451 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
32452
32453         [BZ #14117]
32454         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32455         * sysdeps/x86/fpu/bits/mathinline.h: This.
32456         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32457
32458         [BZ #14050]
32459         [BZ #14117]
32460         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32461         functions if __x86_64__ is defined.
32462
32463 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
32464
32465         * string/endian.h: Add !__ASSEMBLER__ condition for including
32466         conversion interfaces.
32467
32468 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
32469
32470         [BZ #14241]
32471         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32472         of ABS(x) in calculating zero to negative powers other than odd
32473         integers.
32474         * math/libm-test.inc (pow_test): Add more tests.
32475
32476 2012-06-15  Andreas Jaeger  <aj@suse.de>
32477
32478         * manual/contrib.texi (Contributors): Update entry of Liubov
32479         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32480         Machado Filho.
32481
32482 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
32483
32484         * string/string.h: Add __wur to GNU version of strerror_r.
32485
32486 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
32487
32488         [BZ #14229]
32489         * string/Makefile (tests): Add tst-strtok_r.
32490         * string/tst-strtok_r.c: New file.
32491         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32492         RAX_LP/RDX_LP on SAVE_PTR.
32493
32494 2012-06-14  Roland McGrath  <roland@hack.frob.com>
32495
32496         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32497
32498 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
32499
32500         * libm_test.inc (csqrt_test): Allow more spurious underflow
32501         exceptions.
32502         (j0_test): Likewise.
32503         (j1_test): Likewise.
32504         (y0_test): Likewise.
32505         (y1_test): Likewise.
32506
32507 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
32508
32509         * po/Makefile (libc.pot): Use UTF-8 charset.
32510
32511 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
32512
32513         [BZ #14210]
32514         Suppress sign-conversion warning from FD_SET.
32515         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32516         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32517         not unsigned long int.
32518         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32519
32520 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
32521
32522         [BZ #14050]
32523         [BZ #14117]
32524         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32525         __extern_always_inline instead of __extern_inline.
32526         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32527         (__signbit): Likewise.
32528         (__signbitl): Support C++ namespace.
32529         (lrintf): New inline function.
32530         (lrint): Likewise.
32531         (llrintf): Likewise.
32532         (llrint): Likewise.
32533         (fmaxf): Likewise.
32534         (fmax): Likewise.
32535         (fminf): Likewise.
32536         (fmin): Likewise.
32537         (rint): Likewise.
32538         (rintf): Likewise.
32539         (ceil): Likewise.
32540         (ceilf): Likewise.
32541         (floor): Likewise.
32542         (floorf): Likewise.
32543         (nearbyint): Likewise.
32544         (nearbyintf): Likewise.
32545
32546 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
32547
32548         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32549         non-default versions.
32550
32551 2012-06-11  Roland McGrath  <roland@hack.frob.com>
32552
32553         [BZ #14218]
32554         * manual/argp.texi (Argp): Reword argp_parse description slightly.
32555
32556 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
32557
32558         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32559         (FE_UPWARD, FE_DOWNWARD): Don't define.
32560         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32561         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32562
32563         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32564         reading it.
32565         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32566         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32567
32568 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32569
32570         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32571         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32572         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32573         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32574
32575 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
32576
32577         [BZ #14117]
32578         * sysdeps/i386/fpu/bits/fenv.h: Removed.
32579         * sysdeps/i386/fpu/Implies: New file.
32580         * sysdeps/x86_64/fpu/Implies: Likewise.
32581         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32582         * sysdeps/x86/fpu/bits/fenv.h: This.
32583
32584         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32585         __SSE_MATH__.
32586
32587 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32588
32589         [BZ #14134]
32590         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32591         character 0xffff that matches the last element of the
32592         conversion table.
32593
32594 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32595
32596         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32597         fmodl commit.
32598
32599 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32600
32601         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32602         values higher than 25.6283.
32603
32604 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32605
32606         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32607         subnormal exponent extraction and add some __builtin_expect.
32608         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32609         Fix for subnormal mantissa calculation.
32610
32611 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
32612
32613         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32614         cpu2 is -1 and errno is not ENOSYS.
32615
32616 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
32617
32618         [BZ #14117]
32619         * sysdeps/i386/i486/bits/string.h: Renamed to ...
32620         * sysdeps/x86/bits/string.h: This.
32621         * sysdeps/x86_64/bits/string.h: Removed.
32622
32623         * sysdeps/i386/i486/bits/string.h: Define inline functions only
32624         if not compiling for x86-64, but compiling for >= i486.
32625
32626         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32627         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32628
32629         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32630         New macro from Linux kernel 3.4.0.
32631         (FP_XSTATE_MAGIC2): Likewise.
32632         (FP_XSTATE_MAGIC2_SIZE): Likewise.
32633         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32634         (struct _fpx_sw_bytes): New struct.
32635         (struct _xsave_hdr): Likewise.
32636         (struct _ymmh_state): Likewise.
32637         (struct _xstate): Likewise.
32638
32639         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32640         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32641         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32642         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32643         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32644         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32645
32646         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32647         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32648         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32649         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32650         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32651         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32652
32653 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32654
32655         [BZ #13743]
32656         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32657         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32658         (sysdep_headers): Include sys/platform/ppc.h.
32659         * sysdeps/powerpc/test-gettimebase.c: Test for
32660         __ppc_get_timebase() to catch future ISA opcode/insn changes.
32661         * manual/Makefile (appendices): Include platform.texi.
32662         * manual/contrib.texi (Contributors): Update @node pointers.
32663         * manual/maint.texi (Maintenance): Likewise.
32664         (Platform): New node.
32665         * manual/platform.texi: New file.  Document the new features.
32666
32667 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32668             Jakub Jelinek  <jakub@redhat.com>
32669
32670         [BZ #14188]
32671         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32672         where __builtin_expect is unavailable.
32673
32674 2012-06-03  David S. Miller  <davem@davemloft.net>
32675
32676         * stdlib/longlong.h: Updated from GCC.
32677
32678 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
32679
32680         [BZ #14042]
32681         * sysdeps/powerpc/powerpc32/mcount.c: New file.
32682         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32683         __mcount_internal.
32684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32685         (GLIBC_2.16): Likewise.
32686
32687 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32688
32689         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32690
32691 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32692
32693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32694         (default-abi): New variable.
32695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32696         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32697         variable.
32698         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32699         Likewise.
32700         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32701         Likewise.
32702         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32703         Likewise.
32704
32705         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32706         definition.  Document in comment.
32707
32708 2012-06-01  David S. Miller  <davem@davemloft.net>
32709
32710         * stdlib/longlong.h: Updated from GCC.
32711
32712 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32713
32714         [BZ #14117]
32715         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32716         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32717         sys/debugreg.h sys/io.h here.
32718         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32719         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32720         sys/io.h.
32721         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32722         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32723         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32724         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32725         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32726         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32727
32728         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32729         Define only if __x86_64__ is defined.
32730
32731 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32732
32733         [BZ #14048]
32734         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32735         Use int64_t for variable i.
32736         * math/libm-test.inc (fmod_test): Add more tests.
32737
32738         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32739         z computation is not scheduled after fetestexcept.
32740         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32741         Use math_force_eval instead of asm to ensure calculation scheduled
32742         before exception test.
32743         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32744         Ensure a1 + u.d computation is not scheduled after fetestexcept.
32745
32746 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
32747
32748         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32749         computation is not scheduled after fetestexcept.
32750
32751 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32752
32753         [BZ #14117]
32754         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32755         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32756
32757 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32758
32759         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32760         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32761
32762 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32763
32764         [BZ #14117]
32765         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32766         <bits/wordsize.h>.
32767         (__WCHAR_MIN): Support __WORDSIZE == 64.
32768         (__WCHAR_MAX): Likewise.
32769
32770         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32771         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32772
32773         [BZ #14183]
32774         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32775         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32776
32777         [BZ #14117]
32778         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32779         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32780
32781         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32782         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32783
32784         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32785         Defined to 1 if __x86_64__ isn't defined.
32786         (_STAT_VER_LINUX_OLD): New.
32787         (st_atime): Remove duplicate.
32788         (st_mtime): Likewise.
32789         (st_ctime): Likewise.
32790
32791 2012-05-31  David S. Miller  <davem@davemloft.net>
32792
32793         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32794         entries.
32795
32796 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
32797
32798         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32799         gen-libm-test.pl.
32800
32801         [BZ #14132]
32802         * elf/dl-reloc.c: Include <_itoa.h>.
32803         (_dl_reloc_bad_type): Remove use of INTUSE.
32804         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32805         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32806         * stdio-common/psiginfo.c (psiginfo): Likewise.
32807         * stdio-common/psignal.c (psignal): Likewise.
32808         * string/strsignal.c (strsignal): Likewise.
32809         * include/signal.h (_sys_siglist): Declare hidden proto.
32810         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
32811         INTVARDEF with libc_hidden_data_def.
32812         * stdio-common/itoa-udigits.c: Likewise.
32813         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32814         (_itoa_lower_digits_internal): Remove declaration.
32815         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32816         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32817         (_sys_sigabbrev_internal): Remove aliases.
32818         (_sys_siglist): Define hidden alias.
32819
32820 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
32821
32822         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32823         bits/sysctl.h.
32824
32825 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32826
32827         [BZ #14117]
32828         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32829         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32830
32831         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32832         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32833         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32834         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32835         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32836         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32837
32838         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32839         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32840         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32841
32842         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32843         with __addr.
32844         (insw): Likewise.
32845         (insl): Likewise.
32846         (outsb): Likewise.
32847         (outsw): Likewise.
32848         (outsl): Likewise.
32849
32850         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32851         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32852         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32853
32854         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32855         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32856         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32857         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32858         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32859         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32860
32861         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32862         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32863
32864         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32865         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32866
32867         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32868         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32869         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32870
32871         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32872         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32873         to ...
32874         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32875
32876         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32877         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32878         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32879
32880         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32881         for x86-64.
32882         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32883
32884 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
32885
32886         * math/math.h (M_El): Use two more decimal places.
32887         (M_LOG2El): Likewise.
32888         (M_LOG10El): Likewise.
32889         (M_LN2l): Likewise.
32890         (M_LN10l): Likewise.
32891         (M_PIl): Likewise.
32892         (M_PI_2l): Likewise.
32893         (M_PI_4l): Likewise.
32894         (M_1_PIl): Likewise.
32895         (M_2_PIl): Likewise.
32896         (M_2_SQRTPIl): Likewise.
32897         (M_SQRT2l): Likewise.
32898         (M_SQRT1_2l): Likewise.
32899
32900 2012-05-31  David S. Miller  <davem@davemloft.net>
32901
32902         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32903         values between float registers.
32904         * sysdeps/sparc/sparc64/memset.S: Likewise.
32905         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32906
32907 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
32908
32909         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32910         -D_FORTIFY_SOURCE=1.
32911         (CPPFLAGS-tst-longjmp_chk.c): Define.
32912         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32913         (CPPFLAGS-tst-longjmp_chk2.c): Define.
32914         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32915         CFLAGS-tst-wchar-h.c.
32916
32917 2012-05-31  Marek Polacek  <polacek@redhat.com>
32918
32919         [BZ #14132]
32920         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32921         __endmntent_internal): Remove declaration.
32922         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32923         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32924         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32925
32926 2012-05-30  David S. Miller  <davem@davemloft.net>
32927
32928         * sysdeps/sparc/sparc32/soft-fp/q_util.c
32929         (___Q_simulate_exceptions): Use real FP ops rather than writing
32930         into the %fsr.
32931         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32932         Likewise.
32933
32934 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32935
32936         [BZ #14117]
32937         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32938         * sysdeps/x86/bits/xtitypes.h: This.
32939
32940         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32941         * sysdeps/x86/bits/wordsize.h: This.
32942
32943         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32944         * sysdeps/x86/bits/huge_vall.h: This.
32945
32946         * sysdeps/i386/bits/select.h: Removed.
32947         * sysdeps/x86_64/bits/select.h: Renamed to ...
32948         * sysdeps/x86/bits/select.h: This.
32949
32950         * sysdeps/i386/bits/setjmp.h: Removed.
32951         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32952         * sysdeps/x86/bits/setjmp.h: This.
32953
32954         * sysdeps/i386/bits/mathdef.h: Removed.
32955         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32956         * sysdeps/x86/bits/mathdef.h: This.
32957
32958 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
32959
32960         [BZ #14132]
32961         * include/sys/socket.h (__connect_internal)
32962         (__libc_sa_len_internal): Remove declaration.
32963         (__connect, __libc_sa_len): Declare hidden_proto.
32964         (SA_LEN): Remove use of INTUSE.
32965         * socket/connect.c: Add libc_hidden_def.
32966         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32967         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32968         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32969         alias.
32970         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32971         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32972         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32973         of adding _internal alias.
32974
32975 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32976
32977         [BZ #14117]
32978         * sysdeps/i386/bits/link.h: Removed.
32979         * sysdeps/i386/bits/linkmap.h: Likewise.
32980         * sysdeps/x86_64/bits/link.h: Renamed to ...
32981         * sysdeps/x86/bits/link.h: This.
32982         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32983         * sysdeps/x86/bits/linkmap.h: This.
32984
32985         * sysdeps/i386/bits/endian.h: Removed.
32986         * sysdeps/x86_64/bits/endian.h: Renamed to ...
32987         * sysdeps/x86/bits/endian.h: This.
32988
32989         * sysdeps/i386/bits/byteswap.h: Removed.
32990         * sysdeps/i386/bits/byteswap-16.h: Likewise.
32991         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32992         * sysdeps/x86/bits/byteswap.h: This.
32993         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32994         * sysdeps/x86/bits/byteswap-16.h: This.
32995         * sysdeps/i386/Implies: Add x86.
32996         * sysdeps/x86_64/Implies: Likewise.
32997
32998 2012-05-30  David S. Miller  <davem@davemloft.net>
32999
33000         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33001         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33002         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33003         (FP_TRAPPING_EXCEPTIONS): Define.
33004         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33005         (FP_TRAPPING_EXCEPTIONS): Define.
33006         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33007         subnormals only when inexact has been signalled or underflow
33008         exceptions are enabled.
33009         (_FP_PACK_CANONICAL): Likewise.
33010
33011 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33012
33013         [BZ #14183]
33014         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33015         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33016
33017 2012-05-30  Richard Henderson  <rth@twiddle.net>
33018
33019         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33020         with #ifndef NOT_IN_libc.
33021
33022         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
33023         marked to avoid plt entry.
33024
33025 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33026
33027         [BZ #14112]
33028         * Makeconfig (default-abi): New macro.
33029         (abi-includes): Likewise.
33030         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
33031         $(abi-$(default-abi)-lib-soname) for soname if defined.
33032         ($(common-objpfx)gnu/lib-names.stmp): Generate from
33033         abi-variants.
33034         * Makefile (installed-stubs): Likewise.
33035         * include/stubs-biarch.h: Removed.
33036         * scripts/lib-names.awk: Only handle one library at a time.
33037         * scripts/soversions.awk: Remove WORDSIZE support.
33038         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33039         entries.
33040         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33041         Removed.
33042         (syscall-list-default-condition): Likewise.
33043         (syscall-list-default-condition): Likewise.
33044         (syscall-list-includes): Likewise.
33045         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33046         syscall-list-* with abi-*.  Handle undefined abi-variants.
33047         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33048         * sysdeps/unix/sysv/linux/i386/Implies: New file.
33049         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33050         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33051         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33052         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33053         Removed.
33054         (syscall-list-32-options): Likewise.
33055         (syscall-list-32-condition): Likewise.
33056         (syscall-list-64-options): Likewise.
33057         (syscall-list-64-condition): Likewise.
33058         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33059         macro.
33060         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33061         Renamed to ...
33062         (abi-*): This.
33063         (abi-64-ld-soname): New macro.
33064         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33065         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33066         Renamed to ...
33067         (abi-*): This.
33068         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33069         * sysdeps/x86_64/x32/shlib-versions: Likewise.
33070
33071 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
33072
33073         * sysdeps/unix/sysv/linux/kernel-features.h
33074         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33075         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33076         include <kernel-features.h>.
33077         [!__NR_ftruncate64]: Remove conditional code.
33078         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33079         [__NR_ftruncate64]: Make code unconditional.
33080         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33081         * sysdeps/unix/sysv/linux/truncate64.c: Do not
33082         include <kernel-features.h>.
33083         [!__NR_ftruncate64]: Remove conditional code.
33084         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33085         [__NR_ftruncate64]: Make code unconditional.
33086         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33088         include <kernel-features.h>.
33089         [!__NR_ftruncate64]: Remove conditional code.
33090         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33091         [__NR_ftruncate64]: Make code unconditional.
33092         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33094         include <kernel-features.h>.
33095         [!__NR_ftruncate64]: Remove conditional code.
33096         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33097         [__NR_ftruncate64]: Make code unconditional.
33098         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33099
33100         * configure.in (libc_cv_fpie): Weaken to a compile test using
33101         LIBC_TRY_CC_OPTION.
33102         * configure: Regenerated.
33103
33104 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33105
33106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33110         Refreshed.
33111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33117         Refreshed.
33118
33119 2012-05-27  David S. Miller  <davem@davemloft.net>
33120
33121         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33122         (___Q_zero): New.
33123         (__Q_simulate_exceptions): Return void.  Change to simulate
33124         exceptions by writing into the %fsr.
33125         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33126         (__Qp_handle_exceptions): Likewise.
33127         (numbers): Delete.
33128         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33129         __Qp_handle_exceptions.
33130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33131         __Qp_handle_exceptions.
33132         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33133         as unused and give dummy FP_RND_NEAREST initializer.
33134         (FP_INHIBIT_RESULTS): Define.
33135         (___Q_simulate_exceptions): Update declaration.
33136         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33137         formatting.
33138         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33139         as unused and give dummy FP_RND_NEAREST initializer.
33140         (__Qp_handle_exceptions): Update declaration.
33141         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33142         formatting.
33143
33144 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
33145
33146         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33147         the temporary FPU control word.
33148         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33149         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33150         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33151         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33152         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33153         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33154         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33155         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33156         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33157         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33158         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33159
33160 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33161
33162         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33163         fields.
33164
33165 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
33166
33167         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33168         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33169         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33170         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33171         Likewise.
33172         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33173         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33174         Likewise.
33175
33176 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
33177
33178         * po/h.po: Update from translation team.
33179
33180 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
33181
33182         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33183
33184         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33185         handling of denormals.
33186         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33187         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33188         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33189         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33190         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33191         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33192         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33193         Likewise.
33194
33195 2012-05-26  Marek Polacek  <polacek@redhat.com>
33196
33197         [BZ #14152]
33198         * math/libm-test.inc (fma_test): Don't always expect underflow
33199         exception.
33200
33201 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33202
33203         [BZ #12416]
33204         * elf/tst-execstack.c: Include stackinfo.h.
33205         (do_test): Adjust test case to ensure that pthread_getattr_np
33206         behaviour remains the same after marking stack executable.
33207
33208 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33209
33210         * sysdeps/unix/sysv/linux/kernel-features.h
33211         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33212         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33213         kernel-features.h.
33214         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33215         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33216         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33217         kernel-features.h.
33218         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33219         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33220
33221 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
33222
33223         * configure.in: Define the default includes to being none.
33224         * configure: Regenerated.
33225
33226 2012-05-25  Roland McGrath  <roland@hack.frob.com>
33227
33228         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33229         * sysdeps/x86_64/setjmp.S: Likewise.
33230         * sysdeps/i386/bsd-setjmp.S: Likewise.
33231         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33232         * sysdeps/i386/setjmp.S: Likewise.
33233         * sysdeps/i386/__longjmp.S: Likewise.
33234         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33235         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33236
33237         * include/stap-probe.h: New file.
33238         * configure.in: Handle --enable-systemtap.
33239         * configure: Regenerated.
33240         * config.h.in (USE_STAP_PROBE): New #undef.
33241         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33242         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33243         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33244
33245 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33246
33247         [BZ #13717]
33248         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33249         to 2.4.0 where earlier.
33250         * sysdeps/unix/sysv/linux/configure: Regenerated.
33251         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33252         <kernel-features.h>.
33253         [__ASSUME_32BITUIDS]: Make code unconditional.
33254         [!__ASSUME_32BITUIDS]: Remove conditional code.
33255         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33256         <kernel-features.h>.
33257         [__ASSUME_32BITUIDS]: Make code unconditional.
33258         [!__ASSUME_32BITUIDS]: Remove conditional code.
33259         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33260         [__ASSUME_32BITUIDS]: Make code unconditional.
33261         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33262         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33263         <kernel-features.h>.
33264         [__ASSUME_32BITUIDS]: Make code unconditional.
33265         [!__ASSUME_32BITUIDS]: Remove conditional code.
33266         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33267         <kernel-features.h>.
33268         [__ASSUME_32BITUIDS]: Make code unconditional.
33269         [!__ASSUME_32BITUIDS]: Remove conditional code.
33270         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33271         <kernel-features.h>.
33272         [__ASSUME_32BITUIDS]: Make code unconditional.
33273         [!__ASSUME_32BITUIDS]: Remove conditional code.
33274         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33275         <kernel-features.h>.
33276         [__ASSUME_32BITUIDS]: Make code unconditional.
33277         [!__ASSUME_32BITUIDS]: Remove conditional code.
33278         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33279         <kernel-features.h>.
33280         [__ASSUME_32BITUIDS]: Make code unconditional.
33281         [!__ASSUME_32BITUIDS]: Remove conditional code.
33282         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33283         <kernel-features.h>.
33284         [__ASSUME_32BITUIDS]: Make code unconditional.
33285         [!__ASSUME_32BITUIDS]: Remove conditional code.
33286         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33287         <kernel-features.h>.
33288         [__ASSUME_32BITUIDS]: Make code unconditional.
33289         [!__ASSUME_32BITUIDS]: Remove conditional code.
33290         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33291         <kernel-features.h>.
33292         [__ASSUME_32BITUIDS]: Make code unconditional.
33293         [!__ASSUME_32BITUIDS]: Remove conditional code.
33294         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33295         <kernel-features.h>.
33296         [__ASSUME_32BITUIDS]: Make code unconditional.
33297         [!__ASSUME_32BITUIDS]: Remove conditional code.
33298         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33299         <kernel-features.h>.
33300         [__ASSUME_32BITUIDS]: Make code unconditional.
33301         [!__ASSUME_32BITUIDS]: Remove conditional code.
33302         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33303         <kernel-features.h>.
33304         [__NR_setresgid] (__setresgid): Do not declare.
33305         [__ASSUME_32BITUIDS]: Make code unconditional.
33306         [!__ASSUME_32BITUIDS]: Remove conditional code.
33307         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33308         <kernel-features.h>.
33309         [__NR_setresuid] (__setresuid): Do not declare.
33310         [__ASSUME_32BITUIDS]: Make code unconditional.
33311         [!__ASSUME_32BITUIDS]: Remove conditional code.
33312         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33313         <kernel-features.h>.
33314         [__ASSUME_32BITUIDS]: Make code unconditional.
33315         [!__ASSUME_32BITUIDS]: Remove conditional code.
33316         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33317         <kernel-features.h>.
33318         [__ASSUME_32BITUIDS]: Make code unconditional.
33319         [!__ASSUME_32BITUIDS]: Remove conditional code.
33320         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33321         <kernel-features.h>.
33322         [__ASSUME_32BITUIDS]: Make code unconditional.
33323         [!__ASSUME_32BITUIDS]: Remove conditional code.
33324         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33325         <kernel-features.h>.
33326         [__ASSUME_32BITUIDS]: Make code unconditional.
33327         [!__ASSUME_32BITUIDS]: Remove conditional code.
33328         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33329         <kernel-features.h>.
33330         [__ASSUME_32BITUIDS]: Make code unconditional.
33331         [!__ASSUME_32BITUIDS]: Remove conditional code.
33332         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33333         <kernel-features.h>.
33334         [__ASSUME_32BITUIDS]: Make code unconditional.
33335         [!__ASSUME_32BITUIDS]: Remove conditional code.
33336         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33337         <kernel-features.h>.
33338         [__ASSUME_32BITUIDS]: Make code unconditional.
33339         [!__ASSUME_32BITUIDS]: Remove conditional code.
33340         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33341         <kernel-features.h>.
33342         [__ASSUME_32BITUIDS]: Make code unconditional.
33343         [!__ASSUME_32BITUIDS]: Remove conditional code.
33344         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33345         <kernel-features.h>.
33346         [__ASSUME_32BITUIDS]: Make code unconditional.
33347         [!__ASSUME_32BITUIDS]: Remove conditional code.
33348         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33349         <kernel-features.h>.
33350         [__ASSUME_32BITUIDS]: Make code unconditional.
33351         [!__ASSUME_32BITUIDS]: Remove conditional code.
33352         * sysdeps/unix/sysv/linux/kernel-features.h
33353         (__ASSUME_SETRESUID_SYSCALL): Remove.
33354         (__ASSUME_SETRESGID_SYSCALL): Likewise.
33355         (__ASSUME_32BITUIDS): Likewise.
33356         (__ASSUME_LDT_WORKS): Likewise.
33357         (__ASSUME_O_DIRECTORY): Likewise.
33358         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33359         architecture but not kernel version.
33360         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33361         (__ASSUME_MMAP2_SYSCALL): Likewise.
33362         (__ASSUME_STAT64_SYSCALL): Likewise.
33363         (__ASSUME_IPC64): Likewise.
33364         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33365         <kernel-features.h>.
33366         [__ASSUME_32BITUIDS]: Make code unconditional.
33367         [!__ASSUME_32BITUIDS]: Remove conditional code.
33368         * sysdeps/unix/sysv/linux/opendir.c: Do not include
33369         <kernel-features.h>.
33370         [__ASSUME_O_DIRECTORY]: Make code unconditional.
33371         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33372         132096]: Remove conditional code.
33373         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33374         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33375         <kernel-features.h>.
33376         [__ASSUME_32BITUIDS]: Make code unconditional.
33377         [!__ASSUME_32BITUIDS]: Remove conditional code.
33378         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33379         <kernel-features.h>.
33380         [__ASSUME_32BITUIDS]: Make code unconditional.
33381         [!__ASSUME_32BITUIDS]: Remove conditional code.
33382         * sysdeps/unix/sysv/linux/setegid.c: Do not include
33383         <kernel-features.h>.
33384         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33385         unconditional.
33386         (__setresgid): Do not declare.
33387         [__ASSUME_32BITUIDS]: Make code unconditional.
33388         [!__ASSUME_32BITUIDS]: Remove conditional code.
33389         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33390         <kernel-features.h>.
33391         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33392         unconditional.
33393         (__setresuid): Do not declare.
33394         [__ASSUME_32BITUIDS]: Make code unconditional.
33395         [!__ASSUME_32BITUIDS]: Remove conditional code.
33396         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33397         <kernel-features.h>.
33398         [__ASSUME_32BITUIDS]: Make code unconditional.
33399         [!__ASSUME_32BITUIDS]: Remove conditional code.
33400         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33401         <kernel-features.h>.
33402         [__ASSUME_32BITUIDS]: Make code unconditional.
33403         [!__ASSUME_32BITUIDS]: Remove conditional code.
33404
33405 2012-05-25  Richard Henderson  <rth@twiddle.net>
33406
33407         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33408         dl_hwcap to ifunc resolver.
33409         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33410         elf_ifunc_invoke.
33411         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33412         dl_hwcap to ifunc resolver.
33413         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33414
33415 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33416
33417         [BZ #14153]
33418         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33419         for |x| <= 2**-26, not 2**-57.
33420         * math/libm-test.inc (acos_test): Do not allow spurious underflow
33421         exception.
33422
33423 2012-05-24  Jeff Law  <law@redhat.com>
33424
33425         * stdio-common/Makefile (tests): Add bug25.
33426         * stdio-common/bug25.c: New test.
33427
33428 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33429
33430         [BZ #13576]
33431         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33432         multiple of MALLOC_ALIGNMENT in size.
33433         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33434
33435 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33436
33437         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33438         Require >= 256.
33439         (FILENAME_MAX): Use macro-int-constant.
33440         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
33441         (_IOFBF): Use macro-int-constant.
33442         (_IOLBF): Likewise.
33443         (_IONBF): Likewise.
33444         (SEEK_CUR): Likewise.
33445         (SEEK_END): Likewise.
33446         (SEEK_SET): Likewise.
33447         (TMP_MAX): Likewise.
33448         (EOF): Use macro-int-constant.  Require < 0.
33449         (NULL): Use macro-constant.  Require == 0.
33450         (stdin): Require type to be FILE *.
33451         (stdout): Likewise.
33452         (stderr): Likewise.
33453         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33454         macro-int-constant.
33455         (EXIT_SUCCESS): Likewise.
33456         (NULL): Use macro-constant.  Require == 0.
33457         (RAND_MAX): Use macro-int-constant.
33458         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33459         [C99-based standards] (strtof): Require function.
33460         [C99-based standards] (strtold): Likewise.
33461         [C99-based standards] (strtoll): Likewise.
33462         [C99-based standards] (strtoull): Likewise.
33463         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33464         [ISO || ISO99 || ISO11] (limits.h): Likewise.
33465         [ISO || ISO99 || ISO11] (math.h): Likewise.
33466         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33467         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33468         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33469
33470 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
33471
33472         [BZ #14132]
33473         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33474         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33475         * intl/dgettext.c (DCGETTEXT): Likewise.
33476         * intl/gettext.c (DCGETTEXT): Likewise.
33477         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33478         * posix/regex_internal.h (gettext): Likewise.
33479         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33480         Remove declaration.
33481         * include/argz.h (__argz_count_internal)
33482         (__argz_stringify_internal): Remove declaration.
33483         (__argz_count, __argz_stringify): Declare hidden proto.
33484         * intl/dcgettext.c: Remove use of INTDEF.
33485         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33486         * string/argz-stringify.c: Likewise.
33487         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33488         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33489         Declare hidden proto.
33490         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33491         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33492         Declare hidden proto.
33493         * include/stdio.h (__asprintf_internal): Don't declare.
33494         (__asprintf): Don't define as macro.  Declare hidden proto.
33495         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33496         (__fsetlocking): Declare hidden proto.
33497         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33498         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33499         hidden proto.
33500         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33501         (_IO_setlinebuf): Remove use of INTUSE.
33502         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33503         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33504         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33505         Remove declaration.
33506         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33507         (_IO_do_flush): Remove use of INTUSE.
33508         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33509         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33510         (_IO_adjust_column, _IO_least_wmarker)
33511         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33512         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33513         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33514         (_IO_default_doallocate, _IO_wdefault_doallocate)
33515         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33516         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33517         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33518         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33519         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33520         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33521         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33522         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33523         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33524         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33525         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33526         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33527         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33528         proto.
33529         (_IO_flush_all_internal, _IO_adjust_column_internal)
33530         (_IO_default_uflow_internal, _IO_default_finish_internal)
33531         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33532         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33533         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33534         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33535         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33536         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33537         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33538         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33539         (_IO_file_close_internal, _IO_file_close_it_internal)
33540         (_IO_file_underflow_internal, _IO_file_overflow_internal)
33541         (_IO_file_init_internal, _IO_file_attach_internal)
33542         (_IO_file_fopen_internal, _IO_file_read_internal)
33543         (_IO_file_sync_internal, _IO_file_seek_internal)
33544         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33545         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33546         (_IO_str_underflow_internal, _IO_str_overflow_internal)
33547         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33548         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33549         (_IO_list_all_internal, _IO_link_in_internal)
33550         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33551         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33552         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33553         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33554         (_IO_do_write_internal, _IO_padn_internal)
33555         (_IO_getline_info_internal, _IO_getline_internal)
33556         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33557         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33558         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33559         (_IO_vfscanf_internal, _IO_vfprintf_internal)
33560         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33561         (_IO_init_internal, _IO_un_link_internal): Don't declare.
33562         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33563         with libc_hidden_ver, remove use of INTUSE.
33564         * libio/genops.c: Likewise.
33565         * libio/freopen.c: Likewise.
33566         * libio/freopen64.c: Likewise.
33567         * libio/iofclose.c: Likewise.
33568         * libio/iofdopen.c: Likewise.
33569         * libio/iofflush.c: Likewise.
33570         * libio/iofflush_u.c: Likewise.
33571         * libio/iofgets.c: Likewise.
33572         * libio/iofgets_u.c: Likewise.
33573         * libio/iofopen.c: Likewise.
33574         * libio/iofopncook.c: Likewise.
33575         * libio/iofread.c: Likewise.
33576         * libio/iofread_u.c: Likewise.
33577         * libio/ioftell.c: Likewise.
33578         * libio/iofwrite.c: Likewise.
33579         * libio/iogetline.c: Likewise.
33580         * libio/iogets.c: Likewise.
33581         * libio/iogetwline.c: Likewise.
33582         * libio/iopadn.c: Likewise.
33583         * libio/iopopen.c: Likewise.
33584         * libio/ioseekoff.c: Likewise.
33585         * libio/ioseekpos.c: Likewise.
33586         * libio/iosetbuffer.c: Likewise.
33587         * libio/iosetvbuf.c: Likewise.
33588         * libio/ioungetc.c: Likewise.
33589         * libio/ioungetwc.c: Likewise.
33590         * libio/iovdprintf.c: Likewise.
33591         * libio/iovsprintf.c: Likewise.
33592         * libio/iovsscanf.c: Likewise.
33593         * libio/memstream.c: Likewise.
33594         * libio/obprintf.c: Likewise.
33595         * libio/oldfileops.c: Likewise.
33596         * libio/oldiofclose.c: Likewise.
33597         * libio/oldiofdopen.c: Likewise.
33598         * libio/oldiofopen.c: Likewise.
33599         * libio/oldiopopen.c: Likewise.
33600         * libio/oldstdfiles.c: Likewise.
33601         * libio/putc.c: Likewise.
33602         * libio/setbuf.c: Likewise.
33603         * libio/setlinebuf.c: Likewise.
33604         * libio/stdfiles.c: Likewise.
33605         * libio/strops.c: Likewise.
33606         * libio/vasprintf.c: Likewise.
33607         * libio/vscanf.c: Likewise.
33608         * libio/vsnprintf.c: Likewise.
33609         * libio/vswprintf.c: Likewise.
33610         * libio/wfiledoalloc.c: Likewise.
33611         * libio/wfileops.c: Likewise.
33612         * libio/wgenops.c: Likewise.
33613         * libio/wmemstream.c: Likewise.
33614         * libio/wstrops.c: Likewise.
33615         * libio/__fpurge.c: Likewise.
33616         * libio/__fsetlocking.c: Likewise.
33617         * assert/assert.c: Likewise.
33618         * debug/fgets_chk.c: Likewise.
33619         * debug/fgets_u_chk.c: Likewise.
33620         * debug/fread_chk.c: Likewise.
33621         * debug/fread_u_chk.c: Likewise.
33622         * debug/gets_chk.c: Likewise.
33623         * debug/obprintf_chk.c: Likewise.
33624         * debug/vasprintf_chk.c: Likewise.
33625         * debug/vdprintf_chk.c: Likewise.
33626         * debug/vsnprintf_chk.c: Likewise.
33627         * debug/vsprintf_chk.c: Likewise.
33628         * malloc/mtrace.c: Likewise.
33629         * misc/error.c: Likewise.
33630         * misc/syslog.c: Likewise.
33631         * stdio-common/asprintf.c: Likewise.
33632         * stdio-common/fxprintf.c: Likewise.
33633         * stdio-common/getw.c: Likewise.
33634         * stdio-common/isoc99_fscanf.c: Likewise.
33635         * stdio-common/isoc99_scanf.c: Likewise.
33636         * stdio-common/isoc99_vfscanf.c: Likewise.
33637         * stdio-common/isoc99_vscanf.c: Likewise.
33638         * stdio-common/isoc99_vsscanf.c: Likewise.
33639         * stdio-common/printf-prs.c: Likewise.
33640         * stdio-common/printf_fp.c: Likewise.
33641         * stdio-common/printf_fphex.c: Likewise.
33642         * stdio-common/printf_size.c: Likewise.
33643         * stdio-common/putw.c: Likewise.
33644         * stdio-common/scanf.c: Likewise.
33645         * stdio-common/sprintf.c: Likewise.
33646         * stdio-common/tmpfile.c: Likewise.
33647         * stdio-common/vfprintf.c: Likewise.
33648         * stdio-common/vfscanf.c: Likewise.
33649         * stdlib/strfmon_l.c: Likewise.
33650         * sunrpc/openchild.c: Likewise.
33651         * sunrpc/xdr_stdio.c: Likewise.
33652         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33653         * sysdeps/mach/hurd/tmpfile.c: Likewise.
33654
33655 2012-05-24  Roland McGrath  <roland@hack.frob.com>
33656
33657         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33658
33659         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33660         in the third column, to generate for the shared library an IFUNC
33661         that uses _dl_vdso_vsym.
33662         * Makerules (COMPILE.c, compile-stdin.c): New variables.
33663         * Makeconfig (object-suffixes-noshared): New variable.
33664
33665         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33666         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33667         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33668         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33669
33670         [BZ #14132]
33671         * include/sys/time.h (__gettimeofday): Remove macro.
33672         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33673         * time/gettimeofday.c (__gettimeofday): Remove #undef.
33674         Remove INTDEF.
33675         (__gettimeofday): Add libc_hidden_def.
33676         (gettimeofday): Add libc_hidden_weak.
33677         * sysdeps/mach/gettimeofday.c: Likewise.
33678         * sysdeps/posix/gettimeofday.c: Likewise.
33679         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33680         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33681         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33682         (__gettimeofday_internal): Remove strong_alias.
33683         (__gettimeofday): Add libc_hidden_def.
33684         (gettimeofday): Add libc_hidden_weak.
33685         * sysdeps/unix/syscalls.list (gettimeofday):
33686         Remove __gettimeofday_internal alias.
33687
33688 2012-05-24  Daniel Jacobowitz  <drow@false.org>
33689             H.J. Lu  <hongjiu.lu@intel.com>
33690
33691         [BZ #12495]
33692         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33693         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33694         (largebin_index_32_big): New.
33695         (largebin_index): Use it for 16-byte alignment.
33696         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
33697         correction with front_misalign.
33698
33699 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33700
33701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33703         Likewise.
33704         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33705         Likewise.
33706         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33707         Likewise.
33708         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33709         Likewise.
33710         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33711         Likewise.
33712         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33713         Likewise.
33714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33715         Likewise.
33716         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33717         Likewise.
33718         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33719         Likewise.
33720         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33721         Likewise.
33722         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33723         Likewise.
33724         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33725         Likewise.
33726
33727         * scripts/data/c++-types-x32-linux-gnu.data: New file.
33728         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33729
33730 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33731
33732         [BZ #10846]
33733         [BZ #14036]
33734         * math/libm-test.inc (exp_test): Add test from bug 14036.
33735         (pow_test): Add test from bug 10846.
33736
33737         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33738         and other flags.
33739         (special_function): Do not include flags in test name.
33740         (parse_args): Likewise.
33741         * sysdeps/i386/fpu/libm-test-ulps: Update.
33742         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33743         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33744         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33746
33747         * math/gen-libm-test.pl (%beautify): Add entries for underflow
33748         exceptions.
33749         * math/libm-test.inc ("Philosophy"): Update comment about
33750         exception testing.
33751         (UNDERFLOW_EXCEPTION): New macro.
33752         (UNDERFLOW_EXCEPTION_OK): Likewise.
33753         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33754         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33755         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33756         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33757         (INVALID_EXCEPTION_OK): Update value.
33758         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33759         (OVERFLOW_EXCEPTION_OK): Likewise.
33760         (IGNORE_ZERO_INF_SIGN): Likewise.
33761         (test_exceptions): Handle underflow exceptions.
33762         (acos_test): Update for underflow exception expectations.
33763         (cexp_test): Likewise.
33764         (clog_test): Likewise.
33765         (clog10_test): Likewise.
33766         (csqrt_test): Likewise.
33767         (ctan_test): Likewise.
33768         (ctanh_test): Likewise.
33769         (exp_test): Likewise.
33770         (exp10_test): Likewise.
33771         (exp2_test): Likewise.
33772         (expm1_test): Likewise.
33773         (fma_test): Likewise.
33774         (j0_test): Likewise.
33775         (jn_test): Likewise.
33776         (nexttoward_test): Likewise.
33777         (pow_test): Likewise.
33778         (scalbn_test): Likewise.
33779         (scalbln_test): Likewise.
33780         (tan_test): Likewise.
33781         (y1_test): Likewise.
33782         * sysdeps/i386/fpu/libm-test-ulps: Update.
33783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33784
33785 2012-05-23  David S. Miller  <davem@davemloft.net>
33786
33787         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33788         (__libc_sigaction): Remove unused local variables.
33789
33790 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33791
33792         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33793
33794 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
33795
33796         mktime: avoid signed integer overflow
33797         * time/mktime.c (__mktime_internal): Do not mishandle the case
33798         where diff == INT_MIN.
33799
33800         mktime: simplify computation of average
33801         * time/mktime.c (ranged_convert): Use new time_t_avg function
33802         instead of rolling our own (probably-slower) code.
33803
33804         mktime: do not assume signed right shift propagates sign bit
33805         * time/mktime.c (isdst_differ): New static function.
33806         (__mktime_internal): No need to normalize tm_isdst now.
33807         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33808         tm_isdst values.
33809
33810         mktime: merge another wrapv change from gnulib
33811         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33812         from some compilers.
33813
33814         mktime: remove incorrect attempt at unusual arithmetics
33815         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33816         The code didn't really work on such machines anyway.
33817         (TYPE_MINIMUM): Assume two's complement.
33818         (twos_complement_arithmetic): Verify that long_int and time_t
33819         are two's complement (or unsigned, in the latter case).
33820
33821         mktime: check signed shifts on long_int and time_t, too
33822         * time/mktime.c (SHR): Check that shifts work as desired
33823         on the types long_int and time_t too, as SHR is used on
33824         such types.
33825
33826         mktime: do not assume 'long' is wide enough
33827         * time/mktime.c (verify): Move decl up.
33828         (long_int): New type.
33829         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33830         to remove assumption in the code that 'long' is wide enough to
33831         store year values.  This assumption is not true on x32 and on
33832         some non-glibc platforms.
33833
33834         mktime: merge wrapv change from gnulib
33835         * time/mktime.c (WRAPV): New macro.
33836         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33837         (guess_time_tm, __mktime_internal): Do not assume that signed
33838         integer overflow wraps around; modern compilers generate code
33839         where this assumption is no longer valid.
33840
33841 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33842
33843         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33844         Replace "jmp L(pseudo_end)" with "ret".
33845         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33846         Likewise.
33847
33848 2012-05-23  Andreas Jaeger  <aj@suse.de>
33849
33850         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33851         * sysdeps/unix/sysv/linux/poll.c: Remove file.
33852
33853 2012-05-23  Andreas Jaeger  <aj@suse.de>
33854             Maximilian Attems  <max@stro.at>
33855
33856         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33857         New macros.
33858
33859 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33860
33861         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33862         code so that pseudo_end is just ret and the stack pointer is
33863         correct also for static library in error case.
33864
33865 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
33866
33867         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33868         move to syscalls.list.
33869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33873
33874         * manual/install.texi (Running make install): Do not mention Linux
33875         kernel version for which pt_chown is not needed.
33876         (Linux): Do not mention problems with nscd with 2.0 kernels.
33877         * INSTALL: Regenerated.
33878
33879 2012-05-23  Andreas Jaeger  <aj@suse.de>
33880
33881         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33882         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33883         macro.
33884         * sysdeps/unix/sysv/linux/s390/bits/mman.h
33885         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33886         * sysdeps/unix/sysv/linux/sh/bits/mman.h
33887         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33888         * sysdeps/unix/sysv/linux/i386/bits/mman.h
33889         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33890         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33891         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33892         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33893         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33894         * sysdeps/unix/sysv/linux/bits/in.h
33895         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33896
33897 2012-05-22  Roland McGrath  <roland@hack.frob.com>
33898
33899         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33900         (PREPARE_VERSION): Just use assert instead, it will be elided
33901         under [NDEBUG] anyway.
33902
33903 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33904
33905         * sysdeps/unix/sysv/linux/Makefile: Include
33906         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33907         (sysdep_routines): Remove sysctl.
33908         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33909         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33910         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33911         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33912         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33913
33914 2012-05-22  Andreas Jaeger  <aj@suse.de>
33915
33916         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33917         that pseudo_end is just ret and the stack pointer is correct also
33918         for static library in error case.
33919
33920 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33921
33922         [BZ #14122]
33923         * nss/nsswitch.c (defconfig_entries): New variable.
33924         (__nss_database_lookup): Don't leak defconfig entries.
33925         (nss_parse_service_list): Don't leak on error paths.
33926         (free_database_entries): New function.
33927         (free_defconfig): New function.
33928         (free_mem): Move common code to free_database_entries.
33929
33930 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33931
33932         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33933         Add arch_prctl.
33934         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33935
33936         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33937         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33938         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33939         New macro.
33940         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33941         (INTERNAL_SYSCALL_TYPES): Likewise.
33942         (LOAD_ARGS_TYPES_[1-6]): Likewise.
33943         (LOAD_REGS_TYPES_[1-6]): Likewise.
33944         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33945         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33946
33947 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33948
33949         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33950         copysignl for GLIBC_2_0.
33951         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33952         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33953         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33954         logbl for GLIBC_2_0.
33955         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33956         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33957
33958 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33959
33960         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33961         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33962
33963         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33964         Use "neg %eax".
33965
33966         * time/mktime.c: Update copyright years.
33967
33968 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
33969
33970         mktime: merge comment-quoting-style change from gnulib
33971         * time/mktime.c: Quote 'like this' in comments.
33972         The GNU coding standards suggest that we no longer quote `like this',
33973         as "`" and "'" are typically rendered asymmetrically nowadays.
33974         The typical gnulib style is to quote 'like this' when quoting
33975         code, and "like this" when quoting English.
33976
33977         * time/mktime.c (compile-command): Add "-I.".
33978
33979         mktime: merge mktime-internal.h change from gnulib
33980         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33981
33982         mktime: merge time_r change from gnulib
33983         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33984
33985         mktime: merge DEBUG change from gnulib
33986         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33987         case system <time.h> has a #define.
33988
33989         mktime: merge <sys/types.h> change from gnulib
33990         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33991         since <time.t> is now guaranteed to define time_t.
33992
33993         mktime: merge HAVE_CONFIG_H change from gnulib
33994         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33995
33996 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33997
33998         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33999         Use "neg %eax".
34000
34001         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34002         __rlim_t cast.
34003         (struct rusage): Use anonymous union to pad each field to
34004         __syscall_slong_t.
34005
34006 2012-05-21  David S. Miller  <davem@davemloft.net>
34007
34008         * Makefules (o-iterator): Remove .s cases.
34009         (compile-command.s): Delete.
34010         (COMPILE.s): Delete.
34011         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34012
34013 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
34014
34015         * configure.in (libc_cv_predef_stack_protector): Only consider
34016         "foobar" and "__stack_chk_fail" lines in libc_undefs.
34017         * configure: Regenerated.
34018
34019 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34020
34021         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34022         New macro.  Use R*LP on int and pointer.
34023         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34024         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34025         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34026         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34027
34028         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34029         [__WORDSIZE_TIME64_COMPAT32] instead of
34030         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34031         (struct utmp): Likewise.
34032         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34033         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34034         Renamed to ...
34035         (__WORDSIZE_TIME64_COMPAT32): This.
34036         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34037         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34038         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34039         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34040         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34041         (__WORDSIZE_TIME64_COMPAT32): New macro.
34042
34043 2012-05-21  Andreas Jaeger  <aj@suse.de>
34044
34045         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34046         only if [SHARED]. Add prototype for __wcschr_ia32.
34047
34048 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34049
34050         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34051         of %rbp unmolested in the jmp_buf while mangling the low bits.
34052         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34053         unmolested high bits of %rbp while demangling the low bits.
34054         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34055
34056 2012-05-21  Andreas Jaeger  <aj@suse.de>
34057
34058         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34059         * sunrpc/svc_simple.c: Use it for registerrpc.
34060         * sunrpc/xcrypt.c: Use it for passwd2des.
34061
34062         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34063
34064 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34065
34066         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34067         Don't define if [__SYSCALL_WORDSIZE != 32].
34068         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34069         New macro.
34070
34071 2012-05-21  Bruno Haible  <bruno@clisp.org>
34072             Andreas Jaeger  <aj@suse.de>
34073
34074         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34075         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34076         inptr and inend for must_buffer_ch.
34077         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34078         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34079         * stdio-common/Makefile (tests): Remove bug15.
34080         (bug15-ENV): Remove macro.
34081         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34082         anymore.
34083
34084 2012-05-19  Andreas Jaeger  <aj@suse.de>
34085             Roland McGrath  <roland@hack.frob.com>
34086
34087         * manual/contrib.texi: Completely rewritten. It contains now an
34088         alphabetical list of contributors and their contributions.
34089
34090 2012-05-21  Richard Henderson  <rth@twiddle.net>
34091
34092         * misc/getauxval.c (__getauxval): Use unsigned long int.
34093         * misc/sys/auxv.h: Include <sys/cdefs.h>.
34094         (getauxval): Use unsigned long int.
34095
34096 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34097
34098         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34099
34100 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34101
34102         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34103         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34104         __alignof__ (long double).
34105
34106 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34107
34108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34109
34110 2012-05-20  Richard Henderson  <rth@twiddle.net>
34111
34112         * misc/getauxval.c: New file.
34113         * misc/sys/auxv.h: New file.
34114         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34115         (routines): Add getauxval.
34116         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34117         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34118         * elf/dl-sysdep.c (_dl_auxv): Remove.
34119         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34120         * elf/dl-support.c (_dl_auxv): New variable.
34121         (_dl_aux_init): Initialize it.
34122         * manual/startup.texi (Auxiliary Vector): New node.
34123         * sysdeps/generic/bits/hwcap.h: New file.
34124         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34125         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
34126         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34127         * sysdeps/sparc/sysdep.h: ... here.  Include it.
34128         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34129         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34131         Update.
34132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34133         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34135         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34137         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34138         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34140
34141 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34142
34143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34144
34145 2012-05-19  David S. Miller  <davem@davemloft.net>
34146
34147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34148
34149 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34150
34151         [BZ #14123]
34152         * math/s_ccosh.c: Include <float.h>
34153         (__ccosh): Avoid internal overflow calculating sinh and cosh
34154         values before multiplying by sin and cos values.
34155         * math/s_ccoshf.c: Likewise.
34156         * math/s_ccoshl.c: Likewise.
34157         * math/s_csin.c: Likewise.
34158         * math/s_csinf.c: Likewise.
34159         * math/s_csinl.c: Likewise.
34160         * math/s_csinh.c: Likewise.
34161         * math/s_csinhf.c: Likewise.
34162         * math/s_csinhl.c: Likewise.
34163         * math/libm-test.inc (ccos_test): Add more tests.
34164         (ccosh_test): Likewise.
34165         (csin_test): Likewise.
34166         (csinh_test): Likewise.
34167         * sysdeps/i386/fpu/libm-test-ulps: Update.
34168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34169
34170 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
34171
34172         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34173         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34174
34175         * sysdeps/x86_64/x32/_itoa.h: Add comment.
34176
34177 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34178
34179         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34180         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34181         * sysdeps/powerpc/soft-fp/Versions: Likewise.
34182         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34183         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34184         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34185         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34186         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34187         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34188         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34189         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34190         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34191         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34192         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34193         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34194         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34195         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34196         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34197         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34198         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34199         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34200         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34201         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34202         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34203         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34204         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34205         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34206         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34207         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34208         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34209         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34210
34211 2012-05-18  Andreas Jaeger  <aj@suse.de>
34212
34213         * csu/.gitignore: Delete.
34214
34215 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34216
34217         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34218         (timex): Use __syscall_slong_t.
34219
34220 2012-05-18  Andreas Jaeger  <aj@suse.de>
34221             Carlos O'Donell  <carlos_odonell@mentor.com>
34222
34223         * manual/install.texi (Configuring and compiling): Update
34224         description about files modified in the source directory.
34225         * INSTALL: Regenerated.
34226
34227 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34228
34229         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34230         value.  Use "or" to set return value to -1.
34231         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34232         negate return value.
34233
34234 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34235
34236         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34237         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34238         failure if the compiler has Graphite support disabled.
34239         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34240         Likewise.
34241         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34242         (CFLAGS-memmove.c): Likewise.
34243         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34244         Likewise.
34245
34246 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34247
34248         * sysdeps/x86_64/x32/_itoa.h: New file.
34249
34250         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34251         getdents system call only if kernel and user dirents have the
34252         same d_ino and d_off.
34253
34254         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34255         LLONG_MAX != LONG_MAX.
34256         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34257         (_fitoa_word): Likewise.
34258
34259         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34260         years.
34261         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34262         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34263         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34264
34265         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34266         include <bits/wordsize.h>.  Check __x86_64__ instead of
34267         __WORDSIZE.
34268         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34269         if __x86_64__ is defined.  Use anonymous union on fpstate.
34270
34271         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34272         anonymous union.
34273
34274 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
34275
34276         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34277         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34278         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34279         Refer to _rtld_local_ro instead of _rtld_global_ro.
34280         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34281         Likewise.
34282         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34283         Likewise.
34284         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34285         Likewise.
34286         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34287         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34288         of _rtld_global, and rtld_progname instead of _dl_argv[0].
34289
34290         * sysdeps/powerpc/powerpc32/dl-machine.c
34291         (__elf_machine_runtime_setup) [PROF]: Don't reference
34292         _dl_prof_resolve.
34293
34294 2012-05-18  Andreas Jaeger  <aj@suse.de>
34295
34296         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34297         function only available for GCCs before 3.4 since GCC 3.4
34298         introduced a builtin.
34299         (lrint): Likewise.
34300         (llrintf): Likewise.
34301         (llrint): Likewise.
34302         (fmaxf): Likewise.
34303         (fmax): Likewise.
34304         (fminf): Likewise.
34305         (fmin): Likewise.
34306         (rint): Likewise.
34307         (rintf): Likewise.
34308         (nearbyint): Likewise.
34309         (nearbyintf): Likewise.
34310         (ceil): Likewise.
34311         (ceilf): Likewise.
34312         (floor): Likewise.
34313         (floorf): Likewise.
34314
34315 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34316
34317         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34318         on both fields and cast pointer to __syscall_ulong_t.
34319
34320         * bits/types.h (__fsword_t): New type.
34321         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34322         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34323         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34324         (__FSWORD_T_TYPE): Likewise.
34325         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34326         (__FSWORD_T_TYPE): Likewise.
34327         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34328         (__FSWORD_T_TYPE): Likewise.
34329         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34330         (__FSWORD_T_TYPE): Likewise.
34331         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34332         __SWORD_TYPE with __fsword_t.
34333         (statfs64): Likewise.
34334
34335 2012-05-17  David S. Miller  <davem@davemloft.net>
34336
34337         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34338
34339 2012-05-17  Andreas Jaeger  <aj@suse.de>
34340
34341         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34342         warning.
34343
34344 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34345
34346         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34347
34348 2012-05-17  Andreas Jaeger  <aj@suse.de>
34349
34350         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34351         when it is used.
34352
34353 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34354
34355         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34356
34357 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34358
34359         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34360         * sysdeps/x86_64/tst-mallocalign1.c: New file.
34361
34362 2012-05-17  Andreas Jaeger  <aj@suse.de>
34363             Carlos O'Donell  <carlos_odonell@mentor.com>
34364
34365         [BZ #14059]
34366         * sysdeps/x86_64/multiarch/init-arch.h
34367         (bit_YMM_Usable): Rename to...
34368         (bit_AVX_Usable): ... this.
34369         (bit_FMA4_Usable): New macro.
34370         (bit_XMM_state): New macro.
34371         (bit_YMM_state): New macro.
34372         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34373         [__ASSEMBLER__] (index_AVX_Usable): ... this.
34374         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34375         (CPUID_OSXSAVE): New macro.
34376         (CPUID_AVX): New macro.
34377         (CPUID_FMA4): New macro.
34378         (index_YMM_Usable): Rename to...
34379         (index_AVX_Usable): ... this.
34380         (HAS_AVX): Use HAS_ARCH_FEATURE.
34381         (HAS_FMA4): Likewise.
34382         (HAS_YMM_USABLE): Remove.
34383         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34384         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34385         are present.
34386         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34387         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34388         * sysdeps/x86_64/multiarch/Makefile: Likewise.
34389         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34390         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34391
34392 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34393
34394         * math/libm-test.c: Support platforms without multiple rounding modes.
34395         * math/bug-nextafter.c: Support platforms without FP exceptions.
34396         * math/bug-nexttoward.c: Likewise.
34397         * math/test-fenv.c: Likewise.
34398         * math/test-misc.c: Likewise.
34399         * stdlib/bug-getcontext.c: Likewise.
34400
34401 2012-05-17  Andreas Jaeger  <aj@suse.de>
34402
34403         * manual/examples/search.c (critter_cmp): Change signature to
34404         avoid warnings.
34405         * manual/string.texi (Collation Functions): Likewise.
34406
34407 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34408
34409         * bits/types.h: Fold copyright years.
34410         * bits/typesizes.h: Likewise.
34411         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34412         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34413         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34414         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34415         * time/time.h: Likewise.
34416
34417 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
34418
34419         [BZ #208]
34420         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34421         in instead of returning them.  Return void.
34422         (__libc_mallinfo): Accumulate over all arenas.
34423         (__malloc_stats): Adjust for change in int_mallinfo interface.
34424
34425 2012-05-16  Roland McGrath  <roland@hack.frob.com>
34426
34427         [BZ #10375]
34428         * configure.in (NM): Add AC_CHECK_TOOL for it.
34429         (libc_extra_cflags): New substituted variable.
34430         Check for -fstack-protector being used implicitly.
34431         * configure: Regenerated.
34432         * config.make.in (config-extra-cflags): New variable,
34433         gets @libc_extra_cflags@.
34434         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34435
34436         [BZ #10375]
34437         * configure.in: Check for _FORTIFY_SOURCE being predefined.
34438         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34439         * configure: Regenerated.
34440         * config.make.in (CPPUNDEFS): New substituted variable.
34441         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34442         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34443         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34444
34445 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34446
34447         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34448         (mq_attr): Use __syscall_slong_t.
34449
34450 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34451
34452         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34453         Check __x86_64__ instead of __WORDSIZE.
34454         (_STAT_VER_LINUX): Likewise.
34455         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
34456         __syscall_ulong_t and __syscall_slong_t.
34457         (stat64): Likewise.
34458
34459 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34460
34461         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34462
34463 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34464
34465         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34466
34467 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34468
34469         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34470         __syscall_ulong_t.
34471
34472         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34473         include <bits/wordsize.h>.  Check __x86_64__ instead of
34474         __WORDSIZE.
34475         (greg_t): Use "__extension__ long long int" if __x86_64__ is
34476         defined.
34477         (mcontext_t): Replace "unsigned long" with "unsigned long long".
34478
34479         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34480         include <bits/wordsize.h>.  Check __x86_64__ instead of
34481         __WORDSIZE.
34482         (user_regs_struct): Use "__extension__ unsigned long long"
34483         instead of "unsigned long" if __x86_64__ is defined.
34484         (user): Likewise.  Pad after pointer field if __ILP32__ is
34485         defined.
34486
34487 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
34488
34489         * configure.in (makeinfo): Require version 4.5 or later.  Allow
34490         versions 5 to 9.
34491         * configure: Regenerated.
34492         * manual/install.texi (texinfo): Increase version requirement to
34493         4.5 or later.
34494         * INSTALL: Regenerated.
34495
34496         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34497
34498 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34499
34500         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34501
34502         * sysdeps/x86_64/x32/ffs.c: New file.
34503
34504         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34505         __syscall_ulong_t.
34506         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34507         defined.  Use __syscall_ulong_t.
34508         (shminfo): Use __syscall_ulong_t.
34509         (shm_info): Likewise.
34510
34511         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34512         __syscall_ulong_t.
34513
34514         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34515         <bits/wordsize.h>.
34516         (msgqnum_t): Use __syscall_ulong_t.
34517         (msglen_t): Likewise.
34518         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
34519         __syscall_ulong_t.
34520
34521         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34522         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34523
34524         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34525
34526         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34527         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34528
34529         * sysvipc/sys/msg.h (msgbuf): Replace long int with
34530         __syscall_slong_t.
34531
34532         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34533         include <bits/wordsize.h>.  Check __x86_64__ instead of
34534         __WORDSIZE.
34535
34536         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34537         "unsigned long long int" if __x86_64__ is defined.
34538         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34539
34540         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34541         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34542         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34543
34544         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34545         <stdint.h>.
34546         (GET_PC): Cast to uintptr_t first.
34547         (GET_FRAME): Likewise.
34548         (GET_STACK): Likewise.
34549
34550         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34551         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34552         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34553         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34554         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34555         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34556         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34557         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34558         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34559         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34560         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34561         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34562         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34563         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34564         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34565         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34566         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34567         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34568         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34569         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34570         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34571         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34572         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34573         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34574         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34575         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34576         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34577         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34578         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34579
34580 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
34581
34582         * Makerules (+depfiles): Also collect depfiles from .oS in
34583         $(extra-objs).
34584         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34585         .oS, $(libnldbl-routines)).
34586
34587         * Makerules (native-compile-mkdep-flags): Define.
34588         * sunrpc/Makefile (extra-objs): Add $(addprefix
34589         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34590         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34591         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
34592         calling $(make-target-directory).
34593
34594 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34595
34596         * bits/types.h (__snseconds_t): Removed.
34597         * time/time.h (struct timespec): Replace __snseconds_t with
34598         __syscall_slong_t.
34599         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34600         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34601         Likewise.
34602         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34603         (__SNSECONDS_T_TYPE): Likewise.
34604         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34605         (__SNSECONDS_T_TYPE): Likewise.
34606         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34607         (__SNSECONDS_T_TYPE): Likewise.
34608
34609 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34610
34611         * sysdeps/mach/hurd/bits/typesizes.h
34612         (__SYSCALL_SLONG_TYPE): New macro.
34613         (__SYSCALL_ULONG_TYPE): Likewise.
34614
34615 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34616
34617         * bits/types.h (__syscall_slong_t): New type.
34618         (__syscall_ulong_t): Likewise.
34619
34620         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34621         (__SYSCALL_ULONG_TYPE): Likewise.
34622         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34623         (__SYSCALL_SLONG_TYPE): Likewise.
34624         (__SYSCALL_ULONG_TYPE): Likewise.
34625         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34626         (__SYSCALL_SLONG_TYPE): Likewise.
34627         (__SYSCALL_ULONG_TYPE): Likewise.
34628         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34629         (__SYSCALL_SLONG_TYPE): Likewise.
34630         (__SYSCALL_ULONG_TYPE): Likewise.
34631
34632 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34633
34634         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34635         Add sigaltstack-offsets.sym.
34636         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34637         <sigaltstack-offsets.h>.
34638         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
34639         longjmp_msg pointer.
34640         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
34641         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34642         signal stack.
34643         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34644
34645 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34646
34647         * elf/stackguard-macros.h: Remove file.
34648         * sysdeps/generic/stackguard-macros.h: New file.
34649         * sysdeps/i386/stackguard-macros.h: Likewise.
34650         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34651         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34652         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34653         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34654         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34655         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34656         * sysdeps/x86_64/stackguard-macros.h: Likewise.
34657         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34658         <elf/stackguard-macros.h>.
34659
34660         [BZ #14109]
34661         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34662         __aligned__ in attribute.
34663         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34664         (gregset_t): Likewise.
34665
34666 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34667
34668         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34669         * sysdeps/x86_64/64/Implies-after: Here.  New file.
34670         * sysdeps/x86_64/x32/Implies-after: New file.
34671
34672 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34673
34674         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34675         and access return value for _dl_profile_fixup.  Use R10_LP to
34676         load frame size.
34677
34678 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34679
34680         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34681
34682 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34683
34684         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34685         * sysdeps/x86_64/x32/sysdep.h: New file.
34686
34687 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34688
34689         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34690         * sysdeps/x86_64/setjmp.S: Likewise.
34691
34692 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34693
34694         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34695         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34696         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34697         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34698         remove unused global constant.
34699
34700 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
34701
34702         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34703         include of <not-cancel.h>.
34704
34705 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34706
34707         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34708
34709 2012-05-15  Jeff Law  <law@redhat.com>
34710             Andreas Jaeger  <aj@suse.de>
34711
34712         [BZ #13594]
34713         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34714         out from...
34715         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34716         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34717         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34718         code changing __hst_map_handle.map.
34719
34720 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34721
34722         * configure.in (sysnames): Look for Implies-before and Implies-after
34723         files.
34724         * configure: Regenerated.
34725
34726 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34727
34728         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34729         8-byte data alignment with LP_SIZE alignment.
34730
34731 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34732
34733         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34734         into R10_LP.
34735
34736 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34737
34738         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34739
34740 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34741
34742         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34743         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34744         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34745         Likewise.
34746         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34747
34748 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34749
34750         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34751         (stackinfo_sub_sp): Likewise.
34752
34753 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34754
34755         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34756         RAX_LP.
34757
34758 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34759
34760         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34761         into R*_LP.
34762
34763 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34764
34765         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34766         sizes into R*_LP.
34767
34768 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34769
34770         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34771
34772 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34773
34774         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34775         into R11_LP and load __x86_64_shared_cache_size_half into
34776         R8_LP.
34777
34778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34779
34780         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34781         R8_LP.
34782
34783 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34784
34785         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34786         logb for POWER7.
34787         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34788         logbf for POWER7.
34789         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34790         logbl for POWER7.
34791         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34792         powerpc32/power7/fpu/s_logb.c via #include.
34793         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34794         powerpc32/power7/fpu/s_logbf.c via #include.
34795         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34796         powerpc32/power7/fpu/s_logbl.c via #include.
34797
34798 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34799
34800         * README.libm: Remove file.
34801
34802 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34803
34804         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34805         count for x32.  Use R*_LP and omit operand-size suffix.
34806
34807 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34808
34809         * shlib-versions: Move x86_64-.*-linux.* entries to ...
34810         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
34811         * sysdeps/x86_64/x32/shlib-versions: New file.
34812
34813 2012-05-14  Roland McGrath  <roland@hack.frob.com>
34814
34815         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34816         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34817         Use _dl_fatal_printf instead.
34818
34819 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34820
34821         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34822         set if not set by the user.  Do not allow for being unset.
34823         * sysdeps/unix/sysv/linux/configure: Regenerated.
34824
34825 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34826
34827         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34828         the `q' suffix from lea and replace .quad with ASM_ADDR.
34829
34830 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34831
34832         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34833         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
34834         instead of $17.
34835         (PTR_DEMANGLE): Likewise.
34836
34837 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34838
34839         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34840         (LP_OP): Likewise.
34841         (ASM_ADDR): Likewise.
34842         (RAX_LP): Likewise.
34843         (RBP_LP): Likewise.
34844         (RBX_LP): Likewise.
34845         (RCX_LP): Likewise.
34846         (RDI_LP): Likewise.
34847         (RSI_LP): Likewise.
34848         (RSP_LP): Likewise.
34849         (R8_LP): Likewise.
34850         (R9_LP): Likewise.
34851         (R10_LP): Likewise.
34852         (R10_LP): Likewise.
34853         (R11_LP): Likewise.
34854         (R12_LP): Likewise.
34855         (R13_LP): Likewise.
34856         (R14_LP): Likewise.
34857         (R15_LP): Likewise.
34858
34859 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34860
34861         * sysdeps/x86_64/x32/dl-machine.h: New file.
34862
34863 2012-05-14  Andreas Jaeger  <aj@suse.de>
34864
34865         * manual/Makefile (subdir): Remove export of subdir.
34866         (all): Remove target.
34867         (.PHONY): Remove all from list.
34868         (mkinstalldirs): Remove.
34869         (.PHONY): Remove installdirs from list.
34870         ($(inst_infodir)/libc.info): Use make-target-directory.
34871         (installdirs): Remove.
34872         (subdir_%): Remove.
34873         (glibc-targets): Remove.
34874         (lib): Remove.
34875         (stubs): Remove.
34876         ($(objpfx)stubs ../po/manual.pot): Remove.
34877         ($(objpfx)stamp%): Remove.
34878         (make-target-directory): Remove.
34879         (subdir_install): Remove.
34880         (routines): Remove.
34881         (aux): Remove.
34882         (sources): Remove.
34883         (objects): Remove.
34884         (headers): Remove.
34885
34886         [BZ #13750]
34887         * manual/.gitignore: Remove, it's not needed anymore.
34888         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34889         all files in it.
34890         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34891         directory.
34892         (texis): Renamed to $(objpfx)texis.
34893         (texis-path): New, contains path to generated files.
34894         (chapters.%): Use texis-path for complete path, add extra argument
34895         libc-texinfo.sh.
34896         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34897         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34898         (summary,texi, stamp-summary): Use complete path of
34899         files. Generate files in build dir.
34900         (dir-add.texi): Build in build dir.
34901         (libm-err.texi,stamp-libm-err): Likewise.
34902         (version.texi, stamp-version): Likewise.
34903         (.%c.texi): Likewise.
34904         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34905         (mostlyclean): Remove target.
34906         (realclean): Remove target.
34907         (generated): Add new variable with contents from mostlyclean and
34908         realclean, remove entries duplicated in common-mostlyclean, add
34909         stamp-libm-err and stamp-version.
34910         (generated-dirs): Add libc directory.
34911         ($(inst_infodir)/libc.info): Install files from build dir.
34912
34913         * manual/install.texi (Configuring and compiling): Adjust since
34914         the info files are not part of the tar ball anymore.
34915
34916 2012-05-14  Andreas Jaeger  <aj@suse.de>
34917
34918         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34919         variable.
34920
34921 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34922
34923         [BZ #13717]
34924         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34925         to 2.2.0 where earlier.
34926         * sysdeps/unix/sysv/linux/configure: Regenerated.
34927         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34928         Remove conditional code.
34929         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34930         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34931         Remove conditional code.
34932         [!__NR_lchown]: Likewise.
34933         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34934         [__NR_lchown]: Likewise.
34935         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34936         comment referencing __ASSUME_LCHOWN_SYSCALL.
34937         * sysdeps/unix/sysv/linux/i386/sigaction.c
34938         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34939         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34940         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34941         Remove conditional code.
34942         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34943         (__protocol_available): Remove #if 0 code.
34944         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34945         conditional code.
34946         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34947         * sysdeps/unix/sysv/linux/kernel-features.h
34948         (__ASSUME_GETCWD_SYSCALL): Don't define.
34949         (__ASSUME_REALTIME_SIGNALS): Likewise.
34950         (__ASSUME_PREAD_SYSCALL): Likewise.
34951         (__ASSUME_PWRITE_SYSCALL): Likewise.
34952         (__ASSUME_POLL_SYSCALL): Likewise.
34953         (__ASSUME_LCHOWN_SYSCALL): Likewise.
34954         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34955         non-SPARC.
34956         (__ASSUME_SIOCGIFNAME): Don't define.
34957         (__ASSUME_MSG_NOSIGNAL): Likewise.
34958         (__ASSUME_SENDFILE): Define unconditionally.
34959         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34960         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34961         conditional code.
34962         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34963         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34964         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34965         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34966         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34967         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34968         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34970         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34971         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34973         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34974         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34976         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34977         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34979         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34980         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34982         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34983         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34985         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34986         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34988         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34989         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34991         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34992         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34993         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34994         Remove conditional code.
34995         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34996         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34997         Remove conditional code.
34998         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34999         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35000         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35001         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35002         Remove conditional code.
35003         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35004         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35005         Remove conditional code.
35006         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35007         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35008         Remove conditional code.
35009         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35010         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35011         Remove conditional code.
35012         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35013         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35014         Remove conditional code.
35015         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35016         * sysdeps/unix/sysv/linux/sh/pwrite64.c
35017         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35018         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35019         * sysdeps/unix/sysv/linux/sigaction.c
35020         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35021         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35022         * sysdeps/unix/sysv/linux/sigpending.c
35023         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35024         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35025         * sysdeps/unix/sysv/linux/sigprocmask.c
35026         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35027         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35028         * sysdeps/unix/sysv/linux/sigsuspend.c
35029         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35030         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35031         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35032         (__libc_missing_rt_sigs): Remove.
35033         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35034         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35035         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35036         Remove conditional code.
35037         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35038         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35039         return 1.
35040         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35041         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35042         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35043         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35044
35045 2012-05-14  Andreas Jaeger  <aj@suse.de>
35046
35047         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35048         it's not used in glibc.
35049         (__coshm1): Likewise.
35050         (__acosh1p): Likewise.
35051         (__sgn): Likewise.
35052
35053         * manual/string.texi (Copying and Concatenation): Add missing
35054         variable in concat example.
35055         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35056
35057 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35058
35059         [BZ #14103]
35060         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35061         __builtin_clzl with __builtin_clzll.
35062
35063 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35064
35065         [BZ #14104]
35066         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35067         libc_freeres_ptr.
35068
35069 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35070
35071         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35072         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35073         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35074         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35075
35076 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
35077
35078         * NEWS: Update ia64 info.
35079
35080 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
35081
35082         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35083         used as bcopy.
35084
35085 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
35086
35087         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35088         * sysdeps/unix/syscalls.list (dup3): Likewise.
35089         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35090         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35091
35092 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35093
35094         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35095         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35096
35097 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35098
35099         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35100         thread pointer.
35101         (TLS_IE): Use mov/add instead of movq/addq to load thread
35102         pointer.
35103         (TLS_GD_PREFIX): New.
35104         (TLS_GD): Use it.
35105
35106 2012-05-11  David S. Miller  <davem@davemloft.net>
35107
35108         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35109         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35110         (_FPU_SETCW): Likewise.
35111
35112 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35113
35114         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35115         is 32-byte aligned.
35116
35117 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
35118
35119         [BZ #11837]
35120         * iconvdata/gb18030.c: Update tables.
35121         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
35122         characters specially.
35123         (BODY for TO_LOOP): Add encoding of missing ranges.
35124
35125 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
35126
35127         [BZ #13673]
35128         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35129         * sysdeps/mach/hurd/dup3.c: Likewise.
35130         * sysdeps/mach/hurd/readlinkat.c: Likewise.
35131         * sysdeps/powerpc/memmove.c:: Likewise.
35132
35133 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35134
35135         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35136         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35137
35138 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35139
35140         * elf/elf.h (R_X86_64_RELATIVE64): New.
35141         (R_X86_64_NUM): Updated.
35142         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35143         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
35144         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35145         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35146         tst-quad1pie tst-quad2pie
35147         (modules-names): Add tst-quadmod1 tst-quadmod2.
35148         ($(objpfx)tst-quad1): New dependency.
35149         ($(objpfx)tst-quad2): Likewise.
35150         ($(objpfx)tst-quad1pie): Likewise.
35151         ($(objpfx)tst-quad2pie): Likewise.
35152         * sysdeps/x86_64/tst-quad1.c: New file.
35153         * sysdeps/x86_64/tst-quad1pie.c: New file.
35154         * sysdeps/x86_64/tst-quad2.c: Likewise.
35155         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35156         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35157         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35158         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35159         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35160
35161 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35162
35163         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35164         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35165         * streams/stropts.h (t_scalar_t): Define type.
35166
35167         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35168         (_PATH_PRESERVE): Set to "/var/lib".
35169         (_PATH_RWHODIR): Set to "/var/spool/rwho".
35170
35171         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35172         instead of int.
35173
35174         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35175         if __dir_mkfile succeeded.
35176
35177         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35178         checking for _hurd_dtablesize.  Unlock it right after having
35179         finished _hurd_dtable allocation.
35180
35181 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35182
35183         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35184         * sysdeps/mach/hurd/configure: Regenerated.
35185         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35186         special-casing to...
35187         * sysdeps/gnu/configure.in: ... this new file.
35188         * sysdeps/unix/sysv/linux/configure: Regenerated.
35189         * sysdeps/gnu/configure: New generated file.
35190
35191         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35192         for Linux: use nsec instead of usec, as well as:
35193         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35194         members of type struct timespec.
35195         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35196         New macros.
35197         (struct stat64): Likewise.
35198         (_STATBUF_ST_NSEC): New macro.
35199         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35200
35201         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35202         __strtoul_internal rather than strtoul.
35203
35204 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35205
35206         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35207         and reject them.
35208
35209 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35210
35211         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35212         which preserves existing values.
35213         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35214
35215 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35216
35217         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35218         TIMEOUT values.  Return EINVAL for NFDS values either negative or
35219         greater than FD_SETSIZE.
35220
35221 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35222
35223         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35224         allocated, call __vm_protect to finish enabling the existing space, and
35225         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35226         allocate the remainder.
35227
35228 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35229
35230         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35231         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
35232
35233 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35234
35235         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35236         sysdeps/mach/hurd/readlink.c.
35237
35238         * posix/tst-sysconf.c (posix_options): Only use
35239         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35240         _POSIX_SYNCHRONIZED_IO when they are defined
35241         * sysdeps/mach/hurd/bits/posix_opt.h:
35242         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35243         (_XOPEN_REALTIME): Undefine macro.
35244         (_XOPEN_REALTIME_THREADS): Undefine macro.
35245         (_XOPEN_SHM): Undefine macro.
35246         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35247         macro to -1.
35248         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35249         macro to -1.
35250         (_POSIX_ASYNC_IO): Undefine macro.
35251         (_POSIX_PRIORITIZED_IO): Undefine macro.
35252         (_POSIX_SPIN_LOCKS): Define macro to -1.
35253
35254         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35255         SA_NODEFER, SA_RESETHAND.
35256         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35257         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35258         F_DUPFD_CLOEXEC.
35259
35260 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35261
35262         * elf/Makefile (pldd-modules): Define unconditionally.
35263
35264 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35265
35266         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35267
35268 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35269
35270         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35271         Return ENOENT when name is empty.
35272         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35273
35274 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35275
35276         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35277
35278         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35279
35280 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35281
35282         Fix mlock in all cases except non-readable pages.
35283         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35284         instead of VM_PROT_ALL as parameter to __vm_wire function.
35285
35286         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35287         (__mkdir): When path is `/', just fail with EEXIST.
35288         * sysdeps/mach/hurd/mkdirat.c: Likewise.
35289
35290 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35291
35292         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35293         <sys/uio.h> (for writev).
35294         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35295         and <sys/param.h> (for MIN).
35296
35297 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35298
35299         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35300         REQUESTED_TIME.  Properly set the remaining time and return EINTR
35301         if interrupted.
35302
35303 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35304
35305         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35306         Depend on against $(link-rpcuserlibs).
35307
35308 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35309
35310         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35311         (__libc_stack_end): Do not use attribute_relro.
35312         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35313         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35314         to libthread-provided value.
35315         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35316         attribute_relro.
35317
35318 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35319
35320         [BZ #3748]
35321         * bits/libc-lock.h (__libc_once_get): New macro.
35322         * sysdeps/mach/bits/libc-lock.h: Likewise.
35323         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35324         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35325         instead of using implementation details.
35326
35327         * libio/fileops.c: Unconditionally include <kernel-features.h>.
35328         * libio/freopen.c: Likewise.
35329         * libio/freopen64.c: Likewise.
35330         * misc/syslog.c: Likewise.
35331         * nscd/connections.c: Likewise.
35332         * nscd/netgroupcache.c: Likewise.
35333         * sysdeps/posix/getcwd.c: Likewise.
35334
35335 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35336
35337         * math/w_ilogbf.c: Add #include <limits.h>.
35338
35339 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35340
35341         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35342         path instead of returning without unlocking.
35343
35344         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35345         immediate-write ioctls.
35346         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35347
35348 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35349
35350         * sysdeps/mach/hurd/i386/init-first.c (init): Use
35351         __builtin_frame_address instead of making assumptions about the
35352         location of the return address relative to DATA.  Force early load of
35353         the return address.
35354         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35355         __builtin_frame_address.
35356
35357         dup3 for GNU Hurd.
35358         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35359         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
35360         implement dup3 and do some further code clean-ups.
35361         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35362         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35363
35364 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35365
35366         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35367
35368         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35369         HURD_CRITICAL_END around holding _hurd_dtable_lock.
35370         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35371         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35372         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35373         d->port.lock.
35374
35375         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35376         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
35377         when handler == SIG_ERR, not when handler != SIG_ERR.
35378
35379 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35380
35381         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35382         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35383         definitions.
35384
35385         accept4 for GNU Hurd.
35386         * include/sys/socket.h (__libc_accept4): New prototype.
35387         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
35388         to implement __libc_accept4.
35389         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35390         __libc_accept4.
35391         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35392
35393         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35394         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35395         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35396         signal-defines.sym.
35397
35398 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35399
35400         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35401
35402 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35403
35404         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35405         assertion on O_CLOEXEC flag.
35406         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35407         * hurd/intern-fd.c: Likewise.
35408         * hurd/port2fd.c: Likewise.
35409
35410 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35411
35412         [BZ #3906]
35413         * bits/in.h (IPV6_PKTINFO): Define new macro.
35414         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35415
35416 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35417
35418         [BZ #13954]
35419         [BZ #13955]
35420         [BZ #13956]
35421         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35422         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35423         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35424         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35425         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35426         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35427         * math/libm-test.inc (logb_test) : Additional logb tests.
35428
35429 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
35430             Andreas Jaeger  <aj@suse.de>
35431
35432         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35433         * configure: Regenerated.
35434         * config.h.in (LINK_OBSOLETE_RPC): New macro.
35435         * config.make.in (link-obsolete-rpc): New substituted variable.
35436         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35437         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35438         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35439         (shared-only-routines): Don't set it under [link-obsolete-rpc],
35440         so that libc.a contains the symbols.
35441         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35442         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35443         * sunrpc/auth_none.c: Likewise.
35444         * sunrpc/auth_unix.c: Likewise.
35445         * sunrpc/authdes_prot.c: Likewise.
35446         * sunrpc/authuxprot.c: Likewise.
35447         * sunrpc/clnt_gen.c: Likewise.
35448         * sunrpc/clnt_perr.c: Likewise.
35449         * sunrpc/clnt_raw.c: Likewise.
35450         * sunrpc/clnt_simp.c: Likewise.
35451         * sunrpc/clnt_tcp.c: Likewise.
35452         * sunrpc/clnt_udp.c: Likewise.
35453         * sunrpc/clnt_unix.c: Likewise.
35454         * sunrpc/des_crypt.c: Likewise.
35455         * sunrpc/des_soft.c: Likewise.
35456         * sunrpc/get_myaddr.c: Likewise.
35457         * sunrpc/key_call.c: Likewise.
35458         * sunrpc/key_prot.c: Likewise.
35459         * sunrpc/netname.c: Likewise.
35460         * sunrpc/pm_getmaps.c: Likewise.
35461         * sunrpc/pm_getport.c: Likewise.
35462         * sunrpc/pmap_clnt.c: Likewise.
35463         * sunrpc/pmap_prot.c: Likewise.
35464         * sunrpc/pmap_prot2.c: Likewise.
35465         * sunrpc/pmap_rmt.c: Likewise.
35466         * sunrpc/publickey.c: Likewise.
35467         * sunrpc/rpc_cmsg.c: Likewise.
35468         * sunrpc/rpc_common.c: Likewise.
35469         * sunrpc/rpc_dtable.c: Likewise.
35470         * sunrpc/rpc_prot.c: Likewise.
35471         * sunrpc/rpc_thread.c: Likewise.
35472         * sunrpc/rtime.c: Likewise.
35473         * sunrpc/svc.c: Likewise.
35474         * sunrpc/svc_auth.c: Likewise.
35475         * sunrpc/svc_raw.c: Likewise.
35476         * sunrpc/svc_run.c: Likewise.
35477         * sunrpc/svc_tcp.c: Likewise.
35478         * sunrpc/svc_udp.c: Likewise.
35479         * sunrpc/svc_unix.c: Likewise.
35480         * sunrpc/svcauth_des.c: Likewise.
35481         * sunrpc/xcrypt.c: Likewise.
35482         * sunrpc/xdr.c: Likewise.
35483         * sunrpc/xdr_array.c: Likewise.
35484         * sunrpc/xdr_float.c: Likewise.
35485         * sunrpc/xdr_intXX_t.c: Likewise.
35486         * sunrpc/xdr_mem.c: Likewise.
35487         * sunrpc/xdr_rec.c: Likewise.
35488         * sunrpc/xdr_ref.c: Likewise.
35489         * sunrpc/xdr_sizeof.c: Likewise.
35490         * sunrpc/xdr_stdio.c: Likewise.
35491
35492 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35493
35494         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35495         change.  Update copyright years.
35496
35497 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35498
35499         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35500
35501 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
35502             Joseph Myers  <joseph@codesourcery.com>
35503             Paul Pluzhnikov  <ppluzhnikov@google.com>
35504
35505         [BZ #14012]
35506         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35507         requiring rpcgen.
35508         [cross-compiling] (extra-libs): Likewise.
35509         [cross-compiling] (extra-libs-others): Likewise.
35510         [cross-compiling] (librpcsvc-routines): Likewise.
35511         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35512         [cross-compiling] (omit-deps): Likewise.
35513         (sunrpc-CPPFLAGS): New variable.
35514         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35515         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35516         (cross-rpcgen-objs): New variable.
35517         (extra-objs): Append $(cross-rpcgen-objs).
35518         ($(cross-rpcgen-objs)): New rule.
35519         ($(objpfx)cross-rpcgen): Likewise.
35520         (rpcgen-cmd): Define to use $(built-program-file).  Expand
35521         comment.
35522         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35523         ($(objpfx)x%.stmp): Likewise.
35524         * sunrpc/proto.h [IS_IN_build] (_): Define.
35525         [IS_IN_build] (_libc_intl_domainname): Likewise.
35526
35527 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35528
35529         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35530         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35531         and R_X86_64_TPOFF64.
35532
35533 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35534
35535         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35536         sysdeps/unix/sysv/syscalls.list.
35537         (stime): Likewise.
35538         (utime): Likewise.
35539         * sysdeps/unix/sysv/syscalls.list: Remove file.
35540
35541 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
35542
35543         [BZ #3440]
35544         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35545         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35546         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35547         (__LC_IDENTIFICATION): Make these macros useful in #if
35548         expressions, as required by C99.
35549
35550 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
35551
35552         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35553         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
35554         after this.
35555
35556 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
35557
35558         * stdlib/longlong.h: Updated from GCC.
35559
35560 2012-05-09  Andreas Jaeger  <aj@suse.de>
35561
35562         * nscd/nscd.c (run_modes): Make named enum, reorder so that
35563         default is first entry.
35564         (run_mode): Set type.
35565         (main): Remove informal message about syslog.
35566         (options): Fix typo.
35567
35568         [BZ #14053]
35569         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35570         to asm.
35571         (lrint): Likewise.
35572         (llrintf): Likewise.
35573         (llrint): Likewise.
35574         (rint): Likewise.
35575         (rintf): Likewise.
35576         (nearbyint): Likewise.
35577         (nearbyintf): Likewise.
35578
35579 2012-05-09  Andreas Jaeger  <aj@suse.de>
35580             Pedro Alves  <palves@redhat.com>
35581
35582         * nscd/nscd.c (run_mode): Use enum.
35583         (main): Cleanup coding style issue.
35584
35585 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
35586             Andreas Jaeger  <aj@suse.de>
35587
35588         * nscd/nscd.c (go_background): Replaced with...
35589         (run_mode): ... this.
35590         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35591         (options): Add -F --foreground.
35592         (main): Implement it.
35593         (parse_opt): Parse it.
35594
35595 2012-05-09  Andreas Jaeger  <aj@suse.de>
35596
35597         [BZ #14083]
35598         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35599         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35600         -Wconversion warning.
35601         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35602         Likewise.
35603
35604 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
35605
35606         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
35607         == 0.
35608         (LC_ALL): Use macro-int-constant.
35609         (LC_COLLATE): Likewise.
35610         (LC_CTYPE): Likewise.
35611         (LC_MESSAGES): Likewise.
35612         (LC_MONETARY): Likewise.
35613         (LC_NUMERIC): Likewise.
35614         (LC_TIME): Likewise.
35615         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35616         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35617         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35618         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35619         Specify type.
35620         [C99-based standards] (float_t): Expect type.
35621         [C99-based standards] (double_t): Expect type.
35622         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
35623         type.
35624         [C99-based standards] (HUGE_VALL): Likewise.
35625         [C99-based standards] (INFINITY): Likewise.
35626         [C99-based standards] (NAN): Likewise.
35627         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35628         [C99-based standards] (FP_NAN): Likewise.
35629         [C99-based standards] (FP_NORMAL): Likewise.
35630         [C99-based standards] (FP_SUBNORMAL): Likewise.
35631         [C99-based standards] (FP_ZERO): Likewise.
35632         [C99-based standards] (FP_FAST_FMA): Use
35633         optional-macro-int-constant.  Specify type.  Require == 1.
35634         [C99-based standards] (FP_FAST_FMAF): Likewise.
35635         [C99-based standards] (FP_FAST_FMAL): Likewise.
35636         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35637         [C99-based standards] (FP_ILOGBNAN): Likewise.
35638         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35639         Specify type.
35640         [C99-based standards] (MATH_ERREXCEPT): Likewise.
35641         [C99-based standards] (math_errhandling): Specify type.
35642         [ISO99 || ISO11] (signgam): Do not allow.
35643         [non-C99-based standards] (copysignf): Do not allow.
35644         [non-C99-based standards] (exp2f): Likewise.
35645         [non-C99-based standards] (log2f): Likewise.
35646         [non-C99-based standards] (modff): Allow.
35647         [non-C99-based standards] (erff): Do not allow.
35648         [non-C99-based standards] (erfcf): Likewise.
35649         [non-C99-based standards] (gammaf): Likewise.
35650         [non-C99-based standards] (hypotf): Likewise.
35651         [non-C99-based standards] (j0f): Likewise.
35652         [non-C99-based standards] (j1f): Likewise.
35653         [non-C99-based standards] (jnf): Likewise.
35654         [non-C99-based standards] (lgammaf): Likewise.
35655         [non-C99-based standards] (tgammaf): Likewise.
35656         [non-C99-based standards] (y0f): Likewise.
35657         [non-C99-based standards] (y1f): Likewise.
35658         [non-C99-based standards] (ynf): Likewise.
35659         [non-C99-based standards] (isnanf): Likewise.
35660         [non-C99-based standards] (acoshf): Likewise.
35661         [non-C99-based standards] (asinhf): Likewise.
35662         [non-C99-based standards] (atanhf): Likewise.
35663         [non-C99-based standards] (cbrtf): Likewise.
35664         [non-C99-based standards] (expm1f): Likewise.
35665         [non-C99-based standards] (ilogbf): Likewise.
35666         [non-C99-based standards] (log1pf): Likewise.
35667         [non-C99-based standards] (logbf): Likewise.
35668         [non-C99-based standards] (nextafterf): Likewise.
35669         [non-C99-based standards] (remainderf): Likewise.
35670         [non-C99-based standards] (rintf): Likewise.
35671         [non-C99-based standards] (scalbf): Likewise.
35672         [non-C99-based standards] (copysignl): Likewise.
35673         [non-C99-based standards] (exp2l): Likewise.
35674         [non-C99-based standards] (log2l): Likewise.
35675         [non-C99-based standards] (modfl): Allow.
35676         [non-C99-based standards] (erfl): Do not allow.
35677         [non-C99-based standards] (erfcl): Likewise.
35678         [non-C99-based standards] (gammal): Likewise.
35679         [non-C99-based standards] (hypotl): Likewise.
35680         [non-C99-based standards] (j0l): Likewise.
35681         [non-C99-based standards] (j1l): Likewise.
35682         [non-C99-based standards] (jnl): Likewise.
35683         [non-C99-based standards] (lgammal): Likewise.
35684         [non-C99-based standards] (tgammal): Likewise.
35685         [non-C99-based standards] (y0l): Likewise.
35686         [non-C99-based standards] (y1l): Likewise.
35687         [non-C99-based standards] (ynl): Likewise.
35688         [non-C99-based standards] (isnanl): Likewise.
35689         [non-C99-based standards] (acoshl): Likewise.
35690         [non-C99-based standards] (asinhl): Likewise.
35691         [non-C99-based standards] (atanhl): Likewise.
35692         [non-C99-based standards] (cbrtl): Likewise.
35693         [non-C99-based standards] (expm1l): Likewise.
35694         [non-C99-based standards] (ilogbl): Likewise.
35695         [non-C99-based standards] (log1pl): Likewise.
35696         [non-C99-based standards] (logbl): Likewise.
35697         [non-C99-based standards] (nextafterl): Likewise.
35698         [non-C99-based standards] (remainderl): Likewise.
35699         [non-C99-based standards] (rintl): Likewise.
35700         [non-C99-based standards] (scalbl): Likewise.
35701         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35702         [non-C99-based standards] (FP_*): Do not allow.
35703         [C99-based standards] (FP_*): Change to
35704         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35705         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35706         allow.
35707         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35708         (SIG_ERR): Likewise.
35709         [X/Open-based standards] (SIG_HOLD): Likewise.
35710         (SIG_IGN): Likewise.
35711         (SIGABRT): Use macro-int-constant.  Specify type.  Require
35712         positive value.
35713         (SIGFPE): Likewise.
35714         (SIGILL): Likewise.
35715         (SIGINT): Likewise.
35716         (SIGSEGV): Likewise.
35717         (SIGTER): Likewise.
35718         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35719         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35720         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35721         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35722         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35723         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35724         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35725         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35726         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35727         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35728         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35729         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35730         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35731         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35732         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35733         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35734         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35735         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35736         [X/Open-based standards] (SIGTRAP): Likewise.
35737         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35738         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35739         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35740         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35741         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35742         allow.
35743
35744 2012-05-08  Ian Wienand  <ianw@vmware.com>
35745
35746         [BZ #14080]
35747         * time/tzset.c (__tzset_parse_tz): Update default rules for
35748         daylight time changes in the Energy Policy Act of 2005.
35749
35750 2012-05-09  Andreas Jaeger  <aj@suse.de>
35751
35752         [BZ #13983]
35753         * elf/ldconfig.c (parse_conf): Change string to make clear that
35754         ldconfig only issued a warning if ld.so.conf does not exist.
35755
35756 2012-05-08  David S. Miller  <davem@davemloft.net>
35757
35758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35759         movxtod instead of popping the value on the stack.
35760
35761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35762
35763 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
35764
35765         * config.h.in: Add HAVE_ARM_PCS_VFP.
35766
35767 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
35768
35769         [BZ #13979]
35770         * include/features.h: Warn if user requests __FORTIFY_SOURCE
35771         checking but the checks are disabled for any reason.
35772
35773 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
35774
35775         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35776         and ELF64_R_TYPE with ELFW(R_TYPE).
35777
35778 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
35779
35780         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35781         (ulimit): Likewise.
35782
35783         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35784         (settimeofday): Likewise.
35785
35786 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
35787
35788         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
35789         a struct th_u2 inside the union, and move tu_block/tu_code into
35790         a new th_u3 union of tu_block/tu_code inside of that.  Move
35791         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
35792         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
35793         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35794         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35795         (th_stuff): Change to th_u1.tu_stuff.
35796         (th_data): Define.
35797         (th_msg): Change to th_u1.th_u2.tu_data.
35798
35799 2012-05-07  David S. Miller  <davem@davemloft.net>
35800
35801         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35802
35803         [BZ #14074]
35804         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35805         (SETUP_PIC_REG): Use it.
35806         (SETUP_PIC_REG_LEAF): Use it.
35807
35808 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
35809
35810         [BZ #13885]
35811         [BZ #13923]
35812         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35813         USE_AS_EXPM1L.
35814         (EXPL_FINITE): Likewise.
35815         (FLDLOG): Likewise.
35816         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35817         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35818         e_expl.S.
35819         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35820         USE_AS_EXPM1L.
35821         (EXPL_FINITE): Likewise.
35822         (FLDLOG): Likewise.
35823         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35824         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35825         e_expl.S.
35826         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
35827         test of -max_value argument for long double.
35828         * sysdeps/i386/fpu/libm-test-ulps: Update.
35829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35830
35831 2012-05-06  David S. Miller  <davem@davemloft.net>
35832
35833         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35834         quad soft-float symbols whose references which are compiler
35835         generated.
35836         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35837
35838 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
35839
35840         [BZ #13884]
35841         [BZ #13914]
35842         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35843         USE_AS_EXP10L.
35844         (EXPL_FINITE): Likewise.
35845         (FLDLOG): Likewise.
35846         (c0): Likewise.
35847         (c1): Likewise.
35848         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35849         Adjust comments for base varying.
35850         (__expl_finite): Change alias to EXPL_FINITE.
35851         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35852         e_expl.S.
35853         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35854         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35855         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35856         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35857         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35858         USE_AS_EXP10L.
35859         (EXPL_FINITE): Likewise.
35860         (FLDLOG): Likewise.
35861         (c0): Likewise.
35862         (c1): Likewise.
35863         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35864         Adjust comments for base varying.
35865         (__expl_finite): Change alias to EXPL_FINITE.
35866         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
35867         tests for bugs.
35868         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35869
35870         [BZ #14064]
35871         * math/libm-test.inc (check_float_internal): Correct ulp
35872         calculation for subnormal expected results.
35873
35874 2012-05-06  Andreas Jaeger  <aj@suse.de>
35875
35876         * Makeconfig (+math-flags): New, set to -frounding-math.
35877         (+cflags): Add +math-flags so that all of glibc gets compiled with
35878         it.
35879
35880         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35881
35882 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
35883
35884         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35885         Disable one test.
35886
35887         [BZ #13787]
35888         [BZ #13922]
35889         [BZ #14036]
35890         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35891         (__ieee754_expl): Allow for and saturate large arguments.
35892         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35893         (u_threshold): Likewise.
35894         (__exp): Call __ieee754_exp before checking for overflow and
35895         underflow.
35896         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35897         (u_threshold): Likewise.
35898         (__expf): Call __ieee754_expf before checking for overflow and
35899         underflow.
35900         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35901         (u_threshold): Likewise.
35902         (__expl): Call __ieee754_expl before checking for overflow and
35903         underflow.
35904         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35905         (__ieee754_expl): Allow for and saturate large arguments.
35906         * math/libm-test.inc (exp_test): Add another test.  Do not allow
35907         missing overflow exception on overflow.
35908         (expm1_test): Do not allow missing overflow exception on overflow.
35909
35910         * sysdeps/i386/fpu/e_expl.c: Move to ...
35911         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
35912         rather than using inline asm.
35913         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35914         * sysdeps/x86_64/fpu/e_expl.S: Copy from
35915         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35916
35917         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35918         (nice): Likewise.
35919         (poll): Likewise.
35920         (signal): Likewise.
35921         (time): Likewise.
35922         (times): Likewise.
35923
35924 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35925
35926         * sysdeps/unix/syscalls.list (adjtime): Add entry from
35927         sysdeps/unix/common/syscalls.list.
35928         (fchmod): Likewise.
35929         (fchown): Likewise.
35930         (ftruncate): Likewise.
35931         (getrusage): Likewise.
35932         (gettimeofday): Likewise.
35933         (setpgid): Likewise.
35934         (setregid): Likewise.
35935         (setreuid): Likewise.
35936         (sigaction): Likewise.
35937         (truncate): Likewise.
35938         (vhangup): Likewise.
35939         * sysdeps/unix/common/syscalls.list: Remove file.
35940         * sysdeps/unix/bsd/Implies: Don't include unix/common.
35941         * sysdeps/unix/sysv/linux/Implies: Likewise.
35942
35943 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
35944
35945         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35947         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35948         Moved to ...
35949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35950         Here.
35951         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35952         to ...
35953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35954         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35955         to ...
35956         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35957         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35958         to ...
35959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35960         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35961         to ...
35962         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35963         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35964         to ...
35965         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35966         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35967         to ...
35968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35969         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35970         to ...
35971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35972         Here.
35973         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35974         to ...
35975         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35976         Here.
35977         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35978         to ...
35979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35980         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35981         Moved to ...
35982         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35983         Here.
35984         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35985         to ...
35986         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35987
35988 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35989
35990         * sysdeps/unix/common/bits/dirent.h: Remove file.
35991         * sysdeps/unix/common/bits/fcntl.h: Likewise.
35992
35993         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35994         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35995         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35996         * sysdeps/unix/bsd/isatty.c: Likewise.
35997         * sysdeps/unix/bsd/tcdrain.c: Likewise.
35998         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35999         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36000
36001 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36002
36003         [BZ #13563]
36004         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36005         long double comparison inaccuracies.
36006         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36008
36009 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
36010
36011         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36012         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36013
36014 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36015
36016         [BZ #14049]
36017         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36018         nonzero digits before rounding a hex value.
36019         * stdlib/tst-strtod.c (tests): Add another test.
36020
36021 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36022
36023         * sysdeps/s390/fpu/libm-test-ulps: Update.
36024
36025 2012-05-03  Andreas Jaeger  <aj@suse.de>
36026
36027         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36028         does not get optimized out.
36029         (malloc_opt_barrier): New.
36030
36031 2012-05-03  Andreas Jaeger  <aj@suse.de>
36032             Roland McGrath  <roland@hack.frob.com>
36033
36034         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36035         intermediate file deletion.
36036         (generated): Add .symlist files.
36037
36038 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
36039
36040         [BZ #13775]
36041         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36042         Redirect under this condition.
36043         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36044         [__USE_GNU] (__dprintf_chk): Not under this condition.
36045         [__USE_GNU] (__vdprintf_chk): Likewise.
36046         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36047         under this condition.
36048         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36049         [__USE_XOPEN2K8] (dprintf): Define under this condition.
36050         [__USE_XOPEN2K8] (vdprintf): Likewise.
36051         [__USE_GNU] (__dprintf_chk): Not under this condition.
36052         [__USE_GNU] (__vdprintf_chk): Likewise.
36053         [__USE_GNU] (dprintf): Likewise.
36054         [__USE_GNU] (vdprintf): Likewise.
36055
36056 2012-05-03  Roland McGrath  <roland@hack.frob.com>
36057
36058         * elf/Makefile (common-generated): Set this instead of generated for
36059         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
36060         $(all-built-dso)-derived lists.
36061
36062 2012-05-03  Andreas Jaeger  <aj@suse.de>
36063
36064         * sysdeps/i386/fpu/libm-test-ulps: Update.
36065
36066         * FAQ: Removed.
36067         * FAQ.in: Likewise.
36068         * scripts/gen-FAQ.pl: Likewise.
36069         * manual/install.texi (Installation): Point to online location of
36070         FAQ.
36071         * Makefile (files-for-dist): Remove FAQ.
36072         (FAQ): Remove.
36073
36074 2012-05-02  Allan McRae  <allan@archlinux.org>
36075
36076         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36077         (LDFLAGS-reldepmod5.so): Likewise.
36078         (LDFLAGS-reldep6mod1.so): Likewise.
36079         (LDFLAGS-reldep6mod4.so): Likewise.
36080         (LDFLAGS-reldep8mod3.so): Likewise.
36081         (LDFLAGS-unload4mod1.so): Likewise.
36082         (LDFLAGS-unload4mod2.so): Likewise.
36083         (LDFLAGS-tst-initorder): Likewise.
36084         (LDFLAGS-tst-initordera2.so): Likewise.
36085         (LDFLAGS-tst-initordera3.so): Likewise.
36086         (LDFLAGS-tst-initordera4.so): Likewise.
36087         (LDFLAGS-tst-initorderb2.so): Likewise.
36088         (LDFLAGS-noload): Likewise.
36089         (LDFLAGS-next): Likewise.
36090         (LDFLAGS-order2mod1.so): Likewise.
36091         (LDFLAGS-order2mod2.so): Likewise.
36092         (LDFLAGS-tst-initorder2): Likewise.
36093         (LDFLAGS-tst-initorder2a.so): Likewise.
36094         (LDFLAGS-tst-initorder2b.so): Likewise.
36095         (LDFLAGS-tst-initorder2c.so): Likewise.
36096         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36097
36098 2012-05-02  David S. Miller  <davem@davemloft.net>
36099
36100         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36101
36102 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
36103
36104         [BZ #14055]
36105         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36106
36107 2012-05-02  Andreas Jaeger  <aj@suse.de>
36108
36109         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36110         since we manipulate rounding mode.
36111         (CPPFLAGS-test-idouble.c): Likewise.
36112         (CPPFLAGS-test-ifloat.c): Likewise.
36113         (CFLAGS-test-ldouble.c): Likewise.
36114         (CFLAGS-test-double.c): Likewise.
36115         (CFLAGS-test-float.c): Likewise.
36116         (CFLAGS-test-misc.c): Likewise.
36117         (CFLAGS-test-test-fenv.c): Likewise.
36118
36119 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36120
36121         [BZ #2550]
36122         [BZ #2570]
36123         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36124         comparisons to determine direction to adjust input.
36125
36126 2012-05-01  Roland McGrath  <roland@hack.frob.com>
36127
36128         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36129         output to the target.
36130
36131         * scripts/localplt.awk: New file.
36132         * elf/Makefile ($(objpfx)check-localplt): Target removed.
36133         (check-localplt-CFLAGS): Variable removed.
36134         ($(all-built-dso:=.jmprel)): New static pattern rule.
36135         (generated): Add those targets.
36136         (localplt-built-dso): New variable.
36137         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36138
36139         * elf/check-localplt.c: File removed.
36140
36141         * scripts/check-execstack.awk: New file.
36142         * elf/Makefile ($(objpfx)check-execstack): Target removed.
36143         (check-execstack-CFLAGS): Variable removed.
36144         ($(objpfx)check-execstack.h): Target removed.
36145         ($(objpfx)execstack-default): New target.
36146         (generated): Add that instead of check-execstack.h.
36147         ($(all-built-dso:=.phdr)): New static pattern rule.
36148         (generated): Add those targets.
36149         * elf/check-execstack.c: File removed.
36150
36151         * scripts/check-textrel.awk: New file.
36152         * elf/Makefile ($(objpfx)check-textrel): Target removed.
36153         (check-textrel-CFLAGS): Variable removed.
36154         (all-built-dso): Use := to define.o
36155         ($(all-built-dso:=.dyn)): New static pattern rule.
36156         (generated): Add those targets.
36157         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36158         * config.make.in (READELF): New substituted variable.
36159         * elf/check-textrel.c: File removed.
36160
36161 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36162
36163         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36164         allow.
36165         * conform/data/ctype.h-data [C99-based standards] (isblank):
36166         Expect function.
36167         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36168         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36169         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36170         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36171         Specify type.  Require positive value.
36172         (EILSEQ): Likewise.
36173         (ERANGE): Likewise.
36174         [ISO || POSIX] (EILSEQ): Do not expect.
36175         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36176         Specify type.  Require positive value.
36177         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36178         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36179         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36180         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36181         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36182         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36183         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36184         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36185         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36186         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36187         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36188         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36189         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36190         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36191         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36192         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36193         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36194         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36195         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36196         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36197         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36198         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36199         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36200         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36201         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36202         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36203         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36204         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36205         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36206         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36207         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36208         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36209         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36210         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36211         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36212         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36213         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36214         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36215         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36216         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36217         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36218         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36219         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36220         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36221         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36222         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36223         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36224         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36225         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36226         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36227         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36228         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36229         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36230         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36231         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36232         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36233         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36234         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36235         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36236         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36237         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36238         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36239         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36240         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36241         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36242         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36243         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36244         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36245         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36246         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36247         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36248         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36249         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36250         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36251         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36252         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36253         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36254         Require >= 2.
36255         (FLT_ROUNDS): Expect as macro, not constant.
36256         (FLT_MANT_DIG): Use macro-int-constant.
36257         (DBL_MANT_DIG): Likewise.
36258         (LDBL_MANT_DIG): Likewise.
36259         (FLT_DIG): Likewise.
36260         (DBL_DIG): Likewise.
36261         (LDBL_DIG): Likewise.
36262         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
36263         (DBL_MIN_EXP): Likewise.
36264         (LDBL_MIN_EXP): Likewise.
36265         (FLT_MAX_EXP): Use macro-int-constant.
36266         (DBL_MAX_EXP): Likewise.
36267         (LDBL_MAX_EXP): Likewise.
36268         (FLT_MAX_10_EXP): Likewise.
36269         (DBL_MAX_10_EXP): Likewise.
36270         (LDBL_MAX_10_EXP): Likewise.
36271         (FLT_MAX): Use macro-constant.
36272         (DBL_MAX): Likewise.
36273         (LDBL_MAX): Likewise.
36274         (FLT_EPSILON): Use macro-constant.  Give upper bound.
36275         (DBL_EPSILON): Likewise.
36276         (LDBL_EPSILON): Likewise.
36277         (FLT_MIN): Likewise.
36278         (DBL_MIN): Likewise.
36279         (LDBL_MIN): Likewise.
36280         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36281         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36282         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36283         [ISO11] (FLT_HAS_SUBNORM): Likewise.
36284         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36285         [ISO11] (DBL_DECIMAL_DIG): Likewise.
36286         [ISO11] (FLT_DECIMAL_DIG): Likewise.
36287         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36288         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36289         [ISO11] (FLT_TRUE_MIN): Likewise.
36290         [ISO11] (LDBL_TRUE_MIN): Likewise.
36291         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36292         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36293         (SCHAR_MIN): Use macro-int-constant.  Specify type.
36294         (SCHAR_MAX): Likewise.
36295         (UCHAR_MAX): Likewise.
36296         (CHAR_MIN): Likewise.
36297         (CHAR_MAX): Likewise.
36298         (MB_LEN_MAX): Use macro-int-constant.
36299         (SHRT_MIN): Use macro-int-constant.  Specify type.
36300         (SHRT_MAX): Likewise.
36301         (USHRT_MAX): Likewise.
36302         (INT_MAX): Likewise.
36303         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
36304         bound negative.
36305         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36306         bound with "U".
36307         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36308         bound with "L".
36309         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
36310         bound negative.  Suffix upper bound with "L".
36311         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36312         bound with "UL".
36313         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36314         Specify type.
36315         [C99-based standards] (LLONG_MAX): Likewise.
36316         [C99-based standards] (ULLONG_MAX): Likewise.
36317         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
36318         == 0.
36319         [ISO11] (max_align_t): Require type.
36320         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36321
36322         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36323         from $CFLAGS, without defining away __attribute__ calls.
36324         (checknamespace): Use $CFLAGS_namespace.
36325
36326         * conform/conformtest.pl (@keywords): Only include C99 keywords
36327         for standards based on C99 or C11.
36328
36329         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36330         Disable tests.
36331         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36332         UNIX98]: Likewise.
36333
36334         * conform/conformtest.pl: Handle "macro-int-constant" and test for
36335         usability of symbols in #if.
36336
36337         * conform/conformtest.pl: If macro or constant types start
36338         "promoted:", expect the symbol to be of the following type
36339         promoted by the integer promotions.
36340
36341         * conform/conformtest.pl: Parse all "constant" and "macro" lines
36342         in one place.  Also handle "macro-constant".
36343
36344         * conform/conformtest.pl: Only accept expected macro values with
36345         "==".  Parse all "macro" lines in one place.
36346         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36347
36348         * conform/conformtest.pl: Handle braced types on "constant" lines
36349         instead of handling "typed-constant".
36350         * conform/data/signal.h-data: Use "constant" instead of
36351         "typed-constant".
36352
36353         * conform/conformtest.pl: Handle "optional-" at start of lines in
36354         one place rather than duplicating several cases.  Handle each
36355         format of "macro" line with initial "optional-".
36356
36357         * conform/conformtest.pl: Only accept expected constant or
36358         optional-constant values with "==".  Parse all "constant" lines in
36359         one place.  Parse all "optional-constant" lines in one place.
36360         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36361         * conform/data/fmtmsg.h-data: Likewise.
36362         * conform/data/netinet/in.h-data: Likewise.
36363         * conform/data/tar.h-data: Likewise.
36364         * conform/data/limits.h-data: Use "==" form on "constant" and
36365         "optional-constant" lines.
36366
36367         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36368         Use -std=c99 for XOPEN2K.
36369         (@knownproblems): Remove.
36370         (newtoken): Don't check %isknown.
36371
36372         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36373         Do not expect macro.
36374         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36375         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36376         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36377         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36378         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36379         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36380         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36381         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36382         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36383         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36384         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36385         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36386         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36387         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36388         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36389         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36390         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36391         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36392         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36393         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36394         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36395         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36396         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36397         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36398         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36399         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36400         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36401         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36402         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36403         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36404         [XPG3] (acosh): Likewise.
36405         [XPG3] (asinh): Likewise.
36406         [XPG3] (atanh): Likewise.
36407         [XPG3] (cbrt): Likewise.
36408         [XPG3] (expm1): Likewise.
36409         [XPG3] (ilogb): Likewise.
36410         [XPG3] (log1p): Likewise.
36411         [XPG3] (logb): Likewise.
36412         [XPG3] (nextafter): Likewise.
36413         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36414         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36415         [XPG3] (remainder): Likewise.
36416         [XPG3] (rint): Likewise.
36417         [XPG3 || XPG4 || UNIX98] (round): Likewise.
36418         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36419         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36420         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36421         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36422         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36423         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36424         [UNIX98 || XOPEN2K] (scalb): Expect.
36425         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36426         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36427         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36428         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36429         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36430         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36431         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36432         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36433         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36434         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36435         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36436         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36437         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36438         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36439         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36440         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36441         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36442         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36443         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36444         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36445         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36446         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36447         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36448         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36449         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36450         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36451         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36452         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36453         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36454         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36455         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36456         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36457         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36458         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36459         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36460         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36461         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36462         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36463         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36464         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36465         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36466         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36467         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36468         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36469         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36470         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36471         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36472         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36473         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36474         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36475         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36476         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36477         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36478         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36479         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36480         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36481         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36482         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36483         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36484         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36485         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36486         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36487         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36488         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36489         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36490         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36491         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36492         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36493         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36494         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36495         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36496         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36497         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36498         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36499         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36500         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36501         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36502         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36503         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36504         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36505         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36506         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36507         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36508         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36509         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36510         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36511         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36512         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36513         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36514         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36515         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36516         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36517         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36518         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36519         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36520         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36521         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36522         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36523         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36524         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36525         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36526         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36527         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36528         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36529         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36530         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36531         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36532         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36533         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36534         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36535         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36536         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36537         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36538         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36539         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36540         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36541         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36542         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36543         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36544         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36545         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36546         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36547         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36548         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36549         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36550         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36551         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36552         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36553         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36554         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36555         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36556         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36557         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36558         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36559         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36560         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36561         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36562
36563         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36564         _XOPEN_SOURCE_EXTENDED for XPG4.
36565
36566         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36567
36568         * Makeconfig (localtime): Remove variable.
36569         (inst_localtime-file): Likewise.
36570
36571 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36572
36573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36574         Update.
36575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36576         Update.
36577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36578         Update.
36579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36580         Update.
36581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36582         Update.
36583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36584         Update.
36585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36586         Update.
36587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36588         Update.
36589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36590         Update.
36591
36592 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36593
36594         [BZ #2550]
36595         [BZ #2570]
36596         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36597         comparisons to determine direction to adjust input.
36598         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36599         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36600         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36601         Likewise.
36602         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36603         Likewise.
36604         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36605         Likewise.
36606         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36607         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36608         Likewise.
36609         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36610         Likewise.
36611         * math/libm-test.inc (nexttoward_test): Add more tests.
36612
36613 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36614
36615         [BZ #14040]
36616         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36617         in version GLIBC_2.1, not GLIBC_2.0.
36618         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36619         Likewise.
36620
36621 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
36622
36623         [BZ #13942]
36624         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36625         (1 - x) * (1 + x).
36626         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36627         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36628         * math/libm-test.inc (acos_test): Add more tests.
36629         (asin_test): Likewise.
36630         * sysdeps/i386/fpu/libm-test-ulps: Update.
36631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36632
36633         [BZ #14034]
36634         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36635         of square root.
36636         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36637         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36638         * math/libm-test.inc (acos_test_tonearest): New function.
36639         (acos_test_towardzero): Likewise.
36640         (acos_test_downward): Likewise.
36641         (acos_test_upward): Likewise.
36642         (asin_test_tonearest): Likewise.
36643         (asin_test_towardzero): Likewise.
36644         (asin_test_downward): Likewise.
36645         (asin_test_upward): Likewise.
36646         (main): Call the new functions.
36647         * sysdeps/i386/fpu/libm-test-ulps: Update.
36648         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36649
36650         [BZ #13884]
36651         [BZ #13924]
36652         * math/e_exp10.c: Include <float.h>.
36653         (__ieee754_exp10): Handle underflow here rather than multiplying
36654         large negative argument by M_LN10.
36655         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36656         of __ieee754_expf.
36657         * math/e_exp10l.c: Include <float.h>.
36658         (__ieee754_exp10l): Handle underflow here rather than multiplying
36659         large negative argument by M_LN10l.
36660         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
36661         spurious overflow exception on underflow.
36662
36663 2012-04-29  Marek Polacek  <polacek@redhat.com>
36664
36665         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36666         (__fortify_function): New macro.
36667         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36668         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36669         __extern_always_inline.
36670         * libio/bits/stdio2.h: Likewise.
36671         * libio/bits/stdio.h: Likewise.
36672         * string/string.h: Likewise.
36673         * string/bits/string3.h: Likewise.
36674         * include/stdio.h: Likewise.
36675         * stdlib/bits/stdlib.h: Likewise.
36676         * stdlib/stdlib.h: Likewise.
36677         * rt/bits/mqueue2.h: Likewise.
36678         * rt/mqueue.h: Likewise.
36679         * posix/bits/unistd.h: Likewise.
36680         * posix/unistd.h: Likewise.
36681         * io/bits/poll2.h: Likewise.
36682         * io/bits/fcntl2.h: Likewise.
36683         * io/fcntl.h: Likewise.
36684         * io/sys/poll.h: Likewise.
36685         * misc/bits/syslog.h: Likewise.
36686         * misc/bits/syslog-ldbl.h: Likewise.
36687         * misc/sys/syslog.h: Likewise.
36688         * socket/bits/socket2.h: Likewise.
36689         * socket/sys/socket.h: Likewise.
36690         * debug/tst-chk1.c: Likewise.
36691         * wcsmbs/bits/wchar2.h: Likewise.
36692         * wcsmbs/bits/wchar-ldbl.h: Likewise.
36693         * wcsmbs/wchar.h: Likewise.
36694
36695 2012-04-29  Andreas Jaeger  <aj@suse.de>
36696
36697         * Makerules (tests): Remove enable-check-abi protection.
36698         (check-abi-warn): Remove.
36699         (check-abi-%): Remove check-abi-warn usage.
36700
36701         * configure.in: Remove check-abi configure option.
36702         * configure: Regenerated.
36703         * config.make.in (enable-check-abi): Remove.
36704
36705 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
36706
36707         [BZ #14033]
36708         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36709         double functions to double *_finite functions.
36710
36711         [BZ #13941]
36712         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36713         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36714         LDBL_MIN_EXP.
36715         * stdio-common/Makefile (tests): Add tst-sprintf3.
36716         * stdio-common/tst-sprintf3.c: New file.
36717
36718         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36719         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36720
36721 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36722
36723         * conform/conformtest.pl: Remove duplicate typed-constant
36724         handling.
36725
36726 2012-04-28  David S. Miller  <davem@davemloft.net>
36727
36728         * Makerules (%.abilist): Add vpath on sysdep_dirs.
36729         (check-abi-%): Remove AWK script prerequisite and explicit
36730         abilist directory.
36731         (check-abi): Rewrite to just diff the symlist with the abilist.
36732         (config-tls, config-abi-config): Delete, no longer used.
36733         (update-abi-%): Remove AWK script and explicit abilist directory.
36734         (update-abi): Rewrite to simply compare and conditionally copy the
36735         symlist and the sysdep abilist file.  Remove update-abi-config
36736         checks.
36737         * abilist/ld.abilist: Remove.
36738         * abilist/libBrokenLocale.abilist: Remove.
36739         * abilist/libanl.abilist: Remove.
36740         * abilist/libcrypt.abilist: Remove.
36741         * abilist/libdl.abilist: Remove.
36742         * abilist/librt.abilist: Remove.
36743         * abilist/libthread_db.abilist: Remove.
36744         * abilist/libutil.abilist: Remove.
36745         * scripts/extract-abilist.awk: Remove.
36746         * scripts/merge-abilist.awk: Remove.
36747         * sysdeps/generic/libcidn.abilist: New file.
36748         * sysdeps/generic/libnss_compat.abilist: New file.
36749         * sysdeps/generic/libnss_db.abilist: New file.
36750         * sysdeps/generic/libnss_dns.abilist: New file.
36751         * sysdeps/generic/libnss_files.abilist: New file.
36752         * sysdeps/generic/libnss_hesiod.abilist: New file.
36753         * sysdeps/generic/libnss_nis.abilist: New file.
36754         * sysdeps/generic/libnss_nisplus.abilist: New file.
36755         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36756         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36757         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36758         file.
36759         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36760         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36761         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36762         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36763         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36764         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36765         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36766         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36767         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36768         file.
36769         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36770         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36771         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36772         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36773         file.
36774         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36775         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36776         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36777         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36778         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36779         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36780         file.
36781         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36782         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36783         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36784         file.
36785         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36786         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36787         New file.
36788         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36789         New file.
36790         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36791         New file.
36792         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36793         New file.
36794         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36795         New file.
36796         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36797         New file.
36798         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36799         New file.
36800         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36801         New file.
36802         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36803         New file.
36804         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36805         New file.
36806         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36807         New file.
36808         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36809         New file.
36810         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36811         New file.
36812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36813         file.
36814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36815         New file.
36816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36817         New file.
36818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36819         file.
36820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36821         New file.
36822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36823         New file.
36824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36825         file.
36826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36827         New file.
36828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36829         New file.
36830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36831         New file.
36832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36833         New file.
36834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36835         New file.
36836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36837         New file.
36838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36840         file.
36841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36842         New file.
36843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36844         file.
36845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36846         file.
36847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36848         file.
36849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36850         file.
36851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36852         file.
36853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36854         New file.
36855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36856         file.
36857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36858         file.
36859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36860         New file.
36861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36862         file.
36863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36865         file.
36866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36867         New file.
36868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36869         file.
36870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36871         file.
36872         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36873         file.
36874         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36875         file.
36876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36877         file.
36878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36879         New file.
36880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36881         file.
36882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36883         file.
36884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36885         New file.
36886         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36887         file.
36888         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36889         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36890         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36891         file.
36892         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36893         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36894         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36895         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36896         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36897         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36898         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36899         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36900         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36901         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36902         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36904         file.
36905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36906         New file.
36907         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36908         file.
36909         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36910         file.
36911         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36912         file.
36913         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36914         file.
36915         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36916         file.
36917         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36918         New file.
36919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36920         New file.
36921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36922         file.
36923         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36924         New file.
36925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36926         file.
36927         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36928         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36929         file.
36930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36931         New file.
36932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36933         file.
36934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36935         file.
36936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36937         file.
36938         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36939         file.
36940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36941         file.
36942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36943         New file.
36944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36945         New file.
36946         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36947         file.
36948         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36949         New file.
36950         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36951         file.
36952
36953 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36954
36955         * conform/conformtest.pl: Fix typo in handling typed-constant from
36956         allow-header.
36957
36958 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36959
36960         * README: Cut down references to pre-2.6 Linux kernels and
36961         Linuxthreads.  Update lists of configurations in libc and ports
36962         and sort alphabetically.  Say "or newer" with Linux kernel version
36963         requirements.
36964
36965         * config.h.in [IS_IN_build]: Allow compiling without optimization.
36966
36967 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36968
36969         [BZ #887]
36970         * math/libm-test.inc (logb_test_downward): New test to expose
36971         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36972         rounding mode.
36973
36974 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36975
36976         [BZ #14027]
36977         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36978         to be done.
36979         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36980         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36981
36982 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
36983
36984         * sysdeps/unix/i386/brk.S: Remove file.
36985         * sysdeps/unix/i386/dl-brk.S: Likewise.
36986         * sysdeps/unix/i386/pipe.S: Likewise.
36987         * sysdeps/unix/i386/sigreturn.S: Likewise.
36988         * sysdeps/unix/i386/syscall.S: Likewise.
36989         * sysdeps/unix/i386/vfork.S: Likewise.
36990         * sysdeps/unix/i386/wait.S: Likewise.
36991
36992         * sysdeps/unix/common/tcsendbrk.c: Move to ...
36993         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36994
36995         * configure.in (arm*-none*): Do not allow without
36996         --enable-hacker-mode.
36997         (netbsd*): Remove case setting base_os.
36998         (386bsd*): Likewise.
36999         (freebsd*): Likewise.
37000         (bsdi*): Likewise.
37001         (osf*): Likewise.
37002         (sunos*): Likewise.
37003         (ultrix*): Likewise.
37004         (newsos*): Likewise.
37005         (dynix*): Likewise.
37006         (*bsd*): Likewise.
37007         (sysv*): Likewise.
37008         (isc*): Likewise.
37009         (esix*): Likewise.
37010         (sco*): Likewise.
37011         (minix*): Likewise.
37012         (irix4*): Likewise.
37013         (irix6*): Likewise.
37014         (solaris[2-9]*): Likewise.
37015         (none): Likewise.
37016         * configure: Regenerated.
37017
37018 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37019
37020         [BZ #11521]
37021         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37022         overflow or cancellation in calculating denominator.
37023         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37024         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37025         down expression to avoid unexpected rounding in newer GCCs.
37026         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37027
37028 2012-04-26  David S. Miller  <davem@davemloft.net>
37029
37030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37031         long-double compat symbols.
37032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37038         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37039         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37045
37046 2012-04-25  David S. Miller  <davem@davemloft.net>
37047
37048         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37049         HWCAP_* values only after the memory barriers have been defined.
37050         (atomic_full_barrier): Define.
37051         (atomic_read_barrier): Define.
37052         (atomic_write_barrier): Define.
37053
37054 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37055
37056         * shlib-versions: Add libgcc_s version information.
37057         * sysdeps/generic/libgcc_s.h: Remove.
37058         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37059         libgcc_s.h.
37060         * sysdeps/gnu/unwind-resume.c: Likewise.
37061         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37062
37063 2012-04-25  David S. Miller  <davem@davemloft.net>
37064
37065         * sysdeps/unix/sparc/brk.S: Delete.
37066         * sysdeps/unix/sparc/dl-brk.S: Delete.
37067         * sysdeps/unix/sparc/pipe.S: Delete.
37068         * sysdeps/unix/sparc/sysdep.S: Delete.
37069         * sysdeps/unix/sparc/sysdep.h: Delete.
37070         * sysdeps/unix/sparc/vfork.S: Delete.
37071         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37072         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37073         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37074         (ret_ERRVAL, r0, r1, MOVE): Define.
37075         (JUMPTARGET): Remove.
37076         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37077         sysdeps/unix/sparc/sysdep.h
37078         (ENTRY, END): Remove.
37079         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37080
37081 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
37082
37083         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37084         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37085         -DIS_IN_build.
37086
37087         * timezone/README: Update upstream location and email address for
37088         tzcode and tzdata.
37089         * timezone/zdump.c: Update from tzcode 2012b.
37090         * timezone/zic.c: Likewise.
37091
37092         * configure.in (libc_cv_as_needed): Remove test.
37093         * configure: Regenerated.
37094         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37095         conditional definition.
37096         [$(have-as-needed) != yes] (no-as-needed): Likewise.
37097         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37098         * config.make.in (have-as-needed): Remove variable.
37099
37100 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37101             Paul Pluzhnikov  <ppluzhnikov@google.com>
37102
37103         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37104         strings correctly.
37105
37106 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
37107
37108         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37109         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37110         * sysdeps/sh/strlen.S: Likewise.
37111
37112 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37113
37114         * sysdeps/unix/fork.S: Remove file.
37115         * sysdeps/unix/i386/fork.S: Likewise.
37116         * sysdeps/unix/sparc/fork.S: Likewise.
37117
37118         * sysdeps/unix/system.c: Remove file.
37119         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37120
37121         * sysdeps/unix/getegid.S: Remove file.
37122         * sysdeps/unix/geteuid.S: Likewise.
37123
37124 2012-04-24  Roland McGrath  <roland@hack.frob.com>
37125
37126         * scripts/check-localplt.awk: New file.
37127         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37128         of diff.
37129         * scripts/data/localplt-generic.data: Add a comment.
37130
37131         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37132         NODE when __dir_mkfile failed.
37133         * sysdeps/mach/hurd/symlinkat.c: Likewise.
37134         Reported by Ludovic Courtès <ludo@gnu.org>.
37135
37136 2012-04-24  Andreas Jaeger  <aj@suse.de>
37137
37138         * Makerules (common-clean): Also remove gen-as-const-headers
37139         files.
37140
37141 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37142
37143         * Makerules (native-compile): Do not change working directory for
37144         build.  Use $(OUTPUT_OPTION) in command.
37145         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37146
37147 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37148
37149         [BZ #13886]
37150         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37151         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37152         * math/libm-test.inc (floor_test): Add more tests.
37153         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37154
37155 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37156
37157         * sysdeps/unix/getdents.c: Remove file.
37158         * sysdeps/unix/sysv/getdents.c: Likewise.
37159         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37160
37161         * sysdeps/unix/syscalls.list (madvise): Add syscall from
37162         sysdeps/unix/mman/syscalls.list.
37163         (mmap): Likewise.
37164         (mprotect): Likewise.
37165         (msync): Likewise.
37166         (munmap): Likewise.
37167         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37168         * sysdeps/unix/mman/syscalls.list: Remove.
37169         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37170
37171         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37172         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37173         * configure: Regenerated.
37174         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37175         $(libgcc_s_suffix).
37176         * config.make.in (libgcc_s_suffix): Remove variable.
37177
37178 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
37179
37180         * sysdeps/unix/sysv/gethostname.c: Move to ...
37181         * sysdeps/posix/gethostname.c: ... here.
37182
37183         * sysdeps/unix/execve.S: Remove file.
37184
37185         * sysdeps/unix/_exit.S: Remove file.
37186
37187 2012-04-23  Andreas Jaeger  <aj@suse.de>
37188
37189         [BZ #13739]
37190         * manual/Makefile: Remove make dist support, there's no
37191         need for a stand-alone documentation tar ball.
37192         (TEXI2DVI): Define always, it's not in Makeconfig.
37193         (dist): Removed.
37194         (tar-it): Removed.
37195         (edition): Removed.
37196         (glibc-doc-$(edition).tar): Removed
37197         (%.Z): Removed.
37198         (%.gz): Removed.
37199         (%.uu): Removed.
37200         (ETAGS): Remove, it's in Makeconfig.
37201         (move-if-change): Remove, it's in Makeconfig.
37202
37203 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
37204
37205         [BZ #13970]
37206         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37207         (strtod, strtof, strtold, strtol, strtoul, strtoq)
37208         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37209         (strtod_l, strtof_l, strtold_l): Remove __wur.
37210         It is not necessarily an error to ignore strtol's return value.
37211         One can reliably look at the stored endptr to decide whether
37212         the number had valid syntax.
37213
37214 2012-04-21  Andreas Jaeger  <aj@suse.de>
37215
37216         [BZ #13739]
37217         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37218
37219 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
37220
37221         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37222         * sysdeps/unix/sysv/Versions: Remove file.
37223
37224 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
37225
37226         [BZ #13927]
37227         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37228
37229 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
37230
37231         [BZ #7064]
37232         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37233         version from __vm86.
37234
37235 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
37236
37237         * sysdeps/unix/common/lxstat.c: Remove file.
37238         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37239
37240         * sysdeps/unix/sysv/Makefile: Remove file.
37241
37242         * sysdeps/unix/sysv/direct.h: Remove file.
37243
37244         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37245         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37246         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37247         * sysdeps/unix/sysv/bits/signum.h: Likewise.
37248         * sysdeps/unix/sysv/bits/stat.h: Likewise.
37249         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37250         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37251
37252         * sysdeps/unix/sysv/setrlimit.c: Remove file.
37253
37254         * sysdeps/unix/xmknod.c: Remove file.
37255         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37256
37257         * sysdeps/unix/sysv/settimeofday.c: Remove file.
37258
37259         * sysdeps/unix/sysv/i386/time.S: Remove file.
37260
37261         * sysdeps/unix/fxstat.c: Remove file.
37262         * sysdeps/unix/xstat.c: Likewise.
37263         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37264
37265         * sysdeps/unix/sysv/sigaction.c: Remove file.
37266
37267         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37268         (sysdep_headers): Remove variable.
37269         [termio.h not in sysdep_headers] (generated): Likewise.
37270         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37271         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37272         * sysdeps/unix/sysv/tcdrain.c: Likewise.
37273         * sysdeps/unix/sysv/tcflow.c: Likewise.
37274         * sysdeps/unix/sysv/tcflush.c: Likewise.
37275         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37276         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37277         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37278         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37279         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37280
37281         * sysdeps/unix/siglist.c: Remove file.
37282
37283         * sysdeps/unix/getppid.S: Remove file.
37284
37285         * sysdeps/unix/mkdir.c: Remove file.
37286         * sysdeps/unix/rmdir.c: Likewise.
37287
37288 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
37289
37290         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37291         ERR_MAX value.
37292         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37293         errlist-compat value.
37294
37295 2012-04-18  David S. Miller  <davem@davemloft.net>
37296
37297         * sysdeps/generic/memcopy.h (reg_char): Delete.
37298         * debug/strcat_chk.c: Use char, not reg_char.
37299         * debug/strcpy_chk.c: Likewise.
37300         * debug/strncat_chk.c: Likewise.
37301         * debug/strncpy_chk.c: Likewise.
37302         * string/memchr.c: Likewise.
37303         * string/memrchr.c: Likewise.
37304         * string/rawmemchr.c: Likewise.
37305         * string/strcat.c: Likewise.
37306         * string/strchr.c: Likewise.
37307         * string/strchrnul.c: Likewise.
37308         * string/strcmp.c: Likewise.
37309         * string/strcpy.c: Likewise.
37310         * string/strncat.c: Likewise.
37311         * string/strncmp.c: Likewise.
37312         * string/strncpy.c: Likewise.
37313
37314 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37315
37316         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37317         __builtin_memcopy is called when src and dest ranges are known to not
37318         overlap.
37319
37320 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37321
37322         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37323         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37324         fwd_align_merge macro call.
37325         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37326         bwd_align_merge macro call.
37327         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37328
37329 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37330
37331         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37332         bwd_align_merge macros.
37333         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37334         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37335         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37336
37337 2012-04-18  David S. Miller  <davem@davemloft.net>
37338
37339         * sysdeps/sparc/sparc64/memcopy.h: Delete.
37340
37341 2012-04-18  Andreas Jaeger  <aj@suse.de>
37342
37343         [BZ# 6794]
37344         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37345         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37346         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37347
37348         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37349         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37350         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37351
37352         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37353         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37354         Adjust for changed ldbl-128 files.
37355
37356         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37357         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37358         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37359
37360 2012-04-17  David S. Miller  <davem@davemloft.net>
37361
37362         * sysdeps/sparc/sparc32/memcopy.h: Delete.
37363
37364 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
37365
37366         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37367         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37368         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37369         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37370         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37371         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37372
37373 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37374
37375         [BZ #6794]
37376         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37377         * math/libm-test.inc: Add ilogb errno and exception tests.
37378         * math/w_ilogb.c: New file: ilogb wrapper.
37379         * math/w_ilogbf.c: New file: ilogbf wrapper.
37380         * math/w_ilogbl.c: New file: ilogbl wrapper.
37381         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37382         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37383         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37384         exception being thrown with 0.0 as argument.
37385         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37386         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37387         exception being thrown with 0.0 as argument.
37388         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37389         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37390         exception being thrown with 0.0 as argument.
37391         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37392         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37393         exception being thrown with 0.0 as argument.
37394         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37395         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37396         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37397         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37398         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37399         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37400         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37401         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37402         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37403
37404 2012-04-17  Petr Baudis  <pasky@ucw.cz>
37405
37406         * include/sys/uio.h: Change __vector to __iovec to avoid clash
37407         with altivec.
37408
37409 2012-04-16  Marek Polacek  <polacek@redhat.com>
37410
37411         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37412
37413 2012-04-16  Marek Polacek  <polacek@redhat.com>
37414
37415         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37416         operands of fdivp instruction.
37417
37418 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37419
37420         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37421         * elf/tst-auditmod3b.c: Likewise.
37422         * elf/tst-auditmod4b.c: Likewise.
37423         * elf/tst-auditmod5b.c: Likewise.
37424         * elf/tst-auditmod6b.c: Likewise.
37425         * elf/tst-auditmod6c.c: Likewise.
37426         * elf/tst-auditmod7b.c: Likewise.
37427         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37428         * sysdeps/x86_64/preconfigure.in: Likewise.
37429         * sysdeps/x86_64/preconfigure: Regenerated.
37430
37431 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37432
37433         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37434         __ILP32__.
37435
37436 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
37437
37438         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37439         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37440
37441 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
37442
37443         [BZ #13973]
37444         * locale/iso-639.def: Fix gl language name. Spotted by
37445         Yaron Shahrabani.
37446
37447 2012-04-12  Roland McGrath  <roland@hack.frob.com>
37448
37449         [BZ #2074]
37450         * libio/libio.h (__io_write_fn): Update comment.
37451
37452 2012-04-12  Petr Baudis  <pasky@ucw.cz>
37453
37454         [BZ #2074]
37455         * stdio.texi (Hook Functions): The user provided writer function
37456         is not allowed to return -1.
37457
37458 2012-04-11  David S. Miller  <davem@davemloft.net>
37459
37460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37461
37462 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
37463
37464         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37465         Add a leading slash to rtkaio.
37466
37467 2012-04-11  Jim Meyering  <meyering@redhat.com>
37468
37469         [BZ #11959]
37470         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37471         It is not necessarily an error to ignore fwrite's return
37472         value.  One can reliably use ferror to test for errors after
37473         the fact.
37474
37475 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37476
37477         * bits/types.h (__snseconds_t): New type.
37478         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37479
37480         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37481         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37482         (__SNSECONDS_T_TYPE): Likewise.
37483         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37484         (__SNSECONDS_T_TYPE): Likewise.
37485         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37486         (__SNSECONDS_T_TYPE): Likewise.
37487
37488 2012-04-10  Andreas Jaeger  <aj@suse.de>
37489
37490         [BZ #2636]
37491         * manual/time.texi (Processor Time): Return type of times is
37492         elapsed real time since an arbitrary point in the past.
37493         (CPU Time): Move CLK_TCK from here...
37494         (Processor Time): ...to here.  Correct description.
37495         * manual/conf.texi (Constants for Sysconf): Correct description of
37496         _SC_CLK_TCK.
37497
37498 2012-04-10  David S. Miller  <davem@davemloft.net>
37499
37500         [BZ #13967]
37501         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37502         where the is a gap between DT_REL(A) and DT_JMPREL.
37503
37504 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37505
37506         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37507         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37508         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37509
37510 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37511
37512         * elf/dl-support.c (_dl_inhibit_cache): New variable.
37513         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37514         (dl_main): Handle --inhibit-cache.
37515         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37516         _dl_inhibit_cache.
37517         * elf/dl-load.c (_dl_map_object): Use it.
37518         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37519
37520 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37521
37522         [BZ #13872]
37523         * sysdeps/i386/fpu/e_powl.S (p78): New object.
37524         (__ieee754_powl): Saturate large exponents rather than testing for
37525         overflow of y*log2(x).
37526         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37527         * math/libm-test.inc (pow_test): Do not permit spurious overflow
37528         exceptions.
37529
37530         [BZ #11521]
37531         * math/s_ctan.c: Include <float.h>.
37532         (__ctan): Avoid internal overflow or cancellation in calculating
37533         denominator.
37534         * math/s_ctanf.c: Likewise.
37535         * math/s_ctanl.c: Likewise.
37536         * math/s_ctanh.c: Likewise.
37537         * math/s_ctanhf.c: Likewise.
37538         * math/s_ctanhl.c: Likewise.
37539         * math/libm-test.inc (ctan_test): Add more tests.
37540         (ctanh_test): Likewise.
37541         * sysdeps/i386/fpu/libm-test-ulps: Update.
37542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37543
37544 2012-04-09  Andreas Jaeger  <aj@suse.de>
37545
37546         [BZ #6894]
37547         * manual/filesys.texi (Directory Entries): Mention that d_namlen
37548         is an optional BSD extension.
37549
37550         [BZ #10254]
37551         * manual/stdio.texi (Opening Streams): Document additional fopen
37552         parameters.
37553
37554 2012-04-09  Roland McGrath  <roland@hack.frob.com>
37555
37556         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37557         %eax without telling the compiler.
37558
37559 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
37560
37561         [BZ # 13963]
37562         * manual/install.texi: Use sourceware.org.
37563
37564 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37565
37566         [BZ #13873]
37567         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37568         (__ieee754_pow): Generate overflow and underflow using huge*huge
37569         and tiny*tiny rather than just returning constant infinity or zero
37570         for large exponents.
37571         * math/libm-test.inc (pow_test): Require overflow exceptions for
37572         applicable cases of large exponents.
37573
37574         [BZ #706]
37575         * sysdeps/i386/fpu/e_pow.S (p10): New object.
37576         (__ieee754_pow): Use iterative multiplication algorithm only for
37577         integer exponents with absolute value below 1024.  Check for odd
37578         integer exponents when using algorithm for real exponents.
37579         * math/libm-test.inc (pow_test): Add more tests.
37580         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37581
37582 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
37583
37584         [BZ #13705]
37585         * math/libm-test.inc (exp_test): Do not allow overflow exception
37586         on underflow test.
37587
37588 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
37589
37590         [BZ #13705]
37591         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37592         instead of __kernel_standard_f.
37593
37594 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
37595
37596         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37597         * sysdeps/x86_64/memset_chk.S: Likewise.
37598
37599 2012-04-08  Andreas Jaeger  <aj@suse.de>
37600
37601         [BZ #10153]
37602         * manual/startup.texi (Environment Access): Describe return value
37603         for putenv and setenv.
37604
37605         [BZ #6895]
37606         * manual/filesys.texi (Directory Entries): Add description for
37607         DT_LNK.
37608
37609         [BZ #6890]
37610         * manual/filesys.texi (Directory Entries): Clarify that it's file
37611         system not operating system in the description of DT_UNKNOWN.
37612
37613         [BZ #6578]
37614         * manual/syslog.texi (closelog): Fix reference, it's openlog.
37615
37616 2012-04-08  Stephen Compall  <s11@member.fsf.org>
37617
37618         [BZ #6649]
37619         * manual/llio.texi (Opening and Closing Files): Add cross
37620         reference to explain mode argument.
37621
37622 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
37623
37624         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37625         * sysdeps/x86_64/memset_chk.S: Likewise.
37626
37627 2012-04-07  David S. Miller  <davem@davemloft.net>
37628
37629         * elf/elf.h (R_SPARC_WDISP10): Define.
37630         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37631         R_SPARC_SIZE32.
37632         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37633         R_SPARC_SIZE64 and R_SPARC_H34.
37634
37635 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
37636
37637         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37638         conditions and remove no longer applicable assertion.
37639
37640 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37641
37642         * bits/byteswap.h: Include <features.h>.
37643         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37644         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37645
37646 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37647
37648         * bits/byteswap.h (__bswap_16): Removed.
37649         Include <bits/byteswap-16.h> to get __bswap_16.
37650         * sysdeps/i386/bits/byteswap.h: Likewise.
37651         * sysdeps/s390/bits/byteswap.h: Likewise.
37652         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37653         * bits/byteswap-16.h: New file.
37654         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37655         * sysdeps/s390/bits/byteswap-16.h: Likewise.
37656         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37657         * string/Makefile (headers): Add bits/byteswap-16.h.
37658
37659 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37660
37661         [BZ #13895]
37662         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37663         extra indirection.
37664         * nss/Makefile (tests-static, tests): Add tst-nss-static.
37665         * nss/tst-nss-static.c: New.
37666
37667 2012-04-06  Robert Millan  <rmh@gnu.org>
37668
37669         [BZ #6486]
37670         * manual/llio.texi (File Position Primitive): lseek
37671         refers to WHENCE when it really means OFFSET.
37672
37673 2012-04-06  Andreas Jaeger  <aj@suse.de>
37674
37675         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37676         strncmp declarations.
37677
37678         * abilist/libc.abilist: Add __poll and __ppoll.
37679
37680 2012-04-05  David S. Miller  <davem@davemloft.net>
37681
37682         * scripts/check-local-headers.sh: Accept a host triplet in the
37683         path matched by the exclude regexp.
37684
37685         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37686         definition.
37687         * sysdeps/powerpc/powerpc32/dl-machine.h
37688         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37689         * sysdeps/s390/s390-32/dl-machine.h
37690         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37691         * sysdeps/sparc/sparc32/dl-machine.h
37692         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37693         * sysdeps/sparc/sparc64/dl-machine.h
37694         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37695
37696         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37697         lazy binding.
37698         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37699         undefined symbol errors.
37700
37701         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37702         DT_NEEDED entries.
37703
37704 2012-04-05  Michael Matz  <matz@suse.de>
37705
37706         [BZ #13592]
37707         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37708
37709 2012-04-05  Andreas Jaeger  <aj@suse.de>
37710
37711         [BZ #13908]
37712         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37713         comment.
37714
37715 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37716
37717         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37718         which ROUND is no valid rounding mode.
37719
37720 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37721
37722         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37723         read again.
37724         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37725
37726 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37727
37728         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37729         an exception using FPU order intentionally.
37730
37731 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37732
37733         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37734         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37735         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37736         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37737
37738 2012-04-05  Simon Josefsson  <simon@josefsson.org>
37739
37740         [BZ #12340]
37741         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37742         EINVAL when BUFLEN is too smal.
37743
37744 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
37745
37746         [BZ #13553]
37747         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37748         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37749
37750 2012-04-03  Andreas Jaeger  <aj@suse.de>
37751
37752         [BZ #13938]
37753         * manual/setjmp.texi (System V contexts): Fix sentence.
37754
37755         [BZ #13926]
37756         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37757         New macro for this case.
37758         [!__GNUC__] (__bswap_64): New inline function for this case.
37759         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37760         * bits/byteswap.h: Likewise.
37761         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37762         ull, guard with __GLIBC_HAVE_LONG_LONG.
37763
37764         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37765         __GLIBC_HAVE_LONG_LONG.
37766
37767         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37768         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37769
37770 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37771
37772         [BZ #13691]
37773         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37774         inptr and inend, rather than using last_ch.
37775
37776 2012-04-02  David S. Miller  <davem@davemloft.net>
37777
37778         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37779         * stdio-common/printf-parse.h (read_int): Change return type to
37780         'int', return -1 on INT_MAX overflow.
37781         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37782         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
37783         overflows INT_MAX.  Check for overflow of in-format-string precision
37784         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
37785         SIZE_MAX not INT_MAX for integer overflow test.
37786         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37787         skip the construct in the format string but do not record anything.
37788         * stdio-common/bug22.c: Adjust to test both width/prevision
37789         INT_MAX overflow as well as total length INT_MAX overflow.  Check
37790         explicitly for proper errno values.
37791
37792 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
37793
37794         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37795         CHAR_MAX.
37796         * string/test-strcmp.c [! WIDE]: Likewise.
37797         * time/tst-mktime2.c: Likewise for INT_MAX.
37798         * string/test-string.h: #include <sys/param.h> for MIN.
37799
37800         * csu/init-first.c (__libc_init_first): Call __ctype_init.
37801         * sysdeps/i386/init-first.c (init): Likewise.
37802         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37803         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37804         * sysdeps/sh/init-first.c (init): Likewise.
37805
37806 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
37807
37808         * po/ru.po: Update from translation team.
37809         * po/vi.po: Likewise.
37810
37811 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37812
37813         * resolv/nss_dns/dns-host.c: Merge copyright years.
37814
37815 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37816
37817         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37818         Optimize memcpy with prefetch if
37819         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
37820         src, dst pointers have unequal 16 byte alignments.
37821
37822 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37823
37824         [BZ #13928]
37825         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37826         from a CNAME entry and return the minimum ttl for the query.
37827         (gaih_getanswer_slice): Likewise.
37828
37829 2012-03-30  Jeff Law  <law@redhat.com>
37830
37831         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37832         due to long keys.
37833         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37834         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37835
37836         * resolv/nss_dns/dns-host.c: Update copyright year.
37837
37838 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
37839
37840         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37841         requests to save a system call.  Fix check that all bytes are sent.
37842
37843         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37844         comments for sendmmsg.
37845
37846 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37847
37848         [BZ #13691]
37849         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37850         with only 1 character between 0x0041 and 0x01b0.
37851         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37852         * wcsmbs/tst-mbsnrtowcs.c: New file.
37853
37854 2012-03-29  David S. Miller  <davem@davemloft.net>
37855
37856         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37857         small copies by hand.
37858
37859 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37860
37861         [BZ #13761]
37862         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37863         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37864         group memberships.
37865
37866 2012-03-28  David S. Miller  <davem@davemloft.net>
37867
37868         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37869         that branches into memcpy.
37870         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37871         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37872         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37873         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37874         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37875         bits.
37876         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37877         implementation too.
37878         * sysdeps/sparc/mempcpy.S: New file.
37879
37880         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37881         the IFUNC routine in the libc case.
37882         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37883
37884         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37885         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37886         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37887         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37888         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37889         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37890         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37891         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37892
37893         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37894         loop to 256 bytes instead of 64 bytes and fix test signedness.
37895
37896         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37897         * sysdeps/sparc/sparc32/Makefile: rather than here...
37898         * sysdeps/sparc/sparc64/Makefile: and here.
37899
37900 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
37901
37902         * malloc/mallocbug.c: Avoid warnings about unused variables.
37903
37904 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37905
37906         [BZ #13760]
37907         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37908         in the right place. Discard and retry query if response is
37909         larger than input buffer size.
37910
37911 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
37912
37913         [BZ #369]
37914         [BZ #2678]
37915         [BZ #3866]
37916         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37917         x for large integer exponent.
37918         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37919         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
37920         sign of result as needed afterwards.
37921         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37922         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37923         result for underflowing pow the same as for overflow.
37924         (__kernel_standard_l): Handle powl overflow and underflow here
37925         rather than calling __kernel_standard.
37926         * math/libm-test.inc (pow_test): Add more tests.
37927
37928         [BZ #3868]
37929         [BZ #13879]
37930         [BZ #13910]
37931         [BZ #13911]
37932         [BZ #13912]
37933         [BZ #13913]
37934         [BZ #13915]
37935         [BZ #13916]
37936         [BZ #13917]
37937         [BZ #13918]
37938         [BZ #13919]
37939         [BZ #13920]
37940         [BZ #13921]
37941         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37942         * sysdeps/ieee754/k_standard.c: Include <float.h>.
37943         (__kernel_standard_l): New function.
37944         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37945         __kernel_standard.
37946         * math/w_acosl.c (__acosl): Likewise.
37947         * math/w_asinl.c (__asinl): Likewise.
37948         * math/w_atan2l.c (__atan2l): Likewise.
37949         * math/w_atanhl.c (__atanhl): Likewise.
37950         * math/w_coshl.c (__coshl): Likewise.
37951         * math/w_exp10l.c (__exp10l): Likewise.
37952         * math/w_exp2l.c (__exp2l): Likewise.
37953         * math/w_fmodl.c (__fmodl): Likewise.
37954         * math/w_hypotl.c (__hypotl): Likewise.
37955         * math/w_j0l.c (__j0l, __y0l): Likewise.
37956         * math/w_j1l.c (__j1l, __y1l): Likewise.
37957         * math/w_jnl.c (__jnl, __ynl): Likewise.
37958         * math/w_lgammal.c (__lgammal): Likewise.
37959         * math/w_log10l.c (__log10l): Likewise.
37960         * math/w_log2l.c (__log2l): Likewise.
37961         * math/w_logl.c (__logl): Likewise.
37962         * math/w_powl.c (__powl): Likewise.
37963         * math/w_remainderl.c (__remainderl): Likewise.
37964         * math/w_scalbl.c (sysv_scalbl): Likewise.
37965         * math/w_sinhl.c (__sinhl): Likewise.
37966         * math/w_sqrtl.c (__sqrtl): Likewise.
37967         * math/w_tgammal.c (__tgammal): Likewise.
37968         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37969         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37970         * math/libm-test.inc (acos_test): Add more tests.
37971         (acosh_test): Likewise.
37972         (asin_test): Likewise.
37973         (atanh_test): Likewise.
37974         (exp_test): Likewise.
37975         (exp10_test): Likewise.
37976         (exp2_test): Likewise.
37977         (expm1_test): Likewise.
37978         (lgamma_test): Likewise.
37979         (log_test): Likewise.
37980         (log10_test): Likewise.
37981         (log1p_test): Likewise.
37982         (log2_test): Likewise.
37983         (pow_test): Do not allow some spurious overflow exceptions.
37984         (sqrt_test): Add more tests.
37985         (tgamma_test): Likewise.
37986         (y0_test): Likewise.
37987         (y1_test): Likewise.
37988         (yn_test): Likewise.
37989
37990 2012-03-27  Anton Blanchard  <anton@samba.org>
37991
37992         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37993         MAP_HUGETLB.
37994         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37995         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37996         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37997
37998 2012-03-27  David S. Miller  <davem@davemloft.net>
37999
38000         * conform/Makefile: Run run-conformtest.sh using $(BASH).
38001
38002         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38003         have-as-vis3 check.
38004
38005 2012-03-27  Andreas Jaeger  <aj@suse.de>
38006
38007         * sysdeps/x86_64/elf/configure.in: Moved to ...
38008         * sysdeps/x86_64/configure.in: ... here.
38009         * sysdeps/x86_64/elf/start.S: Moved to ...
38010         * sysdeps/x86_64/start.S: ... here.
38011         * sysdeps/x86_64/elf/configure: Delete.
38012
38013         * sysdeps/x86_64/configure.in: Merge contents from
38014         sysdeps/i386/configure.in (without i686 check).
38015
38016         * sysdeps/i386/elf/Versions: Merge into ...
38017         * sysdeps/i386/Versions: ... this.
38018         * sysdeps/i386/elf/Versions: Delete file.
38019         * sysdeps/i386/elf/start.S: Moved to ...
38020         * sysdeps/i386/start.S: ...here.
38021         * sysdeps/i386/elf/configure.in: Merge into...
38022         * sysdeps/i386/configure.in: ...here.
38023         * sysdeps/i386/elf/configure.in: Delete file.
38024         * sysdeps/i386/elf/configure: Delete file.
38025
38026         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38027         * debug/backtracesyms.c: ... here.
38028         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38029         * debug/backtracesymsfd.c: ... here.
38030         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38031         * sysdeps/generic/ifunc-sel.h: ... here.
38032
38033         * sysdeps/unix/i386/start.c: Delete file.
38034         * sysdeps/unix/sparc/start.c: Delete file.
38035         * sysdeps/unix/start.c: Delete file.
38036
38037         * sysdeps/sh/elf/configure.in: Moved to ...
38038         * sysdeps/sh/configure.in: ... here.
38039         * sysdeps/sh/elf/start.S: Moved to ...
38040         * sysdeps/sh/start.S: ... here.
38041         * sysdeps/sh/elf/configure: Delete file.
38042
38043         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38044         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38045         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38046         * sysdeps/powerpc/powerpc64/entry.h: ... here.
38047         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38048         * sysdeps/powerpc/powerpc64/start.S: here.
38049         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38050         * sysdeps/powerpc/powerpc64/Makefile: ... this.
38051         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38052         * sysdeps/powerpc/powerpc64/configure.in: ... this.
38053         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38054
38055         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38056         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38057         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38058         * sysdeps/powerpc/powerpc32/start.S: ... here.
38059         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38060         * sysdeps/powerpc/powerpc32/configure.in: ... this.
38061         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38062
38063         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38064         * sysdeps/powerpc/ifunc-sel.h: ... here.
38065         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38066         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38067
38068         * sysdeps/sparc/elf/configure.in: Moved to ...
38069         * sysdeps/sparc/configure.in: ... here.
38070         * sysdeps/sparc/elf/configure: Delete file.
38071         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38072         * sysdeps/sparc/sparc32/start.S: ... here.
38073         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38074         * sysdeps/sparc/sparc64/start.S: ... here.
38075         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38076         * sysdeps/sparc/sparc32/Makefile: ... this.
38077         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38078         * sysdeps/sparc/sparc64/Makefile: ... this.
38079
38080         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38081         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38082         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38083         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38084         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38085         * sysdeps/s390/s390-32/setjmp.S: ... here.
38086         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38087         * sysdeps/s390/s390-32/configure.in: ... here.
38088         * sysdeps/s390/s390-32/elf/configure: Delete file.
38089         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38090         * sysdeps/s390/s390-32/start.S: ... here.
38091
38092         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38093         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38094         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38095         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38096         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38097         * sysdeps/s390/s390-64/setjmp.S: ... here.
38098         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38099         * sysdeps/s390/s390-64/configure.in: ... here
38100         * sysdeps/s390/s390-64/elf/configure: Delete file.
38101         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38102         * sysdeps/s390/s390-64/start.S: ... here.
38103         * sysdeps/s390/s390-64/elf/configure: Delete.
38104
38105         * configure.in: Remove support for elf directories in sysdeps.
38106
38107         * configure: Regenerated.
38108         * sysdeps/i386/configure: Regenerated.
38109         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38110         * sysdeps/powerpc/powerpc64/configure: Regenerated.
38111         * sysdeps/s390/s390-32/configure: Regenerated.
38112         * sysdeps/s390/s390-64/configure: Regenerated.
38113         * sysdeps/sh/configure: Regenerated.
38114         * sysdeps/sparc/configure: Regenerated.
38115         * sysdeps/x86_64/configure: Regenerated.
38116
38117 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
38118
38119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38120
38121         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38122         denormal result into account.
38123
38124 2012-03-25  Roland McGrath  <roland@hack.frob.com>
38125
38126         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38127         Reported by Allan McRae <allan@archlinux.org>.
38128
38129 2012-03-23  Jeff Law  <law@redhat.com>
38130
38131         * nss/getnssent.c (__nss_getent): Fix typo.
38132
38133 2012-03-23  David S. Miller  <davem@davemloft.net>
38134
38135         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38136
38137 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
38138
38139         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38140         to pad to uint64_t for each field.
38141         (dl_tls_index): Replace unsigned long with uint64_t.
38142
38143 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
38144         Paul Pluzhnikov  <ppluzhnikov@google.com>
38145
38146         [BZ #6528]
38147         * grp/Makefile (otherlibs): Don't set it.
38148         * inet/Makefile (otherlibs): Likewise.
38149         * login/Makefile (otherlibs): Likewise.
38150         * nscd/Makefile (otherlibs): Likewise.
38151         * posix/Makefile (otherlibs): Likewise.
38152         * pwd/Makefile (otherlibs): Likewise.
38153         * rt/Makefile (otherlibs): Likewise.
38154         * sunrpc/Makefile (otherlibs): Likewise.
38155         * nss/Makefile (otherlibs): Likewise.
38156         Add libnss_files to routines and static-only-routines.
38157         ($(objpfx)getent): Remove rule.
38158         * resolv/Makefile: Add libnss_dns and libresolv to routines and
38159         static-only-routines.
38160
38161 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38162
38163         [BZ #13892]
38164         * math/s_cexp.c: Include <float.h>.
38165         (__cexp): Handle exp result overflowing not necessarily
38166         overflowing both real and imaginary parts of result.
38167         * math/s_cexpf.c: Likewise.
38168         * math/s_cexpl.c: Likewise.
38169         * math/libm-test.inc (cexp_test): Add more tests.
38170         * sysdeps/i386/fpu/libm-test-ulps: Update.
38171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38172
38173 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38174
38175         * include/link.h (ELFW): New macro.
38176         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38177         Replace ELF64_R_TYPE with ELFW(R_TYPE).
38178
38179 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38180
38181         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38182         with uint64_t.
38183
38184 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38185
38186         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38187         declaration.
38188         (struct La_x32_retval): Likewise.
38189
38190 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38191
38192         * sysdeps/x86_64/preconfigure.in: New file.
38193         * sysdeps/x86_64/preconfigure: New generated file.
38194
38195 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38196
38197         [BZ #13824]
38198         * math/e_exp2l.c: Include <float.h>.
38199         (__ieee754_exp2l): Handle overflow and underflow cases
38200         separately.  Only pass fractional part of argument to
38201         __ieee754_expl.
38202         * math/libm-test.inc (exp2_test): Add more tests.
38203
38204         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38205         negating x to take absolute value.
38206         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38207         Likewise.
38208         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38209         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38210         Likewise.
38211         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38212         computing low part if x was negated.
38213         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38214
38215 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38216
38217         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38218         la_x32_gnu_pltexit.
38219         (pltexit): Cast int_retval to ptrdiff_t.
38220         * elf/tst-auditmod3b.c: Likewise.
38221         * elf/tst-auditmod4b.c: Likewise.
38222         * elf/tst-auditmod5b.c: Likewise.
38223         * elf/tst-auditmod6b.c: Likewise.
38224         * elf/tst-auditmod6c.c: Likewise.
38225         * elf/tst-auditmod7b.c: Likewise.
38226
38227         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38228         and x32_gnu_pltexit.
38229
38230         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38231         __ELF_NATIVE_CLASS.
38232         (La_x32_regs): New macro.
38233         (La_x32_retval): Likewise.
38234         (la_x32_gnu_pltenter): New function prototype.
38235         (la_x32_gnu_pltexit): Likewise.
38236
38237 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
38238
38239         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38240         exponent.
38241
38242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38243
38244         * configure.in (libc_cv_cc_nofma): Check for option to disable
38245         generation of FMA instructions.
38246         * configure: Regenerate.
38247         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38248         * sysdeps/ieee754/dbl-64/Makefile: New file.
38249         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38250         Remove brandred-fma4.
38251         (CFLAGS-brandred-fma4.c): Remove.
38252         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38253         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38254         define.
38255         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38256         define.
38257
38258 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38259
38260         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38261         LLONG_MAX != LONG_MAX.
38262         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38263         (_fitoa_word): Likewise.
38264         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38265         LLONG_MAX != LONG_MAX.
38266         * stdio-common/_itowa.h: Include <_itoa.h>.
38267         (_itowa_word): Use _ITOA_WORD_TYPE on value.
38268         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
38269         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
38270         only if not defined.
38271         (_ITOA_WORD_TYPE): Likewise.
38272         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38273         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38274
38275 2012-03-21  David S. Miller  <davem@davemloft.net>
38276
38277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38278
38279 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38280
38281         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38282         of x86_64 when setting libc_cv_slibdir, libdir and
38283         libc_cv_localedir.
38284         * sysdeps/unix/sysv/linux/configure: Regenerated.
38285
38286 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38287
38288         * manual/lang.texi (Old Varargs): Remove section.
38289         (How Variadic): Update menu.
38290         (va_start): Do not mention varargs.h.
38291
38292 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38293             Joseph Myers  <joseph@codesourcery.com>
38294
38295         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38296         link test.
38297         * configure: Regenerated.
38298
38299 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38300
38301         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38302         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38303         conformtest.pl
38304
38305 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38306
38307         * NOTES: Remove.
38308         * Makefile (files-for-dist): Remove NOTES.
38309         (NOTES): Remove rule.
38310         * README: Don't refer to NOTES.
38311         * manual/creature.texi: Don't include macros.texi.
38312         * manual/intro.texi (creature.texi): Remove comment referring to
38313         NOTES.
38314
38315         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38316         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38317         * configure: Regenerated.
38318         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38319         LIBC_TRY_CC_OPTION.
38320         (libc_cv_as_i686): Likewise.
38321         (libc_cv_cc_avx): Likewise.
38322         (libc_cv_cc_sse2avx): Likewise.
38323         (libc_cv_cc_fma4): Likewise.
38324         (libc_cv_cc_novzeroupper): Likewise.
38325         * sysdeps/i386/configure: Regenerated.
38326
38327         [BZ #13883]
38328         * sysdeps/i386/fpu/s_cexp.S: Remove.
38329         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38330         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38331         * math/libm-test.inc (cexp_test): Add more tests.
38332         * sysdeps/i386/fpu/libm-test-ulps: Update.
38333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38334
38335 2012-03-21  Allan McRae  <allan@archlinux.org>
38336
38337         * timezone/Makefile: Do not install iso3166.tab and zone.tab
38338
38339 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38340
38341         [BZ #13871]
38342         * math/w_exp2.c: Do not include <float.h>.
38343         (o_threshold, u_threshold): Remove.
38344         (__exp2): Calculate result before checking finiteness and calling
38345         __kernel_standard.
38346         * math/w_exp2f.c: Likewise.
38347         * math/w_exp2l.c: Likewise.
38348         * math/libm-test.inc (exp2_test): Require overflow exception for
38349         1e6 input.
38350
38351         [BZ #3866]
38352         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38353         range of signed 64-bit integers before using fistpll.  Remove
38354         checks for whether integers fit in mantissa bits.
38355         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38356         the range of signed 32-bit integers before using fistpl.  Remove
38357         checks for whether integers fit in mantissa bits.
38358         * sysdeps/i386/fpu/e_powl.S (p64): New object.
38359         (__ieee754_powl): Test for y outside the range of signed 64-bit
38360         integers before using fistpll.  Reduce 64-bit values to 63-bit
38361         ones as needed.
38362         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38363         divide-by-zero is raised for zero to large negative powers.
38364         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38365         (__ieee754_powl): Test for y outside the range of signed 64-bit
38366         integers before using fistpll.  Reduce 64-bit values to 63-bit
38367         ones as needed.
38368         * math/libm-test.inc (pow_test): Add more tests.
38369
38370 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38371
38372         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38373         <stdio-common/_itoa.h>.
38374         * debug/segfault.c: Likewise.
38375         * elf/dl-cache.c: Likewise.
38376         * elf/dl-minimal.c: Likewise.
38377         * elf/dl-misc.c: Likewise.
38378         * elf/dl-sysdep.c: Likewise.
38379         * elf/dl-version.c: Likewise.
38380         * elf/rtld.c: Likewise.
38381         * hurd/hurdsock.c: Likewise.
38382         * hurd/lookup-retry.c: Likewise.
38383         * malloc/malloc.c: Likewise.
38384         * malloc/mtrace.c: Likewise.
38385         * nscd/nscd_getgr_r.c: Likewise.
38386         * nscd/nscd_getpw_r.c: Likewise.
38387         * nscd/nscd_getserv_r.c: Likewise.
38388         * posix/getopt_init.c: Likewise.
38389         * posix/wordexp.c: Likewise.
38390         * stdio-common/_itoa.c: Likewise.
38391         * stdio-common/printf_fphex.c: Likewise.
38392         * stdio-common/vfprintf.c: Likewise.
38393         * string/_strerror.c: Likewise.
38394         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38395         * sysdeps/i386/i686/hp-timing.h: Likewise.
38396         * sysdeps/mach/_strerror.c: Likewise.
38397         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38398         * sysdeps/mach/hurd/sethostid.c: Likewise.
38399         * sysdeps/mach/hurd/xmknodat.c: Likewise.
38400         * sysdeps/mach/xpg-strerror.c: Likewise.
38401         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38402         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38403         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38404         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38405         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38406         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38407         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38408         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38409         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38410         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38411         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38412         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38413         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38414         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38415         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38416         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38417         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38418         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38419         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38420         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38421         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38422
38423         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38424
38425         * stdio-common/_itoa.h: Moved to ...
38426         * sysdeps/generic/_itoa.h: Here.
38427
38428         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38429
38430         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38431         instead of "_itoa.h" and "_itowa.h".
38432         * stdio-common/vfprintf.: Likewise.
38433
38434 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38435
38436         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38437         <bits/wordsize.h>.
38438         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38439         (__signbit): Likwise.
38440         (llrintf): Likwise.
38441         (llrint): Likwise.
38442
38443 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38444
38445         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38446         __WORDSIZE != 64.
38447
38448 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
38449
38450         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38451         OVERFLOW_EXCEPTION_OK.
38452         * math/libm-test.inc ("Philosophy"): Update comment about
38453         exception testing.
38454         (OVERFLOW_EXCEPTION): Define.
38455         (OVERFLOW_EXCEPTION_OK): Likewise.
38456         (INVALID_EXCEPTION_OK): Renumber.
38457         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38458         (IGNORE_ZERO_INF_SIGN): Likewise.
38459         (test_exceptions): Handle FE_OVERFLOW.
38460         (exp10_test): Expect overflow exceptions.
38461         (exp2_test): Likewise.
38462         (expm1_test): Likewise.
38463         (nextafter_test): Likewise.
38464         (pow_test): Likewise.
38465         (scalbn_test): Likewise.
38466         (scalbln_test): Likewise.
38467
38468 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38469
38470         * sysdeps/x86_64/bits/atomic.h
38471         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38472         64bit integer.
38473         (atomic_exchange_acq): Likewise.
38474         (__arch_exchange_and_add_body): Likewise.
38475         (__arch_add_body): Likewise.
38476         (atomic_add_negative): Likewise.
38477         (atomic_add_zero): Likewise.
38478
38479 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38480
38481         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38482         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38483
38484 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38485
38486         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38487         Check __x86_64__ instead of __WORDSIZE.
38488
38489 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38490
38491         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38492
38493 2012-03-19  David S. Miller  <davem@davemloft.net>
38494
38495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38496
38497         * sysdeps/sparc/fpu/fenv_private.h: New file.
38498         * sysdeps/sparc/fpu/math_private.h: Use it.
38499         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38500         Remove.
38501         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38502         (libc_feholdexcept_setroundl): Remove.
38503         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38504         Remove.
38505         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38506         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38507
38508 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38509
38510         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38511         int64_t instead of long int.
38512         (INSERT_WORDS64): Likwise.
38513
38514 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38515
38516         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38517         _Unwind_GetCFA return to _Unwind_Ptr first.
38518
38519 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
38520
38521         [BZ #13629]
38522         * math/s_clog.c: Include <float.h>.
38523         (__clog): Scale large or subnormal inputs.
38524         * math/s_clogf.c: Likewise.
38525         * math/s_clogl.c: Likewise.
38526         * math/s_clog10.c: Include <float.h>.
38527         (M_LOG10_2): Define.
38528         (__clog10): Scale large or subnormal inputs.
38529         * math/s_clog10f.c: Likewise.
38530         * math/s_clog10l.c: Likewise.
38531         * math/libm-test.inc (clog_test): Add more tests.
38532         (clog10_test): Likewise.
38533         * sysdeps/i386/fpu/libm-test-ulps: Update.
38534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38535
38536         [BZ #11451]
38537         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38538         x and y.
38539         * math/libm-test.inc (atan2_test): Add another test.
38540
38541         * Makerules (common-objdir-compile): Remove.
38542         * sysdeps/unix/Makefile (config-generated): Do not add
38543         $(unix-generated) to variable.
38544         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38545         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38546         Remove rule.
38547         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38548         Likewise.
38549         [generic bits/local_lim.h] (before-compile): Do not append to
38550         variable.
38551         [generic bits/local_lim.h] (common-generated): Likewise.
38552         [generic sys/param.h] (before-compile): Do not append to variable.
38553         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38554         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38555         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38556         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38557         include.
38558         [generic sys/param.h] (sys/param.h-includes): Remove variable.
38559         [generic sys/param.h] (sys/param.h-includes): Remove rule.
38560         [generic sys/param.h] ($(addprefix
38561         $(common-objpfx),$(sys/param.h-includes))): Likewise.
38562         [generic sys/param.h] (common-generated): Do not append to
38563         variable.
38564         [generic sys/param.h] (sysdep_headers): Likewise.
38565         [generic bits/errno.h] (before-compile): Do not append to
38566         variable.
38567         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38568         rule.
38569         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38570         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38571         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38572         [generic bits/errno.h] (common-generated): Do not append to
38573         variable.
38574         [generic bits/ioctls.h] (before-compile): Do not append to
38575         variable.
38576         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38577         rule.
38578         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38579         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38580         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38581         rule.
38582         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38583         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38584         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38585         [generic bits/ioctls.h] (common-generated): Do not append to
38586         variable.
38587         [generic sys/syscall.h] (syscall.h): Remove variable.
38588         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38589         rule.
38590         [generic sys/syscall.h] (before-compile): Do not append to
38591         variable.
38592         [generic sys/syscall.h] (common-generated): Likewise.
38593         * sysdeps/unix/errnos-tmpl.c: Remove file.
38594         * sysdeps/unix/errnos.awk: Likewise.
38595         * sysdeps/unix/ioctls-tmpl.c: Likewise.
38596         * sysdeps/unix/ioctls.awk: Likewise.
38597         * sysdeps/unix/mk-local_lim.c: Likewise.
38598         * sysdeps/unix/snarf-ioctls: Likewise.
38599
38600 2012-03-19  Richard Henderson  <rth@twiddle.net>
38601
38602         * sysdeps/i386/fpu/fenv_private.h: New file.
38603         * sysdeps/i386/fpu/math_private.h: Use it.
38604         (math_opt_barrier, math_force_eval): Remove.
38605         (libc_feholdexcept_setround_53bit): Remove.
38606         (libc_feupdateenv_53bit): Remove.
38607         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38608         (math_opt_barrier, math_force_eval): Remove.
38609         (libc_feholdexcept): Remove.
38610         (libc_feholdexcept_setround): Remove.
38611         (libc_fetestexcept, libc_fesetenv): Remove.
38612         (libc_feupdateenv_test): Remove.
38613         (libc_feupdateenv, libc_feholdsetround): Remove.
38614         (libc_feresetround): Remove.
38615
38616         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38617         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38618
38619         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38620         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38621         (libc_feupdateenv_testl): New.
38622         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38623         (libc_feupdateenv_testf): New.
38624         (libc_feupdateenv): Use libc_feupdateenv_test.
38625         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38626         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38627
38628         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38629         (libc_feholdsetroundf, libc_feholdsetroundl): New.
38630         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38631         (libc_feresetround_noex): New.
38632         (libc_feresetround_noexf): New.
38633         (libc_feresetround_noexl): New.
38634         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38635         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38636         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38637         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38638         SET_RESTORE_ROUND.
38639         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38640         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38641         (__cos): Likewise.
38642         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38643         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38644         SET_RESTORE_ROUND_NOEX.
38645         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38646         SET_RESTORE_ROUND_NOEXF.
38647         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38648         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38649         (libc_feholdsetroundf): New.
38650         (libc_feresetround, libc_feresetroundf): New.
38651
38652         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38653         (libc_feholdexcept_setround_53bit): Convert from macro to function.
38654         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
38655
38656         * sysdeps/generic/math_private.h: Include <fenv.h>.
38657         (default_libc_feholdexcept): New.
38658         (default_libc_feholdexcept_setround): New.
38659         (default_libc_fesetenv, default_libc_feupdateenv): New.
38660         (libc_feholdexcept): Only define if undefined.
38661         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38662         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38663         (libc_feholdexcept_setroundl): Likewise.
38664         (libc_feholdexcept_setround_53bit): Likewise.
38665         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38666         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38667         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38668         (libc_feupdateenv_53bit): Likewise.
38669         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38670         (libc_feholdexcept): Convert from macro to inline function.
38671         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38672         (libc_fesetenv, libc_feupdateenv): Likewise.
38673
38674         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38675         not previously defined.
38676         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38677         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38678         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38679         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38680         * sysdeps/ieee754/flt-32/math_private.h: New file.
38681         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38682         math_private.h below SET_FLOAT_WORD.
38683         (__isnan, __isinf_ns, __finite): Remove.
38684         (__isnanf, __isinf_nsf, __finitef): Remove.
38685
38686 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
38687
38688         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38689
38690 2012-03-17  David S. Miller  <davem@davemloft.net>
38691
38692         [BZ #6471]
38693         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38694         for 2.16.
38695
38696 2012-03-16  David S. Miller  <davem@davemloft.net>
38697
38698         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38699         warnings.
38700
38701         [BZ #6471]
38702         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38703         properly.
38704         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38705         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38706         sysdep_routines when subdir is sysvipc.
38707         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38708         __getshmlba helper.
38709
38710         * sysdeps/sparc/fpu/libm-test/ulps: Update.
38711
38712 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38713
38714         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38715         [__LP64__].
38716
38717 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38718
38719         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38720         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38721         (__lround): Renamed to ...
38722         (__llround): This.  Replace long int with long long int.
38723         Define lround functions as aliases of llround functions.
38724         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38725
38726 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38727
38728         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38729         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
38730         adresses to uintptr_t.  Replace "long int" and "unsigned long
38731         int" with "greg_t" on va_arg.
38732
38733 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38734
38735         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38736         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38737
38738         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38739         Move e_machine check before EI_CLASS check.  Handle x32
38740         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38741         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38742         SKIP_EM_IA_64 and include
38743         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38744
38745         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38746         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38747         (add_system_dir): New macro.
38748
38749         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38750         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38751
38752 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38753
38754         [BZ #2551]
38755         [BZ #2552]
38756         [BZ #2553]
38757         [BZ #2554]
38758         [BZ #2562]
38759         [BZ #2563]
38760         [BZ #2565]
38761         [BZ #2566]
38762         [BZ #2576]
38763         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38764         (y0): Likewise.
38765         * math/w_j0f.c (j0f): Likewise.
38766         (y0f): Likewise.
38767         * math/w_j0l.c (__j0l): Likewise.
38768         (__y0l): Likewise.
38769         * math/w_j1.c (j1): Likewise.
38770         (y1): Likewise.
38771         * math/w_j1f.c (j1f): Likewise.
38772         (y1f): Likewise.
38773         * math/w_j1l.c (__j1l): Likewise.
38774         (__y1l): Likewise.
38775         * math/w_jn.c (jn): Likewise.
38776         (yn): Likewise.
38777         * math/w_jnf.c (jnf): Likewise.
38778         (ynf): Likewise.
38779         * math/w_jnl.c (__jnl): Likewise.
38780         (__ynl): Likewise.
38781         * math/libm-test.inc (j0_test): Add more tests.
38782         (j1_test): Likewise.
38783         (jn_test): Likewise.  Add trailing semicolon to existing test.
38784         (y0_test): Likewise.
38785         (y1_test): Likewise.
38786         * sysdeps/i386/fpu/libm-test-ulps: Update.
38787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38788
38789         [BZ #13851]
38790         [BZ #13854]
38791         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38792         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38793         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38794         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38795         (__tanl): Set errno for infinite argument.
38796         * sysdeps/i386/fpu/mptan.c: Remove.
38797         * sysdeps/i386/fpu/s_tan.S: Likewise.
38798         * sysdeps/i386/fpu/s_tanl.S: Likewise.
38799         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38800         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38801         * math/libm-test.inc (tan_test): Add more tests and enable more
38802         tests for double and long double.
38803         * sysdeps/i386/fpu/libm-test-ulps: Update.
38804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38805
38806 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
38807
38808         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38809         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38810
38811 2012-03-16  Roland McGrath  <roland@hack.frob.com>
38812
38813         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38814         * configure.in: Use it for both main tree and add-ons.
38815         * configure: Regenerated.
38816
38817 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38818
38819         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38820
38821 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38822
38823         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38824         in comment.
38825
38826         [BZ #13851]
38827         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38828         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38829         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38830         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38831         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38832         infinite argument.
38833         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38834         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38835         != 0 for prec == 2.
38836         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38837         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38838         * sysdeps/i386/fpu/s_cosl.S: Likewise.
38839         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38840         * sysdeps/i386/fpu/s_sinl.S: Likewise.
38841         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38842         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38843         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38844         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38845         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38846         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38847         * math/libm-test.inc (cos_test): Add more tests and enable more
38848         tests for long double.
38849         (sin_test): Likewise.
38850         (sincos_test): Likewise.
38851         * sysdeps/i386/fpu/libm-test-ulps: Update.
38852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38853
38854 2012-03-16  David S. Miller  <davem@davemloft.net>
38855
38856         * sysdeps/sparc/fpu/math_private.h: New file.
38857
38858 2012-03-15  David S. Miller  <davem@davemloft.net>
38859
38860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38861         file.
38862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38864         file.
38865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38866         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38867         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38868         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38869         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38870         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38871         sysdep routines.
38872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38873
38874         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38875         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38876
38877         * sysdeps/sparc/sparc-ifunc.h: New file.
38878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38879         sparc-ifunc.h
38880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38882         Likewise.
38883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38884         Likewise.
38885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38889         Likewise.
38890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38895         Likewise.
38896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38897         Likewise.
38898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38902         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38903         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38904         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38905         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38906         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38907         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38908         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38909         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38910         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38911         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38912         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38913         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38914         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38915         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38916         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38917         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38918         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38919         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38920         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38921         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38922
38923 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38924
38925         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38926         scaling.
38927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38928
38929 2012-03-15  Andreas Jaeger  <aj@suse.de>
38930
38931         [BZ #13852]
38932         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38933         ieee754/flt-32 implementation for sin, cos and sincos.
38934         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38935         * sysdeps/i386/fpu/s_cosf.S: Likewise.
38936         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38937         * sysdeps/i386/fpu/s_sinf.S: Likewise.
38938         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38939         ieee754/flt-32 implementation for tan.
38940
38941         * math/libm-test.inc (cos_test): Enable some large input tests for
38942         float as well
38943         (sin_test): Likewise.
38944         (sincos_test): Likewise.
38945         (tan_test): Add tests for large input.
38946
38947         * sysdeps/i386/fpu/libm-test-ulps: Update.
38948
38949 2012-03-15  Andreas Jaeger  <aj@suse.de>
38950
38951         [BZ #13658]
38952         * math/libm-test.inc (cos_test): Add more test cases.
38953         (sin_test): Likewise.
38954         (sincos_test): Likewise.
38955
38956 2012-03-15  Andreas Jaeger  <aj@suse.de>
38957
38958         [BZ #13837]
38959         * math/libm-test.inc (cos_test): Add a test case for large input
38960         value.
38961         (sin_test): Likewise.
38962         (sincos_test): Likewise.
38963
38964 2012-03-15  Andreas Jaeger  <aj@suse.de>
38965             Joseph Myers  <joseph@codesourcery.com>
38966
38967         [BZ #13658]
38968         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38969         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38970         * sysdeps/i386/fpu/branred.c: Likewise.
38971         * sysdeps/i386/fpu/dosincos.c: Likewise.
38972         * sysdeps/i386/fpu/mpa.c: Likewise.
38973         * sysdeps/i386/fpu/s_cos.S: Likewise.
38974         * sysdeps/i386/fpu/s_sin.S: Likewise.
38975         * sysdeps/i386/fpu/s_sincos.S: Likewise.
38976         * sysdeps/i386/fpu/sincos32.c: Likewise.
38977
38978         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38979         Define.
38980         (libc_feupdateenv_53bit): Define.
38981         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38982         Define.
38983         (libc_feupdateenv_53bit): Define.
38984
38985         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38986         53 bit (without extend i386 double precision).
38987
38988         * math/libm-test.inc (sincos_test): Add tests for large input.
38989         (sin): Likewise.
38990         (cos): Likewise.
38991
38992         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38993
38994 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38995
38996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38997
38998 2012-03-15  David S. Miller  <davem@davemloft.net>
38999
39000         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39001         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39002         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39003         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39008         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39009         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39010         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39011         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39012         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39013         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39014         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39016         file.
39017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39019         file.
39020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39022         file.
39023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39025         file.
39026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39027         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39028         fmin/fmax sysdep routines.
39029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39030
39031 2012-03-14  David S. Miller  <davem@davemloft.net>
39032
39033         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39034         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39035         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39036         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39037         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39038         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39039         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39040         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39041         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39042         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39043         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39044         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39045         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39046         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39047         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39048         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39049         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39050         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39051         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39052         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39053         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39054         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39055         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39056         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39057         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39058         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39059         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39060         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39061         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39062         routines.
39063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39064         file.
39065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39067         file.
39068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39070         file.
39071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39073         file.
39074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39076         file.
39077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39079         file.
39080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39081         file.
39082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39083         file.
39084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39085         file.
39086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39087         New file.
39088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39089         file.
39090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39091         file.
39092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39094         file.
39095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39097         file.
39098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39100         file.
39101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39103         VIS3 routines.
39104
39105         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39106         New file.
39107
39108         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39109
39110         * sysdeps/sparc/configure.in: New file.
39111         * sysdeps/sparc/configure: Generate.
39112         * configure.in (libc_cv_sparc_as_vis3): Substitute.
39113         * configure: Regenerate.
39114         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39115         * config.make.in (have-as-vis3): New.
39116         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39117         available use -Av9d instead of -Av9a.
39118         * sysdeps/sparc/sparc64/Makefile: Likewise.
39119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39121         New file.
39122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39123         file.
39124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39125         New file.
39126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39127         file.
39128         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39129         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39130         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39131         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39132         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39133
39134         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39135         fzeros/fnegs to load 0x80000000 into a float register instead of
39136         using the stack.
39137         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39138
39139 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39140
39141         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39142         bits/syscall.h.
39143         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39144         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39145         ($(inst_includedir)/bits/syscall.h): Remove rule.
39146         ($(objpfx)bits/syscall.d): Include instead of
39147         $(objpfx)syscall-list.d.
39148         (generated): Change syscall-list.h and syscall-list.d to
39149         bits/syscall.h and bits/syscall.d.
39150
39151 2012-03-14  Roland McGrath  <roland@hack.frob.com>
39152
39153         [BZ #13846]
39154         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39155
39156 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39157
39158         [BZ #13841]
39159         * math/s_csqrt.c: Include <float.h>.
39160         (__csqrt): Scale large or subnormal inputs.
39161         * math/s_csqrtf.c: Likewise.
39162         * math/s_csqrtl.c: Likewise.
39163         * math/libm-test.inc (csqrt_test): Add more tests.
39164         * sysdeps/i386/fpu/libm-test-ulps: Update.
39165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39166
39167         [BZ #13840]
39168         * math/libm-test.inc (hypot_test): Add more tests.
39169
39170 2012-03-13  David S. Miller  <davem@davemloft.net>
39171
39172         [BZ #13840]
39173         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39174         double-precision for the calculation instead of scaling.
39175
39176 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
39177
39178         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39179         manipulate bits before adding and subtracting TWO52[sx].
39180         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39181         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39182         Likewise.
39183         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39184
39185 2012-03-13  David S. Miller  <davem@davemloft.net>
39186
39187         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39188         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39189         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39190         rtld-global-offsets.h
39191         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39192
39193         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39194         large parameters.
39195
39196         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39197
39198         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39199         'err' in the ifdef scope in which it is actually used.
39200
39201         * nss/nss_db/db-init.c: Include string.h
39202
39203 2012-03-12  David S. Miller  <davem@davemloft.net>
39204
39205         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39206         masking out of the most significant byte of random value used.
39207         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39208         Fix coding style in previous change.
39209
39210         * sysdeps/unix/sysv/linux/kernel-features.h
39211         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39212         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39213         expression.
39214         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39215         later.
39216
39217 2012-03-11  David S. Miller  <davem@davemloft.net>
39218
39219         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39220         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39221         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39222         for 'resultvar' otherwise things get truncated on 64-bit.
39223
39224         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39225         Fix masking out of the most significant byte of random value used.
39226
39227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39228
39229 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
39230
39231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39232
39233 2012-03-09  David S. Miller  <davem@davemloft.net>
39234
39235         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39236         variables with appropriate CPP guards.
39237         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39238         from the frame pointer, not the stack pointer.  Correct layout
39239         comments.  Fix test on resulting framesize and the management of
39240         the outregs buffer for pltexit.  Preserve floating point return
39241         values across _dl_call_pltexit call.
39242         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39243         framesize and the management of the outregs buffer for pltexit.
39244         Preserve floating point return values across _dl_call_pltexit
39245         call.
39246         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39247         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39248         (la_sparc64_gnu_pltexit): New functions.
39249         (print_exit): Fix format string for return register value.
39250
39251 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
39252
39253         * sunrpc/Makefile (others): Add rpcgen.
39254         ($(objpfx)rpcgen): Remove special build rule and dependency on
39255         libc.
39256         * sunrpc/rpcgen.c: New file.
39257
39258 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
39259
39260         [BZ #13673]
39261         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39262         * stdio-common/bug-vfprintf-nargs.c: Likewise.
39263         * sysdeps/i386/crti.S: Likewise.
39264         * sysdeps/i386/crtn.S: Likewise.
39265         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39266         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39267         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39268         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39269         * sysdeps/sh/crti.S: Likewise.
39270         * sysdeps/sh/crtn.S: Likewise.
39271         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39272
39273         [BZ #13673]
39274         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39275         with URL.
39276         * locale/programs/locfile-kw.gperf: Likewise.
39277         * locale/programs/charmap-kw.h: Regenerated.
39278         * locale/programs/locfile-kw.h: Likewise.
39279
39280         [BZ #13673]
39281         * intl/plural.y: Replace FSF snail mail address with URL.
39282         * intl/plural.c: Regenerated.
39283
39284 2012-03-09  Richard Henderson  <rth@twiddle.net>
39285
39286         * include/math_private.h: Remove file.
39287         * math/math_private.h: Move file ...
39288         * sysdeps/generic/math_private.h: ... here.
39289
39290         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39291         * sysdeps/powerpc/fpu/math_private.h: Likewise.
39292         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39293
39294         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39295         and <math_private.h>.
39296         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39297         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39298         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39299         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39300         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39301         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39302         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39303         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39304         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39305         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39306         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39307         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39308         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39309         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39310         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39311         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39312         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39313         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39314         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39315         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39316         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39317         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39318         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39319         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39320         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39321         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39322         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39323         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39324         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39325         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39326         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39327         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39328         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39329         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39330         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39331         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39332         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39333         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39334         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39335         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39336         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39337         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39338         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39339         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39340         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39341         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39342         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39343         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39344         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39345         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39346         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39347         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39348         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39349         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39350         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39351         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39352         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39353         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39354         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39355         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39356         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39357         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39358         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39359         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39360         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39361         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39362         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39363         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39364         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39365         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39366         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39367         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39368         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39369         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39370         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39371         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39372         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39373         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39374         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39375         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39376         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39377         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39378         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39379         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39380         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39381         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39382         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39383         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39384         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39385         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39386         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39387         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39388         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39389         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39390         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39391         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39392         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39393         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39394         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39395         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39396         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39397         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39398         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39399         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39400         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39401         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39402         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39403         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39404         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39405         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39406         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39407         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39408         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39409         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39410         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39411         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39412         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39413         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39414         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39415         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39416         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39417         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39418         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39419         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39420         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39421         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39422         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39423         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39424         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39425         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39426         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39427         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39428         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39429         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39430         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39431         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39432         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39433         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39434         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39435         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39436         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39437         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39438         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39439         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39440         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39441         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39442         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39443         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39444         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39445         * sysdeps/ieee754/k_standard.c: Likewise.
39446         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39447         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39448         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39449         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39450         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39451         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39452         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39453         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39454         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39455         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39456         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39457         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39458         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39459         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39460         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39461         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39462         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39463         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39464         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39465         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39466         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39467         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39468         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39469         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39470         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39471         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39472         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39473         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39474         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39475         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39476         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39477         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39478         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39479         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39480         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39481         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39482         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39483         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39484         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39485         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39486         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39487         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39488         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39489         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39490         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39491         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39492         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39493         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39494         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39495         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39496         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39497         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39498         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39499         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39500         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39501         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39502         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39503         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39504         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39505         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39506         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39507         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39508         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39509         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39510         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39511         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39512         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39513         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39514         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39515         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39516         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39517         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39518         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39519         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39520         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39521         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39522         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39523         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39524         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39525         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39526         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39527         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39528         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39529         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39530         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39531         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39532         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39533         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39534         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39535         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39536         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39537         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39538         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39539         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39540         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39541         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39542         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39543         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39544         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39545         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39546         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39547         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39548         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39549         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39550         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39551         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39552         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39553         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39554         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39555         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39556         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39557         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39558         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39559         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39560         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39561         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39562         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39563         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39564         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39565         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39566         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39567         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39568         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39569         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39570         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39571         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39572         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39573         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39574         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39575         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39576         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39577         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39578         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39579         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39580         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39581         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39582         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39583         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39584         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39585         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39586         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39587         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39588         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39589         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39590         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39591         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39592         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39593         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39594         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39595         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39596         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39597         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39598         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39599         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39600         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39601         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39602         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39603         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39604         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39605         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39606         * sysdeps/ieee754/s_lib_version.c: Likewise.
39607         * sysdeps/ieee754/s_matherr.c: Likewise.
39608         * sysdeps/ieee754/s_signgam.c: Likewise.
39609         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39610         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39611         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39612         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39613         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39614         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39615         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39616         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39617         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39618         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39619         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39620         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39621         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39622         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39623         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39624         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39625         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39626         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39627         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39628         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39629         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39630
39631 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39632
39633         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39634         * sunrpc/rpc_main.c: Likewise.
39635         * sunrpc/rpc_svcout.c: Likewise.
39636
39637 2012-03-09  David S. Miller  <davem@davemloft.net>
39638
39639         * include/math_private.h: New file.
39640
39641 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39642
39643         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39644         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39645         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39646         from <bits/socket_type.h>.
39647         (enum __socket_type): Don't define here.
39648         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39649         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39650         bits/socket_type.h.
39651
39652         [BZ #13566]
39653         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39654         checking __USE_GNU.
39655
39656         * Makerules ($(inst_includedir)/%.h): New rule.
39657         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39658         (install-others): Remove variable setting.
39659         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39660
39661 2012-03-08  Richard Henderson  <rth@twiddle.net>
39662
39663         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39664         from macro to inline function; merge with the
39665         !__LIBC_INTERNAL_MATH_INLINES version.
39666         (__ieee754_sqrtf): Likewise.
39667
39668         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39669         to inline function.
39670         (__rintf, __floor, __floorf): Likewise.
39671
39672         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39673         macro to inline function.
39674         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39675
39676         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39677         not <math/math_private.h>.
39678
39679 2012-03-08  David S. Miller  <davem@davemloft.net>
39680
39681         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39682         copyright year.
39683         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39684
39685 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
39686
39687         * resolv/gai_misc.c (handle_requests): Fix struct timespec
39688         normalization.
39689         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39690         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39691
39692 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
39693
39694         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
39695         be defined individually, they must be defined as a block.  Define
39696         S for printing a string instead of hidint the different by using a
39697         macro for adding the 'l'.
39698         * stdio-common/tst-fphex-wide.c: Adjust.
39699
39700 2012-03-07  Marek Polacek  <polacek@redhat.com>
39701
39702         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39703
39704 2012-03-08  Marek Polacek  <polacek@redhat.com>
39705
39706         [BZ #13806]
39707         * stdio-common/Makefile (tests): Add tst-fphex-wide.
39708         * stdio-common/tst-fphex.c: Define a few macros to make the
39709         test reusable.  Use them.
39710         * stdio-common/tst-fphex-wide.c: New file.
39711
39712 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
39713
39714         [BZ #6911]
39715         * manual/macros.texi (gnusystems): New macro.
39716         (nongnusystems): Likewise.
39717         (gnulinuxhurdsystems): Likewise.
39718         (gnuhurdsystems): Likewise..
39719         (gnulinuxsystems): Likewise.
39720         * manual/charset.texi: Use new macros or @theglibc{} to refer to
39721         variants of the GNU system, not "GNU system".
39722         * manual/conf.texi: Likewise.
39723         * manual/errno.texi: Likewise.  Update example of errno macro
39724         expansion.
39725         * manual/filesys.texi: Likewise.
39726         (getumask): Document as specific to GNU/Hurd.
39727         * manual/install.texi: Likewise.  Reword some references to
39728         GNU/Linux.
39729         * manual/intro.texi: Likewise.
39730         * manual/io.texi: Likewise.
39731         (File Name Portability): Detail which constraints are inapplicable
39732         to all GNU systems and which are only inapplicable to GNU/Hurd.
39733         * manual/job.texi: Likewise.
39734         * manual/llio.texi: Likewise.
39735         (O_NOCTTY): Document as present on GNU/Linux.
39736         * manual/maint.texi: Likewise.
39737         * manual/memory.texi: Likewise.
39738         * manual/pattern.texi: Likewise.
39739         * manual/pipe.texi: Likewise.
39740         * manual/process.texi: Likewise.
39741         * manual/resource.texi: Likewise.
39742         (RUSAGE_CHILDREN): Remove statement about specifying a particular
39743         child on GNU/Hurd.
39744         * manual/setjmp.texi: Likewise.
39745         * manual/signal.texi: Likewise.
39746         * manual/startup.texi: Likewise.
39747         * manual/stdio.texi: Likewise.
39748         * manual/terminal.texi: Likewise.
39749         (ONLCR): Document as POSIX.
39750         (OXTABS): Document availability on GNU/Linux as XTABS.
39751         (ONOEOT): Document availability separately from other bits.
39752         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39753         * manual/time.texi: Likewise.
39754         * manual/users.texi: Likewise.
39755         * INSTALL: Regenerated.
39756         * sysdeps/gnu/errlist.c: Regenerated.
39757
39758         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39759         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39760         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
39761         puts.
39762         * configure: Regenerated.
39763
39764 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
39765
39766         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39767         default includes instead of AC_HEADER_CHECK.
39768         * sysdeps/i386/configure: Regenerated.
39769
39770         [BZ #10716]
39771         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39772         * math/s_cacoshf.c (__cacoshf): Likewise.
39773         * math/s_cacoshl.c (__cacoshl): Likewise.
39774         * math/s_casinh.c (__casinh): Set signs of result from argument.
39775         * math/s_casinhf.c (__casinhf): Likewise.
39776         * math/s_casinhl.c (__casinhl): Likewise.
39777         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39778         (casinh_test): Add more tests.
39779         * sysdeps/i386/fpu/libm-test-ulps: Update.
39780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39781
39782 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
39783
39784         * po/zh_TW.po: Update from translation team.
39785
39786         * login/Makefile (distribute): Remove variable.
39787         * catgets/Makefile: Likewise.
39788         * mach/Makefile: Likewise.
39789         * malloc/Makefile: Likewise.
39790         * misc/Makefile: Likewise.
39791         * iconv/Makefile: Likewise.
39792         * nscd/Makefile: Likewise.
39793         * hurd/Makefile: Likewise.
39794         * manual/Makefile: Likewise.
39795         * locale/Makefile: Likewise.
39796         * intl/Makefile: Likewise.
39797         * conform/Makefile: Likewise.
39798         * nss/Makefile: Likewise.
39799         * time/Makefile: Likewise.
39800         * soft-fp/Makefile: Likewise.
39801         * dirent/Makefile: Likewise.
39802         * gmon/Makefile: Likewise.
39803         * po/Makefile: Likewise.
39804         * rt/Makefile: Likewise.
39805         * socket/Makefile: Likewise.
39806         * math/Makefile: Likewise.
39807         * signal/Makefile: Likewise.
39808         * debug/Makefile: Likewise.
39809         * elf/Makefile: Likewise.
39810         * timezone/Makefile: Likewise.
39811         * stdlib/Makefile: Likewise.
39812         * iconvdata/Makefile: Likewise.
39813         * sunrpc/Makefile: Likewise.
39814         * io/Makefile: Likewise.
39815         * argp/Makefile: Likewise.
39816         * inet/Makefile: Likewise.
39817         * hesiod/Makefile: Likewise.
39818         * grp/Makefile: Likewise.
39819         * csu/Makefile: Likewise.
39820         * wctype/Makefile: Likewise.
39821         * crypt/Makefile: Likewise.
39822         * libio/Makefile: Likewise.
39823         * string/Makefile: Likewise.
39824         * nis/Makefile: Likewise.
39825         * resolv/Makefile: Likewise.
39826         * stdio-common/Makefile: Likewise.
39827         * wcsmbs/Makefile: Likewise.
39828         * dlfcn/Makefile: Likewise.
39829         * posix/Makefile: Likewise.
39830
39831         [BZ #6959]
39832         * timezone/Makefile: Don't install timezone files, just the programs
39833         and scripts.
39834
39835 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
39836
39837         * nss/databases.def: Add missing gshadow entry.
39838
39839         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
39840
39841 2012-03-06  Marek Polacek  <polacek@redhat.com>
39842
39843         [BZ #13726]
39844         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39845         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39846         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39847         * stdio-common/tst-long-dbl-fphex.c: New file.
39848
39849 2012-03-06  David S. Miller  <davem@davemloft.net>
39850
39851         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39852         (set_obp_int): New function.
39853         (get_obp_int): New function.
39854         (__get_clockfreq_via_dev_openprom): Likewise.
39855         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39856         Avoid unused variable warnings on 'val' and use builtin_expect.
39857         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39858         __builtin_expect.
39859         (INLINE_CLONE_SYSCALL): Likewise.
39860
39861 2012-03-05  David S. Miller  <davem@davemloft.net>
39862
39863         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39864
39865 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
39866
39867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39868
39869         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39870         only for |x| >= 40.
39871         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39872
39873 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
39874
39875         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39876         Replace gettimeofday with __vdso_gettimeofday.
39877
39878         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39879         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39880         __vdso_clock_gettime and __vdso_getcpu.
39881
39882         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39883         time with __vdso_time.
39884
39885 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39886
39887         * manual/lang.texi (size_t): Note types to which size_t may be
39888         equivalent with the GNU C Library, but do not describe when
39889         differences between them are significant.
39890
39891 2012-03-05  Andreas Jaeger  <aj@suse.de>
39892
39893         * sysdeps/i386/fpu/libm-test-ulps: Update.
39894
39895 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39896
39897         [BZ #3976]
39898         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39899         (__ieee754_pow): Save and restore rounding mode and use
39900         round-to-nearest for main computations.
39901         * math/libm-test.inc (pow_test_tonearest): New function.
39902         (pow_test_towardzero): Likewise.
39903         (pow_test_downward): Likewise.
39904         (pow_test_upward): Likewise.
39905         (main): Call the new functions.
39906         * sysdeps/i386/fpu/libm-test-ulps: Update.
39907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39908
39909         [BZ #3976]
39910         * math/libm-test.inc (cosh_test_tonearest): New function.
39911         (cosh_test_towardzero): Likewise.
39912         (cosh_test_downward): Likewise.
39913         (cosh_test_upward): Likewise.
39914         (sinh_test_tonearest): Likewise.
39915         (sinh_test_towardzero): Likewise.
39916         (sinh_test_downward): Likewise.
39917         (sinh_test_upward): Likewise.
39918         (main): Call the new functions.
39919         * sysdeps/i386/fpu/libm-test-ulps: Update.
39920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39921
39922 2012-03-05  Tom de Vries  <tom@codesourcery.com>
39923
39924         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39925         default stack guard is set in last bytes.
39926         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39927
39928 2012-03-05  Kees Cook  <keescook@chromium.org>
39929
39930         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39931
39932         [BZ #13656]
39933         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39934         possibly allocate from heap instead of stack.
39935         * stdio-common/bug-vfprintf-nargs.c: New file.
39936         * stdio-common/Makefile (tests): Add nargs overflow test.
39937
39938 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
39939
39940         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39941
39942 2012-03-03  Marek Polacek  <polacek@redhat.com>
39943
39944         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39945         * math/math_private.h: Likewise.
39946         * stdlib/tst-strtod.c: Likewise.
39947         * sysdeps/i386/i486/bits/atomic.h: Likewise.
39948         * sysdeps/x86_64/bits/atomic.h: Likewise.
39949
39950 2012-03-02  David S. Miller  <davem@davemloft.net>
39951
39952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39954         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39955         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39956         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39957         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39958         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39959         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39960
39961 2012-03-02  Roland McGrath  <roland@hack.frob.com>
39962
39963         [BZ #13792]
39964         * manual/examples/README: New file, says the example source files
39965         can be used under GPL>=2.
39966         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39967         line containing just "*/".
39968         * manual/examples/add.c: Add copyright header (GPL>=2).
39969         * manual/examples/argp-ex1.c: Likewise.
39970         * manual/examples/argp-ex2.c: Likewise.
39971         * manual/examples/argp-ex3.c: Likewise.
39972         * manual/examples/argp-ex4.c: Likewise.
39973         * manual/examples/atexit.c: Likewise.
39974         * manual/examples/db.c: Likewise.
39975         * manual/examples/dir.c: Likewise.
39976         * manual/examples/dir2.c: Likewise.
39977         * manual/examples/execinfo.c: Likewise.
39978         * manual/examples/filecli.c: Likewise.
39979         * manual/examples/filesrv.c: Likewise.
39980         * manual/examples/fmtmsgexpl.c: Likewise.
39981         * manual/examples/genpass.c: Likewise.
39982         * manual/examples/inetcli.c: Likewise.
39983         * manual/examples/inetsrv.c: Likewise.
39984         * manual/examples/isockad.c: Likewise.
39985         * manual/examples/longopt.c: Likewise.
39986         * manual/examples/memopen.c: Likewise.
39987         * manual/examples/memstrm.c: Likewise.
39988         * manual/examples/mkfsock.c: Likewise.
39989         * manual/examples/mkisock.c: Likewise.
39990         * manual/examples/mygetpass.c: Likewise.
39991         * manual/examples/pipe.c: Likewise.
39992         * manual/examples/popen.c: Likewise.
39993         * manual/examples/rprintf.c: Likewise.
39994         * manual/examples/search.c: Likewise.
39995         * manual/examples/select.c: Likewise.
39996         * manual/examples/setjmp.c: Likewise.
39997         * manual/examples/sigh1.c: Likewise.
39998         * manual/examples/sigusr.c: Likewise.
39999         * manual/examples/stpcpy.c: Likewise.
40000         * manual/examples/strdupa.c: Likewise.
40001         * manual/examples/strftim.c: Likewise.
40002         * manual/examples/strncat.c: Likewise.
40003         * manual/examples/subopt.c: Likewise.
40004         * manual/examples/swapcontext.c: Likewise.
40005         * manual/examples/termios.c: Likewise.
40006         * manual/examples/testopt.c: Likewise.
40007         * manual/examples/testpass.c: Likewise.
40008         * manual/examples/timeval_subtract.c: Likewise.
40009
40010         [BZ #13792]
40011         * manual/time.texi (Elapsed Time): Move timeval_subtract example
40012         function to ...
40013         * manual/timeval_subtract.c.texi: ... here, new file.
40014
40015 2012-03-02  David S. Miller  <davem@davemloft.net>
40016
40017         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40018
40019 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
40020
40021         [BZ #3976]
40022         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40023         (__sin): Save and restore rounding mode and use round-to-nearest
40024         for all computations.
40025         (__cos): Save and restore rounding mode and use round-to-nearest
40026         for all computations.
40027         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40028         <fenv.h>.
40029         (tan): Save and restore rounding mode and use round-to-nearest for
40030         all computations.
40031         * math/libm-test.inc (cos_test_tonearest): New function.
40032         (cos_test_towardzero): Likewise.
40033         (cos_test_downward): Likewise.
40034         (cos_test_upward): Likewise.
40035         (sin_test_tonearest): Likewise.
40036         (sin_test_towardzero): Likewise.
40037         (sin_test_downward): Likewise.
40038         (sin_test_upward): Likewise.
40039         (tan_test_tonearest): Likewise.
40040         (tan_test_towardzero): Likewise.
40041         (tan_test_downward): Likewise.
40042         (tan_test_upward): Likewise.
40043         (main): Call the new functions.
40044         * sysdeps/i386/fpu/libm-test-ulps: Update.
40045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40046
40047         [BZ #10135]
40048         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40049         small n, then large n, before computing and testing k+n.
40050         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40051         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40052         Likewise.
40053         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40054         Likewise.
40055         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40056         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40057         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40058         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40059         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40060         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40061         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40062         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40063         * math/libm-test.inc (scalbn_test): Add more tests.
40064         (scalbln_test): Likewise.
40065
40066         * manual/filesys.texi (mode_t): Describe constraints on size and
40067         signedness, not exact equivalence to a particular type.
40068         (ino_t): Likewise.
40069         (ino64_t): Likewise.
40070         (dev_t): Likewise.
40071         (nlink_t): Likewise.
40072         (blkcnt_t): Likewise.
40073         (blkcnt64_t): Likewise.
40074         * manual/llio.texi (off_t): Likewise.
40075
40076         [BZ #3976]
40077         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40078         (__ieee754_exp): Save and restore rounding mode and use
40079         round-to-nearest for all computations.
40080         * math/libm-test.inc (exp_test_tonearest): New function.
40081         (exp_test_towardzero): Likewise.
40082         (exp_test_downward): Likewise.
40083         (exp_test_upward): Likewise.
40084         (main): Call the new functions.
40085         * sysdeps/i386/fpu/libm-test-ulps: Update.
40086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40087
40088 2012-03-01  Chris Demetriou  <cgd@google.com>
40089
40090         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40091         have predictable order.
40092
40093 2012-03-01  David S. Miller  <davem@davemloft.net>
40094
40095         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40096
40097         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40098         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40099         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40100         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40101
40102         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40103         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40104         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40106         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40107         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40108         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40109         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40110         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40111
40112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40113
40114         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40115         * sysdeps/sparc/fpu/libm-test-ulps: to here.
40116         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40117
40118         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40119         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40120         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40121         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40122         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40123         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40124         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40125         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40126         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40127         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40128         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40129         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40130         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40131         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40132         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40133         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40134         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40135         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40136         * sysdeps/sparc/elf/configure: Regenerated.
40137
40138 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
40139
40140         * configure.in (AS, LD): Require binutils 2.20 or later.
40141         * configure: Regenerated.
40142         * manual/install.texi (Tools for Compilation): Give binutils 2.20
40143         as required minimum version.
40144         * INSTALL: Regenerated.
40145
40146         [BZ #2541]
40147         [BZ #4108]
40148         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40149         before squaring exponent.
40150         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40151         bottom long double and 27 bits of top long double before squaring
40152         exponent.
40153         * math/libm-test.inc (erfc_test): Add more tests.
40154         * sysdeps/i386/fpu/libm-test-ulps: Update.
40155         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40157
40158 2012-03-01  Kai Tietz  <ktietz@redhat.com>
40159
40160         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40161         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40162         containing bit-fields.
40163         * soft-fp/extended.h (_FP_UNION_E): Likewise.
40164         * soft-fp/single.h (_FP_UNION_S): Likewise.
40165         * soft-fp/double.h (_FP_UNION_D): Likewise.
40166
40167 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40168
40169         [BZ #13786]
40170         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40171         not include ../strcmp.S.
40172         [USE_AS_STRNCASECMP_L]: Likewise.
40173         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40174         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40175         * sysdeps/i386/i686/multiarch/strncase_l-c.c
40176         (__strncasecmp_l_ia32): Define as alias to
40177         __strncasecmp_l_nonascii.
40178
40179         [BZ #5794]
40180         * math/libm-test.inc (expm1_test): Add test for bug 5794.
40181         * sysdeps/i386/fpu/libm-test-ulps: Update.
40182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40183
40184         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40186
40187 2012-02-29  Jeff Law  <law@redhat.com>
40188
40189         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40190         out of bounds read.
40191
40192 2012-02-29  Marek Polacek  <polacek@redhat.com>
40193
40194         [BZ #13706]
40195         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40196         * elf/Makefile: Add rules to run tst-unused-dep.out.
40197
40198 2012-02-28  David S. Miller  <davem@davemloft.net>
40199
40200         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40201         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40202         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40203         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40204         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40205         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40206
40207 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40208
40209         * math/libm-test.inc (llround_test): Move one test from
40210         lround_test.  Use TEST_f_L in moved test.
40211         (lround_test): Move misplaced test to llround_test.  Add testcase
40212         from bug 2561.
40213
40214 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
40215
40216         * sysdeps/x86_64/fpu/e_expf.S: New file.
40217         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40218
40219 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
40220
40221         [BZ #13637]
40222         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40223         of remain_len that may cause incomplete multi-byte character and
40224         false match.
40225         * posix/bug-regex33.c: New file.
40226         * posix/Makefile (tests): Add bug-regex33.
40227
40228 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
40229
40230         * manual/macros.texi: New file.
40231         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40232         * manual/libc.texinfo: Include macros.texi.
40233         * manual/creatute.texi: Likewise.
40234         * manual/install.texi: Likewise.
40235         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40236         @glibcadj{} in references to the GNU C Library.
40237         * manual/charset.texi: Likewise.
40238         * manual/conf.texi: Likewise.
40239         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
40240         when not using those macros.
40241         * manual/creature.texi: Likewise.
40242         * manual/crypt.texi: Likewise.
40243         * manual/errno.texi: Likewise.
40244         * manual/filesys.texi: Likewise.
40245         * manual/header.texi: Likewise.
40246         * manual/install.texi: Likewise.
40247         * manual/intro.texi: Likewise.
40248         * manual/io.texi: Likewise.
40249         * manual/job.texi: Likewise.
40250         * manual/lang.texi: Likewise.
40251         * manual/libc.texiinfo: Likewise.
40252         * manual/llio.texi: Likewise.
40253         * manual/locale.texi: Likewise.
40254         * manual/maint.texi: Likewise.
40255         * manual/math.texi: Likewise.
40256         * manual/memory.texi: Likewise.
40257         * manual/message.texi: Likewise.
40258         * manual/nss.texi: Likewise.
40259         * manual/pattern.texi: Likewise.
40260         * manual/process.texi: Likewise.
40261         * manual/resource.texi: Likewise.
40262         * manual/search.texi: Likewise.
40263         * manual/setjmp.texi: Likewise.
40264         * manual/signal.texi: Likewise.
40265         * manual/socket.texi: Likewise.
40266         * manual/startup.texi: Likewise.
40267         * manual/stdio.texi: Likewise.
40268         * manual/string.texi: Likewise.
40269         * manual/sysinfo.texi: Likewise.
40270         * manual/syslog.texi: Likewise.
40271         * manual/terminal.texi: Likewise.
40272         * manual/time.texi: Likewise.
40273         * manual/users.texi: Likewise.
40274         * INSTALL: Regenerated.
40275         * NOTES: Regenerated.
40276         * sysdeps/gnu/errlist.c: Regenerated.
40277
40278 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
40279
40280         * include/dirent.h: Include <dirstream.h> before
40281         <dirent/dirent.h>.
40282
40283 2012-02-28  David S. Miller  <davem@davemloft.net>
40284
40285         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40286         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40287         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40288         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40289
40290 2012-02-27  David S. Miller  <davem@davemloft.net>
40291
40292         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40294         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40295         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40296
40297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40298         frame pointer instead of stack pointer relative arg slot.
40299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40300         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40301         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40302
40303 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
40304
40305         [BZ #3992]
40306         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40307
40308 2012-02-27  David S. Miller  <davem@davemloft.net>
40309
40310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40314         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40315         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40316         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40317         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40318
40319 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40320
40321         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40322         later.  Allow versions 5-9.
40323         * configure: Regenerated.
40324         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40325         required minimum version and 4.6 as recommended version.  Do not
40326         mention bugs in GCC 2.7 and 2.8.
40327         * INSTALL: Regenerated.
40328
40329 2012-02-27  David S. Miller  <davem@davemloft.net>
40330
40331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40335         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40336         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40337         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40338         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40339
40340         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40341         manipulate bits before adding and subtracting TWO112[sx].
40342         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40343
40344 2012-02-27  Roland McGrath  <roland@hack.frob.com>
40345
40346         [BZ #13775]
40347         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40348         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40349         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40350         being in POSIX, because they are in 1003.1-2008.
40351
40352         * rt/tst-aio.c: Include <fcntl.h>.
40353         * rt/tst-aio7.c: Likewise.
40354         * rt/tst-aio64.c: Likewise.
40355
40356         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40357
40358 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40359
40360         * manual/install.texi (--with-headers): Describe headers as
40361         interface headers, not private headers.
40362         (Specific advice for GNU/Linux systems): Describe use of headers
40363         from "make headers_install", not private headers from older
40364         kernels.
40365         * INSTALL: Regenerated.
40366         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40367         Change to 2.6.19.
40368         * sysdeps/unix/sysv/linux/configure: Regenerated.
40369
40370         * manual/llio.texi (fclean): Remove documentation.
40371
40372         * manual/Makefile (libc-texi-generated): New variable.  Include
40373         version.texi.
40374         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40375         $(libc-texi-generated), not duplicated list of files.
40376         (version.texi, stamp-version): New rules.
40377         (realclean): Remove $(libc-texi-generated), not individual files
40378         from that list.  Do not remove dir-add.texinfo.
40379         * manual/libc.texinfo: Comment out uses of edition numbers and
40380         references to printed manual.  Remove last-updated dates.
40381         (EDITION): Comment out.
40382         (ISBN): Likewise.
40383         (VERSION, UPDATED): Remove.
40384         (version.texi): Include.
40385
40386 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
40387
40388         * sysdeps/posix/spawni.c: Include <signal.h>.
40389         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40390         * sysdeps/pthread/aio_fsync.c: Likewise.
40391
40392 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
40393
40394         * conform/Makefile (tests): Run only when not cross-compiling and
40395         when fast-check is not defined.
40396
40397         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40398         * conform/data/limits.h-data: Fixes for POSIX2008.
40399         * conform/run-conformtest.sh: Run all tests.
40400         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40401         headers.
40402         * include/bits/dlfcn.h: Likewise.
40403         * include/langinfo.h: Likewise.
40404         * include/monetary.h: Likewise.
40405         * include/sys/poll.h: Likewise.
40406
40407         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40408         for __USE_GNU.
40409         * posix/spawn.h: Define __need_sigset_t.
40410         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40411         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40412         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
40413         to get sigevent_t only.
40414         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40415         only for __USE_GNU.
40416         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40417         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40418         process_vm_writev only for __USE_GNU.
40419         * termios/termios.h: Declare tcgetsid also for POSIX2008.
40420
40421         * conform/Makefile: For now ignore errors from run-conformtest.
40422         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
40423         POSIX to avoid namespace pollution.  Don't prepend headers.
40424         * conform/data/aio.h-data: Fixes for POSIX testing.
40425         * conform/data/fcntl.h-data: Likewise.
40426         * conform/data/glob.h-data: Likewise.
40427         * conform/data/grp.h-data: Likewise.
40428         * conform/data/pthread.h-data: Likewise.
40429         * conform/data/pwd.h-data: Likewise.
40430         * conform/data/signal.h-data: Likewise.
40431         * conform/data/spawn.h-data: Likewise.
40432         * conform/data/stdio.h-data: Likewise.
40433         * conform/data/stdlib.h-data: Likewise.
40434         * conform/data/stropts.h-data: Likewise.
40435         * conform/data/sys/mman.h-data: Likewise.
40436         * conform/data/sys/stat.h-data: Likewise.
40437         * conform/data/sys/types.h-data: Likewise.
40438         * conform/data/sys/wait.h-data: Likewise.
40439         * conform/data/time.h-data: Likewise.
40440         * conform/data/unistd.h-data: Likewise.
40441         * conform/data/utime.h-data: Likewise.
40442
40443         * io/sys/stat.h: fchmod was always in POSIX.
40444         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40445         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40446         * rt/aio.h: Define __need_timespec before including <time.h>.
40447         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40448         struct.  Add forward declaration of pthread_attr_t and use it in
40449         sigevent.
40450         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40451         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40452         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40453         always remove CLK_TCK definition.
40454
40455 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
40456
40457         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40458
40459 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
40460
40461         * conform/run-conformtest.sh: New file.
40462         * conform/Makefile: Run run-conformtest for tests.
40463         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
40464         support.
40465
40466         * conform/data/uchar.h-data: New file.
40467         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40468         * conform/data/arpa/inet.h-data: Likewise.
40469         * conform/data/assert.h-data: Likewise.
40470         * conform/data/complex.h-data: Likewise.
40471         * conform/data/cpio.h-data: Likewise.
40472         * conform/data/ctype.h-data: Likewise.
40473         * conform/data/dirent.h-data: Likewise.
40474         * conform/data/dlfcn.h-data: Likewise.
40475         * conform/data/errno.h-data: Likewise.
40476         * conform/data/fcntl.h-data: Likewise.
40477         * conform/data/float.h-data: Likewise.
40478         * conform/data/fmtmsg.h-data: Likewise.
40479         * conform/data/fnmatch.h-data: Likewise.
40480         * conform/data/ftw.h-data: Likewise.
40481         * conform/data/glob.h-data: Likewise.
40482         * conform/data/grp.h-data: Likewise.
40483         * conform/data/iconv.h-data: Likewise.
40484         * conform/data/inttypes.h-data: Likewise.
40485         * conform/data/langinfo.h-data: Likewise.
40486         * conform/data/libgen.h-data: Likewise.
40487         * conform/data/limits.h-data: Likewise.
40488         * conform/data/locale.h-data: Likewise.
40489         * conform/data/math.h-data: Likewise.
40490         * conform/data/monetary.h-data: Likewise.
40491         * conform/data/mqueue.h-data: Likewise.
40492         * conform/data/ndbm.h-data: Likewise.
40493         * conform/data/net/if.h-data: Likewise.
40494         * conform/data/netdb.h-data: Likewise.
40495         * conform/data/netinet/in.h-data: Likewise.
40496         * conform/data/nl_types.h-data: Likewise.
40497         * conform/data/poll.h-data: Likewise.
40498         * conform/data/pthread.h-data: Likewise.
40499         * conform/data/pwd.h-data: Likewise.
40500         * conform/data/regex.h-data: Likewise.
40501         * conform/data/sched.h-data: Likewise.
40502         * conform/data/search.h-data: Likewise.
40503         * conform/data/semaphore.h-data: Likewise.
40504         * conform/data/setjmp.h-data: Likewise.
40505         * conform/data/signal.h-data: Likewise.
40506         * conform/data/spawn.h-data: Likewise.
40507         * conform/data/stdarg.h-data: Likewise.
40508         * conform/data/stdio.h-data: Likewise.
40509         * conform/data/stdlib.h-data: Likewise.
40510         * conform/data/string.h-data: Likewise.
40511         * conform/data/strings.h-data: Likewise.
40512         * conform/data/stropts.h-data: Likewise.
40513         * conform/data/sys/ipc.h-data: Likewise.
40514         * conform/data/sys/mman.h-data: Likewise.
40515         * conform/data/sys/msg.h-data: Likewise.
40516         * conform/data/sys/resource.h-data: Likewise.
40517         * conform/data/sys/select.h-data: Likewise.
40518         * conform/data/sys/sem.h-data: Likewise.
40519         * conform/data/sys/shm.h-data: Likewise.
40520         * conform/data/sys/socket.h-data: Likewise.
40521         * conform/data/sys/stat.h-data: Likewise.
40522         * conform/data/sys/statvfs.h-data: Likewise.
40523         * conform/data/sys/time.h-data: Likewise.
40524         * conform/data/sys/timeb.h-data: Likewise.
40525         * conform/data/sys/times.h-data: Likewise.
40526         * conform/data/sys/types.h-data: Likewise.
40527         * conform/data/sys/uio.h-data: Likewise.
40528         * conform/data/sys/un.h-data: Likewise.
40529         * conform/data/sys/utsname.h-data: Likewise.
40530         * conform/data/sys/wait.h-data: Likewise.
40531         * conform/data/syslog.h-data: Likewise.
40532         * conform/data/tar.h-data: Likewise.
40533         * conform/data/termios.h-data: Likewise.
40534         * conform/data/utime.h-data: Likewise.
40535         * conform/data/utmpx.h-data: Likewise.
40536         * conform/data/varargs.h-data: Likewise.
40537         * conform/data/wchar.h-data: Likewise.
40538         * conform/data/wctype.h-data: Likewise.
40539         * conform/data/wordexp.h-data: Likewise.
40540
40541         * include/stropts.h: New file.
40542         * include/uchar.h: New file.
40543         * include/aio.h: Changes to allow conformtest.pl to use the headers.
40544         * include/assert.h: Likewise.
40545         * include/ctype.h: Likewise.
40546         * include/dirent.h: Likewise.
40547         * include/dlfcn.h: Likewise.
40548         * include/fcntl.h: Likewise.
40549         * include/fnmatch.h: Likewise.
40550         * include/glob.h: Likewise.
40551         * include/grp.h: Likewise.
40552         * include/libio.h: Likewise.
40553         * include/locale.h: Likewise.
40554         * include/math.h: Likewise.
40555         * include/net/if.h: Likewise.
40556         * include/netdb.h: Likewise.
40557         * include/netinet/in.h: Likewise.
40558         * include/pthread.h: Likewise.
40559         * include/pwd.h: Likewise.
40560         * include/regex.h: Likewise.
40561         * include/sched.h: Likewise.
40562         * include/search.h: Likewise.
40563         * include/setjmp.h: Likewise.
40564         * include/signal.h: Likewise.
40565         * include/stdio.h: Likewise.
40566         * include/stdlib.h: Likewise.
40567         * include/string.h: Likewise.
40568         * include/sys/cdefs.h: Likewise.
40569         * include/sys/mman.h: Likewise.
40570         * include/sys/msg.h: Likewise.
40571         * include/sys/resource.h: Likewise.
40572         * include/sys/select.h: Likewise.
40573         * include/sys/socket.h: Likewise.
40574         * include/sys/stat.h: Likewise.
40575         * include/sys/statvfs.h: Likewise.
40576         * include/sys/time.h: Likewise.
40577         * include/sys/times.h: Likewise.
40578         * include/sys/uio.h: Likewise.
40579         * include/sys/utsname.h: Likewise.
40580         * include/sys/wait.h: Likewise.
40581         * include/termios.h: Likewise.
40582         * include/time.h: Likewise.
40583         * include/ulimit.h: Likewise.
40584         * include/unistd.h: Likewise.
40585         * include/utime.h: Likewise.
40586         * include/wchar.h: Likewise.
40587         * include/wctype.h: Likewise.
40588         * include/wordexp.h: Likewise.
40589
40590         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40591
40592         * time/time.h: TIME_UTC must be a macro.
40593         Make timespec_get available for ISO C11 only as well.
40594
40595 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
40596
40597         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40598         Reported by Peng Haitao <penght@cn.fujitsu.com>.
40599
40600 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40601
40602         * configure.in: Use -o not -a in test for unsupported multi-arch.
40603
40604 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40605
40606         * manual/texinfo.tex: Update to version 2012-01-19.16.
40607
40608 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40609
40610         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40611
40612 2012-02-24  Roland McGrath  <roland@hack.frob.com>
40613
40614         [BZ #13738]
40615         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40616         * manual/fdl-1.3.texi: New file.
40617         * manual/fdl-1.1.texi: File removed.
40618
40619         [BZ #13738]
40620         * manual/libc.texinfo (FDL_VERSION): New @set.
40621         Use it for mention of FDL in cover text.
40622         (Documentation License): Use it in @include file name.
40623
40624 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40625             Roland McGrath  <roland@hack.frob.com>
40626
40627         [BZ #5461]
40628         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40629         (not LONG_LONG_MAX and LONG_LONG_MIN.
40630         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40631         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
40632         name.
40633         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40634
40635 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40636
40637         [BZ #2547]
40638         [BZ #11365]
40639         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40640         manipulate bits before adding and subtracting TWO23[sx].
40641         * math/libm-test.inc (nearbyint_test): Add more tests.
40642
40643 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40644
40645         [BZ #2548]
40646         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40647         bits before adding and subtracting TWO23[sx].
40648         * math/libm-test.inc (rint_test): Add more tests.
40649         (rint_test_tonearest): Likewise.
40650         (rint_test_towardzero): Likewise.
40651         (rint_test_downward): Likewise.
40652         (rint_test_upward: Likewise.
40653
40654 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40655
40656         [BZ #10110]
40657         * include/stdc-predef.h: New file.  Extracted from features.h.
40658         * include/features.h: Include stdc-predef.h.
40659         * Makefile (headers): Add stdc-predef.h.
40660         * CONFORMANCE (Compiler limitations): Update.
40661
40662 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40663
40664         * manual/libc.texinfo (VERSION, UPDATED): Revert.
40665
40666 2012-02-21  David S. Miller  <davem@davemloft.net>
40667
40668         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40669         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40670
40671 2012-02-20  David S. Miller  <davem@davemloft.net>
40672
40673         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40674         using a normal save/restore sequence, rather than allocating a
40675         dummy stack frame just to store a frame pointer and restore.
40676         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40677
40678 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40679
40680         * manual/install.texi: Fix stray word in line-wrapped comment.
40681
40682 2012-02-20  David S. Miller  <davem@davemloft.net>
40683
40684         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40685         both binutils and gcc support GOTDATA.
40686
40687         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40688         "rd %pc" in the PIC register setup sequences.
40689
40690         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40691         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40692         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40693         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40694         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40695         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40696         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40697         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40698         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40699         (SYSCALL_ERROR_HANDLER): Likewise.
40700         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40701         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40702         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40703         (SYSCALL_ERROR_HANDLER): Likewise.
40704
40705         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40706         (HAVE_GCC_GOTDATA): New.
40707         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40708         relocation support in both binutils and gcc.
40709         * sysdeps/sparc/elf/configure: Regenerate.
40710
40711         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40712         * sysdeps/sparc/sparc32/elf/configure: Delete.
40713         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40714         * sysdeps/sparc/sparc64/elf/configure: Delete.
40715         * sysdeps/sparc/elf/configure.in: New file.
40716         * sysdeps/sparc/elf/configure: Generate.
40717
40718         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40719         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40720         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40721         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40722         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40723
40724 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40725
40726         * manual/install.texi: Do not mention specific glibc version
40727         numbers.
40728         * manual/libc.texinfo (VERSION, UPDATED): Update.
40729         (@copying): Use @copyright{} and range of years.
40730
40731 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40732
40733         [BZ #13695]
40734         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40735         [crti.S not in sysdirs] (generated): Do not append.
40736         [crti.S not in sysdirs] (omit-deps): Likewise.
40737         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40738         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40739         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40740         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40741         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40742         Likewise.
40743         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40744         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40745         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40746         * csu/defs.awk: Remove file.
40747         * sysdeps/generic/initfini.c: Likewise.
40748         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40749         variable.
40750         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40751         Likewise.
40752
40753 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40754
40755         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40756         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40757         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40758         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40759         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40760         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40761         <bits/epoll.h>.
40762         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40763         (__EPOLL_PACKED): Define to empty if not defined by
40764         <bits/epoll.h>.
40765         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40766         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40767         bits/epoll.h.
40768
40769 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40770
40771         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40772         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40773         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40774         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40775         <bits/timerfd.h>.
40776         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40777         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40778         bits/timerfd.h.
40779
40780 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40781
40782         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40783         in C locale.
40784         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40785         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40786         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40788
40789 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
40790
40791         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40792         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40793
40794 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
40795
40796         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40797         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40798         defined.
40799         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40800         Likewise.
40801         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40802         entry for 2.16.
40803
40804 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
40805
40806         * math/w_acos.c: Use non-signaling floating-point comparisons.
40807         * math/w_acosf.c: Likewise.
40808         * math/w_acosh.c: Likewise.
40809         * math/w_acoshf.c: Likewise.
40810         * math/w_acoshl.c: Likewise.
40811         * math/w_acosl.c: Likewise.
40812         * math/w_asin.c: Likewise.
40813         * math/w_asinf.c: Likewise.
40814         * math/w_asinl.c: Likewise.
40815         * math/w_atanh.c: Likewise.
40816         * math/w_atanhf.c: Likewise.
40817         * math/w_atanhl.c: Likewise.
40818         * math/w_exp2.c: Likewise.
40819         * math/w_exp2f.c: Likewise.
40820         * math/w_exp2l.c: Likewise.
40821         * math/w_j0.c: Likewise.
40822         * math/w_j0f.c: Likewise.
40823         * math/w_j0l.c: Likewise.
40824         * math/w_j1.c: Likewise.
40825         * math/w_j1f.c: Likewise.
40826         * math/w_j1l.c: Likewise.
40827         * math/w_jn.c: Likewise.
40828         * math/w_jnf.c: Likewise.
40829         * math/w_log.c: Likewise.
40830         * math/w_log10.c: Likewise.
40831         * math/w_log10f.c: Likewise.
40832         * math/w_log10l.c: Likewise.
40833         * math/w_log2.c: Likewise.
40834         * math/w_log2f.c: Likewise.
40835         * math/w_log2l.c: Likewise.
40836         * math/w_logf.c: Likewise.
40837         * math/w_logl.c: Likewise.
40838         * math/w_sqrt.c: Likewise.
40839         * math/w_sqrtf.c: Likewise.
40840         * math/w_sqrtl.c: Likewise.
40841         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40842         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40843         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40844         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40845         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40846
40847 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40848
40849         [BZ #9739]
40850         * manual/string.texi (strnlen): Use correct parameter name in
40851         equivalent expression.
40852
40853 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40854
40855         [BZ #11174]
40856         * manual/users.texi (seteuid): Consistently use neweuid for
40857         argument name.
40858
40859 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40860
40861         [BZ #13704]
40862         * manual/nss.texi (Services in the NSS configuration): Correct
40863         list of services in example configuration file.
40864
40865 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
40866
40867         [BZ #11322]
40868         * manual/arith.texi: Remove statements about negative zero
40869         behaving identically to zero.
40870
40871 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40872
40873         [BZ #5993]
40874         * manual/install.texi: Do not document upgrading from libc5.
40875
40876 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40877
40878         [BZ #4596]
40879         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40880
40881 2012-02-18  David S. Miller  <davem@davemloft.net>
40882
40883         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40884         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40885         %o7 across the call.
40886         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40887         instead.
40888         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40889         SETUP_PIC_REG_LEAF.
40890         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40891         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40892         * sysdeps/sparc/crtn.S: Likewise.
40893
40894 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
40895
40896         * aout/Makefile: Remove.
40897
40898 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
40899
40900         [BZ #13058]
40901         * manual/examples/argp-ex1.c (main): Format definition in GNU
40902         style.
40903         * manual/examples/argp-ex2.c (main): Likewise.
40904         * manual/examples/argp-ex3.c (main): Likewise.
40905         * manual/examples/argp-ex4.c (main): Likewise.
40906         * manual/examples/longopt.c (main): Use new-style prototype
40907         definition.
40908         * manual/examples/strncat.c (main): Specify return type and use
40909         (void) for arguments.
40910         * manual/examples/subopt.c (main): Use char **argv argument.
40911
40912 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40913
40914         [BZ #5077]
40915         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40916         rounding modes.
40917
40918 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
40919
40920         [BZ #6907]
40921         * manual/string.texi (strchr): Change when strchrnul is
40922         recommended.
40923
40924 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
40925
40926         [BZ #174]
40927         * manual/locale.texi (setlocale): Document LOCPATH.
40928
40929 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40930
40931         [BZ #10210]
40932         * manual/process.texi (execle): Move @dots{} before last argument.
40933
40934 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
40935
40936         [BZ #12047]
40937         * manual/charset.texi (Generic Charset Conversion): Fix typo
40938         (LC_TYPE -> LC_CTYPE).
40939
40940 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
40941
40942         [BZ #5805]
40943         * manual/arith.texi (scalbn): Use @var{} on parameter names.
40944         (scalbnf): Likewise.
40945         (scalbnl): Likewise.
40946         (scalbln): Likewise.
40947         (scalblnf): Likewise.
40948         (scalblnl): Likewise.
40949         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40950         (vwarnx): Likewise.
40951         (verr): Likewise.
40952         (verrx): Likewise.
40953         * manual/filesys.texi (telldir): Use braces around return type.
40954         * manual/llio.texi (mmap): Add space after comma.
40955         (mmap64): Likewise.
40956         * manual/math.texi (jn): Use @var{} on parameter names.
40957         (jnf): Likewise.
40958         (jnl): Likewise.
40959         (yn): Likewise.
40960         (ynf): Likewise.
40961         (ynl): Likewise.
40962         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40963         line.
40964         * manual/resource.texi (ulimit): Use @dots{} instead of literal
40965         "...".
40966         (sched_get_priority_min): Remove semicolon on @deftypefun line.
40967         (sched_get_priority_max): Likewise.
40968         * manual/signal.texi (sigvec): Add space after comma.
40969         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40970         names.
40971         (if_indextoname): Likewise.
40972         (if_freenameindex): Likewise.
40973         (sendto): Use ',' instead of '.' in prototype.
40974         * manual/startup.texi (syscall): Use @dots{} instead of literal
40975         "...".
40976         * manual/stdio.texi (__fpending): Separate initial words of
40977         paragraph from @deftypefun line.
40978         * manual/syslog.texi (syslog): Use @dots{} instead of literal
40979         "...".
40980         (vsyslog): Use @var{} on parameter names.
40981         * manual/terminal.texi (stty): Use @var{} on parameter names.
40982         * manual/users.texi (getutmp): Use @var{} on parameter names.
40983         (getutmpx): Likewise.
40984
40985 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40986
40987         [BZ #6884]
40988         * manual/stdio.texi (fopen): Fix typos in description of
40989         ",ccs=STRING".
40990
40991 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
40992
40993         [BZ #4026]
40994         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40995         get clock_id definition.
40996
40997 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
40998
40999         [BZ #4822]
41000         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41001         (madvise): Cast every argument to void on its own.
41002
41003 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41004
41005         [BZ #9902]
41006         * manual/startup.texi (Exit Status): Fix typo.
41007
41008 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41009
41010         [BZ #10140]
41011         * manual/examples/argp-ex1.c: Include <stdlib.h>.
41012         * manual/examples/argp-ex2.c: Likewise.
41013         * manual/examples/argp-ex3.c: Likewise.
41014
41015 2012-02-16  Richard Henderson  <rth@redhat.com>
41016
41017         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41018         * sysdeps/s390/s390-32/initfini.c: Remove.
41019         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41020         * sysdeps/s390/s390-64/initfini.c: Remove.
41021
41022 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41023
41024         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41025         compiler output for sysdeps/generic/initfini.c.
41026         * sysdeps/sh/elf/initfini.c: Remove file.
41027
41028 2012-02-16  David S. Miller  <davem@davemloft.net>
41029
41030         [BZ #11494]
41031         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41032
41033         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41034         * sysdeps/sparc/crti.S: New file.
41035         * sysdeps/sparc/crtn.S: New file.
41036         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41037         * sysdeps/sparc/sparc64/Makefile: Likewise.
41038
41039 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
41040
41041         [BZ #3335]
41042         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41043
41044 2012-02-15  Roland McGrath  <roland@hack.frob.com>
41045
41046         [BZ #4822]
41047         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41048
41049         * mach/devstream.c (cookie_io_functions_t): Macro removed.
41050         (write, read, close): Likewise.
41051         Patch by Aurelien Jarno <aurelien@aurel32.net>.
41052
41053 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
41054
41055         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41056         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41057         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41058         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41059         <bits/signalfd.h>.
41060         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41061         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41062         bits/signalfd.h.
41063
41064 2012-02-14  Marek Polacek  <polacek@redhat.com>
41065
41066         * sysdeps/x86_64/crti.S: New file.
41067         * sysdeps/x86_64/crtn.S: New file.
41068         * sysdeps/x86_64/elf/initfini.c: Remove file.
41069
41070 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41071
41072         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41073         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41074         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41075         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41076         <bits/inotify.h>.
41077         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41078         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41079         bits/inotify.h.
41080
41081 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41082
41083         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41084         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41085         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41086         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41087         <bits/eventfd.h>.
41088         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41089         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41090         bits/eventfd.h.
41091
41092 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
41093
41094         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41095         __feraiseexcept instead of feraiseexcept.
41096
41097         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41098         nanosleep invocations.
41099         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41100         strings, and add error checking for a nanosleep invocations.
41101
41102 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
41103
41104         Replace FSF snail mail address with URLs, as per GNU coding standards.
41105         Most of the snail mail addresses were wrong anyway, and omitting
41106         them makes the source code easier to maintain.  Almost all of the
41107         changes are to license notices and to locale LC_IDENTIFICATION
41108         addresses, except for this one:
41109         * manual/libc.texinfo: In "Published by", give the FSF's URL,
41110         not its snail mail address.
41111
41112 2012-02-09  Richard Henderson  <rth@twiddle.net>
41113
41114         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41115         of kernel-features.h.
41116
41117         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41118
41119 2012-02-08  Marek Polacek  <polacek@redhat.com>
41120
41121         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41122         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41123         * sysdeps/gnu/_G_config.h: Likewise.
41124         * sysdeps/generic/_G_config.h: Likewise.
41125
41126 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
41127
41128         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41129         tests.
41130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41131
41132         * sysdeps/powerpc/powerpc32/crti.S: New file.
41133         * sysdeps/powerpc/powerpc32/crtn.S: New file.
41134         * sysdeps/powerpc/powerpc64/crti.S: New file.
41135         * sysdeps/powerpc/powerpc64/crtn.S: New file.
41136
41137         * Makeconfig (have-initfini): Don't set.
41138         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41139         * configure.in (nopic_initfini): Don't substitute.
41140         * config.h.in (HAVE_INITFINI): Don't #undef.
41141         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41142         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41143
41144 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
41145
41146         Support crti.S and crtn.S provided directly by architectures.
41147         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41148         [crti.S in sysdirs] (omit-deps): Likewise.
41149         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41150         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41151         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41152         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41153         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41154         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41155         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41156         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41157         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41158         compiler output for sysdeps/generic/initfini.c.
41159         * sysdeps/i386/elf/Makefile: Remove file.
41160         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41161
41162 2012-02-07  Marek Polacek  <polacek@redhat.com>
41163
41164         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41165         * sysdeps/gnu/_G_config.h: Likewise.
41166         * sysdeps/mach/hurd/_G_config.h: Likewise.
41167
41168 2012-02-07  Marek Polacek  <polacek@redhat.com>
41169
41170         * math/Makefile (tests): Add tst-CMPLX2.
41171         * math/tst-CMPLX2.c: New file.
41172
41173 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
41174
41175         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41176
41177         * math/libm-test.inc (jn_test): Add missing L suffix.
41178
41179 2012-02-06  Marek Polacek  <polacek@redhat.com>
41180
41181         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41182         * sysdeps/i386/fpu/e_powf.S: Likewise.
41183         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41184         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41185         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41186         * sysdeps/i386/fpu/e_pow.S: Likewise.
41187         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41188         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41189         * sysdeps/i386/fpu/s_expm1.S: Likewise.
41190         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41191         * sysdeps/i386/fpu/e_log2.S: Likewise.
41192         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41193         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41194         * sysdeps/i386/fpu/e_powl.S: Likewise.
41195         * sysdeps/i386/fpu/s_log1p.S: Likewise.
41196         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41197         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41198         * sysdeps/i386/fpu/e_logl.S: Likewise.
41199         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41200         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41201         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41202         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41203         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41204         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41205         * sysdeps/i386/fpu/e_log.S: Likewise.
41206         * sysdeps/i386/fpu/s_cexp.S: Likewise.
41207         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41208         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41209         * sysdeps/i386/fpu/e_logf.S: Likewise.
41210         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41211         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41212         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41213         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41214         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41215         * sysdeps/i386/fpu/e_log10.S: Likewise.
41216         * sysdeps/i386/fpu/s_frexp.S: Likewise.
41217         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41218         * sysdeps/i386/fpu/s_asinh.S: Likewise.
41219         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41220         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41221         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41222         * sysdeps/i386/asm-syntax.h: Likewise.
41223         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41224         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41225         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41226         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41227         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41228         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41229         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41230         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41231         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41232         * sysdeps/powerpc/sysdep.h: Likewise.
41233         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41234         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41235
41236 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41237
41238         [BZ #411]
41239         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41240
41241 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41242
41243         * sysdeps/i386/sysdep.h: Include <features.h>.
41244         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41245         version.
41246
41247 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
41248
41249         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41250         Define.
41251         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41252         LOAD_PIC_REG_STR.
41253
41254 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41255
41256         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41257         (SETUP_PIC_REG): Use GET_PC_THUNK.
41258         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41259         macro.
41260
41261 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41262
41263         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41264         for non-PIC compilation.
41265         (SETUP_PIC_REG): Add .p2align directive.
41266         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41267         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41268         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41269         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41270         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41271         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41272         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41273         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41274         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41275         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41276         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41277         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41278         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41279         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41280         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41281         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41282         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41283         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41284         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41285         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41286         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41287         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41288         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41289         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41290         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41291         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41292         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41293         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41294         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41295         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41296         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41297         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41298         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41299         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41300         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41301         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41302         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41303         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41304         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41305         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41306         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41307
41308 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41309
41310         * math/tst-CMPLX.c: Include <stdio.h>.
41311
41312 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
41313
41314         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41315         float.
41316         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41317         * sysdeps/sparc/bits/mathdef.h: Likewise.
41318
41319 2012-01-31  Marek Polacek  <polacek@redhat.com>
41320
41321         * libio/libio.h: Don't define _PARAMS.
41322         * locale/programs/config.h: Don't define PARAMS.
41323         * stdlib/strtol_l.c: Likewise.
41324         (__strtol_l): Remove PARAMS from the prototype.
41325
41326 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
41327
41328         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
41329         names.  Just use the correct names.  Remove unnecessary wrapper
41330         functions.
41331         * malloc/arena.c: Likewise.
41332         * malloc/hooks.c: Likewise.
41333
41334         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41335         ARENA_TEST says not to.  Simplify test for creation of a new arena.
41336         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41337
41338 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
41339
41340         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41341         into tail calls.
41342         (update_get_addr): New function.
41343         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41344         GET_ADDR_MODULE parameter.
41345
41346 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41347
41348         * crypt/cert.c: Remove __STDC__ conditionals.
41349         * crypt/crypt-entry.c: Likewise.
41350         * crypt/crypt_util.c: Likewise.
41351         * libio/filedoalloc.c: Likewise.
41352         * libio/fileops.c: Likewise.
41353         * libio/genops.c: Likewise.
41354         * libio/iofclose.c: Likewise.
41355         * libio/iofdopen.c: Likewise.
41356         * libio/iofopen.c: Likewise.
41357         * libio/iofopen64.c: Likewise.
41358         * libio/iogetdelim.c: Likewise.
41359         * libio/iopopen.c: Likewise.
41360         * libio/obprintf.c: Likewise.
41361         * libio/oldfileops.c: Likewise.
41362         * libio/oldiofclose.c: Likewise.
41363         * libio/oldiofdopen.c: Likewise.
41364         * libio/oldiofopen.c: Likewise.
41365         * libio/oldiopopen.c: Likewise.
41366         * libio/wfiledoalloc.c: Likewise.
41367         * libio/wgenops.c: Likewise.
41368         * locale/programs/xmalloc.c: Likewise.
41369         * misc/syslog.c: Likewise.
41370         * stdio-common/xbug.c: Likewise.
41371         * string/memchr.c: Likewise.
41372         * string/memcmp.c: Likewise.
41373         * string/memrchr.c: Likewise.
41374         * string/rawmemchr.c: Likewise.
41375         * sysdeps/posix/getcwd.c: Likewise.
41376         * time/strftime_l.c: Likewise.
41377
41378 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41379
41380         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41381         * config.make.in (config-cflags-sse2avx): Define.
41382         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41383         Fix typo.
41384
41385 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
41386
41387         * scripts/config.guess: Update from upstream config git repository.
41388         * scripts/config.sub: Likewise.
41389
41390 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
41391
41392         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41393         (EM_NUM): Update.
41394         (R_TILEPRO_*, R_TILEGX_*): New macros.
41395
41396         * scripts/firstversions.awk: Fix bug in version range handling.
41397
41398         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41399
41400         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41401
41402         * include/sys/epoll.h: New file.
41403         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41404         libc_hidden_def.
41405
41406 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
41407
41408         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41409         Avoid unnecessary __WORDSIZE == 64 test.
41410         (fmaxf): Use VEX format if possible.
41411         (fmax): Likewise.
41412         (fminf): Likewise.
41413         (fmin): Likewise.
41414
41415         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41416         * math/math_private.h: Remove libc_fegetround* and
41417         libc_fesetround*.
41418         * sysdeps/i386/configure.in: Check for -msse2avx.
41419         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41420         also if SSE2AVX is defined.
41421         Remove libc_fegetround* and libc_fesetround*.
41422         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41423         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
41424         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41425         of HAS_YMM_USABLE.
41426         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41427         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41428         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41429         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41430         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41431
41432         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41433
41434 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41435
41436         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41437         size is not set.
41438         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41439
41440 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
41441
41442         [BZ #13618]
41443         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41444         relocation.
41445         * Makeconfig (libm): Define.
41446         * elf/Makefile: Add rules to build and run tst-relsort1.
41447         * elf/tst-relsort1.c: New file.
41448         * elf/tst-relsort1mod1.c: New file.
41449         * elf/tst-relsort1mod2.c: New file.
41450
41451 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
41452
41453         * math/s_ldexp.c: Remove __STDC__ conditionals.
41454         * math/s_ldexpf.c: Likewise.
41455         * math/s_ldexpl.c: Likewise.
41456         * math/s_nextafter.c: Likewise.
41457         * math/s_nexttowardf.c: Likewise.
41458         * math/s_significand.c: Likewise.
41459         * math/s_significandf.c: Likewise.
41460         * math/s_significandl.c: Likewise.
41461         * math/w_jnl.c: Likewise.
41462         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41463         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41464         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41465         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41466         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41467         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41468         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41469         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41470         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41471         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41472         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41473         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41474         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41475         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41476         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41477         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41478         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41479         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41480         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41481         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41482         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41483         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41484         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41485         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41486         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41487         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41488         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41489         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41490         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41491         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41492         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41493         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41494         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41495         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41496         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41497         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41498         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41499         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41500         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41501         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41502         * sysdeps/ieee754/k_standard.c: Likewise.
41503         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41504         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41505         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41506         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41507         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41508         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41509         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41510         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41511         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41512         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41513         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41514         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41515         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41516         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41517         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41518         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41519         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41520         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41521         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41522         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41523         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41524         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41525         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41526         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41527         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41528         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41529         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41530         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41531         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41532         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41533         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41534         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41535         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41536         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41537         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41538         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41539         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41540         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41541         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41542         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41543         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41544         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41545         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41546         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41547         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41548         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41549         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41550         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41551         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41552         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41553         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41554         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41555         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41556         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41557         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41558         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41559         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41560         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41561         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41562         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41563         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41564         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41565         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41566         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41567         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41568         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41569         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41570         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41571         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41572         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41573         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41574         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41575         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41576         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41577         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41578         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41579         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41580         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41581         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41582         * sysdeps/ieee754/s_matherr.c: Likewise.
41583         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41584         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41585         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41586         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41587
41588 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41589
41590         * crypt/md5.h: Remove __STDC__ conditionals.
41591         * libio/libioP.h: Likewise.
41592         * locale/programs/config.h: Likewise.
41593         * sysdeps/generic/sysdep.h: Likewise.
41594         * sysdeps/i386/asm-syntax.h: Likewise.
41595         * sysdeps/s390/asm-syntax.h: Likewise.
41596         * sysdeps/unix/sysdep.h: Likewise.
41597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41599
41600 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41601
41602         * libio/libio.h: Remove __STDC__ conditionals.
41603         * malloc/obstack.h: Likewise.
41604         * math/complex.h: Likewise.
41605         * math/math.h: Likewise.
41606         * sysdeps/generic/_G_config.h: Likewise.
41607         * sysdeps/gnu/_G_config.h: Likewise.
41608         * sysdeps/mach/hurd/_G_config.h: Likewise.
41609         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41610         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41611         * sysdeps/sparc/bits/mathdef.h: Likewise.
41612
41613 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
41614
41615         [BZ #13583]
41616         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41617         Clean up HAS_* macros.
41618         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41619         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41620         possible.
41621         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41622         HAS_AVX.
41623         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41624         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41625         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41626         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41627         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41628
41629 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
41630
41631         * elf/tst-unique3.cc (gets): Remove declaration.
41632         * elf/tst-unique3lib.cc (gets): Likewise.
41633         * elf/tst-unique3lib2.cc (gets): Likewise.
41634         * elf/tst-unique4.cc (gets): Likewise.
41635
41636 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
41637
41638         * include/stdio.h: Add C++ protection.  Add gets declarations and
41639         definitions.
41640         * debug/tst-chk1.c: Don't declare gets here.
41641         * stdio-common/tst-gets.c: Likewise.
41642
41643 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41644
41645         * posix/glob: Remove directory.
41646
41647 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41648
41649         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41650
41651 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
41652
41653         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41654         of the non-standard EPFNOSUPPORT.
41655
41656 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41657
41658         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41659         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41660         ANYWHERE set to 1 only on KERN_NO_SPACE error.
41661
41662 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
41663
41664         * wcsmbs/uchar.h: Test __STDC_VERSION__.
41665
41666 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
41667
41668         * nscd/aicache.c (addhstaiX): Do not cache negative results of
41669         transient errors.
41670         * nscd/grpcache.c (cache_addgr): Likewise.
41671         * nscd/hstcache.c (cache_addhst): Likewise.
41672         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41673         * nscd/pwdcache.c (cache_addpw): Likewise.
41674         * nscd/servicescache.c (cache_addserv): Likewise.
41675
41676 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
41677
41678         * malloc/malloc.c: Various cleanups.
41679         * malloc/hooks.c: Likewise.
41680
41681         * stdlib/Makefile (tests): Add bug-fmtmsg1.
41682         * stdlib/bug-fmtmsg1.c: New file.
41683
41684         * stdlib/fmtmsg.c (init): Add missing unlock.
41685         Patch by Peng Haitao <penght@cn.fujitsu.com>.
41686
41687 2012-01-12  Marek Polacek  <polacek@redhat.com>
41688
41689         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41690         and _GNU_SOURCE.
41691
41692 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41693
41694         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41695         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41696         macro to ensure uniqueness of label name.
41697         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41698         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41699
41700 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
41701
41702         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41703
41704         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41705         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41706         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41707         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41708
41709 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
41710
41711         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41712
41713         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41714         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41715         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41716
41717         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41718
41719         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41720         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41721         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41722         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41723
41724         * math/bits/math-finite.h: Add ldexp support.
41725
41726 2012-01-10  Marek Polacek  <polacek@redhat.com>
41727
41728         * locale/programs/localedef.h (show_archive_content): Add noreturn
41729         attribute.
41730
41731 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
41732
41733         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41734
41735 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41736
41737         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41738
41739         * io/Makefile (headers): Add bits/poll2.h.
41740
41741 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
41742
41743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41744         typo #include statement.
41745
41746 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41747
41748         * include/sys/cdefs.h: Define __attribute_alloc_size.
41749         * catgets/gencat.c: Add alloc_size attribute and apply consistently
41750         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41751         * elf/pldd.c: Likewise.
41752         * iconv/iconv_charmap.c: Likewise.
41753         * iconv/iconvconfig.c: Likewise.
41754         * iconv/strtab.c: Likewise.
41755         * locale/programs/locale.c: Likewise.
41756         * locale/programs/localedef.h: Likewise.
41757         * locale/programs/simple-hash.c: Likewise.
41758         * nscd/nscd.h: Likewise.
41759         * nss/makedb.c: Likewise.
41760         * sysdeps/generic/ldconfig.h: Likewise.
41761         * locale/programs/localedef.c: Remove xmalloc prototype.
41762         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41763
41764 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41765
41766         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41767         appropriate.
41768
41769 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41770
41771         * math/Makefile (tests): Add tst-CMPLX.
41772         * math/tst-CMPLX.c: New file.
41773
41774         * math/complex.h (CMPLXL): Fix typo.
41775
41776         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41777         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41778         GLIBC_2.16.
41779         * debug/tst-chk1.c: Add poll and ppoll tests.
41780         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41781         * include/sys/poll.h: Add hidden proto for ppoll.
41782         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41783         * sysdeps/mach/hurd/ppoll.c: Likewise.
41784         * io/ppoll.c: Likewise.
41785         * debug/poll_chk.c: New file.
41786         * debug/ppoll_chk.c: New file.
41787         * include/bits/poll2.h: New file.
41788         * io/bits/poll2.h: New file.
41789
41790         [BZ #1350]
41791         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41792
41793         * configure.in: static is always set to yes.  Remove.
41794         * config.make.in: Don't set build-static.
41795         * Makeconfig: Remove use of build-static.
41796         * dlfcn/Makefile: Likewise.
41797         * elf/Makefile: Likewise.
41798         * math/Makefile: Likewise.
41799         * misc/Makefile: Likewise.
41800         * nptl/Makefile: Likewise.
41801         * sysdeps/mach/hurd/Makefile: Likewise.
41802
41803         * configure.in: PWD_P is not used anymore.
41804         * config.make.in: Remove PWD_P entry.
41805
41806         * configure.in: Remove last remnants of RANLIB.
41807         No need to check for signed size_t anymore.
41808         Don't set libc_commonpagesize and libc_relro_required here for Alpha
41809         and IA-64.
41810         Remove __builtin_expect test because we require at least gcc 3.4.
41811         * aclocal.m4: Likewise.
41812
41813         * wcsmbs/mbrtoc16.c: Implement using towc function.
41814         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41815         * wcsmbs/wcsmbsload.c: Likewise.
41816         * iconv/gconv_simple.c: Likewise.
41817         * iconv/gconv_int.h: Likewise.
41818         * iconv/gconv_builtin.h: Likewise.
41819         * iconv/iconv_prog.c: Remove CHAR16 handling.
41820
41821         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41822
41823         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41824
41825         * configure.in: Remove --with-elf and --enable-bounded options.
41826         Dont set base_machine for ia64.  More non-ELF conditions removed.
41827         Remove testing and setting of leading underscore information.
41828         * config.make.in (build-bounded): Set to no.
41829         * config.h.in: Remove NO_UNDERSCORES entry.
41830         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
41831         them.
41832         * csu/start.c: Remove !NO_UNDERSCORE code.
41833         * locale/localeinfo.h: Likewise.
41834         * sysdeps/generic/machine-gmon.h: Likewise.
41835         * sysdeps/generic/sysdep.h: Likewise.
41836         * sysdeps/i386/sysdep.h: Likewise.
41837         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41838         * sysdeps/mach/sysdep.h: Likewise.
41839         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41840         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41841         * sysdeps/sh/sysdep.h: Likewise.
41842         * sysdeps/sparc/sparc32/alloca.S: Likewise.
41843         * sysdeps/unix/i386/sysdep.S: Likewise.
41844         * sysdeps/unix/sparc/start.c: Likewise.
41845         * sysdeps/unix/sparc/sysdep.S: Likewise.
41846         * sysdeps/unix/sparc/sysdep.h: Likewise.
41847         * sysdeps/unix/start.c: Likewise.
41848         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41849         * sysdeps/x86_64/sysdep.h: Likewise.
41850
41851 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
41852
41853         [BZ #13553]
41854         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41855         for non-gcc.
41856         * argp/argp-fmtstream.h: Use const instead __const.
41857         * argp/argp.h: Likewise.
41858         * assert/assert.h: Likewise.
41859         * bits/fenv.h: Likewise.
41860         * bits/sched.h: Likewise.
41861         * bits/sigset.h: Likewise.
41862         * bits/sigthread.h: Likewise.
41863         * catgets/nl_types.h: Likewise.
41864         * conform/data/pthread.h-data: Likewise.
41865         * crypt/crypt-private.h: Likewise.
41866         * crypt/crypt.h: Likewise.
41867         * crypt/crypt_util.c: Likewise.
41868         * ctype/ctype.h: Likewise.
41869         * debug/execinfo.h: Likewise.
41870         * debug/mbsnrtowcs_chk.c: Likewise.
41871         * debug/mbsrtowcs_chk.c: Likewise.
41872         * debug/wcsnrtombs_chk.c: Likewise.
41873         * debug/wcsrtombs_chk.c: Likewise.
41874         * debug/wcstombs_chk.c: Likewise.
41875         * dirent/dirent.h: Likewise.
41876         * dlfcn/dlfcn.h: Likewise.
41877         * elf/neededtest4.c: Likewise.
41878         * grp/grp.h: Likewise.
41879         * gshadow/gshadow.h: Likewise.
41880         * iconv/gconv.h: Likewise.
41881         * iconv/gconv_int.h: Likewise.
41882         * iconv/gconv_simple.c: Likewise.
41883         * iconv/iconv.h: Likewise.
41884         * iconv/loop.c: Likewise.
41885         * iconv/skeleton.c: Likewise.
41886         * include/aio.h: Likewise.
41887         * include/aliases.h: Likewise.
41888         * include/argz.h: Likewise.
41889         * include/arpa/inet.h: Likewise.
41890         * include/assert.h: Likewise.
41891         * include/dirent.h: Likewise.
41892         * include/dlfcn.h: Likewise.
41893         * include/execinfo.h: Likewise.
41894         * include/fcntl.h: Likewise.
41895         * include/fenv.h: Likewise.
41896         * include/glob.h: Likewise.
41897         * include/grp.h: Likewise.
41898         * include/libintl.h: Likewise.
41899         * include/mntent.h: Likewise.
41900         * include/netdb.h: Likewise.
41901         * include/pwd.h: Likewise.
41902         * include/rpc/netdb.h: Likewise.
41903         * include/sched.h: Likewise.
41904         * include/search.h: Likewise.
41905         * include/shadow.h: Likewise.
41906         * include/signal.h: Likewise.
41907         * include/stdio.h: Likewise.
41908         * include/stdlib.h: Likewise.
41909         * include/string.h: Likewise.
41910         * include/sys/socket.h: Likewise.
41911         * include/sys/stat.h: Likewise.
41912         * include/sys/statfs.h: Likewise.
41913         * include/sys/statvfs.h: Likewise.
41914         * include/sys/syslog.h: Likewise.
41915         * include/sys/time.h: Likewise.
41916         * include/sys/uio.h: Likewise.
41917         * include/time.h: Likewise.
41918         * include/unistd.h: Likewise.
41919         * include/utmp.h: Likewise.
41920         * include/wchar.h: Likewise.
41921         * include/wctype.h: Likewise.
41922         * inet/aliases.h: Likewise.
41923         * inet/arpa/inet.h: Likewise.
41924         * inet/netinet/ether.h: Likewise.
41925         * inet/netinet/in.h: Likewise.
41926         * intl/libintl.h: Likewise.
41927         * io/bits/fcntl2.h: Likewise.
41928         * io/fcntl.h: Likewise.
41929         * io/ftw.h: Likewise.
41930         * io/sys/poll.h: Likewise.
41931         * io/sys/stat.h: Likewise.
41932         * io/sys/statfs.h: Likewise.
41933         * io/sys/statvfs.h: Likewise.
41934         * io/utime.h: Likewise.
41935         * libio/bits/stdio.h: Likewise.
41936         * libio/bits/stdio2.h: Likewise.
41937         * libio/libio.h: Likewise.
41938         * libio/libioP.h: Likewise.
41939         * libio/stdio.h: Likewise.
41940         * locale/lc-ctype.c: Likewise.
41941         * locale/locale.h: Likewise.
41942         * login/utmp.h: Likewise.
41943         * malloc/arena.c: Likewise.
41944         * malloc/malloc.c: Likewise.
41945         * malloc/malloc.h: Likewise.
41946         * malloc/mcheck.c: Likewise.
41947         * malloc/mtrace.c: Likewise.
41948         * math/bits/mathcalls.h: Likewise.
41949         * math/fenv.h: Likewise.
41950         * math/math_private.h: Likewise.
41951         * misc/bits/error.h: Likewise.
41952         * misc/bits/syslog.h: Likewise.
41953         * misc/err.h: Likewise.
41954         * misc/error.h: Likewise.
41955         * misc/fstab.h: Likewise.
41956         * misc/mntent.h: Likewise.
41957         * misc/regexp.h: Likewise.
41958         * misc/search.h: Likewise.
41959         * misc/sgtty.h: Likewise.
41960         * misc/sys/mman.h: Likewise.
41961         * misc/sys/syslog.h: Likewise.
41962         * misc/sys/uio.h: Likewise.
41963         * misc/sys/xattr.h: Likewise.
41964         * misc/ttyent.h: Likewise.
41965         * nis/rpcsvc/ypclnt.h: Likewise.
41966         * nss/nss.h: Likewise.
41967         * posix/bits/unistd.h: Likewise.
41968         * posix/fnmatch.h: Likewise.
41969         * posix/glob.h: Likewise.
41970         * posix/sched.h: Likewise.
41971         * posix/spawn.h: Likewise.
41972         * posix/sys/wait.h: Likewise.
41973         * posix/unistd.h: Likewise.
41974         * posix/wordexp.h: Likewise.
41975         * pwd/pwd.h: Likewise.
41976         * resolv/netdb.h: Likewise.
41977         * resource/sys/resource.h: Likewise.
41978         * rt/aio.h: Likewise.
41979         * rt/bits/mqueue2.h: Likewise.
41980         * rt/mqueue.h: Likewise.
41981         * shadow/shadow.h: Likewise.
41982         * signal/signal.h: Likewise.
41983         * socket/send.c: Likewise.
41984         * socket/sendto.c: Likewise.
41985         * socket/sys/socket.h: Likewise.
41986         * stdio-common/printf.h: Likewise.
41987         * stdlib/bits/stdlib.h: Likewise.
41988         * stdlib/fmtmsg.h: Likewise.
41989         * stdlib/monetary.h: Likewise.
41990         * stdlib/stdlib.h: Likewise.
41991         * stdlib/ucontext.h: Likewise.
41992         * streams/stropts.h: Likewise.
41993         * string/argz.h: Likewise.
41994         * string/bits/string2.h: Likewise.
41995         * string/string.h: Likewise.
41996         * string/strings.h: Likewise.
41997         * sunrpc/rpc/auth.h: Likewise.
41998         * sunrpc/rpc/auth_des.h: Likewise.
41999         * sunrpc/rpc/clnt.h: Likewise.
42000         * sunrpc/rpc/netdb.h: Likewise.
42001         * sunrpc/rpc/pmap_clnt.h: Likewise.
42002         * sunrpc/rpc/xdr.h: Likewise.
42003         * sysdeps/generic/inttypes.h: Likewise.
42004         * sysdeps/generic/net/if.h: Likewise.
42005         * sysdeps/generic/sys/swap.h: Likewise.
42006         * sysdeps/gnu/net/if.h: Likewise.
42007         * sysdeps/gnu/utmpx.h: Likewise.
42008         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42009         * sysdeps/i386/i486/bits/string.h: Likewise.
42010         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42011         * sysdeps/s390/bits/string.h: Likewise.
42012         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42013         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42014         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42015         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42016         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42017         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42018         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42019         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42020         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42021         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42022         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42023         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42024         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42025         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42026         * sysdeps/unix/sysv/linux/readv.c: Likewise.
42027         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42028         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42029         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42030         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42031         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42032         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42033         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42034         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42035         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42036         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42037         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42038         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42039         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42040         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42041         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42042         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42043         * sysvipc/sys/ipc.h: Likewise.
42044         * sysvipc/sys/msg.h: Likewise.
42045         * sysvipc/sys/sem.h: Likewise.
42046         * sysvipc/sys/shm.h: Likewise.
42047         * termios/termios.h: Likewise.
42048         * time/sys/time.h: Likewise.
42049         * time/time.h: Likewise.
42050         * wcsmbs/bits/wchar2.h: Likewise.
42051         * wcsmbs/uchar.h: Likewise.
42052         * wcsmbs/wchar.h: Likewise.
42053         * wctype/wctype.h: Likewise.
42054
42055         [BZ #13551]
42056         * Makeconfig: Remove all but ELF support including AIX support.
42057         * Makerules: Likewise.
42058         * config.h.in: Likewise.
42059         * config.make.in: Likewise.
42060         * configure: Likewise.
42061         * configure.in: Likewise.
42062         * csu/Makefile: Likewise.
42063         * csu/version.c: Likewise.
42064         * debug/Makefile: Likewise.
42065         * dlfcn/Makefile: Likewise.
42066         * elf/Makefile: Likewise.
42067         * extra-lib.mk: Likewise.
42068         * iconv/Makefile: Likewise.
42069         * include/libc-symbols.h: Likewise.
42070         * include/shlib-compat.h: Likewise.
42071         * resolv/Makefile: Likewise.
42072         * resolv/res_libc.c: Likewise.
42073         * rt/Makefile: Likewise.
42074         * sysdeps/i386/asm-syntax.h: Likewise.
42075         * sysdeps/i386/sysdep.h: Likewise.
42076         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42077         * sysdeps/mach/sysdep.h: Likewise.
42078         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42079         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42080         * sysdeps/s390/asm-syntax.h: Likewise.
42081         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42082         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42083         * sysdeps/sh/sysdep.h: Likewise.
42084         * sysdeps/unix/sparc/sysdep.h: Likewise.
42085         * sysdeps/wordsize-32/divdi3.c: Likewise.
42086         * sysdeps/x86_64/sysdep.h: Likewise.
42087
42088         * argp/Versions: Remove _argp_unlock_xxx.
42089
42090         [BZ #13559]
42091         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
42092         * abilist/libBrokenLocale.abilist: Likewise.
42093         * abilist/libanl.abilist: Likewise.
42094         * abilist/libc.abilist: Likewise.
42095         * abilist/libcrypt.abilist: Likewise.
42096         * abilist/libdl.abilist: Likewise.
42097         * abilist/libm.abilist: Likewise.
42098         * abilist/libnsl.abilist: Likewise.
42099         * abilist/libpthread.abilist: Likewise.
42100         * abilist/libresolv.abilist: Likewise.
42101         * abilist/librt.abilist: Likewise.
42102         * abilist/libthread_db.abilist: Likewise.
42103         * abilist/libutil.abilist: Likewise.
42104         * abilist/libnss_db.abilist: New file.
42105
42106         * scripts/abilist.awk: Add support for indirect functions.
42107
42108         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42109
42110         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42111
42112         * shlib-versions: Remove entries for ports architectures.
42113
42114         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
42115         files in ports.
42116         * elf/stackguard-macros.h: Remove support for IA-64.
42117         * elf/tst-auditmod1.c: Likewise.
42118         * sysdeps/generic/ldsodefs.h: Likewise.
42119
42120         * sysdeps/unix/sysv/linux/configure.in: Ports should define
42121         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42122         configure files.
42123
42124         [BZ #13552]
42125         * configure.in: Remove --enable-omitfp support.
42126         * FAQ.in: Adjust.
42127         * config.make.in: Likewise.
42128         * Makeconfig: Likewise.
42129         * manual/install.texi: Likewise.
42130
42131         In case anyone cares, the IA-64 architecture could move to ports.
42132         * sysdeps/ia64/*: Removed.
42133         * sysdeps/unix/sysv/linux/ia64/*: Removed.
42134         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42135
42136         [BZ #13555]
42137         * configure.in: Remove entries for unsupported architectures.
42138
42139         [BZ #13533]
42140         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42141         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
42142         routines.
42143         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42144         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42145         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
42146         fall back to using wcrtomb.
42147         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42148         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
42149         renaming.
42150         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42151         * wcsmbs/tst-c16c32-1.c: New file.
42152
42153         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42154         local variable.
42155
42156         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42157
42158         * elf/tst-unique3.cc: Add explicit declaration of gets.
42159         * elf/tst-unique3lib.cc: Likewise.
42160         * elf/tst-unique3lib2.cc: Likewise.
42161         * elf/tst-unique4.cc: Likewise.
42162
42163         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42164
42165 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
42166
42167         [BZ #13566]
42168         * assert/assert.h (static_assert): Don't define for C++.
42169         * libio/stdio.h (gets): Do declare for C++ <= C++11.
42170         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42171
42172 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
42173
42174         * iconv/loop.c (single loop): Fix assertion in storing of
42175         remaining bytes.
42176
42177         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42178
42179 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
42180
42181         * posix/getconf.c: Update copyright year.
42182         * nss/getent.c: Likewise.
42183         * nss/makedb.c: Likewise.
42184         * iconv/iconvconfig.c: Likewise.
42185         * iconv/iconv_prog.c: Likewise.
42186         * elf/ldconfig.c: Likewise.
42187         * elf/pldd.c: Likewise.
42188         * elf/sotruss.ksh: Likewise.
42189         * catgets/gencat.c: Likewise.
42190         * csu/version.c: Likewise.
42191         * elf/ldd.bash.in: Likewise.
42192         * elf/sprof.c (print_version): Likewise.
42193         * locale/programs/locale.c: Likewise.
42194         * locale/programs/localedef.c: Likewise.
42195         * login/programs/pt_chown.c: Likewise.
42196         * nscd/nscd.c (print_version): Likewise.
42197         * debug/xtrace.sh: Likewise.
42198         * malloc/memusage.sh: Likewise.
42199         * malloc/mtrace.pl: Likewise.
42200         * debug/catchsegv.sh: Likewise.
42201
42202 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
42203
42204         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42205         pure attribute.
42206
42207 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
42208
42209         [BZ #13533]
42210         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42211         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42212         transformations.
42213         * iconv/gconv_int.h: Likewise.
42214         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42215         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42216         from libc for GLIBC_2.16.
42217         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42218         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42219         * wcsmbs/uchar.h: Really define mbstate_t.
42220         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42221         * wcsmbs/c16rtomb.c: New file.
42222         * wcsmbs/mbrtoc16.c: New file.
42223         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42224         for C/POSIX locale.
42225         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42226         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42227
42228         * wcsmbs/wchar.h: Add missing __restrict.
42229
42230 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42231
42232         [BZ #13532]
42233         * time/Makefile (routines): Add timespec_get.
42234         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42235         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
42236         timespec for ISO C11.
42237         * time/timespec_get.c: New file.
42238         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42239         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42240
42241         [BZ #13531]
42242         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42243         * stdlib/stdlib.h: Declare aligned_alloc.
42244         * Versions.def: Add GLIBC_2.16 for libc.
42245         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42246
42247         [BZ 13527]
42248         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42249         ISO C11.
42250
42251         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42252         code.
42253
42254         [BZ #13528]
42255         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42256
42257         [BZ #13529]
42258         * assert/assert.h (static_assert): Define.
42259
42260         * version.h: Update for 2.16 development version.
42261
42262         [BZ #13526]
42263         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42264         _ISOC11_SOURCE.
42265
42266         * version.h (RELEASE): Bump for 2.15 release.
42267         * include/features.h (__GLIBC_MINOR__): Bump to 15.
42268
42269         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42270         Patch by Marek Polacek <mpolacek@redhat.com>.
42271
42272         * bits/byteswap.h: Protect long long constants with __extension__.
42273         * sysdeps/i386/bits/byteswap.h: Likewise.
42274         * sysdeps/ia64/bits/byteswap.h: Likewise.
42275         * sysdeps/s390/bits/byteswap.h: Likewise.
42276         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42277
42278 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42279
42280         [BZ #13540]
42281         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42282         destination buffer.
42283         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42284
42285 2011-12-23  Marek Polacek  <polacek@redhat.com>
42286
42287         * elf/dl-addr.c (determine_info): Add inline keyword.
42288         * elf/tst-auditmod4b.c (check_avx): Likewise.
42289         * elf/tst-auditmod6b.c (check_avx): Likewise.
42290         * elf/tst-auditmod6c.c (check_avx): Likewise.
42291         * elf/tst-auditmod7b.c (check_avx): Likewise.
42292
42293 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42294
42295         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42296         !__SSE_MATH__.
42297
42298 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42299
42300         [BZ #13540]
42301         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42302         processing for last bytes.
42303
42304 2011-08-06  Bruno Haible  <bruno@clisp.org>
42305
42306         [BZ #13061]
42307         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42308         U+0385, not to U+1FEE.
42309
42310         [BZ #13062]
42311         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42312         entry for U+00A5 U+0301.
42313
42314 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42315
42316         [BZ #13166]
42317         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42318         buffer for the output is too small.
42319
42320         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42321         optimization.
42322
42323         [BZ #13185]
42324         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42325         SSE flags if possible.
42326
42327 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42328
42329         [BZ #13540]
42330         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42331         processing for last bytes.
42332
42333 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
42334
42335         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42336         (syscall-list-default-options, syscall-list-default-condition)
42337         (syscall-list-includes): Define.
42338         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42339         list of ABIs and options and #if conditions for each ABI.  Do not
42340         handle common syscalls between ABIs specially.
42341         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42342         Remove.
42343         (syscall-list-variants, syscall-list-32bit-options)
42344         (syscall-list-32bit-condition, syscall-list-64bit-options)
42345         (syscall-list-64bit-condition): Define.
42346         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42347         (syscall-list-variants, syscall-list-32bit-options)
42348         (syscall-list-32bit-condition, syscall-list-64bit-options)
42349         (syscall-list-64bit-condition): Define.
42350         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42351         Remove.
42352         (syscall-list-variants, syscall-list-32bit-options)
42353         (syscall-list-32bit-condition, syscall-list-64bit-options)
42354         (syscall-list-64bit-condition): Define.
42355         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42356         Remove.
42357         (syscall-list-variants, syscall-list-32bit-options)
42358         (syscall-list-32bit-condition, syscall-list-64bit-options)
42359         (syscall-list-64bit-condition): Define.
42360
42361 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42362
42363         * locale/iso-639.def: Add brx entry.
42364
42365         [BZ #13328]
42366         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42367         Proposed by Mariusz_Cukr <marcukr@op.pl>.
42368
42369         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42370         __feraiseexcept_renamed.
42371
42372 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42373
42374         [BZ #13538]
42375         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42376         EPOLLET with unsigned values.
42377         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42378         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42379
42380         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42381         to large cancellation.
42382         * math/s_cacoshf.c: Likewise.
42383         * math/s_cacoshl.c: Likewise.
42384
42385 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
42386
42387         [BZ #13305]
42388         [BZ #12786]
42389         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42390         * math/s_cacoshf.c: Likewise.
42391         * math/s_cacoshl.c: Likewise.
42392
42393 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42394
42395         [BZ #13439]
42396         * iconv/gconv.h: Define __GCONV_SWAP.
42397         * iconvdata/unicode.c: The swap bit must be stored in __flags.
42398         * iconvdata/utf-16.c: Likewise.
42399         * iconvdata/utf-32.c: Likewise.
42400
42401 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
42402
42403         [BZ #13524]
42404         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42405         numerator after shifting it by one limb.
42406
42407 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
42408
42409         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42410         under [__USE_EXTERN_INLINES].
42411
42412 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42413
42414         [BZ #13446]
42415         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42416
42417 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42418
42419         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42420         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42421         optimized code.
42422         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42423         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42424         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42425         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42426         for strncasecmp/strncasecmp_l compilation.
42427         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42428         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42429
42430 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
42431
42432         [BZ #13484]
42433         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42434         of __asm__.
42435
42436 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42437
42438         [BZ #13506]
42439         * time/tzfile.c (__tzfile_read): Check values from file header.
42440
42441 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
42442
42443         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42444         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42445         * powerpc/powerpc32/dl-start.S: Likewise.
42446         * powerpc/powerpc32/elf/start.S: Likewise.
42447         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42448         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42449         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42450         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42451         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42452         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42453         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42454         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42455         * powerpc/powerpc32/fpu/s_round.S: Likewise.
42456         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42457         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42458         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42459         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42460         * powerpc/powerpc32/memset.S: Likewise.
42461         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42462         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42463         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42464         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42465         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42466         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42467         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42468         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42469         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42470         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42471         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42472         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42473         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42474
42475 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42476
42477         * math/libm-test.inc: Added more nearbyint tests.
42478         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42479         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42480         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42481         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42482
42483 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
42484
42485         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42486         FD_CLOEXEC.
42487
42488 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42489
42490         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42491         Add wcscpy-ssse3 wcscpy-c.
42492         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42493         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42494         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42495         * sysdeps/x86_64/wcschr.S: New file.
42496         * sysdeps/x86_64/wcsrchr.S: New file.
42497         * string/test-strcmp.c: Remove checking of wcscmp function for
42498         wrong alignments.
42499         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42500         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42501         wcsrchr-sse2 wcsrchr-c.
42502         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42503         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42504         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42505         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42506         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42507         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42508         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42509         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42510         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42511         * wcsmbc/wcschr.c (WCSCHR): New macro.
42512
42513 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42514
42515         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42516         * wcsmbs/test-wcsrchr.c: New file.
42517         * string/test-strrchr.c: Add wcsrchr support.
42518         (WIDE): New macro.
42519         * wcsmbs/test-wcscpy.c: New file.
42520         * string/test-strcpy.c: Add wcscpy support.
42521         (WIDE): New macro.
42522
42523 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
42524
42525         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42526         the inner loop.
42527
42528 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
42529
42530         [BZ #13472]
42531         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42532
42533 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
42534
42535         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42536         Minor optimizations.
42537
42538         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42539         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42540         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42541
42542 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
42543
42544         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42545         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42546         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42547         for gcc to avoid warnings.
42548         * inet/Makefile (tests): Add tst-checks.
42549         * inet/tst-checks.c: New file.
42550
42551         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42552         warning.
42553
42554         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42555         __wmemcmp_sse2.
42556
42557         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42558         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42559
42560         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42561
42562 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
42563
42564         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42565         problem.
42566
42567         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42568
42569 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
42570
42571         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42572         conditional on GCC version.
42573         (__arch_compare_and_exchange_val_8_acq)
42574         (__arch_compare_and_exchange_val_16_acq)
42575         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42576         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42577         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42578
42579 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
42580
42581         * sysdeps/sh/backtrace.c: New file.
42582
42583 2011-12-02  Andreas Schwab  <schwab@redhat.com>
42584
42585         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
42586         parenthesis.
42587
42588 2011-12-01  Andreas Schwab  <schwab@redhat.com>
42589
42590         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42591         falling back to utime.
42592
42593 2011-11-30  Andreas Schwab  <schwab@redhat.com>
42594
42595         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42596         expectations for float.
42597
42598 2011-11-29  Andreas Schwab  <schwab@redhat.com>
42599
42600         * locale/weight.h (findidx): Add parameter len.
42601         * locale/weightwc.h (findidx): Likewise.
42602         * posix/fnmatch_loop.c (FCT): Adjust caller.
42603         * posix/regcomp.c (build_equiv_class): Likewise.
42604         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42605         * posix/regexec.c (check_node_accept_bytes): Likewise.
42606         * string/strcoll_l.c (STRCOLL): Likewise.
42607         * string/strxfrm_l.c (STRXFRM): Likewise.
42608
42609 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
42610
42611         * Makefile.in: Remove CVSOPT handling.
42612         * configure.in: Remove use of AC_REVISION.
42613         * iconvdata/Makefile (distribute): No need to filter out CVS.
42614         * scripts/list-sources.sh: Remove CVS, subversion and monotone
42615         handling.
42616
42617 2011-11-16  Andreas Schwab  <schwab@redhat.com>
42618
42619         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42620         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42621         [USE_AS_STRNCASECMP_L]: Likewise.
42622         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42623         NO_TLS_DIRECT_SEG_REFS.
42624         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42625         Fix argument offsets for non-PIC.
42626         [USE_AS_STRNCASECMP_L]: Likewise.
42627         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42628         NO_TLS_DIRECT_SEG_REFS.
42629
42630 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42631
42632         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42633         O_CLOEXEC.
42634         * locale/loadlocale.c (_nl_load_locale): Likewise.
42635
42636 2011-11-15  Andreas Schwab  <schwab@redhat.com>
42637
42638         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42639         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42640         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42641         (SYSCALL_GETTIME): Set errno on error.
42642
42643         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42644         count references to noai6ai_cached.
42645
42646 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42647
42648         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42649
42650         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42651         FD_CLOEXEC for /proc/self/maps.
42652
42653         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42654         FD_CLOEXEC for /proc/meminfo.
42655
42656         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42657         gai.conf.
42658
42659         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
42660         FD_CLOEXEC for given file.
42661
42662         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42663
42664         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42665         FD_CLOEXEC for /etc/hosts.
42666         (_gethtent): Likewise.
42667
42668         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42669
42670         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42671         cancellation and set FD_CLOEXEC for /etc/netgroup.
42672
42673         * nss/nss_files/files-key.c (search): Don't allow cancellation when
42674         reading /etc/publickey.
42675
42676         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42677         allow cancellation when reading /etc/group.
42678
42679         * nss/nss_files/files-alias.c (internal_setent): Don't allow
42680         cancellation.
42681         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
42682
42683         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42684         when using data file.
42685
42686         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42687
42688         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42689         (write_nis_obj): Use "c" and "e" in fopen.
42690
42691         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42692
42693         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42694
42695         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42696
42697         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42698
42699         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42700         locale.alias.
42701
42702         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42703
42704         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42705
42706         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42707
42708         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42709         file parsing and set FD_CLOEXEC.
42710
42711 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42712
42713         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42714
42715 2011-11-14  Andreas Schwab  <schwab@redhat.com>
42716
42717         * malloc/arena.c (arena_get2): Don't call reused_arena when
42718         _int_new_arena failed.
42719
42720 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42721
42722         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42723         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42724         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42725         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42726         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42727         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42728         to compile strcasecmp and strncasecmp.
42729         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42730         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42731
42732         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42733
42734 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
42735
42736         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42737         locale-defines.sym to gen-as-const-headers.
42738         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42739         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42740         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42741         to compile strcasecmp and strncasecmp.
42742         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42743         strcasecmp_l and strncasecmp_l.
42744         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42745         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42746         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42747         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42748         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42749         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42750         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42751         * sysdeps/i386/i686/multiarch/strncase.S: New file.
42752         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42753         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42754         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42755
42756 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
42757
42758         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42759         result of SYSDEP_GETTIME_CPU to retval.
42760         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42761         parameter list to macro.  Remove trailing semicolon.  Adjust users.
42762
42763         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42764         variable.
42765
42766         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42767         mantissa words.
42768         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42769
42770         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42771         from unused variable.
42772
42773         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42774         DWARF definitions.
42775         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42776         for assembling.
42777
42778         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42779         over namespaces.
42780
42781         * sunrpc/rpc_prot.c (rejected): Fix case value.
42782
42783         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42784         unsigned long long int to avoid warnings in shift.
42785
42786         * posix/regex_internal.c (re_string_reconstruct): Actually use result
42787         of use of trans.
42788         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42789         variable tmp.
42790
42791         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42792         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42793         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42794
42795         * nis/nis_table.c (nis_list): Use variable of correct type for
42796         result of __follow_path call.
42797
42798 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42799
42800         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42801         of math functions ceil, trunc, floor, round, and sqrt, when
42802         avaliable on the platform.
42803         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42804         name clash.
42805         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42806         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42807         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42808
42809 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
42810
42811         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42812         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42813
42814 2011-11-11  Roland McGrath  <roland@hack.frob.com>
42815
42816         * include/unistd.h: Fix __readlink return type.
42817         Reported by Chris Metcalf <cmetcalf@tilera.com>.
42818
42819 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
42820
42821         * stdlib/ucontext.h: Undo last change for makecontext.
42822
42823 2011-11-11  Andreas Schwab  <schwab@redhat.com>
42824
42825         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42826
42827         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42828         * setjmp/setjmp.h: Mark functions as non-leaf.
42829         * setjmp/bits/setjmp2.h: Likewise.
42830         * stdlib/ucontext.h: Likewise.
42831
42832 2011-11-10  Andreas Schwab  <schwab@redhat.com>
42833
42834         * malloc/arena.c (_int_new_arena): Don't increment narenas.
42835         (reused_arena): Don't check arena limit.
42836         (arena_get2): Atomically check arena limit.
42837
42838 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
42839
42840         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42841         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42842
42843         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42844         instructions.
42845
42846 2011-11-07  Andreas Schwab  <schwab@redhat.com>
42847
42848         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42849         handler when locking.
42850
42851         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42852         Fix size of allocated buffer.
42853
42854 2011-11-04  Andreas Schwab  <schwab@redhat.com>
42855
42856         [BZ #10103]
42857         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42858         declarations for long double functions.
42859         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42860
42861         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42862
42863 2011-11-03  Andreas Schwab  <schwab@redhat.com>
42864
42865         * nscd/nscd.c (main): Don't start AVC thread until credentials are
42866         installed.
42867
42868         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42869         is disabled.
42870
42871 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42872
42873         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42874
42875 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42876
42877         * include/alloca.h (stackinfo_alloca_round): Define.
42878         (extend_alloca): Use it.
42879         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42880         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42881         here.
42882
42883         * scripts/check-local-headers.sh: Ignore libaudit.h.
42884
42885         * nscd/Makefile (extra-objs): Make recursively expanded.
42886
42887 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
42888
42889         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42890         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42891
42892         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42893         * posix/tst-rfc3484-2.c: Likewise.
42894         * posix/tst-rfc3484-3.c: Likewise.
42895
42896         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42897         process_vm_writev.
42898         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42899         process_vm_writev.
42900         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42901         process_vm_writev from libc using GLIBC_2.15 version.
42902
42903         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42904
42905 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
42906
42907         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42908         stack usage.
42909
42910 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
42911
42912         [BZ #13367]
42913         * nss/getent.c (initgroups_keys): Show error message in case no group
42914         names are given.
42915
42916         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42917         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42918         __bump_nl_timestamp.
42919         * nscd/connections (nscd_init): When host database is served open
42920         netlink socket and request notification about configuration changes.
42921         (main_loop_poll): Track netlink file descriptor and bump timestamp
42922         in case data becomes available.
42923         (main_loop_epoll): Likewise.
42924         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42925         (database_pers_head): Add extra_data fileds.
42926         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42927         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42928         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42929         Adjust caller.
42930         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42931         in6ai data, call __free_in6ai.
42932         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42933         Add -DHAVE_NETLINK.
42934         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
42935         interface information.  Reuse previous data if netlink timestamp
42936         is not changed.
42937         (__bump_nl_timestamp): New function.
42938         (__free_in6ai): New function.
42939
42940 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
42941
42942         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42943         close_not_cancel_no_status here.
42944         (__check_pf): Reorganize code a bit to not call close twice if OOM.
42945
42946 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42947
42948         [BZ #13276]
42949         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42950         return value.
42951
42952         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42953         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42954         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42955
42956 2011-07-03  Andreas Jaeger  <aj@suse.de>
42957
42958         [BZ #10709]
42959         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42960         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42961         * math/libm-test.inc (sin_test): Add test case.
42962
42963 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42964
42965         [BZ #13337]
42966         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42967         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42968
42969         * elf/chroot_canon.c (chroot_canon): Cleanups.
42970
42971         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42972
42973         [BZ #13335]
42974         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42975         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42976
42977         * string/test-strchr.c: Make usable for strchrnul testing.
42978         * string/test-strchrnul.c: New file.
42979         * string/Makefile (strop-tests): Add strchrnul.
42980
42981         * po/it.po: Update from translation team.
42982         * po/es.po: Likewise.
42983
42984 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
42985
42986         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42987         the three constants needed as parameters.  Drop the others.
42988         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42989         __m128i_strloadu_tolower.
42990         Create and initialize variable zero and use it in all the places
42991         where _mm_setzero_si128 was used.
42992
42993         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42994         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42995         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42996         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42997         anymore.
42998         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42999         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43000         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43001         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43002         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43003         __mpranred, __mptan.
43004         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43005         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43006         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43007         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43008         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43009         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43010         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43011         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43012         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43013
43014 2011-10-28  Andreas Schwab  <schwab@redhat.com>
43015
43016         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43017         redefine if SHARED.
43018         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43019
43020         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43021         wide char related routines to wcsmbs subdir.
43022
43023 2011-10-27  Andreas Schwab  <schwab@redhat.com>
43024
43025         [BZ #13344]
43026         * misc/sys/cdefs.h (__THROWNL): Define.
43027         * posix/unistd.h: Use __THREADNL instead of __THREAD
43028         for memory synchronization functions.
43029
43030 2011-10-26  Roland McGrath  <roland@hack.frob.com>
43031
43032         [BZ #13349]
43033         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43034         doesn't exist.
43035         * manual/stdio.texi (Obstack Streams): Node removed.
43036
43037 2011-10-26  Andreas Schwab  <schwab@redhat.com>
43038
43039         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43040         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43041         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43042
43043         * math/math_private.h (math_force_eval): Allow non-addressable
43044         arguments.
43045         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43046
43047 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43048
43049         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43050         file is not needed.
43051
43052         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43053         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43054         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43055         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43056         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43057         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43058         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43059         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43060         Add AVX variants.
43061         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43062         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43063         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43064         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43065         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43066         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43067         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43068         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43069         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43070         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43071         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43072         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43073         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43074         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43075         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43076         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43077         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43078         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43079         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43080
43081         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43082         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
43083
43084         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43085         place.  Use VEX encoding when compiling for AVX.
43086
43087 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43088
43089         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43090         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43091
43092         * string/test-strchr.c (do_test): Don't generate NUL bytes.
43093
43094 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43095
43096         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43097         useless if() expression.
43098         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43099         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43100         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43101         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43102         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43103         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43104         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43105         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43106         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43107         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43108         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43109         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43110         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43111         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43112         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43113         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43114         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43115         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43116         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43117
43118         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43119
43120 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43121
43122         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43123         condition.
43124         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43125
43126 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43127
43128         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43129         .text section.  Avoid duplicate constants.
43130         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43131         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43132         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43133         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43134         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43135         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43136         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43137         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43138         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43139         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43140         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43141         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43142         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43143         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43144         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43145         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43146         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43147         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43148         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43149         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43150         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43151         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43152         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43153         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43154         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43155         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43156         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43157         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43158         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43159         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43160         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43161         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43162         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43163         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43164         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43165         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43166         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43167         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43168         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43169         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43170         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43171         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43172         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43173         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43174         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43175
43176 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
43177
43178         * sysdeps/x86_64/dla.h: Move to ...
43179         * sysdeps/x86_64/fpu/dla.h: ...here.
43180         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43181         situations.  Use __builtin_fma only for gcc 4.6 and up.
43182
43183         * config.make.in: Add have-mfma4 entry.
43184         * configure.in: Substitute libc_cv_cc_fma4.
43185         * math/Makefile (dbl-only-routines): Add sincostab.
43186         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43187         Use __sincostab not sincos.
43188         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43189         name is a macro.
43190         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43191         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43192         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43193         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
43194         using __copysign.
43195         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
43196         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
43197         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43198         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43199         and __inv.
43200         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43201         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43202         __copysign.
43203         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
43204         define aliases when function name is a macro.
43205         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43206         sysdeps/ieee754/dbl-64/sincos.tbl.
43207         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43208         fma4-enabled routines.
43209         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43210         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43211         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43212         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43213         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43214         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43215         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43216         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43217         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43218         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43219         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43220         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43221         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43222         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43223         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43224         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43225         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43226         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43227         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43228         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43229         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43230         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43231         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43232         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43233         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43234         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43235         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43236         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43237         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43238         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43239
43240         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43241         rename.
43242         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43243         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43244         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43245         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43246         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43247         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43248         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43249         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43250
43251 2011-10-24  Andreas Schwab  <schwab@redhat.com>
43252
43253         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43254
43255 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43256
43257         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43258
43259         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43260         prediction.
43261         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43262
43263         * string/strnlen.c: Don't define STRNLEN, reverse logic.
43264         Remove unused variable magic_bits.
43265         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43266
43267         * string/strnlen.c: Define and use STRNLEN macro.
43268         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43269         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43270         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43271         * wcsmbs/wcslen.c: Define and use WCSLEN.
43272         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43273         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43274         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43275         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43276         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43277         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43278         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43279
43280 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43281
43282         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43283         strnlen-sse2-no-bsf.
43284         Rename strlen-no-bsf to strlen-sse2-no-bsf.
43285         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43286         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43287         Add strnlen support.
43288         (USE_AS_STRNLEN): New macro.
43289         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43290         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43291         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43292         * sysdeps/x86_64/wcslen.S: New file.
43293
43294 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
43295
43296         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43297         XMM-moves are used for copying on small sizes.
43298
43299 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43300
43301         * wcsmbs/Makefile (strop-tests): Add wcschr.
43302         * wcsmbs/test-wcschr.c: New file.
43303         * string/test-strchr.c: Update.
43304         Add wcschr support.
43305         (WIDE): New macro.
43306
43307 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43308
43309         * wcsmbs/Makefile (strop-tests): Add wcslen.
43310         * wcsmbs/test-wcslen.c: New file.
43311         * string/test-strlen.c: Update.
43312         Add wcslen support.
43313         (WIDE): New macro.
43314
43315 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43316
43317         * po/it.po: Update from translation team.
43318
43319 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43320
43321         * sysdeps/x86_64/wcscmp.S: Update.
43322         Fix wrong comparison semantics.
43323         wcscmp shall use signed comparison not unsigned.
43324         Don't use substraction to avoid overflow bug.
43325         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43326         * wcsmbc/wcscmp.c: Likewise.
43327         * string/test-strcmp.c: Likewise.
43328         Add new tests to check cases with negative values.
43329
43330 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43331
43332         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43333         * sysdeps/x86_64/dla.h: ...here.  New file.
43334         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43335         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43336         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43337         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43338         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43339         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43340         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43341         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43342         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43343
43344 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
43345
43346         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43347         __ynl_finite aliases.
43348
43349 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43350
43351         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43352
43353         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43354         define DLA_FMA.
43355         [DLA_FMA] (EMULV): Use DLA_FMA.
43356         [DLA_FMA] (MUL12): Use EMULV.
43357         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43358         that are not needed.
43359         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43360         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43361         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43362         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43363         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43364         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43365         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43366
43367 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
43368
43369         * math/s_nan.c: Undef __nan.
43370         * math/s_nanf.c: Undef __nanf.
43371         * math/s_nanl.c: Undef __nanl.
43372         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43373         "math_private.h".
43374
43375 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43376
43377         * math/s_catan.c: Add branch predictions.
43378         * math/s_catanf.c: Likewise.
43379         * math/s_catanh.c: Likewise.
43380         * math/s_catanhf.c: Likewise.
43381         * math/s_catanhl.c: Likewise.
43382         * math/s_catanl.c: Likewise.
43383         * math/s_cexp.c: Likewise.
43384         * math/s_cexpf.c: Likewise.
43385         * math/s_cexpl.c: Likewise.
43386         * math/s_clog.c: Likewise.
43387         * math/s_clog10.c: Likewise.
43388         * math/s_clog10f.c: Likewise.
43389         * math/s_clog10l.c: Likewise.
43390         * math/s_clogf.c: Likewise.
43391         * math/s_clogl.c: Likewise.
43392         * math/s_csqrt.c: Likewise.
43393         * math/s_csqrtf.c: Likewise.
43394         * math/s_csqrtl.c: Likewise.
43395         * math/s_ctanf.c: Likewise.
43396         * math/s_ctanh.c: Likewise.
43397         * math/s_ctanhf.c: Likewise.
43398         * math/s_ctanhl.c: Likewise.
43399         * math/s_ctanl.c: Likewise.
43400
43401         * math/math_private.h: Define __nan, __nanf, __nanl.
43402         * math/s_cacosh.c: Include <math_private.h>.
43403         * math/s_cacoshl.c: Likewise.
43404         * math/s_casinh.c: Likewise.
43405         * math/s_casinhf.c: Likewise.
43406         * math/s_casinhl.c: Likewise.
43407         * math/s_ccos.c: Rely entire on ccosh.
43408         * math/s_ccosf.c: Rely entire on ccoshf.
43409         * math/s_ccosl.c: Rely entirely on ccoshl.
43410         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
43411         Remove tests for FE_INVALID.
43412         * math/s_ccoshf.c: Likewise.
43413         * math/s_ccoshl.c: Likewise.
43414         * math/s_csin.c: Likewise.
43415         * math/s_csinf.c: Likewise.
43416         * math/s_csinh.c Likewise.
43417         * math/s_csinhf.c: Likewise.
43418         * math/s_csinhl.c: Likewise.
43419         * math/s_csinl.c: Likewise.
43420         * math/s_ctan.c: Likewise.
43421         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43422         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43423         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43424
43425 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
43426
43427         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43428         compilation problems.
43429
43430         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43431         __builtin_expect.
43432
43433 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
43434
43435         * sysdeps/i386/configure.in: Test for -mfma4 option.
43436         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43437         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43438         COMMON_CPUID_INDEX_80000001.
43439         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43440         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43441         use it if FMA3 is not supported.
43442         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43443
43444         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43445         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43446
43447 2011-10-20  Andreas Schwab  <schwab@redhat.com>
43448
43449         [BZ #12892]
43450         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43451         it would create a cycle with a link time dependency.
43452
43453 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
43454
43455         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43456         instruction.
43457         * string/Makefile (strop-tests): Add rawmemchr.
43458         * string/test-rawmemchr.c: New file.
43459
43460         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43461         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
43462         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
43463         when compiling str{,n}casecmp and when AVX is available.  Hook up
43464         new optimized code in initializers.
43465
43466 2011-10-19  Andreas Schwab  <schwab@redhat.com>
43467
43468         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43469         __feraiseexcept instead of feraiseexcept.
43470
43471 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
43472
43473         * math/math_private.h: Define defaults for libc_fetestexcept and
43474         libc_feupdateenv.
43475         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43476         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43477         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43478         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43479         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43480         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43481         libc_fetestexcept and libc_feupdateenv.
43482
43483         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43484         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43485         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43486         * sysdeps/x86_64/fpu/math_private.h: Define special version of
43487         libc_feholdexcept_setround.
43488
43489         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43490         Add s_nearbyint-c and s_nearbyintf-c.
43491         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43492         nearbyintf inlines.
43493         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43494         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43495         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43496         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43497
43498         * math/math_private.h: Define defaults for libc_fegetround,
43499         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43500         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43501         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43502         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43503         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43504         standard functions.
43505         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43506         Remove comments and hacks for old compiler versions.
43507         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43508         libc_fegetround, libc_fesetround, libc_feholdexcept, and
43509         libc_feholdexceptl.
43510
43511 2011-10-18  Andreas Schwab  <schwab@redhat.com>
43512
43513         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43514         (__feraiseexcept_renamed): Add __NTH.
43515         (feraiseexcept): Add __NTH.  Rename local variables to fix
43516         namespace violations.
43517
43518 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
43519
43520         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43521
43522         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43523
43524         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43525         recently added interfaces.
43526         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43527
43528         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43529         about macro parameter expansion.
43530
43531         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43532         __NO_MATH_INLINES is defined.  Cleanups.
43533
43534         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43535         and __floorf is target has SSE4.1.
43536         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43537         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43538         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43539         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43540
43541         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43542         name.
43543         (floorf): Likewise.
43544
43545         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43546
43547 2011-10-17  Andreas Schwab  <schwab@redhat.com>
43548
43549         * misc/sys/cdefs.h: Fix last change.
43550
43551         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43552         database lookup.
43553
43554 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
43555
43556         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43557
43558         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43559         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43560         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43561         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43562         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43563         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43564         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43565         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43566         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43567         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43568         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43569         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43570         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43571         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43572         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43573         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43574         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43575         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43576         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43577         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43578         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43579         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43580
43581         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43582         ceil, ceilf, floor, floorf.
43583
43584         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43585         Perform IRELATIVE relocations last.
43586
43587         * elf/do-rel.h: Add another parameter nrelative, replacing the
43588         local variable with the same name.  Change name of the function
43589         to end in Rel or Rela (uppercase).
43590         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43591         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
43592         elf_dynamic_do_##reloc function.
43593
43594 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43595
43596         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43597         is sufficient, at least on modern CPUs.
43598
43599         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43600
43601         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43602         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43603
43604         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43605         __expl_finite.
43606         * math/bits/math-finite.h: Add entries for exp.
43607         * math/e_expl.c: Add __*_finite alias.
43608         * sysdeps/i386/fpu/e_exp.S: Likewise.
43609         * sysdeps/i386/fpu/e_expf.S: Likewise.
43610         * sysdeps/i386/fpu/e_expl.c: Likewise.
43611         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43612         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43613         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43614         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43615         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43616         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43617         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43618
43619         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43620         is sufficient, at least on modern CPUs.
43621
43622         * ctype/ctype-info.c (__ctype_init): Define.
43623         * include/ctype.h (__ctype_init): Declare.
43624         (__ctype_b_loc): The variable is always initialized.
43625         (__ctype_toupper_loc): Likewise.
43626         (__ctype_tolower_loc): Likewise.
43627         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43628         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43629
43630 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
43631
43632         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43633
43634         * configure.in: Also look in $cxxmachine/include for C++ system
43635         headers.
43636
43637 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43638
43639         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43640         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43641         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43642         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
43643         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43644         (USE_AS_WMEMCMP): New macro.
43645         Fixing indents.
43646         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43647         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43648         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43649         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43650         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43651         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43652         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43653         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43654         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43655         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43656         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43657         (USE_AS_WMEMCMP): New macro.
43658         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43659         * sysdeps/string/test-memcmp.c: Update.
43660         Fix simple_wmemcmp.
43661         Add new tests.
43662         * wcsmbs/wmemcmp.c: Update.
43663         (WMEMCMP): New macro.
43664         Fix overflow bug.
43665
43666 2011-10-12  Andreas Jaeger  <aj@suse.de>
43667
43668         [BZ #13268]
43669         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43670
43671 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43672
43673         * libio/iofwide.c (do_length): Avoid warning.
43674
43675         * ctype/ctype.h (__isctype_f): Add missing __THROW.
43676
43677 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
43678
43679         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43680
43681         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43682         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43683         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43684         * sysdeps/i386/i686/fpu/e_log.S: New file.
43685         * sysdeps/i386/i686/fpu/e_logf.S: New file.
43686         * sysdeps/i386/i686/fpu/e_logl.S: New file.
43687
43688         * ctype/ctype.h: Add support for inlined isXXX functions when
43689         compiling C++ code.
43690
43691 2011-10-14  Andreas Schwab  <schwab@redhat.com>
43692
43693         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43694
43695         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43696
43697 2011-10-13  Roland McGrath  <roland@hack.frob.com>
43698
43699         [BZ #13291]
43700         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43701
43702 2011-10-13  Andreas Schwab  <schwab@redhat.com>
43703
43704         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43705         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43706         feraiseexcept.
43707
43708         * sysdeps/x86_64/memrchr.S: Check for zero size.
43709
43710         * string/stratcliff.c: Add memrchr tests.
43711
43712 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43713
43714         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43715         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43716         rawmemchr-sse2 rawmemchr-sse2-bsf.
43717         * sysdeps/i386/i686/multiarch/memchr.S: New file.
43718         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43719         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43720         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43721         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43722         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43723         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43724         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43725         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43726         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43727         * string/memrchr.c (MEMRCHR): New macro.
43728
43729 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
43730
43731         Add integration with gcc's -ffinite-math-only and optimize wrapper
43732         functions in libm.
43733         * Versions.def: Define GLIBC_2.15 version for libm.
43734         * math/Makefile (headers): Add bits/math-finite.h.
43735         * math/bits/math-finite.h: New file.
43736         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43737         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43738         * math/e_acoshl.c: Add __*_finite alias.
43739         * math/e_acosl.c: Likewise.
43740         * math/e_asinl.c: Likewise.
43741         * math/e_atan2l.c: Likewise.
43742         * math/e_atanhl.c: Likewise.
43743         * math/e_coshl.c: Likewise.
43744         * math/e_exp10.c: Likewise.
43745         * math/e_exp10f.c: Likewise.
43746         * math/e_exp10l.c: Likewise.
43747         * math/e_exp2l.c: Likewise.
43748         * math/e_fmodl.c: Likewise.
43749         * math/e_gammal_r.c: Likewise.
43750         * math/e_hypotl.c: Likewise.
43751         * math/e_j0l.c: Likewise.
43752         * math/e_j1l.c: Likewise.
43753         * math/e_jnl.c: Likewise.
43754         * math/e_lgammal_r.c: Likewise.
43755         * math/e_log10l.c: Likewise.
43756         * math/e_log2l.c: Likewise.
43757         * math/e_logl.c: Likewise.
43758         * math/e_powl.c: Likewise.
43759         * math/e_sinhl.c: Likewise.
43760         * math/e_sqrtl.c: Likewise.
43761         * math/e_scalb.c: Completely rewritten and optimized.
43762         * math/e_scalbf.c: Likewise.
43763         * math/e_scalbl.c: Likewise.
43764         * math/w_acos.c: Likewise.
43765         * math/w_acosf.c: Likewise.
43766         * math/w_acosl.c: Likewise.
43767         * math/w_acosh.c: Likewise.
43768         * math/w_acoshf.c: Likewise.
43769         * math/w_acoshl.c: Likewise.
43770         * math/w_asin.c: Likewise.
43771         * math/w_asinf.c: Likewise.
43772         * math/w_asinl.c: Likewise.
43773         * math/w_atan2.c: Likewise.
43774         * math/w_atan2f.c: Likewise.
43775         * math/w_atan2l.c: Likewise.
43776         * math/w_atanh.c: Likewise.
43777         * math/w_atanhf.c: Likewise.
43778         * math/w_atanhl.c: Likewise.
43779         * math/w_exp10.c: Likewise.
43780         * math/w_exp10f.c: Likewise.
43781         * math/w_exp10l.c: Likewise.
43782         * math/w_fmod.c: Likewise.
43783         * math/w_fmodf.c: Likewise.
43784         * math/w_fmodl.c: Likewise.
43785         * math/w_j0.c: Likewise.
43786         * math/w_j0f.c: Likewise.
43787         * math/w_j0l.c: Likewise.
43788         * math/w_j1.c: Likewise.
43789         * math/w_j1f.c: Likewise.
43790         * math/w_j1l.c: Likewise.
43791         * math/w_jn.c: Likewise.
43792         * math/w_jnf.c: Likewise.
43793         * math/w_log.c: Likewise.
43794         * math/w_logf.c: Likewise.
43795         * math/w_logl.c: Likewise.
43796         * math/w_log10.c: Likewise.
43797         * math/w_log10f.c: Likewise.
43798         * math/w_log10l.c: Likewise.
43799         * math/w_log2.c: Likewise.
43800         * math/w_log2f.c: Likewise.
43801         * math/w_log2l.c: Likewise.
43802         * math/w_pow.c: Likewise.
43803         * math/w_powf.c: Likewise.
43804         * math/w_powl.c: Likewise.
43805         * math/w_remainder.c: Likewise.
43806         * math/w_remainderf.c: Likewise.
43807         * math/w_remainderl.c: Likewise.
43808         * math/w_scalb.c: Likewise.
43809         * math/w_scalbf.c: Likewise.
43810         * math/w_scalbl.c: Likewise.
43811         * math/w_sqrt.c: Likewise.
43812         * math/w_sqrtf.c: Likewise.
43813         * math/w_sqrtl.c: Likewise.
43814         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43815         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
43816         used.
43817         * math/math_private.h: Declare __kernel_standard_f.
43818         * math/w_cosh.c: Remove cruft and optimize a bit.
43819         * math/w_coshf.c: Likewise.
43820         * math/w_coshl.c: Likewise.
43821         * math/w_exp2.c: Likewise.
43822         * math/w_exp2f.c: Likewise.
43823         * math/w_exp2l.c: Likewise.
43824         * math/w_hypot.c: Likewise.
43825         * math/w_hypotf.c: Likewise.
43826         * math/w_hypotl.c: Likewise.
43827         * math/w_lgamma.c: Likewise.
43828         * math/w_lgamma_r.c: Likewise.
43829         * math/w_lgammaf.c: Likewise.
43830         * math/w_lgammaf_r.c: Likewise.
43831         * math/w_lgammal.c: Likewise.
43832         * math/w_lgammal_r.c: Likewise.
43833         * math/w_sinh.c: Likewise.
43834         * math/w_sinhf.c: Likewise.
43835         * math/w_sinhl.c: Likewise.
43836         * math/w_tgamma.c: Likewise.
43837         * math/w_tgammaf.c: Likewise.
43838         * math/w_tgammal.c: Likewise.
43839         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43840         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43841         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43842         Minor optimizations.  Pretty printing.  Remove cruft.
43843         * sysdeps/i386/fpu/e_acosf.S: Likewise.
43844         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43845         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43846         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43847         * sysdeps/i386/fpu/e_acosl.c: Likewise.
43848         * sysdeps/i386/fpu/e_asin.S: Likewise.
43849         * sysdeps/i386/fpu/e_asinf.S: Likewise.
43850         * sysdeps/i386/fpu/e_atan2.S: Likewise.
43851         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43852         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43853         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43854         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43855         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43856         * sysdeps/i386/fpu/e_exp10.S: Likewise.
43857         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43858         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43859         * sysdeps/i386/fpu/e_exp2.S: Likewise.
43860         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43861         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43862         * sysdeps/i386/fpu/e_fmod.S: Likewise.
43863         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43864         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43865         * sysdeps/i386/fpu/e_hypot.S: Likewise.
43866         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43867         * sysdeps/i386/fpu/e_log.S: Likewise.
43868         * sysdeps/i386/fpu/e_log10.S: Likewise.
43869         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43870         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43871         * sysdeps/i386/fpu/e_log2.S: Likewise.
43872         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43873         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43874         * sysdeps/i386/fpu/e_logf.S: Likewise.
43875         * sysdeps/i386/fpu/e_logl.S: Likewise.
43876         * sysdeps/i386/fpu/e_pow.S: Likewise.
43877         * sysdeps/i386/fpu/e_powf.S: Likewise.
43878         * sysdeps/i386/fpu/e_powl.S: Likewise.
43879         * sysdeps/i386/fpu/e_remainder.S: Likewise.
43880         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43881         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43882         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43883         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43884         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43885         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43886         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43887         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43888         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43889         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43890         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43891         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43892         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43893         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43894         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43895         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43896         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43897         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43898         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43899         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43900         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43901         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43902         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43903         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43904         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43905         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43906         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43907         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43908         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43909         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43910         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43911         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43912         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43913         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43914         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43915         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43916         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43917         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43918         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43919         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43920         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43921         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43922         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43923         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43924         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43925         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43926         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43927         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43928         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43929         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43930         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43931         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43932         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43933         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43934         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43935         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43936         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43937         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43938         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43939         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43940         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43941         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43942         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43943         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43944         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43945         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43946         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43947         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43948         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43949         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43950         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43951         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43952         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43953         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43954         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43955         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43956         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43957         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43958         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43959         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43960         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43961         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43962         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43963         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43964         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43965         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43966         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43967         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43968         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43969         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43970         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43971         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43972         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43973         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43974         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43975         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43976         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43977         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43978         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43979         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43980         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43981         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43982         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43983         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43984         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43985         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43986         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43987         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43988         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43989         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43990         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43991         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43992         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43993         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43994         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43995         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43996         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43997         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43998         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
43999         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44000         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44001         (__isnanf): Likewise.
44002         (__isinf_ns): Likewise.
44003         (__isinf_nsf): Likewise.
44004         (__finite): Likewise.
44005         (__finitef): Likewise.
44006         (__ieee754_sqrt): Define as macro.
44007         (__ieee754_sqrtf): Define as macro.
44008         (__ieee754_sqrtl): Define as macro.
44009         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44010         inlined copy.
44011         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44012         __FINITE_MATH_ONLY__ consistent.
44013         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44014
44015 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
44016
44017         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44018         of rawmemchr.
44019
44020         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44021
44022 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
44023
44024         * po/ja.po: Update from translation team.
44025
44026 2011-10-08  Roland McGrath  <roland@hack.frob.com>
44027
44028         * locale/programs/locarchive.c (prepare_address_space): New function.
44029         (create_archive, enlarge_archive, open_archive): Use it.
44030
44031         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44032         inside [SHARED], where it is used.
44033
44034         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44035
44036         * nss/getent.c (netgroup_keys): Remove unused variable.
44037         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44038
44039 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
44040
44041         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44042         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44043         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44044         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44045         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44046         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44047         * math/Makefile (libm-calls): Add s_isinf_ns.
44048         * math/divtc3.c: Use __isinf_nsl instead of isinf.
44049         * math/multc3.c: Likewise.
44050         * math/s_casin.c: Likewise.
44051         * math/s_casinf.c: Likewise.
44052         * math/s_casinl.c: Likewise.
44053         * math/s_ccos.c: Likewise.
44054         * math/s_ccosf.c: Likewise.
44055         * math/s_ccosl.c: Likewise.
44056         * math/s_ctan.c: Likewise.
44057         * math/s_ctanf.c: Likewise.
44058         * math/s_ctanh.c: Likewise.
44059         * math/s_ctanhf.c: Likewise.
44060         * math/s_ctanhl.c: Likewise.
44061         * math/s_ctanl.c: Likewise.
44062         * math/w_fmod.c: Likewise.
44063         * math/w_fmodf.c: Likewise.
44064         * math/w_fmodl.c: Likewise.
44065         * math/w_remainder.c: Likewise.
44066         * math/w_remainderf.c: Likewise.
44067         * math/w_remainderl.c: Likewise.
44068         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44069         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44070         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44071         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44072         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44073         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44074         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44075         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44076
44077         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44078         of the number.
44079         * stdio-common/printf_fphex.c: Likewise.
44080         * stdio-common/printf_size.c: Likewise.
44081
44082         * math/e_exp10.c: Include math_private.h using <...> not "...".
44083         * math/e_exp10f.c: Likewise.
44084         * math/e_exp10l.c: Likewise.
44085         * math/e_exp2l.c: Likewise.
44086         * math/e_j0l.c: Likewise.
44087         * math/e_j1l.c: Likewise.
44088         * math/e_jnl.c: Likewise.
44089         * math/e_lgammal_r.c: Likewise.
44090         * math/e_rem_pio2l.c: Likewise.
44091         * math/e_scalb.c: Likewise.
44092         * math/e_scalbf.c: Likewise.
44093         * math/e_scalbl.c: Likewise.
44094         * math/k_cosl.c: Likewise.
44095         * math/k_sinl.c: Likewise.
44096         * math/k_tanl.c: Likewise.
44097         * math/s_cacoshf.c: Likewise.
44098         * math/s_catan.c: Likewise.
44099         * math/s_catanf.c: Likewise.
44100         * math/s_catanh.c: Likewise.
44101         * math/s_catanhf.c: Likewise.
44102         * math/s_catanhl.c: Likewise.
44103         * math/s_catanl.c: Likewise.
44104         * math/s_ccosh.c: Likewise.
44105         * math/s_ccoshf.c: Likewise.
44106         * math/s_ccoshl.c: Likewise.
44107         * math/s_cexp.c: Likewise.
44108         * math/s_cexpf.c: Likewise.
44109         * math/s_cexpl.c: Likewise.
44110         * math/s_clog.c: Likewise.
44111         * math/s_clog10.c: Likewise.
44112         * math/s_clog10f.c: Likewise.
44113         * math/s_clog10l.c: Likewise.
44114         * math/s_clogf.c: Likewise.
44115         * math/s_clogl.c: Likewise.
44116         * math/s_csin.c: Likewise.
44117         * math/s_csinf.c: Likewise.
44118         * math/s_csinh.c: Likewise.
44119         * math/s_csinhf.c: Likewise.
44120         * math/s_csinhl.c: Likewise.
44121         * math/s_csinl.c: Likewise.
44122         * math/s_csqrt.c: Likewise.
44123         * math/s_csqrtf.c: Likewise.
44124         * math/s_csqrtl.c: Likewise.
44125         * math/s_ctan.c: Likewise.
44126         * math/s_ctanf.c: Likewise.
44127         * math/s_ctanh.c: Likewise.
44128         * math/s_ctanhf.c: Likewise.
44129         * math/s_ctanhl.c: Likewise.
44130         * math/s_ctanl.c: Likewise.
44131         * math/s_ldexp.c: Likewise.
44132         * math/s_ldexpf.c: Likewise.
44133         * math/s_ldexpl.c: Likewise.
44134         * math/s_significand.c: Likewise.
44135         * math/s_significandf.c: Likewise.
44136         * math/s_significandl.c: Likewise.
44137         * math/w_acos.c: Likewise.
44138         * math/w_acosf.c: Likewise.
44139         * math/w_acosh.c: Likewise.
44140         * math/w_acoshf.c: Likewise.
44141         * math/w_acoshl.c: Likewise.
44142         * math/w_acosl.c: Likewise.
44143         * math/w_asin.c: Likewise.
44144         * math/w_asinf.c: Likewise.
44145         * math/w_asinl.c: Likewise.
44146         * math/w_atan2.c: Likewise.
44147         * math/w_atan2f.c: Likewise.
44148         * math/w_atan2l.c: Likewise.
44149         * math/w_atanh.c: Likewise.
44150         * math/w_atanhf.c: Likewise.
44151         * math/w_atanhl.c: Likewise.
44152         * math/w_cosh.c: Likewise.
44153         * math/w_coshf.c: Likewise.
44154         * math/w_coshl.c: Likewise.
44155         * math/w_dremf.c: Likewise.
44156         * math/w_exp10.c: Likewise.
44157         * math/w_exp10f.c: Likewise.
44158         * math/w_exp10l.c: Likewise.
44159         * math/w_exp2.c: Likewise.
44160         * math/w_exp2f.c: Likewise.
44161         * math/w_fmod.c: Likewise.
44162         * math/w_fmodf.c: Likewise.
44163         * math/w_fmodl.c: Likewise.
44164         * math/w_hypot.c: Likewise.
44165         * math/w_hypotf.c: Likewise.
44166         * math/w_hypotl.c: Likewise.
44167         * math/w_j0.c: Likewise.
44168         * math/w_j0f.c: Likewise.
44169         * math/w_j0l.c: Likewise.
44170         * math/w_j1.c: Likewise.
44171         * math/w_j1f.c: Likewise.
44172         * math/w_j1l.c: Likewise.
44173         * math/w_jn.c: Likewise.
44174         * math/w_jnf.c: Likewise.
44175         * math/w_jnl.c: Likewise.
44176         * math/w_lgamma.c: Likewise.
44177         * math/w_lgamma_r.c: Likewise.
44178         * math/w_lgammaf.c: Likewise.
44179         * math/w_lgammaf_r.c: Likewise.
44180         * math/w_lgammal.c: Likewise.
44181         * math/w_lgammal_r.c: Likewise.
44182         * math/w_log.c: Likewise.
44183         * math/w_log10.c: Likewise.
44184         * math/w_log10f.c: Likewise.
44185         * math/w_log10l.c: Likewise.
44186         * math/w_log2.c: Likewise.
44187         * math/w_log2f.c: Likewise.
44188         * math/w_log2l.c: Likewise.
44189         * math/w_logf.c: Likewise.
44190         * math/w_logl.c: Likewise.
44191         * math/w_pow.c: Likewise.
44192         * math/w_powf.c: Likewise.
44193         * math/w_powl.c: Likewise.
44194         * math/w_remainder.c: Likewise.
44195         * math/w_remainderf.c: Likewise.
44196         * math/w_remainderl.c: Likewise.
44197         * math/w_scalb.c: Likewise.
44198         * math/w_scalbf.c: Likewise.
44199         * math/w_scalbl.c: Likewise.
44200         * math/w_sinh.c: Likewise.
44201         * math/w_sinhf.c: Likewise.
44202         * math/w_sinhl.c: Likewise.
44203         * math/w_sqrt.c: Likewise.
44204         * math/w_sqrtf.c: Likewise.
44205         * math/w_sqrtl.c: Likewise.
44206         * math/w_tgamma.c: Likewise.
44207         * math/w_tgammaf.c: Likewise.
44208         * math/w_tgammal.c: Likewise.
44209
44210         * po/ja.po: Update from translation team.
44211
44212 2011-09-29  Andreas Jaeger  <aj@suse.de>
44213
44214         [BZ #13179]
44215         * sunrpc/netname.c (netname2host): Fix logic.
44216
44217         [BZ #6779]
44218         [BZ #6783]
44219         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44220         correctly.
44221         * math/w_remainder.c (__remainder): Likewise.
44222         * math/w_remainderf.c (__remainderf): Likewise.
44223         * math/libm-test.inc (remainder_test): Add test cases.
44224
44225 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44226
44227         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
44228         sdiv_qrnnd.
44229
44230 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44231
44232         * string/test-memcmp.c: Avoid unncessary #defines.
44233         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44234
44235 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44236
44237         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44238         Use new sse2 version for core i3 - i7 as it's faster
44239         than sse42 version.
44240         (bit_Prefer_PMINUB_for_stringop): New.
44241         * sysdeps/x86_64/rawmemchr.S: Update.
44242         Replace with faster SSE2 version.
44243         * sysdeps/x86_64/memrchr.S: New file.
44244         * sysdeps/x86_64/memchr.S: Update.
44245         Replace with faster SSE2 version.
44246
44247 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
44248
44249         * elf/dl-load.c (lose): Add cast to avoid warning.
44250
44251 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44252
44253         * po/ca.po: Update from translation team.
44254
44255         * inet/getnetgrent_r.c: Hook up nscd.
44256         * nscd/Makefile (routines): Add nscd_netgroup.
44257         (nscd-modules): Add netgroupcache.
44258         (CFLAGS-netgroupcache.c): Define.
44259         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44260         (cache_search): Add const to second parameter.
44261         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44262         INNETGR.
44263         (dbs): Add netgrdb entry.
44264         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44265         (verify_persistent_db): Handle netgrdb.
44266         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44267         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44268         GETFDNETGR.
44269         (netgroup_response_header): Define.
44270         (innetgroup_response_header): Define.
44271         (datahead): Add netgroup_response_header and innetgroup_response_header
44272         elements.
44273         * nscd/nscd.conf: Add entries for netgroup cache.
44274         * nscd/nscd.h (dbtype): Add netgrdb.
44275         (_PATH_NSCD_NETGROUP_DB): Define.
44276         (netgroup_iov_disabled): Declare.
44277         (xmalloc, xcalloc, xrealloc): Move declarations here.
44278         (cache_search): Adjust prototype.
44279         Add netgroup-related prototypes.
44280         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44281         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44282         (__nscd_innetgr): Declare.
44283         * nscd/selinux.c (perms): Use access_vector_t as element type and
44284         add netgroup-related initializers.
44285         * nscd/netgroupcache.c: New file.
44286         * nscd/nscd_netgroup.c: New file.
44287         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44288         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44289         For four parameters use innetgr.
44290         * nss/nss_files/files-init.c: Add definition and callback for netgr.
44291         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44292         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44293         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44294
44295         * nscd/connections.c (register_traced_file): Don't register file
44296         for disabled databases.
44297
44298 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
44299
44300         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44301
44302         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44303         from tree and freeing node.
44304
44305 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
44306
44307         * nss/nsswitch.c (__nss_database_lookup): Handle
44308         nss_parse_service_list out of memory case.
44309
44310 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
44311
44312         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44313         out of memory case.
44314
44315 2011-10-04  Andreas Schwab  <schwab@redhat.com>
44316
44317         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44318         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44319         pass it down.
44320         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44321         elf_machine_rela, elf_machine_lazy_rel.
44322         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44323         (ELF_DYNAMIC_DO_REL): Likewise.
44324         (ELF_DYNAMIC_DO_RELA): Likewise.
44325         (ELF_DYNAMIC_RELOCATE): Likewise.
44326         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44327         to ELF_DYNAMIC_DO_REL.
44328         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44329         (dl_main): In trace mode always set __RTLD_NOIFUNC.
44330         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44331         elf_machine_rela.
44332         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44333         skip_ifunc, don't call ifunc function if non-zero.
44334         (elf_machine_rela): Likewise.
44335         (elf_machine_lazy_rel): Likewise.
44336         (elf_machine_lazy_rela): Likewise.
44337         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44338         (elf_machine_lazy_rel): Likewise.
44339         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44340         Likewise.
44341         (elf_machine_lazy_rel): Likewise.
44342         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44343         Likewise.
44344         (elf_machine_lazy_rel): Likewise.
44345         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44346         (elf_machine_lazy_rel): Likewise.
44347         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44348         (elf_machine_lazy_rel): Likewise.
44349         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44350         (elf_machine_lazy_rel): Likewise.
44351         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44352         (elf_machine_lazy_rel): Likewise.
44353         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44354         (elf_machine_lazy_rel): Likewise.
44355         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44356         (elf_machine_lazy_rel): Likewise.
44357
44358 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
44359
44360         * nss/nss_files/files-init.c (_nss_files_init): Use static
44361         initialization for all the *_traced_file variables.
44362
44363 2011-09-28  Andreas Schwab  <schwab@redhat.com>
44364
44365         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44366
44367 2011-09-27  Roland McGrath  <roland@hack.frob.com>
44368
44369         [BZ #13226]
44370         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44371
44372 2011-09-27  Andreas Schwab  <schwab@redhat.com>
44373
44374         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44375         Reread the line before reparsing it.
44376
44377 2011-09-26  Andreas Schwab  <schwab@redhat.com>
44378
44379         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44380
44381 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
44382             Maxim Kuvyrkov  <maxim@codesourcery.com>
44383             Joseph Myers  <joseph@codesourcery.com>
44384
44385         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44386         if needed for __stack_chk_guard.
44387
44388 2011-09-19  Roland McGrath  <roland@hack.frob.com>
44389
44390         * sysdeps/posix/spawni.c (script_execute): Always define it.
44391         It will be optimized away if unused.
44392         (maybe_script_execute): New function.
44393         (__spawni): Call it.
44394
44395         * Makerules: Don't include tls.make.
44396         (config-tls): Always set to thread.
44397         * tls.make.c: File removed.
44398
44399 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
44400
44401         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44402         * config.make.in (CPPFLAGS-config): New substituted variable.
44403
44404 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44405
44406         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44407
44408         [BZ #13192]
44409         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44410         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44411
44412 2011-09-15  Roland McGrath  <roland@hack.frob.com>
44413
44414         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44415         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44416         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44417         (CALL_FAIL): Likewise.
44418         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44419         (CALL_FAIL): Macro removed.
44420         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44421
44422 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44423
44424         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44425         for __FINITE_MATH_ONLY__ == 1.
44426
44427 2011-09-15  Andreas Schwab  <schwab@redhat.com>
44428
44429         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44430         __ieee754_sqrt instead of sqrt.
44431         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44432         __ieee754_sqrtf instead of sqrtf.
44433         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44434         __floorf instead of floorf.
44435         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44436         __floorf, __truncf instead of floorf, truncf.
44437
44438 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
44439
44440         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44441
44442         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44443         __extern_always_inline.
44444         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44445         32-bit.
44446
44447 2011-09-14  Andreas Schwab  <schwab@redhat.com>
44448
44449         * elf/rtld.c (dl_main): Also relocate in dependency order when
44450         doing symbol dependency testing.
44451
44452 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
44453
44454         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44455         Always define `refsym'.
44456
44457 2011-09-13  Andreas Schwab  <schwab@redhat.com>
44458
44459         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44460         (__FD_ELT): Renamed from __FDELT.
44461         * misc/bits/select2.h (__FD_ELT): Likewise.
44462         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44463         __FD_MASK instead of __FDELT, __FDMASK.
44464         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44465         Likewise.
44466         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44467         Likewise.
44468
44469         * elf/Makefile (gen-ldd): Fix pattern.
44470
44471         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44472         (init_tls): Likewise.
44473
44474 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
44475
44476         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44477
44478 2011-09-12  Andreas Schwab  <schwab@redhat.com>
44479
44480         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44481         `struct cmsghdr *' instead of `void *'.
44482         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44483         Likewise.
44484
44485 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
44486
44487         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44488         if non-absolute.
44489         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44490         ldd_rewrite_script.
44491
44492 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
44493
44494         * configure.in: Remove --with-tls option.
44495         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44496         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44497         out in case it is missing.
44498         * sysdeps/ia64/elf/configure.in: Likewise.
44499         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44500         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44501         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44502         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44503         * sysdeps/sh/elf/configure.in: Likewise.
44504         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44505         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44506         * sysdeps/x86_64/elf/configure.in: Likewise.
44507         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44508         * sysdeps/mach/hurd/tls.h: Likewise.
44509
44510         [BZ #13067]
44511         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44512
44513         [BZ #13090]
44514         * configure.in: Fix use of AC_INIT.
44515
44516         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44517
44518 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
44519
44520         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44521         __set_errno.
44522         * malloc/hooks.c: Likewise.
44523
44524         [BZ #11929]
44525         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
44526         variables statically.
44527         (narenas): Initialize.
44528         (list_lock): Initialize.
44529         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
44530         initializtion of main_arena and list_lock.  Small cleanups.
44531         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44532         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
44533         Add initializers to main_arena and mp_.
44534         (malloc_state): Remove pagesize member.  Change all users to use
44535         GLRO(dl_pagesize).
44536
44537         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44538         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
44539         is always initialized.
44540
44541         * malloc/malloc.c: Removed unused configurations and dead code.
44542         * malloc/arena.c: Likewise.
44543         * malloc/hooks.c: Likewise.
44544         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44545
44546         * include/tls.h: Removed.  USE___THREAD must always be defined.
44547         * bits/libc-tsd.h: Don't handle !USE___THREAD.
44548         * elf/dl-libc.c: Likewise.
44549         * elf/dl-tsd.c: Likewise.
44550         * include/errno.h: Likewise.
44551         * include/netdb.h: Likewise.
44552         * include/resolv.h: Likewise.
44553         * inet/herrno-loc.c: Likewise.
44554         * inet/herrno.c: Likewise.
44555         * malloc/arena.c: Likewise.
44556         * malloc/hooks.c: Likewise.
44557         * malloc/malloc.c: Likewise.
44558         * resolv/res-state.c: Likewise.
44559         * resolv/res_libc.c: Likewise.
44560         * sysdeps/i386/dl-machine.h: Likewise.
44561         * sysdeps/ia64/dl-machine.h: Likewise.
44562         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44563         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44564         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44565         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44566         * sysdeps/sh/dl-machine.h: Likewise.
44567         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44568         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44569         * sysdeps/unix/i386/sysdep.S: Likewise.
44570         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44571         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44572         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44573         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44574         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44575         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44576         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44577         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44578         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44579         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44580         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44581         * sysdeps/x86_64/dl-machine.h: Likewise.
44582         * tls.make.c: Likewise.
44583
44584         * configure.in: Remove --with-__thread option.  Make tests for
44585         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44586         tls_model attribute fail if no support is available.  Remove
44587         USE_IN_LIBIO.
44588         * Makeconfig: Adjust for dropped configure option.  All features are
44589         now mandatory.
44590         * Makerules: Likewise.
44591         * Versions.def: Likewise.
44592         * argp/argp-fmtstream.c: Likewise.
44593         * argp/argp-fmtstream.h: Likewise.
44594         * argp/argp-help.c: Likewise.
44595         * assert/assert.c: Likewise.
44596         * config.h.in: Likewise.
44597         * config.make.in: Likewise.
44598         * configure: Likewise.
44599         * configure.in: Likewise.
44600         * csu/Versions: Likewise.
44601         * csu/init.c: Likewise.
44602         * elf/tst-audit2.c: Likewise.
44603         * elf/tst-tls10.c: Likewise.
44604         * elf/tst-tls10.h: Likewise.
44605         * elf/tst-tls11.c: Likewise.
44606         * elf/tst-tls12.c: Likewise.
44607         * elf/tst-tls14.c: Likewise.
44608         * elf/tst-tlsmod11.c: Likewise.
44609         * elf/tst-tlsmod12.c: Likewise.
44610         * elf/tst-tlsmod13.c: Likewise.
44611         * elf/tst-tlsmod13a.c: Likewise.
44612         * elf/tst-tlsmod14a.c: Likewise.
44613         * elf/tst-tlsmod15b.c: Likewise.
44614         * elf/tst-tlsmod16a.c: Likewise.
44615         * elf/tst-tlsmod16b.c: Likewise.
44616         * elf/tst-tlsmod7.c: Likewise.
44617         * elf/tst-tlsmod8.c: Likewise.
44618         * elf/tst-tlsmod9.c: Likewise.
44619         * gmon/gmon.c: Likewise.
44620         * grp/fgetgrent_r.c: Likewise.
44621         * grp/putgrent.c: Likewise.
44622         * hurd/fopenport.c: Likewise.
44623         * include/libc-symbols.h: Likewise.
44624         * include/tls.h: Likewise.
44625         * intl/gettextP.h: Likewise.
44626         * intl/loadinfo.h: Likewise.
44627         * locale/global-locale.c: Likewise.
44628         * locale/localeinfo.h: Likewise.
44629         * mach/devstream.c: Likewise.
44630         * malloc/arena.c: Likewise.
44631         * malloc/set-freeres.c: Likewise.
44632         * misc/err.c: Likewise.
44633         * misc/getttyent.c: Likewise.
44634         * misc/mntent_r.c: Likewise.
44635         * posix/getopt.c: Likewise.
44636         * posix/wordexp.c: Likewise.
44637         * pwd/fgetpwent_r.c: Likewise.
44638         * resolv/Versions: Likewise.
44639         * resolv/res_hconf.c: Likewise.
44640         * shadow/fgetspent_r.c: Likewise.
44641         * shadow/putspent.c: Likewise.
44642         * stdio-common/printf_fphex.c: Likewise.
44643         * stdio-common/tmpfile.c: Likewise.
44644         * stdlib/abort.c: Likewise.
44645         * stdlib/fmtmsg.c: Likewise.
44646         * sunrpc/auth_unix.c: Likewise.
44647         * sunrpc/clnt_perr.c: Likewise.
44648         * sunrpc/clnt_tcp.c: Likewise.
44649         * sunrpc/clnt_udp.c: Likewise.
44650         * sunrpc/clnt_unix.c: Likewise.
44651         * sunrpc/openchild.c: Likewise.
44652         * sunrpc/svc_simple.c: Likewise.
44653         * sunrpc/svc_tcp.c: Likewise.
44654         * sunrpc/svc_udp.c: Likewise.
44655         * sunrpc/svc_unix.c: Likewise.
44656         * sunrpc/xdr.c: Likewise.
44657         * sunrpc/xdr_array.c: Likewise.
44658         * sunrpc/xdr_rec.c: Likewise.
44659         * sunrpc/xdr_ref.c: Likewise.
44660         * sunrpc/xdr_stdio.c: Likewise.
44661
44662 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44663
44664         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44665
44666 2011-07-03  Andreas Jaeger  <aj@suse.de>
44667
44668         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44669         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44670         regenerate with gen-libm-tests.pl.
44671
44672 2010-05-12  Petr Baudis  <pasky@suse.cz>
44673
44674         [BZ #11589]
44675         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44676         around j0() zero points by switching to j1().
44677         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44678         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44679         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44680         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44681
44682 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44683
44684         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44685         instead of 0.
44686         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44687         instead of 0.
44688         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44689         Patch in part by Pavel Roskin <proski@gnu.org>.
44690
44691         [BZ #13138]
44692         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44693         realloc.
44694         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
44695         Free memory block if necessary.
44696
44697         [BZ #12847]
44698         * libio/genops.c (INTDEF): For string streams the _lock pointer can
44699         be NULL.  Don't lock in this case.
44700
44701 2011-09-09  Roland McGrath  <roland@hack.frob.com>
44702
44703         * elf/elf.h (ELFOSABI_GNU): New macro.
44704         (ELFOSABI_LINUX): Define to that.
44705
44706 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
44707
44708         * string/strncat.c (strncat): Undef the symbol in case it has been
44709         defined in bits/string.h.
44710
44711 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44712
44713         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44714
44715         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44716         link map.
44717
44718 2011-08-17  Andreas Jaeger  <aj@suse.de>
44719
44720         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44721
44722 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44723             Ian Lance Taylor  <iant@google.com>
44724
44725         * math/libm-test.inc (lround_test): New testcase.
44726         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44727
44728 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
44729
44730         * Makefile: Remove support for automatic cvs check-ins.
44731         * Makerules: Likewise.
44732         * config.make.in: Likewise.
44733         * configure.in: Likewise.
44734         * intl/Makefile: Likewise.
44735         * locale/Makefile: Likewise.
44736         * po/Makefile: Likewise.
44737         * posix/Makefile: Likewise.
44738         * sysdeps/gnu/Makefile: Likewise.
44739         * sysdeps/mach/hurd/Makefile: Likewise.
44740         * sysdeps/sparc/sparc32/Makefile: Likewise.
44741
44742         [BZ #13118]
44743         * posix/Makefile (bug-regex32-ENV): Define.
44744         Patch by John Stanley <jpsinthemix@verizon.net>.
44745
44746         * misc/Makefile (headers): Add bits/select2.h.
44747         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44748         * misc/bits/select2.h: New file.
44749         * include/bits/select2.h: New file.
44750         * debug/Makefile (routines): Add fdelt_chk.
44751         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44752         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44753         FD_ISSET.
44754         * debug/fdelt_chk.c: New file.
44755
44756         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
44757         * wcsmbs/test-wmemcmp.c: Likewise.
44758         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44759         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44760
44761 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44762
44763         * string/Makefile (strop-tests): Add memcmp.
44764         * string/test-wmemcmp.c: New file.
44765         * string/test-memcmp.c: Add wmemcmp support.
44766
44767 2011-09-08  Roland McGrath  <roland@hack.frob.com>
44768
44769         [BZ #13153]
44770         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44771         2011-07-19 change.
44772
44773         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44774         garbage value in a __mach_port_mod_refs call in the cases of the
44775         task-self and thread-self ports.
44776
44777 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44778
44779         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44780
44781 2011-09-08  Andreas Schwab  <schwab@redhat.com>
44782
44783         * elf/dl-load.c (lose): Check for non-null L.
44784
44785 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44786
44787         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44788
44789         * elf/dl-libc.c (dlerror_run): Pass back error code from
44790         dl_catch_error.
44791
44792         [BZ #13123]
44793         * elf/dl-load.c (lose): Free l_origin if it is valid.
44794
44795         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44796         names.
44797         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44798         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44799         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44800         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44801         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44802         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44803
44804 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44805
44806         * sysdeps/powerpc/fpu/e_hypot.c: New file.
44807         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44808         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44809         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44810         * sysdeps/powerpc/fpu/k_cosf.c: New file.
44811         * sysdeps/powerpc/fpu/k_sinf.c: New file.
44812         * sysdeps/powerpc/fpu/s_cosf.c: New file.
44813         * sysdeps/powerpc/fpu/s_sinf.c: New file.
44814         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44815         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44816
44817 2011-08-15  Alan Modra  <amodra@gmail.com>
44818
44819         [BZ #13092]
44820         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44821         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44822         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
44823         ppc_mcount to static-only-routines.
44824         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44825         __mcount_internal.
44826         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44827         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
44828
44829 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
44830
44831         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44832         for finite and infinity parameters.
44833
44834 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44835
44836         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44837         and add nop instructions for throughput optimization.
44838         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44839
44840 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
44841
44842         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44843         aligned copy for power7 with vector-scalar instructions.
44844         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44845
44846 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
44847
44848         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44849         AVX check.
44850
44851 2011-09-07  Andreas Schwab  <schwab@redhat.com>
44852
44853         [BZ #13144]
44854         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44855         last change.
44856
44857 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44858
44859         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44860         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44861         syscall wrapper around clock_gettime in __vdso_clock_gettime.
44862         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44863         clock_gettime.
44864
44865 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44866
44867         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44868         Forgot to demangle the pointer.
44869
44870         * sysdeps/i386/sysdep.h: Define atom_text_section.
44871         * sysdeps/x86_64/sysdep.h: Likewise.
44872         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44873         section with atom_text_section.
44874         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44875         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44876         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44877         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44878         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44879
44880         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44881         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44882         already be defined.  Change to take two parameters and don't assign
44883         result to variable.  Adjust all users.
44884         Define INTERNAL_GETTIME if not already defined.
44885         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44886         call.
44887         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44888         HAVE_CLOCK_GETTIME_VSYSCALL.
44889         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44890
44891         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44892         gettimeofday vsyscall, just use time.
44893
44894 2011-09-06  Andreas Schwab  <schwab@redhat.com>
44895
44896         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44897         <errno.h>.
44898
44899 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44900
44901         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44902         syscall on x86-64.
44903         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44904         syscall.
44905         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44906         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44907         syscall if possible.
44908
44909 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44910
44911         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44912         e_ident.  Don't pass to find_mapsXX.
44913         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44914
44915 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44916
44917         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44918         strchr-sse2-no-bsf strrchr-sse2-no-bsf
44919         * sysdeps/x86_64/multiarch/strchr.S: Update.
44920         Check bit_slow_BSF bit.
44921         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44922         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44923         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44924
44925 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44926
44927         [BZ #13134]
44928         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44929         before glibc 2.15.
44930         (tryshell): Define.
44931         (__spawni): Change last parameter to be flag.  Test
44932         SPAWN_XFLAGS_USE_PATH flag to use path or not.
44933         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44934         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44935         * posix/spawni.c: Likewise.
44936         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44937         * posix/spawnp.c: Likewise.  Change normal version to use
44938         SPAWN_XFLAGS_USE_PATH.
44939         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44940         SPAWN_XFLAGS_TRY_SHELL.
44941
44942         [BZ #13150]
44943         * posix/glob.h: Remove gcc 1.x support.
44944
44945         [BZ #13068]
44946         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44947
44948 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44949
44950         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44951         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44952         strrchr-sse2-bsf
44953         * sysdeps/i386/i686/multiarch/strchr.S: New file.
44954         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44955         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44956         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44957         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44958         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44959
44960 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44961
44962         * sysdeps/x86_64/wcscmp.S: New file.
44963
44964         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44965         wcscmp-c wcscmp-sse2
44966         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44967         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44968         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44969         * wcsmbs/wcscmp.c: Allow renaming.
44970
44971 2011-09-05  David S. Miller  <davem@davemloft.net>
44972
44973         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44974         stack slot, rather than the struct return pointer slot.
44975         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44976         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44978         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44979
44980 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44981
44982         * po/ja.po: Update from translation team.
44983
44984         [BZ #13144]
44985         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44986         kernel in 64-bit binaries.
44987
44988 2011-09-01  David S. Miller  <davem@davemloft.net>
44989
44990         * elf/elf.h (HWCAP_SPARC_*): Move to..
44991         * sysdeps/sparc/sysdep.h: this new file and add new values.
44992         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44993         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44994         _DL_HWCAP_COUNT to 24.
44995         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44996         entries.
44997         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44998         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44999         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45000         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45001         instead of magic constants.
45002         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45003
45004 2011-08-31  David S. Miller  <davem@davemloft.net>
45005
45006         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45007         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45008         Reimplement to do errno handling inline.
45009         (SYSCALL_ERROR_HANDLER): New macro.
45010         (__SYSCALL_STRING): Do not do errno handling in asm.
45011         (__CLONE_SYSCALL_STRING): Delete.
45012         (__INTERNAL_SYSCALL_STRING): Delete.
45013         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45014         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45015         (PSEUDO): Reimplement to do errno handling inline.
45016         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45017         (SYSCALL_ERROR_HANDLER): New macro.
45018         (__SYSCALL_STRING): Do not do errno handling in asm.
45019         (__CLONE_SYSCALL_STRING): Delete.
45020         (__INTERNAL_SYSCALL_STRING): Delete.
45021         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45022         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45023         i386.
45024         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45025         (inline_syscall*): Add 'err' argument.
45026         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45027         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45028         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45029         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45030
45031         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45032         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45033
45034 2011-08-30  Andreas Schwab  <schwab@redhat.com>
45035
45036         * elf/rtld.c (dl_main): Relocate objects in dependency order.
45037
45038 2011-08-29  Jiri Olsa <jolsa@redhat.com>
45039
45040         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45041         directive.
45042
45043 2011-08-24  David S. Miller  <davem@davemloft.net>
45044
45045         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45046
45047 2011-08-24  Andreas Schwab  <schwab@redhat.com>
45048
45049         * elf/Makefile: Add rules to build and run unload8 test.
45050         * elf/unload8.c: New file.
45051         * elf/unload8mod1.c: New file.
45052         * elf/unload8mod1x.c: New file.
45053         * elf/unload8mod2.c: New file.
45054         * elf/unload8mod3.c: New file.
45055
45056         * elf/dl-close.c (_dl_close_worker): Reset private search list if
45057         it wasn't used.
45058
45059 2011-08-23  David S. Miller  <davem@davemloft.net>
45060
45061         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45062         subtract stack bias.
45063         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45064         %sp not %fp in calculations.
45065         (_JMPBUF_UNWINDS_ADJ): Likewise.
45066
45067         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45068         (aio_suspend): Call it to force an exception region around the
45069         AIO_MISC_WAIT() invocation.
45070
45071 2011-08-23  Andreas Schwab  <schwab@redhat.com>
45072
45073         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45074         backslash.
45075
45076 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
45077
45078         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45079         protection macro.
45080         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45081         and <dl-machine.h>.
45082         (Elf64_FuncDesc): Remove.
45083
45084 2011-08-22  David S. Miller  <davem@davemloft.net>
45085
45086         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45087         sigaltstack check, add missing cfi directives.
45088         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45089         missing cfi directives, and sigaltstack handling.
45090
45091 2011-08-16  Andreas Schwab  <schwab@redhat.com>
45092
45093         [BZ #11724]
45094         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45095         object is seen twice.
45096         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45097
45098         * elf/Makefile (distribute): Add tst-initorder2.c.
45099         (tests): Add tst-initorder2.
45100         (modules-names): Add tst-initorder2a tst-initorder2b
45101         tst-initorder2c tst-initorder2d.  Add rules to build them.
45102         ($(objpfx)tst-initorder2.out): New rule.
45103         * elf/tst-initorder2.c: New file.
45104         * elf/tst-initorder2.exp: New file.
45105
45106 2011-08-22  Andreas Schwab  <schwab@redhat.com>
45107
45108         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45109
45110         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45111         dependencies back to end of function.
45112
45113         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45114         $(elfobjdir)/ld.so.
45115
45116 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
45117
45118         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45119         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45120         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45121         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45122         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45123         of __vdso_gettimeofday.
45124         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45125         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
45126         attribute_hidden.
45127         (_libc_vdso_platform_setup): Remove initialization of
45128         __vdso_gettimeofday and __vdso_time.
45129
45130 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45131
45132         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45133         and fgetc_unlocked.
45134         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45135         getc_unlocked.
45136
45137         * elf/dl-open.c (add_to_global): Report additions to the global scope
45138         for LD_DEBUG=scopes.
45139         (dl_open_worker): Also print scope of newly loaded dependencies.
45140         (_dl_show_scope): Indicate if there is no scope.
45141
45142         [BZ #13114]
45143         * stdio-common/Makefile (tests): Add bug24.
45144         * stdio-common/bug24.c: New file.
45145
45146 2011-08-19  Andreas Jaeger  <aj@suse.de>
45147
45148         [BZ #13114]
45149         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45150         non-existant file when using close-on-exec mode.
45151
45152 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45153
45154         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45155         the very first instruction.
45156
45157         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45158         the CFI state in the end.
45159         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45160         inclusion of dl-trampoline.h.
45161         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45162
45163 2011-08-19  Andreas Schwab  <schwab@redhat.com>
45164
45165         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45166         expectations for long double.
45167
45168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45169         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45170
45171 2011-08-14  David S. Miller  <davem@davemloft.net>
45172
45173         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45174         artificual limit depends upon the system page size.
45175
45176 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45177
45178         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45179         * resolv/Makefile: Define CFLAGS-libresolv.
45180
45181 2011-08-17  Andreas Schwab  <schwab@redhat.com>
45182
45183         * nss/makedb.c (compute_tables): Make variables used in nested
45184         function static.
45185
45186 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45187
45188         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45189         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45190         if buffer was too small.
45191
45192         * elf/pldd.c (main): Attach to all threads in the process.
45193         Rewrite /proc handling to use *at functions.
45194
45195 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
45196
45197         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45198         specifies first scope to show.
45199         (dl_open_worker): Update callers.  Move printing scope of new
45200         object to before the relocation.
45201         * elf/rtld.c (dl_main): Update _dl_show_scope call.
45202         * sysdeps/generic/ldsodefs.h: Update declaration.
45203
45204         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45205         string for the scope number.
45206
45207 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
45208
45209         * nscd/servicescache.c (cache_addserv): Make sure written is always
45210         initialized.
45211
45212 2011-08-14  Roland McGrath  <roland@hack.frob.com>
45213
45214         * sysdeps/i386/i486/bits/atomic.h
45215         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45216         statement expression, so as to suppress "set but not used" warning.
45217         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45218
45219         * string/strncat.c (STRNCAT): Use prototype definition.
45220
45221         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45222         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45223         -Iprograms here.
45224         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45225         (localedef-modules): Add localedef.
45226         (locale-modules): Add locale.
45227
45228         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45229         * elf/rtld.c (dl_main): Invert order of assignment in last change,
45230         to avoid a warning.
45231
45232 2011-08-14  David S. Miller  <davem@davemloft.net>
45233
45234         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45235         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45236
45237 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
45238
45239         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45240         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45241         * elf/rtld.c (dl_main): Set l_name of vDSO.
45242         Call _dl_show_scope when DL_DEBUG_SCOPES.
45243         (process_dl_debug): Recognize scopes flag and also set it for all.
45244         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45245         Declare _dl_show_scope.
45246
45247         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45248         (do_dlopen): Pass caller_dlopen to dl_open.
45249         (__libc_dlopen_mode): Initialize caller_dlopen.
45250
45251         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45252         of libc.  Make tolower call locale-independent.  Optimize a bit by
45253         using isdigit instead of isalnum.
45254         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45255
45256 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
45257
45258         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45259         was a dependency or dynamically loaded.
45260
45261 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
45262
45263         * intl/l10nflist.c: Allow architecture-specific pop function.
45264         * sysdeps/x86_64/l10nflist.c: New file.
45265
45266         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45267         classification.
45268
45269 2011-08-10  Andreas Schwab  <schwab@redhat.com>
45270
45271         * include/dirent.h: Add libc_hidden_proto for scandirat and
45272         scandirat64.  Don't declare __scandirat64.
45273         * dirent/scandirat.c: Add libc_hidden_def.
45274         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45275         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45276
45277 2011-08-10  David S. Miller  <davem@davemloft.net>
45278
45279         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45280         enum.
45281         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45282         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45283         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45284
45285 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
45286
45287         * Versions.def [libc]: Add GLIBC_2.15.
45288         * dirent/Makefile (routines): Add scandirat and scandirat64.
45289         * dirent/Versions [libc]: Export scandirat and scandirat64 for
45290         GLIBC_2.15.
45291         * dirent/dirent.h: Declare scandirat and scandirat64.
45292         * dirent/scandirat.c: New file.
45293         * dirent/scandirat64.c: New file.
45294         * sysdeps/wordsize-64/scandirat.c: New file.
45295         * sysdeps/wordsize-64/scandirat64.c: New file.
45296         * dirent/opendir.c: Define opendirat.
45297         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
45298         using scandirat.
45299         * dirent/scandir64.c: Adjust for scandir.c change.
45300         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
45301         __scandirat64, and __scandir_cancel_handler.
45302         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
45303         additional parameter and use openat instead of open (outside of ld.so).
45304         Add new __opendir as wrapper around __opendirat.
45305         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45306         here without requiring old scandirat implementation.
45307
45308 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
45309
45310         * dirent/scandir.c (cancel_handler): Renamed to
45311         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
45312         defined.  Adjust users.
45313         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45314         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45315
45316 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
45317
45318         * string/test-string.h (IMPL): Use __STRING to expand name and then
45319         stringify it.
45320
45321         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
45322         of cleanups.
45323
45324 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45325
45326         * string/Makefile: Update.
45327         (strop-tests): Append strncat.
45328         * string/test-wcscmp.c: New file.
45329         New comprehensive test for wcscmp.
45330         * string/test-strcmp.c: Update.
45331         (WIDE): New define.
45332
45333 2011-07-22  Andreas Schwab  <schwab@redhat.com>
45334
45335         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45336         line.
45337
45338 2011-07-26  Andreas Schwab  <schwab@redhat.com>
45339
45340         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45341         encoding to ACE if AI_IDN.
45342
45343 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
45344
45345         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45346         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45347
45348 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45349
45350         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45351         Fix overflow bug in strncat.
45352         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45353
45354         * string/test-strncat.c: Update.
45355         Add new tests for checking overflow bugs.
45356
45357 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45358
45359         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45360         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45361         * sysdeps/i386/i686/multiarch/strcat.S: New file.
45362         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45363         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45364         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45365         * sysdeps/i386/i686/multiarch/strncat.S: New file.
45366         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45367         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45368
45369         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45370         (USE_AS_STRCAT): Define.
45371         Add strcat and strncat support.
45372         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45373
45374 2011-07-25  Andreas Schwab  <schwab@redhat.com>
45375
45376         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45377         __n bigger than INT_MAX+1.
45378         (__strncmp_g): Likewise.
45379
45380 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
45381
45382         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45383         * libio/stido.h: Likewise.
45384
45385         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45386         (AF_NFC): Define.
45387         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45388         (AF_NFC): Define.
45389
45390         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45391         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45392         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45393         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45394         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45395
45396         [BZ #13021]
45397         * scripts/test-installation.pl: Don't expect libnss_test1 to be
45398         installed.
45399
45400         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45401         typo.
45402         (_dl_x86_64_save_sse): Likewise.
45403
45404 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
45405
45406         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45407         OSXSAVE.
45408         (_dl_x86_64_save_sse): Likewise.
45409
45410         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45411
45412         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45413
45414 2011-07-21  Andreas Schwab  <schwab@redhat.com>
45415
45416         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45417         change.
45418         (_dl_x86_64_save_sse): Use correct AVX check.
45419
45420 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45421
45422         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45423         bug in strncpy/strncat.
45424         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45425
45426 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
45427
45428         * string/tester.c (test_strcat): Add tests for different alignments
45429         of source and destination.
45430         (test_strncat): Likewise.
45431
45432 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45433
45434         [BZ #12852]
45435         * posix/glob.c (glob): Check passed in values before using them in
45436         expressions to avoid some overflows.
45437         (glob_in_dir): Likewise.
45438
45439         [BZ #13007]
45440         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45441         check for AVX enablement so that we don't crash with old kernels and
45442         new hardware.
45443         * elf/tst-audit4.c: Add same checks here.
45444         * elf/tst-audit6.c: Likewise.
45445
45446         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45447
45448 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
45449
45450         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45451
45452 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45453
45454         * po/cs.po: Update from translation team.
45455         * po/bg.po: Likewise.
45456
45457 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
45458
45459         * misc/sys/cdefs.h: Add support for const attribute.
45460         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45461         to gnu_dev_{major,minor,makedev} functions.
45462
45463 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
45464
45465         * intl/dcigettext.c (get_output_charset): Add missing bracket.
45466
45467 2011-07-20  Andreas Schwab  <schwab@redhat.com>
45468
45469         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45470         strlen results.
45471
45472 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45473
45474         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45475         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45476         register in order to avoid conflicts with the soft frame pointer
45477         being held in r11 when necessary.
45478         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45479         (INTERNAL_VSYSCALL_NCS): Likewise.
45480
45481 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
45482
45483         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45484         * elf/dl-fini.c (_dl_fini): Adjust caller.
45485         * elf/dl-close.c (_dl_close_worker): Likewise.
45486         * sysdeps/generic/ldsodefs.h: Adjust declaration.
45487
45488 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45489
45490         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45491         "aux_cache->nlibs < 0".
45492
45493         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45494         in the reload-count case.
45495
45496 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45497
45498         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45499         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45500         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45501         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45502         * sysdeps/x86_64/multiarch/strcat.S: New file.
45503         * sysdeps/x86_64/multiarch/strncat.S: New file.
45504         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45505         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45506         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45507         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45508         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45509         (USE_AS_STRCAT): Define.
45510         Add strcat and strncat support.
45511         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45512         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45513         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45514         * string/strncat.c: Update.
45515         (USE_AS_STRNCAT): Define.
45516         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45517         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45518         and i7.
45519         * sysdeps/x86_64/multiarch/init-arch.h
45520         (bit_Prefer_PMINUB_for_stringop): New.
45521         (index_Prefer_PMINUB_for_stringop): Likewise.
45522         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45523         bit_Prefer_PMINUB_for_stringop.
45524
45525 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45526
45527         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45528         buffer64.
45529         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45530         of casting of buffer.
45531         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45532         buffer32 and buffer64.
45533         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45534         writes instead of casting of buffer.
45535         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45536         buffer32.
45537         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45538         casting of buffer.
45539
45540 2011-07-19  Andreas Schwab  <schwab@redhat.com>
45541
45542         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45543
45544 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45545
45546         * nscd/nscd.c (termination_handler): Don't do anything for a database
45547         if it has not yet been initialized.
45548
45549 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45550
45551         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45552
45553 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45554
45555         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45556
45557 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45558
45559         * po/nl.po: Update from translation team.
45560         * po/sv.po: Likewise.
45561
45562 2011-07-16  Roland McGrath  <roland@hack.frob.com>
45563
45564         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45565         now disallowed by GCC.
45566
45567         * configure.in (use-default-link): Default to yes if a test -shared
45568         link meets our qualifications.
45569         * configure: Regenerated.
45570
45571         * config.make.in (output-format): New variable.
45572         * configure.in: Check for ld --print-output-format support.
45573         * configure: Regenerated.
45574         * Makerules ($(common-objpfx)format.lds)
45575         [$(output-format) != unknown]: Just use $(output-format),
45576         instead of the linker-script munging.
45577
45578 2011-07-14  Roland McGrath  <roland@hack.frob.com>
45579
45580         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45581         of $(common-objpfx)shlib.lds.
45582         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45583
45584         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45585         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45586
45587         * configure.in (-z relro check): Adjust test code to add a large
45588         writable data section after it.
45589         * configure: Regenerated.
45590
45591 2011-07-11  Roland McGrath  <roland@hack.frob.com>
45592
45593         * configure.in (-z relro check): Fix test code to make the variable
45594         truly const.
45595         * configure: Regenerated.
45596
45597 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
45598
45599         * nscd/nscd.h (struct traced_file): Define.
45600         (struct database_dyn): Remove inotify_descr, reset_res, and filename
45601         elements.  Add traced_files.
45602         (inotify_fd): Declare.
45603         (register_traced_file): Declare.
45604         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45605         (inotify_fd): Export.
45606         (resolv_conf_descr): Remove.
45607         (nscd_init): Move inotify descriptor creation to main.
45608         Don't register files for notification here.
45609         (register_traced_file): New function.
45610         (invalidate_cache): Don't use reset_res to determine whether to call
45611         res_init, go through the list of registered files.
45612         (main_loop_poll): The inotify descriptors are now stored in the
45613         structures for the traced files.
45614         (main_loop_epoll): Likewise
45615         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
45616         to __nss_disable_nscd.
45617         * nscd/cache.c (prune_cache): There is no single inotify descriptor
45618         for a database anymore.  Check the records for all the registered
45619         files instead.
45620         * nss/Makefile (libnss_files-routines): Add files-init.
45621         (libnss_db-routines): Add db-init.
45622         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45623         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45624         * nss/nss_db/db-init.c: New file.
45625         * nss/nss_files/files-init.c: New file.
45626         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
45627         __nss_lookup_function.
45628         (__nss_lookup_function): Call nss_load_library.
45629         (nss_load_all_libraries): New function.
45630         (__nss_disable_nscd): Take parameter with callback function for files
45631         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
45632         used for the cached services.
45633         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45634         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45635         options for features to all the files in nscd.
45636
45637         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45638
45639 2011-07-10  Roland McGrath  <roland@hack.frob.com>
45640
45641         * csu/elf-init.c (__libc_csu_init): Comment typo.
45642
45643 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
45644
45645         * po/pl.po: Update from translation team.
45646         * po/ja.po: Likewise.
45647         * po/ru.po: Likewise.
45648         * po/ko.po: Likewise.
45649         * po/fr.po: Likewise.
45650
45651 2011-07-09  Roland McGrath  <roland@hack.frob.com>
45652
45653         * configure.in (.ctors/.dtors header and trailer check):
45654         Use an empirical test on a built program.
45655         * configure: Regenerated.
45656
45657         * configure.in (-z relro check): Use an empirical test on a built DSO.
45658         Detect, but do not require, on ia64.
45659         * configure: Regenerated.
45660
45661         * configure.in (READELF): Find it with AC_CHECK_TOOL.
45662         Update tests that use readelf to use $READELF instead.
45663         * configure: Regenerated.
45664
45665 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
45666
45667         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45668         if the result is not used.
45669
45670 2011-07-05  Andreas Jaeger  <aj@suse.de>
45671
45672         [BZ#9696]
45673         * stdlib/tst-strtod.c: Add testcase.
45674
45675 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
45676
45677         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45678         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45679         The latter has a higher limit.  Take additional parameter to pass to
45680         the new function.
45681         (__pathconf): Pass file to __statfs_link_max.
45682         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45683         __statfs_link_max.
45684         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45685         __statfs_link_max.
45686
45687         [BZ #12868]
45688         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45689         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45690         Handle Lustre.
45691         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45692         (__statfs_filesize_max): Likewise.
45693         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45694
45695 2011-07-05  Andreas Jaeger  <aj@suse.de>
45696
45697         * resolv/res_comp.c (dn_skipname): Remove unused variable.
45698
45699 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
45700
45701         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45702         `status' variable.
45703         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45704         Likewise.
45705
45706 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
45707
45708         * Makefile (strop-tests): Add strncat.
45709         * string/test-strncat.c: New file.
45710
45711 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
45712
45713         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45714
45715 2011-06-21  Andreas Jaeger  <aj@suse.de>
45716
45717         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45718         Copy rule from iconvdata/Makefile.
45719
45720 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45721
45722         [BZ #12922]
45723         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45724         but no long options are defined, just return 'W'.
45725
45726 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
45727
45728         [BZ #9696]
45729         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45730
45731 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45732
45733         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45734         netgroups to read.
45735         (innetgr): Likewise.
45736
45737 2011-07-05  Roland McGrath  <roland@hack.frob.com>
45738
45739         * config.make.in (install_root): Default to $(DESTDIR).
45740
45741 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
45742
45743         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45744
45745 2011-07-02  Roland McGrath  <roland@hack.frob.com>
45746
45747         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45748
45749         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45750         containing directory rather than embedding absolute directory names.
45751
45752         * scripts/check-local-headers.sh: Rewritten using awk.
45753         Match by word, not by line.  Print error messages for matches.
45754         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45755
45756         * Makerules [shlib-lds-flags empty]:
45757         ($(common-objpfx)libc_pic.opts): New target.
45758         ($(common-objpfx)libc_pic.os.clean): New target.
45759         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45760
45761         * config.make.in (OBJCOPY): New variable.
45762         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45763         * configure: Regenerated.
45764
45765         * config.make.in (use-default-link): New variable.
45766         * configure.in (use_default_link): Grok --with-default-link to set it.
45767         * configure: Regenerated.
45768         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45769         (shlib-lds, shlib-lds-flags): Define to empty.
45770
45771         * Makerules (shlib-lds): New variable.
45772         (shlib-lds-flags): New variable.
45773         (build-shlib, build-moduile, build-module-asneeded): Use it.
45774         ($(common-objpfx)libc.so): Use $(shlib-lds).
45775         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45776         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45777
45778         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45779         DT_FLAGS/DT_FLAGS_1 with zero flags.
45780
45781         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45782         linker script munging.
45783
45784 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
45785
45786         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45787         as 128-bit value.
45788         * crypt/sha512.c (sha512_process_block): Perform total addition using
45789         128-bit if possible.
45790         (__sha512_finish_ctx): Likewise.
45791         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45792         as 64-bit value.
45793         * crypt/sha256.c (SWAP64): Define.
45794         (sha256_process_block): Perform total addition using 64-bit if
45795         possible.
45796         (__sha256_finish_ctx): Likewise.
45797
45798 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
45799
45800         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
45801         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45802         * nscd/hstcache.c (cache_addhst): Likewise.
45803         * nscd/grpcache.c (cache_addgr): Likewise.
45804         * nscd/aicache.c (addhstaiX): Likewise
45805         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45806
45807 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
45808
45809         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45810         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45811         * nscd/hstcache.c (cache_addhst): Likewise.
45812         * nscd/grpcache.c (cache_addgr): Likewise.
45813         * nscd/aicache.c (addhstaiX): Likewise
45814
45815 2011-07-01  Andreas Schwab  <schwab@redhat.com>
45816
45817         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45818         domain only when needed.
45819
45820 2011-06-30  Andreas Schwab  <schwab@redhat.com>
45821
45822         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45823         is always restored.
45824
45825 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
45826
45827         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45828         are re-adding the entry.
45829         * nscd/servicescache.c (cache_addserv): Likewise.
45830
45831 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
45832
45833         * sysdeps/generic/dl-irel.h: fix protection against multiple
45834         inclusions.
45835         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45836
45837 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
45838
45839         [BZ #12935]
45840         * malloc/memusage.sh: Fix quoting in message.
45841         * debug/xtrace.sh: Likewise.
45842
45843         * configure.in: Remove support for --experimental-malloc option, make
45844         it the default.
45845         * config.make.in: Likewise.
45846         * malloc/Makefile: Likewise.
45847
45848 2011-06-27  Andreas Schwab  <schwab@redhat.com>
45849
45850         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45851         two-byte characters.
45852
45853 2011-06-27  Roland McGrath  <roland@hack.frob.com>
45854
45855         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45856         AC_CACHE_CHECK invocation.
45857         * configure: Regenerated.
45858
45859         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45860
45861 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
45862
45863         [BZ #12350]
45864         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
45865         bit from old_res_options.
45866
45867         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45868
45869         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45870         value type for setfct.
45871
45872 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
45873
45874         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45875         __gettimeofday instead of gettimeofday.
45876
45877 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
45878
45879         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45880
45881 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
45882
45883         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45884
45885         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45886         info.
45887
45888 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45889
45890         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45891         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45892         strcpy-sse2-unaligned strncpy-sse2-unaligned
45893         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45894         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45895         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45896         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45897         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45898         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45899         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45900         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45901         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45902         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45903         (STRCPY): Support SSE2 and SSSE3 versions.
45904
45905 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
45906
45907         [BZ #12874]
45908         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45909         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45910         kernels which artificially limit size of requests.
45911
45912 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45913
45914         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45915         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45916         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45917         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45918         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45919         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45920         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45921         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45922         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45923         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45924         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45925         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45926         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45927         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45928         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45929         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45930         Enable unaligned load optimization for Intel Core i3, i5 and i7
45931         processors.
45932         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45933         Define.
45934         (index_Fast_Unaligned_Load): Define.
45935         (HAS_FAST_UNALIGNED_LOAD): Define.
45936
45937 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
45938
45939         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45940
45941 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45942
45943         [BZ #12907]
45944         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45945         until it is clear that the information is realy needed.
45946         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45947
45948 2011-06-22  Andreas Schwab  <schwab@redhat.com>
45949
45950         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45951
45952 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45953
45954         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45955         /sys/devices/system/cpu/online if it is usable.
45956
45957         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45958         reading the information from the /proc filesystem to once a second.
45959
45960 2011-06-21  Andreas Jaeger  <aj@suse.de>
45961
45962         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45963         NULL after inclusion of kernel headers.
45964
45965 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
45966
45967         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45968         calls to internal_setent.
45969
45970         [BZ #12885]
45971         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45972         addresses using gethostbyname4_r ignore IPv4 addresses.
45973
45974         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45975         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
45976
45977         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45978
45979 2011-06-20  David S. Miller  <davem@davemloft.net>
45980
45981         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45982         inclusions.
45983         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45984
45985         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45986         (elf_irel): Use it.
45987         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45988         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45989         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45990         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45991         * sysdeps/x86_64/dl-irel.h: Likewise.
45992
45993         * elf/dl-runtime.c: Use elf_ifunc_invoke.
45994         * elf/dl-sym.c: Likewise.
45995
45996 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45997
45998         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
45999         need to dereference resplen2.
46000
46001 2011-06-14  Andreas Schwab  <schwab@redhat.com>
46002
46003         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46004
46005 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46006
46007         * Makeconfig: Define vardbdir and inst_vardbdir.
46008         * nss/Makefile: Add rules to install db-Makefile.
46009
46010         * nss/nss_db/db-XXX.c: Cleanup.
46011
46012         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46013         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46014         GLIBC_PRIVATE.
46015         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46016         * nss/makedb.c: Implement -g option to specify that value strings
46017         are generated and should not be added to table iterated over for
46018         get*ent calls.
46019         * nss/nss_db/db-initgroups.c: New file.
46020
46021         * nss/getent.c: Add support for initgroups lookups through getgrouplist
46022         interface.
46023
46024         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46025         (internal_getgrouplist): Adjust to name change.
46026         Update use_initgroups_entry if this is not the first call.
46027         * nss/databases.def: Add initgroups entry.
46028
46029         * nss/makedb.c (compute_tables): Check result of multiple hash table
46030         sizes to minimize maximum chain length.
46031
46032 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
46033
46034         * Versions.def: Add entry for libnss_db.
46035         * shlib-versions: Likewise.
46036         * nss/Makefile: Add rules to build libnss_db.
46037         * nss/Versions: Add libnss_db information.  Organize libnss_files
46038         entries better.
46039         * nss/db-Makefile: Add gshadow support.  Change rules for the new
46040         makedb progra.  Some minor improvements to generate smaller files.
46041         * nss/nss_db/nss_db.h: Move NSS database header data structures to
46042         here from...
46043         * nss/makedb.c: ...here.
46044         Improve database format to be smaller and require less memory at
46045         runtime.
46046         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
46047         db anymore.
46048         * nss/nss_db/db-netgrp.c: Likewise.
46049         * nss/nss_db/db-open.c: Likewise.
46050         * nss/nss_files/flies-XXX.x: Adjust comments.
46051         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46052         * nss/nss_files/files-grp.c: Likewise.
46053         * nss/nss_files/files-hosts.c: Likewise.
46054         * nss/nss_files/files-network.c: Likewise.
46055         * nss/nss_files/files-proto.c: Likewise.
46056         * nss/nss_files/files-pwd.c: Likewise.
46057         * nss/nss_files/files-rpc.c: Likewise.
46058         * nss/nss_files/files-service.c: Likewise.
46059         * nss/nss_files/files-sgrp.c: Likewise.
46060         * nss/nss_files/files-spwd.c: Likewise.
46061         * nss/nss_db/db-alias.c: Removed.
46062         * nss/nss_db/dummy-db.h: Removed.
46063
46064 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
46065
46066         * nss/makedb.c: Rewritten to not use database library.
46067         * nss/Makefile: Update to build new makedb program.
46068
46069 2011-06-14  Andreas Jaeger  <aj@suse.de>
46070
46071         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46072         memset declaration.
46073
46074 2011-06-10  Andreas Schwab  <schwab@redhat.com>
46075
46076         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46077         tmpbuf.
46078
46079 2011-06-10  Roland McGrath  <roland@hack.frob.com>
46080
46081         * Makerules (shlib.lds): Fail if the linker script comes out empty.
46082         * elf/Makefile ($(objpfx)ld.so): Likewise.
46083
46084         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46085         Don't list ld.so twice in dependencies.
46086
46087         * posix/bug-regex31.c: Include <stdlib.h>.
46088
46089         * nscd/hstcache.c (cache_addhst): Remove unused variable.
46090
46091         * nis/nss_compat/compat-spwd.c
46092         (getspent_next_nss_netgr): Remove unused variable.
46093         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46094
46095         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46096         nonmembers" output to use the right array.
46097
46098         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46099
46100         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46101
46102         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46103         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46104         * catgets/gencat.c (read_input_file): Likewise.
46105         * locale/programs/locarchive.c (enlarge_archive): Likewise.
46106
46107         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46108         variable definition inside #if's controlling its use.
46109
46110         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46111
46112         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46113
46114         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46115
46116         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46117         unreachable code.
46118
46119         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46120
46121         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46122         * configure: Regenerated.
46123
46124         * Makerules: Revert last change.
46125         * elf/Makefile: Likewise.
46126
46127 2011-06-09  Roland McGrath  <roland@hack.frob.com>
46128
46129         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46130         * elf/Makefile ($(objpfx)librtld.os): Likewise.
46131         (reloc-link): Likewise.
46132
46133 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
46134
46135         * elf/Makefile: Add rules to build pldd.
46136         * elf/pldd.c: New file.
46137         * elf/pldd-xx.c: New file.
46138
46139 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
46140
46141         * version.h: Update for 2.15 development version.
46142
46143 2011-06-07  David S. Miller  <davem@davemloft.net>
46144
46145         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46146         ifuncs.
46147         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46148         elf_machine_lazy_rel): Likewise.
46149         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46150         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46151         elf_machine_lazy_rel): Likewise.
46152         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46153         dl_hwcap via passed in argument.
46154         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46155         Likewise.
46156
46157 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46158
46159         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
46160
46161 2011-06-06  Roland McGrath  <roland@hack.frob.com>
46162
46163         [BZ #12849]
46164         * manual/fdl-1.1.texi: New file, verbatim from:
46165         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46166         * manual/lgpl-2.1.texi: New file, verbatim from:
46167         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46168         * manual/Makefile (licenses): New variable, list those new file names.
46169         (texis): Use it.
46170         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46171
46172         * manual/fdl.texi: File removed.
46173         * manual/lesser.texi: File removed.
46174         * manual/libc.texinfo (Copying, Documentation License):
46175         Use new @include file names, put @appendix directive before @include.
46176
46177 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
46178
46179         [BZ #12841]
46180         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46181         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46182         (mq_open): Add __NTH.
46183
46184 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
46185
46186         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46187         Assume Intel Core i3/i5/i7 processor if AVX is available.
46188
46189 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46190
46191         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46192         typo.
46193
46194 2011-05-31  Andreas Schwab  <schwab@redhat.com>
46195
46196         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46197         memory.  Use alloca_account.  Fix memory leak when retrying.
46198
46199 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46200
46201         * version.h (RELEASE): Bump for 2.14 release.
46202         * include/features.h (__GLIBC_MINOR__): Bump to 14.
46203
46204         * config.make.in (RANLIB): Remove entry.
46205
46206 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
46207
46208         * po/Makefile (po-sed-cmd): Add ksh to extensions.
46209         (libc.pot): Work around missing support for .ksh extension in xgettext.
46210
46211         [BZ #12684]
46212         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46213         if both request failed.
46214         (send_dg): In case of server errors clear resplen or *resplen2.
46215
46216         [BZ #12454]
46217         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46218         when there are multiple maps.
46219         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46220         (_dl_fini): Remove test here.
46221
46222         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46223
46224 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
46225
46226         [BZ #12350]
46227         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46228         bit from old_res_options.
46229         (gaih_inet): Likewise.
46230
46231         [BZ #11099]
46232         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46233         as signed.
46234
46235         * resolv/res_init.c (res_setoptions): Make the code more compact.
46236
46237         [BZ #11558]
46238         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46239         set RES_USEVC.
46240
46241         [BZ #11634]
46242         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46243
46244         * malloc/malloc.h: Mark malloc hook variables as deprecated.
46245
46246         [BZ #11781]
46247         * malloc/malloc.h: Declare malloc hook variables as volatile.
46248
46249         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46250         in last patch.
46251
46252         [BZ #11799]
46253         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46254         raise in the comment.
46255         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46256         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46257         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46258
46259 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
46260
46261         [BZ #12811]
46262         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46263         grow the buffers more if it already has to be sufficient.
46264         (build_wcs_upper_buffer): Likewise.
46265         * posix/regexec.c (check_matching): Likewise.
46266         (clean_state_log_if_needed): Likewise.
46267         (extend_buffers): Don't enlarge buffers beyond size of the input
46268         buffer.
46269         Patches mostly by Emil Wojak <emil@wojak.eu>.
46270         * posix/bug-regex32.c: New file.
46271         * posix/Makefile (tests): Add bug-regex32.
46272
46273         * locale/findlocale.c (_nl_find_locale): Return right away if
46274         _nl_explode_name failed.
46275         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46276
46277         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46278
46279         * debug/xtrace.sh: Unify messages.
46280         * malloc/memusage.sh: Likewise.
46281
46282         [BZ #12813]
46283         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46284         time symbol from vDSO.  Substitute with vsyscall if not available.
46285         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46286         __vdso_time.
46287
46288         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46289         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46290         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46291         Add sendmmsg and internal_sendmmsg.
46292         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46293         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46294         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46295
46296         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46297         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46298         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46299
46300 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
46301
46302         [BZ #12813]
46303         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46304         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
46305         available.
46306         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46307         __vdso_getcpu.
46308
46309         [BZ #12814]
46310         * iconvdata/Makefile (tests): Add bug-iconv9.
46311         * iconvdata/bug-iconv9.c: New file.
46312
46313 2011-05-27  Andreas Schwab  <schwab@redhat.com>
46314
46315         [BZ #12814]
46316         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46317
46318 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
46319
46320         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46321         (struct user_regs_struct): Change intcs field back to cs.
46322
46323 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
46324
46325         * po/ja.po: Update from translation team.
46326
46327 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
46328
46329         [BZ #12795]
46330         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46331         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46332
46333 2011-05-20  Andreas Schwab  <schwab@redhat.com>
46334
46335         * stdlib/longlong.h: Update from GCC.
46336
46337 2011-05-23  Andreas Schwab  <schwab@redhat.com>
46338
46339         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46340         parameter name.
46341         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46342         Add parameter name.
46343         (__sysconf): Pass it down.
46344
46345 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
46346
46347         [BZ #12671]
46348         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46349         some situations.
46350         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46351         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46352         add in in __libc_use_alloca calls.  Adjust callers.
46353         (glob): Use malloc in some situations.
46354
46355         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46356         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46357         pltexit.
46358
46359 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
46360
46361         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46362         and CLOCK_BOOTTIME_ALARM.
46363
46364         [BZ #12782]
46365         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46366         is returned.
46367
46368         * string/_strerror.c (__strerror_r): Print negative errors as signed
46369         numbers.
46370
46371         [BZ #12777]
46372         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46373         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46374         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46375
46376         * configure.in: Fix typo in redirection and correct removal of test
46377         files in two cases.
46378
46379         [BZ #12788]
46380         * locale/setlocale.c (new_composite_name): Fix test to check for
46381         identical name of all categories.
46382
46383         [BZ #12792]
46384         * libio/filedoalloc.c (local_isatty): New function.
46385         (_IO_file_doallocate): Use local_isatty.
46386         * stdio-common/perror.c (perror): In case a new stream is used
46387         forward the stream error.
46388         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46389         error flag.
46390
46391 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
46392
46393         [BZ #11869]
46394         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46395         alloca.
46396         * include/alloca.h (extend_alloca_account): Define.
46397
46398         [BZ #11857]
46399         * posix/regex.h: Fix comments with documentation of user-accessible
46400         fields after compilation and describe correct free'ing of pattern
46401         after re_compile_pattern.
46402         Patch by Reuben Thomas <rrt@sc3d.org>.
46403
46404 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
46405
46406         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46407         and -mno-altivec to prevent the compiler from using Altivec and/or
46408         VSX instructions when the corresponding registers are not available.
46409
46410 2011-05-19  Andreas Schwab  <schwab@redhat.com>
46411
46412         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46413
46414 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
46415
46416         * libio/freopen.c (freopen): Use __dup2, not dup2.
46417         * libio/freopen64.c (freopen64): Likewise.
46418
46419 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46420
46421         [BZ #12775]
46422         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46423         * math/Makefile (tests): Add test-powl.
46424         (CFLAGS-test-powl.c): Define.
46425         * math/test-powl.c: New file.
46426
46427 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46428
46429         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46430
46431 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
46432
46433         [BZ #11837]
46434         * iconvdata/gb18030.c: Update to GB18020-2005.
46435
46436 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
46437
46438         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46439         RE_SYNTAX_POSIX_AWK): Update to match recent development.
46440         Patch by Aharon Robbins <arnold@skeeve.com>.
46441
46442         [BZ #11892]
46443         * stdlib/putenv.c (putenv): Don't always create copy of the variable
46444         on the stack.
46445
46446         [BZ #11895]
46447         * misc/pselect.c (__pselect): Handle timeout value errors hidden
46448         through underflows.
46449
46450         [BZ #12766]
46451         * misc/error.c (error_at_line): Ensure file_name and old_file_name
46452         point to strings before performing equality test for error_one_per_line
46453         mode.
46454
46455         [BZ #11697]
46456         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46457
46458         [BZ #11820]
46459         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46460         (struct user_fpregs_struct): Avoid __uint*_t types.
46461
46462         [BZ #6420]
46463         * malloc/mtrace.c (tr_where): Add additional parameter to point to
46464         symbol info.  Use it instead of calling _dl_addr locally.
46465         (lock_and_info): New function.
46466         (tr_freehook): Call lock_and_info and pass symbol info as additional
46467         parameter to tr_where.
46468         (tr_mallochook): Likewise.
46469         (tr_reallochook): Likewise.
46470         (tr_memalignhook): Likewise.
46471
46472         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
46473         used and couldn't be at all thread-safe.
46474
46475 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
46476
46477         * libio/freopen.c (freopen): Don't close old file descriptor
46478         before the new one is opened.  Instead dup the new file descriptor
46479         to the old one after the new stream is created.
46480         * libio/freopen64.c (freopen64): Likewise.
46481         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46482         * libio/fileops.c (_IO_new_file_close_it): Handle new
46483         _IO_FLAGS2_NOCLOSE flag.
46484         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46485         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46486         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46487         _IO_FLAGS2_NOCLOSE flag.
46488         * include/unistd.h: Add hidden_proto for dup3.
46489         Define __have_dup3.
46490         * io/dup3.c: Define hidden symbol.
46491         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46492
46493         [BZ #7101]
46494         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46495         when an incomplete long option is used.
46496         * posix/tst-getopt_long1.c: New file.
46497         * posix/Makefile (tests): Add tst-getopt_long1.
46498
46499         [BZ #10138]
46500         * scripts/config.guess: Update from autoconf-2.68.
46501         * scripts/config.sub: Likewise.
46502
46503         [BZ #10157]
46504         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46505         tests into ...
46506         (has_cpuclock): ...this.  New function.
46507         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46508         macro here based on has_cpuclock code.
46509
46510         [BZ #10149]
46511         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46512         First byte (not low byte) is now always NUL.
46513         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46514
46515         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46516         Use non-cancelable interfaces.
46517
46518         [BZ #9809]
46519         * locale/iso-639.def: Add entry for Sorani.
46520
46521         [BZ #11901]
46522         * include/stdlib.h: Move include protection to the right place.
46523         Define abort_msg_s.  Declare __abort_msg with it.
46524         * stdlib/abort.c (__abort_msg): Adjust type.
46525         * assert/assert.c (__assert_fail_base): New function.  Majority
46526         of code from __assert_fail.  Allocate memory for __abort_msg with
46527         mmap.
46528         (__assert_fail): Now call __assert_fail_base.
46529         * assert/assert-perr.c: Remove bulk of implementation.  Use
46530         __assert_fail_base.
46531         * include/assert.hL Declare __assert_fail_base.
46532         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46533         mmap.
46534         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46535
46536 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
46537
46538         [BZ #11952]
46539         [BZ #12453]
46540         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46541         until all modules are registered in the DTV.
46542         * elf/Makefile: Add rules to build and run tst-tls19.
46543         * elf/tst-tls19.c: New file.
46544         * elf/tst-tls19mod1.c: New file.
46545         * elf/tst-tls19mod2.c: New file.
46546         * elf/tst-tls19mod3.c: New file.
46547         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46548
46549         [BZ #12083]
46550         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46551         correctly.
46552
46553         [BZ #12601]
46554         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46555         two-byte sequence errors.
46556         * iconvdata/Makefile (tests): Add bug-iconv8.
46557         * iconvdata/bug-iconv8.c: New file.
46558
46559         [BZ #12626]
46560         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46561         buf2 definition.
46562
46563         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46564
46565         [BZ #12432]
46566         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46567         (dummy_getcfa): New function.
46568         (init): Get _Unwind_GetCFA address, use dummy if not found.
46569         (backtrace_helper): In recursion check, also check whether CFA changes.
46570         (__backtrace): Completely initialize arg.
46571
46572         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46573         storing incomplete byte sequence in state object.  Avoid testing for
46574         guaranteed too small input if we know there is enough data available.
46575
46576 2011-05-11  Andreas Schwab  <schwab@redhat.com>
46577
46578         * Makeconfig (+link-pie): Indent.
46579         * Rules (binaries-pie): Define if $(have-fpie) and
46580         $(build-shared).
46581         (binaries-shared): Also filter out $(binaries-pie).
46582         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46583         * nscd/Makefile (others-pie): Add nscd.
46584         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46585         ($(objpfx)nscd): Remove command override.
46586         * login/Makefile (others-pie): Add pt_chown.
46587         ($(objpfx)pt_chown): Remove command override.
46588         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46589         remove command overrides.
46590
46591 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
46592
46593         * libio/tst_putwc.c: Fix error messages.
46594
46595         [BZ #12724]
46596         * libio/fileops.c (_IO_new_file_close_it): Always flush when
46597         currently writing and seek to current position when not.
46598         * libio/Makefile (tests): Add bug-fclose1.
46599         * libio/bug-fclose1.c: New file.
46600
46601 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
46602
46603         [BZ #12511]
46604         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46605         don't set DF_1_NODELETE here.
46606         (do_lookup_x): When entering new entry test for copy relocation
46607         and if necessary set DF_1_NODELETE flag.
46608         * elf/tst-unique4.cc: New file.
46609         * elf/tst-unique4.h: New file.
46610         * elf/tst-unique4lib.cc: New file.
46611         * elf/Makefile: Add rules to build and run tst-unique4.
46612         Patch by Piotr Bury <pbury@goahead.com>.
46613
46614 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
46615
46616         [BZ #12052]
46617         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46618
46619         [BZ #12625]
46620         * misc/mntent_r.c (addmntent): Flush the stream after the output
46621
46622         [BZ #12393]
46623         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46624         (is_trusted_path_normalize): Skip initial colon.  Append slash
46625         to empty buffer.  Duplicate is_trusted_path code but allow
46626         constructed patch to be prefix.
46627         (is_dst): Allow $ORIGIN followed by /.
46628         (_dl_dst_substitute): Correct clearing of check_for_trusted.
46629         Correct testing of result of is_trusted_path_normalize
46630         (decompose_rpath): Fix warning.
46631
46632 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
46633
46634         [BZ #11257]
46635         * grp/initgroups.c (internal_getgrouplist): When we found the service
46636         list through the initgroups entry in nsswitch.conf do not always
46637         continue on a successful lookup.  Don't always use the
46638         __nss_group_database value if it is set.
46639         * nss/nsswitch.conf (initgroups): Change action for successful db
46640         lookup to continue for compatibility.
46641
46642 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
46643
46644         [BZ #11532]
46645         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46646         and CP774 modules.
46647         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46648         and CP774 modules.
46649         * iconvdata/tst-tables.sh: Likewise.
46650         * iconvdata/cp770.c: New file.
46651         * iconvdata/cp771.c: New file.
46652         * iconvdata/cp772.c: New file.
46653         * iconvdata/cp773.c: New file.
46654         * iconvdata/cp774.c: New file.
46655         * iconvdata/testdata/CP770: New file.
46656         * iconvdata/testdata/CP770..UTF8: New file.
46657         * iconvdata/testdata/CP771: New file.
46658         * iconvdata/testdata/CP771..UTF8: New file.
46659         * iconvdata/testdata/CP772: New file.
46660         * iconvdata/testdata/CP772..UTF8: New file.
46661         * iconvdata/testdata/CP773: New file.
46662         * iconvdata/testdata/CP773..UTF8: New file.
46663         * iconvdata/testdata/CP774: New file.
46664         * iconvdata/testdata/CP774..UTF8: New file.
46665
46666         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46667         END CHARMAP line.
46668         * iconvdata/gen-8bit-gap.sh: Likewise.
46669         * iconvdata/gen-8bit.sh: Likewise.
46670
46671         * locale/iso-639.def: Add ary entry.
46672
46673         [BZ #11258]
46674         * locale/C-translit.h.in: Add U20A1 transliteration.
46675
46676         [BZ #12178]
46677         * locale/iso-639.def: Add wae entry.
46678         Patch by Kevin Bortis <bortis@translate-wae.ch>.
46679
46680         [BZ #12545]
46681         * locale/programs/localedef.c (construct_output_path): Use ssize_t
46682         for n.
46683
46684         [BZ #12711]
46685         * locale/C-translit.h.in: Add entry for U20B9.
46686         Patch by pravin.d.s@gmail.com.
46687
46688 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
46689
46690         [BZ #12713]
46691         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46692         ENAMETOOLONG use generic getcwd.
46693         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
46694         in rtld.  Use *stat64.
46695         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46696         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46697         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46698         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46699         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46700         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46701         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46702         __fstatat64 macros.
46703         * include/dirent.h: Add libc_hidden_proto for rewinddir.
46704         * dirent/rewinddir.c: Add libc_hidden_def.
46705         * sysdeps/mach/hurd/rewinddir.c: Likewise.
46706         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
46707
46708         * include/dirent.h (__alloc_dir): Add flags parameter.
46709         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46710         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46711         __alloc_dir.
46712         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
46713         from fdopendir if O_CLOEXEC is already set.
46714
46715 2011-03-15  Alan Modra  <amodra@gmail.com>
46716
46717         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46718         l_tls_firstbyte_offset non-zero.  Save padding offset in
46719         l_tls_firstbyte_offset for later use.
46720         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46721         freeing static tls block.
46722
46723 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
46724
46725         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46726         where #ifdef was intended.  The intent is to prevent ARG_MAX from
46727         being defined by the kernel headers.
46728
46729 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
46730
46731         [BZ #12734]
46732         * resolv/resolv.h: Define RES_NOTLDQUERY.
46733         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46734         no-tld-query and set RES_NOTLDQUERY.
46735         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46736         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46737         modern BIND to search name as TLD unless forbidden.
46738
46739 2011-05-07  Petr Baudis  <pasky@suse.cz>
46740             Ulrich Drepper  <drepper@gmail.com>
46741
46742         [BZ #12393]
46743         * elf/dl-load.c (fillin_rpath): Move trusted path check...
46744         (is_trusted_path): ...to here.
46745         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46746         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46747         using is_trusted_path_normalize() in setuid scripts.
46748
46749 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46750
46751         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46752         __BEGIN/__END_DECLS.
46753
46754 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
46755
46756         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46757         NSS_STATUS_NOTFOUND if no record was found.
46758
46759 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46760
46761         * sunrpc/Makefile (headers): Add rpc/netdb.h.
46762         (headers-not-in-tirpc): Remove rpc/netdb.h
46763         * resolv/netdb.h: Revert last change.
46764
46765 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46766
46767         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46768         circular dependency between libgcc.a and libc.a.
46769
46770 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46771
46772         * resolv/netdb.h: Don't include <rpc/netdb.h>.
46773         * nis/Makefile: Don't install rpcsvc/*.
46774         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46775         instead of <rpc/types.h>.
46776         (MAXHOSTNAMELEN): Define.
46777
46778 2011-05-03  Andreas Schwab  <schwab@redhat.com>
46779
46780         * elf/ldconfig.c (add_dir): Don't crash on empty path.
46781
46782 2011-04-28  Maciej Babinski  <mbabinski@google.com>
46783
46784         [BZ #12714]
46785         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46786         gethostbyname4_r when IPv6 results are possible.
46787
46788 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
46789
46790         [BZ #12723]
46791         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46792         _PC_PIPE_BUF handling.
46793
46794 2011-04-30  Bruno Haible  <bruno@clisp.org>
46795
46796         [BZ #12717]
46797         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46798         * resolv/netdb.h (getnameinfo): Change type of flags parameter
46799         to 'int'.
46800         * inet/getnameinfo.c (getnameinfo): Likewise.
46801
46802 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
46803
46804         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46805         to groups setting in database lookup.
46806         * nss/nsswitch.conf: Add initgroups entry.
46807
46808 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
46809
46810         [BZ #12685]
46811         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46812         mode string.
46813         Patch by Eric Blake <eblake@redhat.com>.
46814
46815 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
46816
46817         * sunrpc/Makefile (need-export-routines): Add svc_run.
46818         (routines): Remove svc_run.
46819         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46820         * sunrpc/clnt_perr.c (clnt_perrno): Export.
46821         * sunrpc/svc_run.c (svc_run): Likewise.
46822         * sunrpc/svc_udp.c (svcudp_create): Likewise.
46823
46824 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
46825
46826         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46827         problem in reallocation in last patch.
46828
46829 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
46830
46831         * sunrpc/Makefile: Move inclusion of Rules.
46832
46833 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46834
46835         * nss/nss_files/files-initgroups.c: New file.
46836         * nss/Makefile (libnss_files-routines): Add files-initgroups.
46837         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46838         _nss_files_initgroups_dyn.
46839
46840 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
46841
46842         * elf/elf.h (R_ARM_IRELATIVE): Define.
46843
46844 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46845
46846         * po/ru.po: Update from translation team.
46847
46848 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46849
46850         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46851         dependencies.
46852
46853 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
46854
46855         [BZ #12653]
46856         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46857         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46858         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46859         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46860         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46861
46862 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
46863
46864         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46865         differing bytes.
46866         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46867         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46868         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46869
46870 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46871
46872         [BZ #12420]
46873         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46874         storing it.
46875         * stdlib/bug-getcontext.c: New file.
46876         * stdlib/Makefile: Add rules to build and run bug-getcontext.
46877
46878 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46879
46880         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46881         instructions into .machine "z9-109".
46882         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46883         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46884
46885 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46886
46887         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46888         between environment variables and auxiliary vector.
46889
46890 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
46891
46892         * Makefile: Add rules to build linkobj/libc.so.
46893         * include/libc-symbols.h: Define libc_hidden_nolink.
46894         * include/rpc/auth.h: Mark functions which are to be hidden.
46895         * include/rpc/auth_des.h: Likewise.
46896         * include/rpc/auth_unix.h: Likewise.
46897         * include/rpc/clnt.h: Likewise.
46898         * include/rpc/des_crypt.h: Likewise.
46899         * include/rpc/key_prot.h: Likewise.
46900         * include/rpc/pmap_clnt.h: Likewise.
46901         * include/rpc/pmap_prot.h: Likewise.
46902         * include/rpc/pmap_rmt.h: Likewise.
46903         * include/rpc/rpc_msg.h: Likewise.
46904         * include/rpc/svc.h: Likewise.
46905         * include/rpc/svc_auth.h: Likewise.
46906         * include/rpc/xdr.h: Likewise.
46907         * nis/Makefile: Link all DSOs against linkobj/libc.so.
46908         * nss/Makefile: Likewise.
46909         * sunrpc/Makefile: Don't install headers.  Build library with normal
46910         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
46911         * sunrpc/auth_des.c: Hide exported symbols by default, export some
46912         for the compat linking library.  Remove use of INTDEF/INTUSE.
46913         * sunrpc/auth_none.c: Likewise.
46914         * sunrpc/auth_unix.c: Likewise.
46915         * sunrpc/authdes_prot.c: Likewise.
46916         * sunrpc/authuxprot.c: Likewise.
46917         * sunrpc/clnt_gen.c: Likewise.
46918         * sunrpc/clnt_perr.c: Likewise.
46919         * sunrpc/clnt_raw.c: Likewise.
46920         * sunrpc/clnt_simp.c: Likewise.
46921         * sunrpc/clnt_tcp.c: Likewise.
46922         * sunrpc/clnt_udp.c: Likewise.
46923         * sunrpc/clnt_unix.c: Likewise.
46924         * sunrpc/des_crypt.c: Likewise.
46925         * sunrpc/des_soft.c: Likewise.
46926         * sunrpc/get_myaddr.c: Likewise.
46927         * sunrpc/key_call.c: Likewise.
46928         * sunrpc/key_prot.c: Likewise.
46929         * sunrpc/netname.c: Likewise.
46930         * sunrpc/pm_getmaps.c: Likewise.
46931         * sunrpc/pm_getport.c: Likewise.
46932         * sunrpc/pmap_clnt.c: Likewise.
46933         * sunrpc/pmap_prot.c: Likewise.
46934         * sunrpc/pmap_prot2.c: Likewise.
46935         * sunrpc/pmap_rmt.c: Likewise.
46936         * sunrpc/publickey.c: Likewise.
46937         * sunrpc/rpc_cmsg.c: Likewise.
46938         * sunrpc/rpc_common.c: Likewise.
46939         * sunrpc/rpc_dtable.c: Likewise.
46940         * sunrpc/rpc_prot.c: Likewise.
46941         * sunrpc/rpc_thread.c: Likewise.
46942         * sunrpc/rtime.c: Likewise.
46943         * sunrpc/svc.c: Likewise.
46944         * sunrpc/svc_auth.c: Likewise.
46945         * sunrpc/svc_authux.c: Likewise.
46946         * sunrpc/svc_raw.c: Likewise.
46947         * sunrpc/svc_run.c: Likewise.
46948         * sunrpc/svc_simple.c: Likewise.
46949         * sunrpc/svc_tcp.c: Likewise.
46950         * sunrpc/svc_udp.c: Likewise.
46951         * sunrpc/svc_unix.c: Likewise.
46952         * sunrpc/svcauth_des.c: Likewise.
46953         * sunrpc/xcrypt.c: Likewise.
46954         * sunrpc/xdr.c: Likewise.
46955         * sunrpc/xdr_array.c: Likewise.
46956         * sunrpc/xdr_float.c: Likewise.
46957         * sunrpc/xdr_intXX_t.c: Likewise.
46958         * sunrpc/xdr_mem.c: Likewise.
46959         * sunrpc/xdr_rec.c: Likewise.
46960         * sunrpc/xdr_ref.c: Likewise.
46961         * sunrpc/xdr_sizeof.c: Likewise.
46962         * sunrpc/xdr_stdio.c: Likewise.
46963
46964 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
46965
46966         [BZ #12650]
46967         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46968         * sysdeps/ia64/dl-tls.h: Likewise.
46969         * sysdeps/powerpc/dl-tls.h: Likewise.
46970         * sysdeps/s390/dl-tls.h: Likewise.
46971         * sysdeps/sh/dl-tls.h: Likewise.
46972         * sysdeps/sparc/dl-tls.h: Likewise.
46973         * sysdeps/x86_64/dl-tls.h: Likewise.
46974         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46975
46976 2011-03-14  Andreas Schwab  <schwab@redhat.com>
46977
46978         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46979         rpath element also skip the following colon.
46980         (expand_dynamic_string_token): Add is_path parameter and pass
46981         down to DL_DST_REQUIRED and _dl_dst_substitute.
46982         (decompose_rpath): Call expand_dynamic_string_token with
46983         non-zero is_path.  Ignore empty rpaths.
46984         (_dl_map_object_from_fd): Call expand_dynamic_string_token
46985         with zero is_path.
46986
46987 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
46988
46989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46990         Make cancelable.
46991
46992 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
46993
46994         [BZ #12655]
46995         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46996         Patch by Filipe David Manana <fdmanana@apache.org>.
46997
46998 2011-04-07  Andreas Schwab  <schwab@redhat.com>
46999
47000         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47001         Maintain aligned stack.
47002         (CHECK_RSP): Remove unused macro.
47003
47004 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
47005
47006         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47007         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47008
47009 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
47010
47011         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47012
47013         * include/features.h: Mention __USE_XOPEN2K8 in comment.
47014
47015 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
47016
47017         [BZ #12518]
47018         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47019         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47020         * sysdeps/x86_64/memmove.c: New file.
47021         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47022         (memcpy): Renamed to ...
47023         (__new_memcpy): This.
47024         (memcpy): Provide GLIBC_2_14 memcpy.
47025         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47026         (memcpy): Provide GLIBC_2_2_5 memcpy.
47027
47028 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47029
47030         [BZ #12631]
47031         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47032
47033 2011-03-30  Andreas Schwab  <schwab@redhat.com>
47034
47035         * misc/syncfs.c: New file.
47036         * misc/Makefile (routines): Add syncfs.
47037         * posix/unistd.h: Declare syncfs.
47038         * sysdeps/unix/syscalls.list: Add syncfs.
47039
47040 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47041
47042         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47043         open_by_handle_at.
47044         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47045         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47046         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47047         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47048         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47049         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47050         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47051
47052 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47053
47054         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47055         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47056         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47057         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47058         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47059         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47060         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47061
47062         * io/Makefile: Compile fallocate.c, fallocate64.c, and
47063         sync_file_range.c with -fexceptions.
47064         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47065         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47066         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47067         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47068         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47069         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47070         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47071         sync_file_range as cancellation point
47072         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
47073         now a wrapper around __call_sync_file_range with cancellation handling.
47074         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47075         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
47076         function name to __call_sync_file_range.
47077         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47078         Add call_sync_file_range.
47079
47080 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47081
47082         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47083         bits/timex.h.
47084
47085 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47086
47087         * iconv/iconv.h: Fix typo in comment.
47088         * io/fcntl.h: Likewise.
47089         * libio/stdio.h: Likewise.
47090         * posix/spawn.h: Likewise.
47091         * posix/unistd.h: Likewise.
47092         * stdlib/stdlib.h: Likewise.
47093         * time/time.h: Likewise.
47094         * wcsmbs/wchar.h: Likewise.
47095
47096         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47097         open_by_handle): Add.
47098         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47099         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
47100         Augment a few comments.
47101         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47102         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47103         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47104         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47105         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47106         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47107         open_by_handle.
47108
47109         * io/fcntl.h (AT_EMPTY_PATH): Define.
47110
47111 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
47112
47113         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47114         * sysdeps/unix/sysv/linux/bits/time.h: New file.
47115         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47116         to...
47117         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
47118         * Versions.def: Add GLIBC_2.14.
47119         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47120         Export.
47121
47122 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
47123
47124         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47125         round counter.
47126         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47127
47128 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47129
47130         [BZ #12597]
47131         * string/test-strncmp.c (do_page_test): New function.
47132         (check2): Likewise.
47133         (test_main): Call check2.
47134         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47135
47136 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
47137
47138         [BZ #12587]
47139         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47140         Handle cache information in CPU leaf 4.
47141         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47142
47143 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
47144
47145         [BZ #12583]
47146         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47147         character representation.
47148         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47149
47150 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
47151
47152         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47153         END(__isnan) to END(__isnanf) to match function entry point/label
47154         EALIGN(__isnanf,...).
47155
47156 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
47157
47158         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47159
47160 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
47161
47162         [BZ #12510]
47163         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47164         copy from the symbol referenced in the relocation to initialize the
47165         used variable.
47166         Patch by Piotr Bury <pbury@goahead.com>.
47167         * elf/Makefile: Add rules to build and tst-unique3.
47168         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47169         * elf/tst-unique3.cc: New file.
47170         * elf/tst-unique3.h: New file.
47171         * elf/tst-unique3lib.cc: New file.
47172         * elf/tst-unique3lib2.cc: New file.
47173
47174         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47175
47176 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
47177
47178         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47179         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
47180         to _start.
47181
47182 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
47183
47184         * elf/dl-load.c (_dl_map_object): If we are looking for the first
47185         to-be-loaded object along a path to loader is ld.so.
47186
47187 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47188             Ulrich Drepper  <drepper@gmail.com>
47189
47190         * sysdeps/x86_64/memset.S: After aligning destination, code
47191         branches to different locations depending on the value of
47192         misalignment, when multiarch is enabled. Fix this.
47193
47194 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47195
47196         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47197         Set _x86_64_preferred_memory_instruction for AMD processsors.
47198         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47199         Set bit_Prefer_SSE_for_memop for AMD processors.
47200
47201 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
47202
47203         * libio/fmemopen.c (fmemopen): Optimize a bit.
47204
47205 2011-03-03  Andreas Schwab  <schwab@redhat.com>
47206
47207         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47208
47209 2011-03-03  Roland McGrath  <roland@redhat.com>
47210
47211         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47212
47213 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
47214
47215         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47216         __bzero_ultra1 instead of __memset_ultra1.
47217
47218 2011-02-23  Andreas Schwab  <schwab@redhat.com>
47219             Ulrich Drepper  <drepper@gmail.com>
47220
47221         [BZ #12509]
47222         * include/link.h (struct link_map): Add l_orig_initfini.
47223         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47224         returning unsuccessfully.
47225         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47226         close of a file loaded at startup, restore the original l_initfini
47227         list.
47228         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47229         list, store the pointer.
47230         * elf/Makefile ($(objpfx)noload-mem): New rule.
47231         (noload-ENV): Define.
47232         (tests): Add $(objpfx)noload-mem.
47233         * elf/noload.c: Include <memcheck.h>.
47234         (main): Call mtrace.  Close all opened handles.
47235
47236 2011-02-17  Andreas Schwab  <schwab@redhat.com>
47237
47238         [BZ #12454]
47239         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47240         dependencies are missing.
47241
47242 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47243
47244         Fix __if_freereq crash: Unlike the generic version which uses free,
47245         Hurd needs munmap.
47246         * sysdeps/mach/hurd/ifreq.h: New file.
47247
47248 2011-01-27  Petr Baudis  <pasky@suse.cz>
47249             Ulrich Drepper  <drepper@gmail.com>
47250
47251         [BZ 12445]#
47252         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47253         to extend_alloca().
47254         * stdio-common/bug23.c: New file.
47255         * stdio-common/Makefile (tests): Add bug23.
47256
47257 2010-09-28  Andreas Schwab  <schwab@redhat.com>
47258             Ulrich Drepper  <drepper@gmail.com>
47259
47260         [BZ #12489]
47261         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47262         before performing relro protection.  At old place add assertion
47263         to make sure nothing changed.
47264
47265 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
47266             Glauber de Oliveira Costa  <glommer@gmail.com>
47267
47268         * elf/elf.h: Add new ARM TLS relocs.
47269
47270 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
47271
47272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47273         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47274         cast from r3.
47275         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
47276         'tests' variable.
47277         * sysdeps/wordsize-64/tst-writev.c: New file.
47278
47279 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
47280
47281         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47282         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47283         insns in _dl_start to prevent a TOC reference before relocs are
47284         resolved.
47285
47286 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
47287
47288         [BZ #12469]
47289         * Makeconfig: Remove RANLIB definition.
47290         * Makerules: Don't use RANLIB.
47291         * aclocal.m4: Remove ranlib test.
47292         * configure.in: No need to check for ranlib.
47293         * elf/rtld-Rules: Don't use RANLIB.
47294
47295 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47296
47297         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47298         protection macro.
47299         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47300         inclusion protection macro.
47301
47302         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47303         SIGRTMIN and SIGRTMAX and print information in that case only when
47304         SIGRTMIN is defined.
47305
47306 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
47307
47308         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47309         arginfo fn returning -1.
47310
47311         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47312         and thousands string is zero terminated.
47313
47314 2011-02-03  Andreas Schwab  <schwab@redhat.com>
47315
47316         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47317         sysdeps/unix/sysv/linux/bits/socket.h.
47318
47319 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47320
47321         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47322         (__CPU_COUNT): Remove old macros.
47323         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47324         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47325         (__CPU_ALLOC, __CPU_FREE): Add macros.
47326         (__sched_cpualloc, __sched_cpufree): Add declarations.
47327
47328 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
47329
47330         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47331         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47332         * nscd/aicache.c (addhstaiX): Return timeout of added value.
47333         (readdhstai): Return value of addhstaiX call.
47334         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47335         (addgrbyX): Return value returned by cache_addgr.
47336         (readdgrbyname): Return value returned by addgrbyX.
47337         (readdgrbygid): Likewise.
47338         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47339         (addpwbyX): Return value returned by cache_addpw.
47340         (readdpwbyname): Return value returned by addhstbyX.
47341         (readdpwbyuid): Likewise.
47342         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47343         (addservbyX): Return value returned by cache_addserv.
47344         (readdservbyname): Return value returned by addservbyX:
47345         (readdservbyport): Likewise.
47346         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47347         (addhstbyX): Return value returned by cache_addhst.
47348         (readdhstbyname): Return value returned by addhstbyX.
47349         (readdhstbyaddr): Likewise.
47350         (readdhstbynamev6): Likewise.
47351         (readdhstbyaddrv6): Likewise.
47352         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47353         (readdinitgroups): Return value returned by addinitgroupsX.
47354         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47355         (prune_cache): Keep track of timeout value of re-added entries.
47356         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47357         * nscd/nscd.h: Adjust prototypes of readd* functions.
47358
47359 2011-02-04  Roland McGrath  <roland@redhat.com>
47360
47361         * nis/nis_server.c (nis_servstate): Use the right name for 0.
47362         (nis_stats): Likewise.
47363         * nis/nis_modify.c (nis_modify): Likewise.
47364         * nis/nis_remove.c (nis_remove): Likewise.
47365         * nis/nis_add.c (nis_add): Likewise.
47366
47367         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47368
47369         * posix/fnmatch_loop.c: Add some consts.
47370
47371         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47372
47373 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
47374
47375         [BZ #12460]
47376         * config.make.in (config-cflags-novzeroupper): Define.
47377         * configure.in: Substitute libc_cv_cc_novzeroupper.
47378         * elf/Makefile (AVX-CFLAGS): Define.
47379         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47380         (CFLAGS-tst-auditmod4a.c): Likewise.
47381         (CFLAGS-tst-auditmod4b.c): Likewise.
47382         (CFLAGS-tst-auditmod6b.c): Likewise.
47383         (CFLAGS-tst-auditmod6c.c): Likewise.
47384         (CFLAGS-tst-auditmod7b.c): Likewise.
47385         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47386
47387 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
47388
47389         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47390         function to the callback.
47391         Patch partly by Jiri Olsa <jolsa@redhat.com>.
47392
47393 2011-02-02  Andreas Schwab  <schwab@redhat.com>
47394
47395         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47396         of errno.
47397
47398 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
47399
47400         [BZ #11724]
47401         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47402         of constructors.
47403         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47404         of destructors.
47405         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47406
47407         [BZ #11724]
47408         * elf/Makefile: Add rules to build and run new test.
47409         * elf/tst-initorder.c: New file.
47410         * elf/tst-initorder.exp: New file.
47411         * elf/tst-initordera1.c: New file.
47412         * elf/tst-initordera2.c: New file.
47413         * elf/tst-initordera3.c: New file.
47414         * elf/tst-initordera4.c: New file.
47415         * elf/tst-initorderb1.c: New file.
47416         * elf/tst-initorderb2.c: New file.
47417         * elf/tst-order-a1.c: New file.
47418         * elf/tst-order-a2.c: New file.
47419         * elf/tst-order-a3.c: New file.
47420         * elf/tst-order-a4.c: New file.
47421         * elf/tst-order-b1.c: New file.
47422         * elf/tst-order-b2.c: New file.
47423         * elf/tst-order-main.c: New file.
47424         New test case by George Gensure <werkt0@gmail.com>.
47425
47426 2010-10-01  Andreas Schwab  <schwab@redhat.com>
47427
47428         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47429         decoding ACE if AI_CANONIDN.
47430
47431 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
47432
47433         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47434
47435 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
47436
47437         * version.h (RELEASE): Bump for 2.13 release.
47438         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47439
47440         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47441
47442         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47443         MADV_NOHUGEPAGE.
47444         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47445         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47446         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47447         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47448         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47449         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47450
47451         * posix/getconf.c: Update copyright year.
47452         * catgets/gencat.c: Likewise.
47453         * csu/version.c: Likewise.
47454         * debug/catchsegv.sh: Likewise.
47455         * debug/xtrace.sh: Likewise.
47456         * elf/ldconfig.c: Likewise.
47457         * elf/ldd.bash.in: Likewise.
47458         * elf/sprof.c (print_version): Likewise.
47459         * iconv/iconv_prog.c: Likewise.
47460         * iconv/iconvconfig.c: Likewise.
47461         * locale/programs/locale.c: Likewise.
47462         * locale/programs/localedef.c: Likewise.
47463         * malloc/memusage.sh: Likewise.
47464         * malloc/mtrace.pl: Likewise.
47465         * nscd/nscd.c (print_version): Likewise.
47466         * nss/getent.c: Likewise.
47467
47468         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47469         PF_CAIF, and PF_ALG.
47470         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47471
47472 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
47473
47474         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47475         (modules-names): Use them.
47476         (ifunc-test-modules, ifunc-pie-tests): Define.
47477         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47478         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47479         (test-extras): Likewise.
47480         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47481         $(compile-command.c).
47482         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47483         (all-built-dso): Define.
47484         (check-textrel.out, check-execstack.out): Depend on it.
47485
47486         * configure.in: Don't override --enable-multi-arch.
47487
47488 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
47489
47490         [BZ #6812]
47491         * nscd/hstcache.c (tryagain): Define.
47492         (cache_addhst): Return tryagain not notfound for temporary errors.
47493         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47494         failed.
47495
47496 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
47497
47498         [BZ #10563]
47499         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47500         to make the syscall.
47501         * sysdeps/unix/sysv/linux/setgroups.c: New file.
47502
47503         [BZ #12378]
47504         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47505         and fall back to matching as normal character if the string ends before
47506         the matching ']' is found.  This is what POSIX requires.
47507         * posix/testfnm.c: Adjust test result.
47508         * posix/globtest.sh: Adjust test result.  Add new test.
47509         * posix/tst-fnmatch.input: Likewise.
47510         * posix/tst-fnmatch2.c: Add new test.
47511
47512 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
47513
47514         * elf/Makefile (check-execstack): Revert last change.  Depend on
47515         check-execstack.h.
47516         (check-execstack.h): New target.
47517         (generated): Add check-execstack.h.
47518         * elf/check-execstack.c: Include "check-execstack.h".
47519         (main): Revert last change.
47520         (handle_file): Return zero if GNU_STACK is absent and
47521         DEFAULT_STACK_PERMS doesn't include PF_X.
47522
47523 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
47524
47525         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47526         in child fails because the descriptor is already closed.
47527         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47528         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47529         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47530
47531         [BZ #12397]
47532         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47533         syscall.
47534
47535         [BZ #10484]
47536         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47537         temporary buffer used to handle multi lookups locally.
47538         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47539
47540 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47541
47542         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47543         loader is ld.so.
47544
47545 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
47546
47547         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47548         alignment for SSE2.
47549
47550 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47551
47552         [BZ #12394]
47553         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47554         characters.  When rounding increased number of integer digits recompute
47555         number of groups.
47556         * stdio-common/tst-grouping.c: New file.
47557         * stdio-common/Makefile: Add rules to build and run tst-grouping.
47558
47559 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
47560
47561         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47562         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
47563
47564         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47565         void.
47566         * bits/select.h: Likewise.
47567
47568 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
47569
47570         * po/ja.po: Update from translation team.
47571
47572 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
47573
47574         [BZ #11155]
47575         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47576         implementation just like for lxstat, fxstatat, et al.
47577
47578 2010-12-27  Jim Meyering  <meyering@redhat.com>
47579
47580         [BZ #12348]
47581         * posix/regexec.c (build_trtable): Return failure indication upon
47582         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
47583
47584 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
47585
47586         [BZ #12201]
47587         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47588         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47589         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47590         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47591
47592         [BZ #12207]
47593         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47594
47595         [BZ #12204]
47596         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47597         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47598
47599 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
47600
47601         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47602         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47603         script has SORT_BY_INIT_PRIORITY.
47604         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47605         NO_CTORS_DTORS_SECTIONS is defined.
47606         * elf/soinit.c: Likewise.
47607         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47608         NO_CTORS_DTORS_SECTIONS is defined.
47609         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47610         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47611         * sysdeps/sh/init-first.c: Likewise.
47612         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47613
47614 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
47615
47616         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47617         always use the slow path.
47618
47619 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
47620
47621         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47622         similar rule which adds the sysdep directories to the header search in
47623         order to pick up the correct platform stackinfo.h.
47624         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47625         perform test if it is, otherwise return successfully without testing.
47626         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47627         DEFAULT_STACK_PERMS define in stackinfo.h.
47628         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47629         defined in stackinfo.h.
47630         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47631         DEFAULT_STACK_PERMS defined in stackinfo.h.
47632         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47633         * sysdeps/ia64/stackinfo.h: Likewise.
47634         * sysdeps/s390/stackinfo.h: Likewise.
47635         * sysdeps/sh/stackinfo.h: Likewise.
47636         * sysdeps/sparc/stackinfo.h: Likewise.
47637         * sysdeps/x86_64/stackinfo.h: Likewise.
47638         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47639         PF_X for powerpc64.  Retain PF_X for powerpc32.
47640
47641 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
47642
47643         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47644         accurately.
47645         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47646         GETDENTS_64BIT_ALIGNED.
47647
47648 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
47649
47650         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47651
47652 2010-12-10  Andreas Schwab  <schwab@redhat.com>
47653
47654         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47655         _GNU_SOURCE.
47656
47657         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47658         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47659         Remove __restrict.
47660         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47661         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47662
47663 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
47664
47665         [BZ #11655]
47666         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47667         are initialized.
47668
47669 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
47670
47671         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47672
47673 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
47674
47675         * po/it.po: Update from translation team.
47676
47677 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
47678
47679         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47680         unused codes.
47681
47682 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
47683
47684         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47685
47686 2010-11-24  Andreas Schwab  <schwab@redhat.com>
47687
47688         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47689         specially.
47690         (gaih_getanswer_slice): Likewise.
47691
47692 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
47693
47694         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47695
47696 2010-05-31  Petr Baudis  <pasky@suse.cz>
47697
47698         [BZ #11149]
47699         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47700         silently even in the chroot mode.
47701
47702 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
47703
47704         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47705         last patch a bit.  Pretty printing
47706
47707 2010-05-31  Petr Baudis <pasky@suse.cz>
47708
47709         [BZ #10085]
47710         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47711         initialization of skip_initgroups_dyn.
47712
47713 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
47714
47715         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47716         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47717
47718 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
47719
47720         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47721
47722 2010-11-11  Andreas Schwab  <schwab@redhat.com>
47723
47724         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47725         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47726         (tst-fnmatch-ENV): Set MALLOC_TRACE.
47727         ($(objpfx)tst-fnmatch-mem): New rule.
47728         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47729         * posix/tst-fnmatch.c (main): Call mtrace.
47730
47731 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
47732
47733         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47734         Support Intel processor model 6 and model 0x2c.
47735
47736 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
47737
47738         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47739           signed comparison.
47740
47741 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
47742
47743         [BZ #12205]
47744         * string/test-strncasecmp.c (check_result): New function.
47745         (do_one_test): Use it.
47746         (check1): New function.
47747         (test_main): Use it.
47748         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47749         Support strcasecmp and strncasecmp.
47750
47751 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
47752
47753         [BZ #12194]
47754         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47755         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47756
47757 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47758
47759         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47760         IFUNC support.
47761         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47762         memset-x86-64.
47763         * sysdeps/x86_64/multiarch/bzero.S: New file.
47764         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47765         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47766         * sysdeps/x86_64/multiarch/memset.S: New file.
47767         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47768         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47769         Set bit_Prefer_SSE_for_memop for Intel processors.
47770         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47771         Define.
47772         (index_Prefer_SSE_for_memop): Define.
47773         (HAS_PREFER_SSE_FOR_MEMOP): Define.
47774
47775 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
47776
47777         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47778         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47779
47780 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
47781
47782         [BZ #12191]
47783         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47784         (__x86_64_raw_data_cache_size_half): Likewise.
47785         (__x86_64_raw_shared_cache_size): Likewise.
47786         (__x86_64_raw_shared_cache_size_half): Likewise.
47787
47788         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47789         (__x86_64_raw_data_cache_size_half): Likewise.
47790         (__x86_64_raw_shared_cache_size): Likewise.
47791         (__x86_64_raw_shared_cache_size_half): Likewise.
47792         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47793         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47794         and __x86_64_raw_shared_cache_size_half.  Round
47795         __x86_64_data_cache_size_half, __x86_64_data_cache_size
47796         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47797         to multiple of 256 bytes.
47798
47799 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
47800
47801         [BZ #12167]
47802         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47803         of inacessible symlinks.  Verify result of symlink before returning it.
47804         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47805         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47806
47807 2010-10-28  Erich Ritz  <erichritz@gmail.com>
47808
47809         * math/math.h (isinf): Fix typo in comment.
47810
47811 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
47812
47813         * po/da.po: Update from translation team.
47814
47815 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
47816
47817         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47818         is added to the list.
47819
47820 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47821             Ulrich Drepper  <drepper@gmail.com>
47822
47823         * elf/dl-object.c (_dl_new_object): Don't append the new object to
47824         the global list here.  Move code to...
47825         (_dl_add_to_namespace_list): ...here.  New function.
47826         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47827         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47828         * elf/dl-load.c (lose): Don't remove the element from the list.
47829         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47830         (_dl_map_object): Likewise.
47831
47832 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
47833
47834         [BZ #12159]
47835         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47836         into all bytes of SSE register.
47837         Patch by Richard Li <richardpku@gmail.com>.
47838
47839 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
47840
47841         [BZ #12140]
47842         * malloc/malloc.c (_int_free): Fill correct number of bytes when
47843         perturbing.
47844
47845 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
47846
47847         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47848         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47849         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47850         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47852         submachine.
47853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47854
47855 2010-10-22  Andreas Schwab  <schwab@redhat.com>
47856
47857         * include/dlfcn.h (__RTLD_SECURE): Define.
47858         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
47859         mode & __RTLD_SECURE instead.
47860         (open_path): Rename preloaded parameter to secure.
47861         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47862         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47863         * elf/dl-deps.c (openaux): Likewise.
47864         * elf/rtld.c (struct map_args): Remove is_preloaded.
47865         (map_doit): Don't use it.
47866         (dl_main): Likewise.
47867         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47868         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47869
47870 2010-09-09  Andreas Schwab  <schwab@redhat.com>
47871
47872         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47873         (sysd-rules-targets): Remove duplicates.
47874         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47875         rtld-%.$o dependency.
47876
47877 2010-10-18  Andreas Schwab  <schwab@redhat.com>
47878
47879         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47880         _dl_map_object do it.
47881
47882 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
47883
47884         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47885         fast fma builtins, define the macros in the C99 standard.
47886         (FP_FAST_FMAF): Likewise.
47887         (FP_FAST_FMAL): Likewise.
47888         * sysdeps/x86_64/bits/mathdef.h: Likewise.
47889
47890         * bits/mathdef.h: Update copyright year.
47891         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47892
47893 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
47894
47895         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47896         builtins, define the macros in the C99 standard.
47897         (FP_FAST_FMAF): Likewise.
47898         (FP_FAST_FMAL): Likewise.
47899         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47900         multiply/add.
47901         (FP_FAST_FMAF): Likewise.
47902
47903 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
47904
47905         [BZ #3268]
47906         * math/libm-test.inc (fma_test): Some new testcases.
47907         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47908         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47909         y and infinite z.  Do multiplication by C already in long double.
47910         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47911         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47912         y and infinite z.  Do bitwise or of inexact bit into u.d.
47913         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47914         * sysdeps/i386/fpu/s_fmaf.S: Removed.
47915         * sysdeps/i386/fpu/s_fma.S: Removed.
47916         * sysdeps/i386/fpu/s_fmal.S: Removed.
47917
47918 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
47919
47920         [BZ #3268]
47921         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47922         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47923         computation is not scheduled after fetestexcept.  Fix value
47924         of minimum denormal long double.
47925
47926 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
47927
47928         [BZ #3268]
47929         * math/libm-test.inc (fma_test): Add some more tests.
47930         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47931         correctly.
47932
47933 2010-10-15  Andreas Schwab  <schwab@redhat.com>
47934
47935         * scripts/data/localplt-s390-linux-gnu.data: New file.
47936         * scripts/data/localplt-s390x-linux-gnu.data: New file.
47937
47938 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
47939
47940         [BZ #3268]
47941         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47942         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47943         instead of dbl-64.
47944         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47945         inlines.
47946         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47947         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47948         if one of x and y is very large and the other is subnormal.
47949         * sysdeps/s390/fpu/s_fmaf.c: New file.
47950         * sysdeps/s390/fpu/s_fma.c: New file.
47951         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47952         * sysdeps/powerpc/fpu/s_fma.S: New file.
47953         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47954         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47955         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47956
47957 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
47958
47959         [BZ #3268]
47960         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47961         fma tests.
47962         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47963         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47964         * sysdeps/i386/i686/multiarch/s_fma.c: Include
47965         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47966         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47967         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47968         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47969
47970 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
47971
47972         [BZ #12078]
47973         * posix/regcomp.c (parse_branch): One more memory leak plugged.
47974         * posix/bug-regex31.input: Add test case.
47975
47976 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47977
47978         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47979         * posix/bug-regex31.input: New file.
47980
47981         [BZ #12078]
47982         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47983         (parse_sub_exp): Fix last change, use postorder.
47984
47985         * posix/bug-regex31.c: New file.
47986         * posix/Makefile: Add rules to build and run bug-regex31.
47987
47988         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47989
47990         [BZ #12078]
47991         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47992
47993         [BZ #12108]
47994         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47995         to have entries in sys_siglist.
47996
47997         [BZ #12093]
47998         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47999         be NULL.
48000
48001 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
48002
48003         [BZ #3268]
48004         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48005         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48006         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48007         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48008         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48009         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48010         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48011         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48012         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48013         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48014         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48015         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48016         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48017         * math/ftestexcept.c (fetestexcept): Likewise.
48018         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48019         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48020         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48021         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48022         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48023         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48024         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48025
48026 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48027
48028         [BZ #12107]
48029         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48030         newline.
48031
48032 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
48033
48034         * string/bug-strstr1.c: New file.
48035         * string/Makefile: Add rules to build and run bug-strstr1.
48036
48037 2010-10-05  Eric Blake  <eblake@redhat.com>
48038
48039         [BZ #12092]
48040         * string/str-two-way.h (two_way_long_needle): Always clear memory
48041         when skipping input due to the shift table.
48042
48043 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
48044
48045         [BZ #12005]
48046         * malloc/mcheck.c: Handle large requests.
48047
48048         [BZ #12077]
48049         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48050         for strncmp and strncasecmp.
48051         * string/stratcliff.c: Add tests for strcmp and strncmp.
48052         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48053
48054 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48055
48056         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48057         __set_fpscr.
48058
48059 2010-09-30  Andreas Jaeger  <aj@suse.de>
48060
48061         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48062         (CGROUP_SUPER_MAGIC): Define.
48063         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48064         Handle btrfs and cgroup file systems.
48065         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48066         Likewise.
48067
48068 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
48069
48070         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48071         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48072
48073 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48074
48075         [BZ #12067]
48076         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48077         trying to locate the ELF header.
48078
48079 2010-09-27  Andreas Schwab  <schwab@redhat.com>
48080
48081         [BZ #11611]
48082         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48083         Mask out sign-bit copies when constructing f_fsid.
48084
48085 2010-09-24  Petr Baudis <pasky@suse.cz>
48086
48087         * debug/stack_chk_fail_local.c: Add missing licence exception.
48088         * debug/warning-nop.c: Likewise.
48089
48090 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
48091
48092         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48093         implementing getdents64 using getdents syscall, set d_type if
48094         __ASSUME_GETDENTS32_D_TYPE.
48095
48096 2010-09-16  Andreas Schwab  <schwab@redhat.com>
48097
48098         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48099         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48100
48101 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
48102
48103         [BZ #12037]
48104         * posix/unistd.h: Undo change of feature selection for ftruncate from
48105         2010-01-11.
48106
48107 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
48108
48109         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48110         detection.
48111
48112 2010-09-20  Andreas Schwab  <schwab@redhat.com>
48113
48114         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48115         fanotify_mark.
48116         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48117
48118 2010-09-14  Andreas Schwab  <schwab@redhat.com>
48119
48120         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48121         variables after CHECK_SP call.
48122         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48123
48124 2010-09-13  Andreas Schwab  <schwab@redhat.com>
48125             Ulrich Drepper  <drepper@redhat.com>
48126
48127         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48128         re-relocationg ld.so.
48129         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48130         _dl_init_paths call.
48131         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
48132         here anymore.
48133
48134 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
48135
48136         * resolv/res_init.c (__res_vinit): Count the default server we added.
48137
48138 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
48139             Ulrich Drepper  <drepper@redhat.com>
48140
48141         [BZ #11968]
48142         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48143         (____longjmp_chk): Use %ebx for saving value across system call.
48144         Add unwind info.
48145
48146 2010-09-06  Andreas Schwab  <schwab@redhat.com>
48147
48148         * manual/Makefile: Don't mix pattern rules with normal rules.
48149
48150 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
48151
48152         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48153         operation.
48154         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48155         * libio/iofopncook.c (_IO_cookie_init): Likewise.
48156         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48157         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48158         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48159         Likewise.
48160
48161 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
48162
48163         [BZ #11979]
48164         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48165         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48166
48167 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
48168
48169         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48170         * sysdeps/x86_64/addmul_1.S: Likewise.
48171         * sysdeps/x86_64/lshift.S: Likewise.
48172         * sysdeps/x86_64/mul_1.S: Likewise.
48173         * sysdeps/x86_64/rshift.S: Likewise.
48174         * sysdeps/x86_64/sub_n.S: Likewise.
48175         * sysdeps/x86_64/submul_1.S: Likewise.
48176
48177 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48178
48179         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48180         Define __sched_param instead of SCHED_* and sched_param when
48181         <bits/sched.h> is included with __need_schedparam defined.
48182         * bits/sched.h [__need_schedparam]
48183         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48184         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48185         (__defined_schedparam): Define to 1.
48186         (__sched_param): New structure, identical to sched_param.
48187         (__need_schedparam): Undefine.
48188
48189 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
48190
48191         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48192         (epoll_create1): Declare.
48193
48194         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48195
48196 2010-08-31  Andreas Schwab  <schwab@redhat.com>
48197
48198         [BZ #7066]
48199         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48200         shifting retval into place.
48201
48202 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
48203
48204         * nis/rpcsvc/nis.h: Update copyright notice.
48205         * nis/rpcsvc/nis.x: Likewise.
48206         * nis/rpcsvc/nis_callback.h: Likewise.
48207         * nis/rpcsvc/nis_callback.x: Likewise.
48208         * nis/rpcsvc/nis_object.x: Likewise.
48209         * nis/rpcsvc/nis_tags.h: Likewise.
48210         * nis/rpcsvc/yp.h: Likewise.
48211         * nis/rpcsvc/yp.x: Likewise.
48212         * nis/rpcsvc/ypupd.h: Likewise.
48213         * nis/yp_xdr.c: Likewise.
48214         * nis/ypupdate_xdr.c: Likewise.
48215
48216         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
48217         mainly the body of pmap_getport.  Add parameters to specify timeouts.
48218         (pmap_getport): Use __libc_rpc_getport.
48219         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48220         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48221         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48222
48223 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
48224
48225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48226         fanotify_mark.
48227
48228 2010-08-27  Roland McGrath  <roland@redhat.com>
48229
48230         * sysdeps/i386/i686/multiarch/Makefile
48231         (CFLAGS-varshift.c): New variable.
48232
48233 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
48234
48235         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48236         * sysdeps/i386/i686/multiarch/varshift.c: New file.
48237
48238         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48239
48240         * sysdeps/x86_64/strlen.S: Minimal code improvement.
48241
48242 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
48243
48244         * sysdeps/x86_64/strlen.S: Unroll the loop.
48245         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48246         strlen-sse2 strlen-sse2-bsf.
48247         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48248         __strlen_no_bsf if bit_Slow_BSF is set.
48249         (__strlen_sse42): Removed.
48250         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48251         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48252
48253 2010-08-25  Roland McGrath  <roland@redhat.com>
48254
48255         * sysdeps/x86_64/multiarch/varshift.S: File removed.
48256         * sysdeps/x86_64/multiarch/varshift.c: New file.
48257         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48258         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48259         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48260         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48261
48262 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
48263
48264         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48265         strlen-sse2 strlen-sse2-bsf.
48266         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48267         __strlen_sse2_bsf if bit_Slow_BSF is unset.
48268         (__strlen_sse2): Removed.
48269         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48270         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48271         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48272         bit_Slow_BSF for Atom.
48273         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48274         (index_Slow_BSF): Define.
48275         (HAS_SLOW_BSF): Define.
48276
48277 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
48278
48279         [BZ #10851]
48280         * resolv/res_init.c (__res_vinit): When no server address at all
48281         is given default to loopback.
48282
48283 2010-08-24  Roland McGrath  <roland@redhat.com>
48284
48285         * configure.in: Remove config-name.h generation.
48286         * configure: Regenerated.
48287         * config-name.in: File removed.
48288         * scripts/config-uname.sh: New file.
48289         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48290         ($(objdir)config-name.h): New target.
48291
48292         * sunrpc/rpc_parse.h: Avoid nested comment.
48293
48294 2010-08-24  Richard Henderson  <rth@redhat.com>
48295             Ulrich Drepper  <drepper@redhat.com>
48296             H.J. Lu  <hongjiu.lu@intel.com>
48297
48298         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48299         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48300         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48301         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
48302         _mm_alignr_epi8 with _mm_loadu_si128.
48303         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48304         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48305         (__m128i_shift_right): Removed.
48306         * sysdeps/i386/i686/multiarch/varshift.h: New file.
48307         * sysdeps/i386/i686/multiarch/varshift.S: New file.
48308         * sysdeps/x86_64/multiarch/varshift.h: New file.
48309         * sysdeps/x86_64/multiarch/varshift.S: New file.
48310
48311 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
48312
48313         * configure.in: Move assembler checks to before sysdep dir checking.
48314
48315 2010-08-20  Petr Baudis  <pasky@suse.cz>
48316
48317         * LICENSES: Sync the sunrpc license.
48318
48319 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
48320
48321         * sunrpc/auth_des.c: Update copyright notice once again.
48322         * sunrpc/auth_none.c: Likewise.
48323         * sunrpc/auth_unix.c: Likewise.
48324         * sunrpc/authdes_prot.c: Likewise.
48325         * sunrpc/authuxprot.c: Likewise.
48326         * sunrpc/bindrsvprt.c: Likewise.
48327         * sunrpc/clnt_gen.c: Likewise.
48328         * sunrpc/clnt_perr.c: Likewise.
48329         * sunrpc/clnt_raw.c: Likewise.
48330         * sunrpc/clnt_simp.c: Likewise.
48331         * sunrpc/clnt_tcp.c: Likewise.
48332         * sunrpc/clnt_udp.c: Likewise.
48333         * sunrpc/clnt_unix.c: Likewise.
48334         * sunrpc/des_crypt.c: Likewise.
48335         * sunrpc/des_soft.c: Likewise.
48336         * sunrpc/get_myaddr.c: Likewise.
48337         * sunrpc/getrpcport.c: Likewise.
48338         * sunrpc/key_call.c: Likewise.
48339         * sunrpc/key_prot.c: Likewise.
48340         * sunrpc/openchild.c: Likewise.
48341         * sunrpc/pm_getmaps.c: Likewise.
48342         * sunrpc/pm_getport.c: Likewise.
48343         * sunrpc/pmap_clnt.c: Likewise.
48344         * sunrpc/pmap_prot.c: Likewise.
48345         * sunrpc/pmap_prot2.c: Likewise.
48346         * sunrpc/pmap_rmt.c: Likewise.
48347         * sunrpc/rpc/auth.h: Likewise.
48348         * sunrpc/rpc/auth_unix.h: Likewise.
48349         * sunrpc/rpc/clnt.h: Likewise.
48350         * sunrpc/rpc/des_crypt.h: Likewise.
48351         * sunrpc/rpc/key_prot.h: Likewise.
48352         * sunrpc/rpc/netdb.h: Likewise.
48353         * sunrpc/rpc/pmap_clnt.h: Likewise.
48354         * sunrpc/rpc/pmap_prot.h: Likewise.
48355         * sunrpc/rpc/pmap_rmt.h: Likewise.
48356         * sunrpc/rpc/rpc.h: Likewise.
48357         * sunrpc/rpc/rpc_des.h: Likewise.
48358         * sunrpc/rpc/rpc_msg.h: Likewise.
48359         * sunrpc/rpc/svc.h: Likewise.
48360         * sunrpc/rpc/svc_auth.h: Likewise.
48361         * sunrpc/rpc/types.h: Likewise.
48362         * sunrpc/rpc/xdr.h: Likewise.
48363         * sunrpc/rpc_clntout.c: Likewise.
48364         * sunrpc/rpc_cmsg.c: Likewise.
48365         * sunrpc/rpc_common.c: Likewise.
48366         * sunrpc/rpc_cout.c: Likewise.
48367         * sunrpc/rpc_dtable.c: Likewise.
48368         * sunrpc/rpc_hout.c: Likewise.
48369         * sunrpc/rpc_main.c: Likewise.
48370         * sunrpc/rpc_parse.c: Likewise.
48371         * sunrpc/rpc_parse.h: Likewise.
48372         * sunrpc/rpc_prot.c: Likewise.
48373         * sunrpc/rpc_sample.c: Likewise.
48374         * sunrpc/rpc_scan.c: Likewise.
48375         * sunrpc/rpc_scan.h: Likewise.
48376         * sunrpc/rpc_svcout.c: Likewise.
48377         * sunrpc/rpc_tblout.c: Likewise.
48378         * sunrpc/rpc_util.c: Likewise.
48379         * sunrpc/rpc_util.h: Likewise.
48380         * sunrpc/rpcinfo.c: Likewise.
48381         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48382         * sunrpc/rpcsvc/key_prot.x: Likewise.
48383         * sunrpc/rpcsvc/klm_prot.x: Likewise.
48384         * sunrpc/rpcsvc/mount.x: Likewise.
48385         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48386         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48387         * sunrpc/rpcsvc/rex.x: Likewise.
48388         * sunrpc/rpcsvc/rstat.x: Likewise.
48389         * sunrpc/rpcsvc/rusers.x: Likewise.
48390         * sunrpc/rpcsvc/sm_inter.x: Likewise.
48391         * sunrpc/rpcsvc/spray.x: Likewise.
48392         * sunrpc/rpcsvc/yppasswd.x: Likewise.
48393         * sunrpc/rtime.c: Likewise.
48394         * sunrpc/svc.c: Likewise.
48395         * sunrpc/svc_auth.c: Likewise.
48396         * sunrpc/svc_authux.c: Likewise.
48397         * sunrpc/svc_raw.c: Likewise.
48398         * sunrpc/svc_run.c: Likewise.
48399         * sunrpc/svc_simple.c: Likewise.
48400         * sunrpc/svc_tcp.c: Likewise.
48401         * sunrpc/svc_udp.c: Likewise.
48402         * sunrpc/svc_unix.c: Likewise.
48403         * sunrpc/svcauth_des.c: Likewise.
48404         * sunrpc/xcrypt.c: Likewise.
48405         * sunrpc/xdr.c: Likewise.
48406         * sunrpc/xdr_array.c: Likewise.
48407         * sunrpc/xdr_float.c: Likewise.
48408         * sunrpc/xdr_mem.c: Likewise.
48409         * sunrpc/xdr_rec.c: Likewise.
48410         * sunrpc/xdr_ref.c: Likewise.
48411         * sunrpc/xdr_sizeof.c: Likewise.
48412         * sunrpc/xdr_stdio.c: Likewise.
48413
48414         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48415         handling.
48416
48417 2010-08-19  Andreas Schwab  <schwab@redhat.com>
48418
48419         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48420
48421 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
48422
48423         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48424         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48425         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48426         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48427         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48428         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48429         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48430         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48431         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48432         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48433         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48434         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48435         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48436         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48437
48438 2010-07-26  Anton Blanchard  <anton@samba.org>
48439
48440         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48441         * malloc/arena.c (heap_trim): Likewise.
48442
48443 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
48444
48445         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48446         here.  Not...
48447         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48448         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48449
48450 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
48451
48452         * sysdeps/i386/elf/Makefile: New file.
48453
48454 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48455
48456         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48457         from fanotify_init.
48458         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48459         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48460
48461 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
48462
48463         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48464         of strncasecmp_l.
48465         * sysdeps/multiarch/strcmp.S: Likewise.
48466
48467 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
48468
48469         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48470         strncase_l-nonascii.
48471         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48472         Add strncase_l-ssse3.
48473         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48474         * sysdeps/x86_64/strcmp.S: Likewise.
48475         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48476         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48477         * sysdeps/x86_64/strncase.S: New file.
48478         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48479         * sysdeps/x86_64/strncase_l.S: New file.
48480         * string/Makefile (strop-tests): Add strncasecmp.
48481         * string/test-strncasecmp.c: New file.
48482
48483         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48484         warning.
48485
48486         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48487         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48488
48489 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48490
48491         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48492
48493 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
48494
48495         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48496         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48497         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48498
48499 2010-05-01  Alan Modra  <amodra@gmail.com>
48500
48501         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48502         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48503         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48504         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48505         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48506         tidying.  Don't tail-call __sigjmp_save for static lib.
48507         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48508         save location.
48509         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48510         (CALL_MCOUNT): Add eh info, and nop after bl.
48511         (TAIL_CALL_SYSCALL_ERROR): New macro.
48512         (PSEUDO_RET): Use it.
48513         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48514         Correct save location of integer regs and cr.
48515         (_dl_profile_resolve): Correct cr save location.  Delete nops
48516         after bl when SHARED.  Reduce cfi size a little by better
48517         placement of cfi directives.
48518         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48519         make a stack frame.  Instead use parm save area as a temp.
48520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48521         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
48522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48523         Don't make a stack frame for parent, use parm save area.
48524         Increase child stack frame to 112 bytes.  Don't save unused reg,
48525         and adjust reg usage.  Set up cfi on error recovery and
48526         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48528         (__makecontext): Add dummy nop after jump to exit.
48529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48530         Use correct parm save area and cr save, reduce stack frame.
48531         Correct cfi for possible PSEUDO_RET frame setup.
48532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48533         Branch to local label emitted by PSEUDO_RET rather than
48534         __syscall_error.
48535
48536 2010-08-12  Andreas Schwab  <schwab@redhat.com>
48537
48538         [BZ #11904]
48539         * locale/programs/locale.c (print_assignment): New function.
48540         (show_locale_vars): Use it.
48541
48542 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
48543
48544         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48545         field.
48546         (struct statfs64): Likewise.
48547         (_STATFS_F_FLAGS): Define.
48548         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48549         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48550         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48551         (ST_VALID): Define locally.
48552         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48553         __statvfs_getflags, use the provided value.
48554         * sysdeps/unix/sysv/linux/kernel-features.h: Define
48555         __ASSUME_STATFS_F_FLAGS.
48556
48557         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48558
48559         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48560         Add sys/fanotify.h.
48561         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48562         fanotify_mask for GLIBC_2.13.
48563         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48564         fanotify_init and fanotify_mark.
48565         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48566         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48567
48568         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48569         Add prlimit.
48570         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48571         prlimit64 for GLIBC_2.13.
48572         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48573         prlimit64.
48574         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48575         syscall.
48576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48577         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48578         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48579         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48580         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
48581         add prlimit alias.
48582         * sysdeps/unix/sysv/linux/prlimit.c: New file.
48583
48584         [BZ #11903]
48585         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48586         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48587
48588         * nss/Makefile: Add rules to build and run tst-nss-test1.
48589         * shlib-versions: Add entry for libnss_test1.
48590         * nss/nss_test1.c: New file.
48591         * nss/tst-nss-test1.c: New file.
48592
48593         * nss/nsswitch.c (__nss_database_custom): Define new variable.
48594         (__nss_configure_lookup): Set appropriate entry in
48595         __nss_configure_lookup to true.
48596         * nss/nsswitch.h: Define enum with indeces of databases in
48597         databases and __nss_database_custom arrays.  Declare
48598         __nss_database_custom.
48599         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48600         to avoid using nscd when custom rules are installed.
48601         * nss/getXXbyYY_r.c: Likewise.
48602         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48603
48604         * nss/nss_files/files-parse.c: Whitespace fixes.
48605
48606 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
48607
48608         [BZ #11883]
48609         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48610         * posix/fnmatch_loop.c: Likewise.
48611
48612 2010-07-17  Andi Kleen  <ak@linux.intel.com>
48613
48614         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48615         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48616         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48617         * Versions.def [GLIBC_2.13]: Add.
48618
48619 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
48620
48621         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48622         Also fail if tpwd after pwuid call is NULL.
48623
48624 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48625
48626         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48627         when converting to ms.
48628
48629 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48630
48631         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48632         EOPNOTSUPP errors with ENOTTY.
48633         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48634         EOPNOTSUPP errors with ENOTTY.
48635
48636 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
48637
48638         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48639         Add strcasecmp_l-ssse3.
48640         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48641         strcasecmp.
48642         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48643         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48644         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48645
48646 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
48647
48648         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48649
48650         * string/Makefile (strop-tests): Add strcasecmp.
48651         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48652         strcasecmp_l-nonascii.
48653         (gen-as-const-headers): Add locale-defines.sym.
48654         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48655         * sysdeps/x86_64/strcasecmp.S: New file.
48656         * sysdeps/x86_64/strcasecmp_l.S: New file.
48657         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48658         * sysdeps/x86_64/locale-defines.sym: New file.
48659         * string/test-strcasecmp.c: New file.
48660
48661         * string/test-strcasestr.c: Test both ends of the range of characters.
48662         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48663
48664 2010-07-29  Roland McGrath  <roland@redhat.com>
48665
48666         [BZ #11856]
48667         * manual/locale.texi (Yes-or-No Questions): Fix example code.
48668
48669 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
48670
48671         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48672         for ld.so.
48673
48674 2010-07-27  Andreas Schwab  <schwab@redhat.com>
48675
48676         * manual/memory.texi (Malloc Tunable Parameters): Document
48677         M_PERTURB.
48678
48679 2010-07-26  Roland McGrath  <roland@redhat.com>
48680
48681         [BZ #11840]
48682         * configure.in (-fgnu89-inline check): Set and substitute
48683         gnu89_inline, not libc_cv_gnu89_inline.
48684         * configure: Regenerated.
48685         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48686
48687 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
48688
48689         * string/test-strnlen.c: New file.
48690         * string/Makefile (strop-tests): Add strnlen.
48691         * string/tester.c (test_strnlen): Add a few more test cases.
48692         * string/tst-strlen.c: Better error reporting.
48693
48694         * sysdeps/x86_64/strnlen.S: New file.
48695
48696 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
48697
48698         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48699         lower-latency instructions.
48700
48701 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
48702
48703         * string/test-strcasestr.c: New file.
48704         * string/test-strstr.c: New file.
48705         * string/Makefile (strop-tests): Add strstr and strcasestr.
48706         * string/str-two-way.h: Don't undefine MAX.
48707         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48708
48709 2010-07-21  Andreas Schwab  <schwab@redhat.com>
48710
48711         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48712         strcasestr-nonascii.
48713         (CFLAGS-strcasestr-nonascii.c): Define.
48714         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48715         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48716         Remove unused attribute.
48717
48718 2010-07-20  Roland McGrath  <roland@redhat.com>
48719
48720         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48721         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
48722         ld.so.cache was broken.  With it, there is no way to disable dsocaps
48723         like LD_HWCAP_MASK can disable hwcaps.
48724
48725 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48726
48727         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48728
48729 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
48730
48731         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48732         call in strcasestr.
48733         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48734         __strcasestr_sse42_nonascii.
48735         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48736         strcasestr-nonascii.c.
48737         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48738
48739 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
48740
48741         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48742         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48743         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48744         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48745
48746 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
48747
48748         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48749         fcntl.
48750
48751 2010-07-06  Andreas Schwab  <schwab@redhat.com>
48752
48753         [BZ #11577]
48754         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48755         dl_signal_cerror.
48756
48757 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
48758
48759         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48760         _PC_PIPE_BUF using F_GETPIPE_SZ.
48761
48762 2010-07-05  Roland McGrath  <roland@redhat.com>
48763
48764         * manual/arith.texi (Rounding Functions): Fix rint description
48765         implicit in round description.
48766
48767 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
48768
48769         * elf/Makefile: Fix linking for a few tests to make recent linker
48770         happy.
48771
48772 2010-06-30  Andreas Schwab  <schwab@redhat.com>
48773
48774         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48775         $(common-objpfx)libc_nonshared.a.
48776
48777 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
48778
48779         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48780         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48781         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48782         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48783         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48784         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48785         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48786         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48801         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48802         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48803         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48804         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48805         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48806         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48807         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48808         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48809         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48810         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48811         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48812         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48827
48828 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
48829
48830         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48831         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
48832         * string/memmove.c (memmove): Renamed to ...
48833         (MEMMOVE): ...this.  Default to memmove.
48834         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48835         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48836         (END_CHK): Define.
48837         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48838         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48839         mempcpy-ssse3-back memmove-ssse3-back.
48840         * sysdeps/x86_64/multiarch/bcopy.S: New file .
48841         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48842         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48843         * sysdeps/x86_64/multiarch/memcpy.S: New file.
48844         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48845         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48846         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48847         * sysdeps/x86_64/multiarch/memmove.c: New file.
48848         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48849         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48850         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48851         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48852         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48853         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48854         Define.
48855         (index_Fast_Copy_Backward): Define.
48856         (HAS_ARCH_FEATURE): Define.
48857         (HAS_FAST_REP_STRING): Define.
48858         (HAS_FAST_COPY_BACKWARD): Define.
48859
48860 2010-06-21  Andreas Schwab  <schwab@redhat.com>
48861
48862         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48863         Restore proper fallback handling.
48864
48865 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
48866
48867         [BZ #11701]
48868         * posix/group_member.c (__group_member): Correct checking loop.
48869
48870         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48871         OOM in getpwuid_r correctly.  Return error number when the caller
48872         should return, otherwise -1.
48873         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48874         call returning > 0 value.
48875         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48876
48877 2010-06-07  Andreas Schwab  <schwab@redhat.com>
48878
48879         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48880         libc_nonshared.a from targets in modules-names.
48881
48882 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
48883
48884         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48885         requires it.
48886
48887 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
48888
48889         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48890         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48891         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48892         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48893
48894 2010-06-02  Andreas Schwab  <schwab@redhat.com>
48895
48896         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48897
48898 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
48899
48900         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48901         and F_GETPIPE_SZ.
48902         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48903         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48904         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48905         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48906         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48907         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48908
48909 2010-06-14  Roland McGrath  <roland@redhat.com>
48910
48911         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48912
48913 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
48914
48915         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48916         __REDIRECT followed by __THROW.
48917         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48918         * posix/getopt.h (getopt): Likewise.
48919
48920 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48921
48922         * hurd/lookup-at.c (__file_name_lookup_at): Accept
48923         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
48924         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48925         in AT_FLAGS.
48926         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48927         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48928
48929 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
48930
48931         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48932
48933 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
48934
48935         [BZ #11640]
48936         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48937         Properly check family and model.
48938
48939 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
48940
48941         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48942
48943 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
48944
48945         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48946
48947 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
48948
48949         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48950         symbol reference.
48951
48952 2010-05-19  Andreas Schwab  <schwab@redhat.com>
48953
48954         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48955         symbol reference.
48956
48957 2010-05-21  Andreas Schwab  <schwab@redhat.com>
48958
48959         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48960         and internal_recvmmsg.
48961         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48962         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48963         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48964         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48965
48966         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48967         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48968         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48969
48970 2010-05-20  Andreas Schwab  <schwab@redhat.com>
48971
48972         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48973
48974 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
48975
48976         POWER7 optimizations.
48977         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48978         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48979
48980 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
48981
48982         * version.h: Update for 2.13 development version.
48983
48984 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
48985
48986         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48987         exceptions.  Return 0.
48988
48989 2010-05-07  Roland McGrath  <roland@redhat.com>
48990
48991         * elf/ldconfig.c (main): Add a const.
48992
48993 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
48994
48995         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48996         (args_options): Add no-idn option.
48997         (ahosts_keys_int): Add idn_flags to ai_flags.
48998         (parse_option): Handle 'i' option to clear idn_flags.
48999
49000         * malloc/malloc.c (_int_free): Possible race in the most recently
49001         added check.  Only act on the data if no current modification
49002         happened.
49003
49004 See ChangeLog.17 for earlier changes.