setlocale: Use the heap for the copy of the locale argument
[platform/upstream/glibc.git] / ChangeLog
1 2014-07-02  Florian Weimer  <fweimer@redhat.com>
2
3         * locale/setlocale.c (setlocale): Use strdup for allocating
4         composite name copy.
5
6 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7
8         Sync up with gnulib.
9         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
10         [!_LIBC && ENABLE_NLS]: Include gettext.h.
11         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
12         and _GL_ARG_NONNULL.
13         [USE_UNLOCKED_IO]: Include unlocked-io.h.
14         [!_LIBC]: Include code for Windows and Cygwin.
15         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
16         Include prototype for int strerror_r.
17         [!_LIBC] (is_open): New function.
18         (flush_stdout): New function.
19         (print_errno_message): Use it.
20         (error): Likewise.
21         (error_at_line): Likewise.
22         (error_tail) Add function attribute macros.  Use
23         __builtin_expect.
24
25         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
26
27         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
28
29         * io/ftw.c: Include sys/param.h unconditionally.
30
31         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
32
33         [BZ #17125]
34         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
35         libc_freeres_ptr.
36         (freecache): New function to free CACHE on exit.
37
38         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
39         initialization.
40
41 2014-07-09  David S. Miller  <davem@davemloft.net>
42
43         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44
45         * sysdeps/sparc/nptl/internaltypes.h: Delete.
46         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
47         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
48         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
49         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
50         * sysdeps/sparc/nptl/sem_init.c: Likewise.
51         * sysdeps/sparc/nptl/sem_post.c: Likewise.
52         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
53         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
54         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
55         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
56         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
57         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
58
59 2014-07-09  Andreas Schwab  <schwab@suse.de>
60
61         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
62         output.
63         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
64         (do_test): Likewise.
65
66         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
67
68 2014-07-09  Will Newton  <will.newton@linaro.org>
69
70         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
71         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
72         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
73         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
74         * sysdeps/hppa/start.S (_start): Likewise.
75
76 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
77
78         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
79
80         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
81         defined.
82
83 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
84
85         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
86         after checking that it is non-NULL.
87
88         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
89
90 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
91
92         * sysdeps/powerpc/memmove.c: Remove file.
93         * sysdeps/powerpc/powerpc32/power4/memcopy.h
94         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
95         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
96         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
97         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
98         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
99         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
100         string memmove instead of removed powerpc one.
101
102         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
103         [weak_alias]: Fix compiler warning due trailing data.
104         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
105         [weak_alias]: Likewise.
106         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
107         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
108
109         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
110         (__libc_ifunc_impl_list): Add memmove functions.
111
112 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
113
114         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
115         Remove code.
116         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
117         Likewise
118         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
119         Likewise
120         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
121         Likewise
122         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
123         Likewise
124         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
125         Likewise
126         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
127         Likewise
128         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
129         Likewise
130         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
131         Likewise
132         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
133         Likewise
134         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
135         Likewise
136         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
137         Likewise
138         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
139         Likewise
140         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
141         Likewise
142         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
143         Likewise
144         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
145         Likewise
146         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
147         Likewise
148
149 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
150
151         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
152         to avoid alignment traps in non-cacheable memory.
153         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
154
155         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
156         multiarch objects.
157         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
158         file: multiarch power7 memmove.
159         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
160         multiarch default memmove.
161         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
162         multiarch memove for powerpc32/power4.
163
164         * string/bcopy.c: Use full path to include memmove.c.
165         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
166         multiarch objects.
167         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
168         bcopy for powerpc64.
169         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
170         bcopy for powerpc64.
171         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
172         and memmove implementations.
173         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
174         optimized multiarch memmove for POWER7/powerpc64.
175         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
176         default multiarch memmove for powerpc64.
177         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
178         multiarch for powerpc64.
179         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
180         for POWER7/powerpc64.
181         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
182         memmove for POWER7/powerpc64.
183
184         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
185         glibc default one.
186
187         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
188         __ELF_NATIVE_CLASS equal to 64.
189
190 2014-07-07  Roland McGrath  <roland@hack.frob.com>
191
192         * sysdeps/nptl/lowlevellock.h: File removed.
193
194         * NEWS: NPTL is no longer an add-on!
195         * nptl/internaltypes.h: Moved ...
196         * sysdeps/nptl/internaltypes.h: ... here.
197         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
198         * sysdeps/nptl/fork.c: Likewise.
199         * sysdeps/nptl/gai_misc.h: Likewise.
200         * sysdeps/nptl/librt-cancellation.c: Likewise.
201         * sysdeps/nptl/jmp-unwind.c: Likewise.
202         * sysdeps/nptl/setxid.h: Likewise.
203         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
204         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
205         * sysdeps/unix/sysv/linux/arm/Implies: New file.
206         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
207         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
208         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
209         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
210         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
211         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
212         * sysdeps/unix/sysv/linux/mips/Implies: New file.
213         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
214         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
215         * sysdeps/unix/sysv/linux/sh/Implies: New file.
216         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
217         * sysdeps/unix/sysv/linux/tile/Implies: New file.
218         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
219         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
220         * nptl/Makeconfig: Moved ...
221         * sysdeps/nptl/Makeconfig: ... here.
222         * nptl/configure: File removed.
223         * nptl/ANNOUNCE: File removed.
224         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
225         * sysdeps/unix/sysv/linux/configure: Regenerated.
226
227         * nptl/Makefile (routines): Add libc_pthread_init,
228         libc_multiple_threads, register-atfork and unregister-atfork.
229         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
230         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
231         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
232         pthread-pi-defines.sym, structsem.sym.
233         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
234         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
235         [$(subdir) = nptl] (tests): Add tst-setgetname.
236         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
237         * sysdeps/unix/sysv/linux/sigaction.c: Just include
238         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
239         [!LIBC_SIGACTION]: Remove aliases.
240         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
241         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
242         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
243         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
244         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
245         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
246         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
247         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
248         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
249         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
250         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
251         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
252         __libc_allocate_rtsig_private.
253         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
254         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
255         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
256         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
257         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
258         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
259         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
260         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
261         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
262         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
263         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
264         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
265         * nptl/internaltypes.h: ... here.
266         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
267         * sysdeps/nptl/jmp-unwind.c: ... here.
268         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
269         * nptl/libc-lowlevellock.c: ... here.
270         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
271         * nptl/libc_multiple_threads.c: ... here.
272         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
273         * nptl/libc_pthread_init.c: ... here.
274         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
275         * nptl/lowlevelbarrier.sym: ... here.
276         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
277         * nptl/lowlevelcond.sym: ... here.
278         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
279         * nptl/lowlevellock.c: ... here.
280         * nptl/lowlevellock.h: Moved ...
281         * sysdeps/nptl/lowlevellock.h: ... here.
282         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
283         * nptl/lowlevelrobustlock.c: ... here.
284         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
285         * nptl/lowlevelrobustlock.sym: ... here.
286         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
287         * nptl/lowlevelrwlock.sym: ... here.
288         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
289         * nptl/pt-fork.c: ... here.
290         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
291         * nptl/pthread-pi-defines.sym: ... here.
292         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
293         * nptl/pthread_attr_getaffinity.c: ... here.
294         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
295         * nptl/pthread_attr_setaffinity.c: ... here.
296         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
297         * nptl/pthread_mutex_cond_lock.c: ... here.
298         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
299         Update #include.
300         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
301         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
302         * nptl/pthread_once.c: ... here, replacing old file.
303         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
304         * nptl/pthread_yield.c: ... here.
305         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
306         * nptl/register-atfork.c: ... here.
307         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
308         * nptl/sem_post.c: ... here.
309         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
310         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
311         * nptl/sem_timedwait.c: ... here.
312         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
313         * nptl/sem_trywait.c: ... here.
314         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
315         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
316         * nptl/sem_wait.c: ... here.
317         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
318         * nptl/structsem.sym: ... here.
319         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
320         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
321         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
322         * nptl/unregister-atfork.c: ... here.
323         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
324         * nptl/unwindbuf.sym: ... here.
325         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
326         * sysdeps/nptl/fork.c: ... here.
327         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
328         * sysdeps/nptl/fork.h: ... here.
329         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
330         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
331         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
332         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
333         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
334         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
335         * sysdeps/unix/sysv/linux/getpid.c: ... here.
336         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
337         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
338         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
339         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
340         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
341         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
342         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
343         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
344         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
345         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
346         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
347         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
348         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
349         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
350         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
351         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
352         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
353         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
354         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
355         * sysdeps/unix/sysv/linux/raise.c: ... here.
356         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
357         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
358         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
359         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
360         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
361         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
362         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
363         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
364         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
365         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
366         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
367         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
368         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
369         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
370         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
371
372 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
373
374         * sysdeps/generic/memcopy.h: Add comment for
375         MEMCPY_OK_FOR_FWD_MEMMOVE.
376
377 2014-07-04  Will Newton  <will.newton@linaro.org>
378
379         * string/memchr.c: Merge from gnulib.
380         [_LIBC]: Remove conditionals.
381         (__ptr_t): Remove define.
382         (LONG_MAX_32_BITS): Likewise.
383         (LONG_MAX): Likewise.
384         (MEMCHR): Use ANSI prototype and optimize algorithm.
385
386         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
387
388 2014-07-03  Roland McGrath  <roland@hack.frob.com>
389
390         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
391         (lll_futex_timed_wait_bitset): Fix syscall argument count.
392
393         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
394         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
395         in a bare environment with no <stdlib.h> installed.
396         * sysdeps/nptl/configure: Regenerated.
397
398         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
399
400         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
401         AC_EGREP_CPP for kernel header checks, so they only succeed if
402         including <linux/version.h> actually works right.
403         * sysdeps/unix/sysv/linux/configure: Regenerated.
404
405         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
406         value so it's not diagnosed as unused.
407
408         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
409         thing) with "ifeq ($(subdir),rt)".
410
411 2014-07-03  Richard Henderson  <rth@redhat.com>
412
413         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
414         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
415         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
416
417         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
418         (math_force_eval): New.
419
420         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
421         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
422
423         * sysdeps/alpha/fpu/s_round.c: Remove file.
424         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
425
426         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
427         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
428         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
429         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
430         (_dl_start, print_statistics): Likewise.
431         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
432         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
433
434         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
435         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
436         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
437         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
438         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
439         (HP_SMALL_TIMING_AVAIL): Define.
440         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
441         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
442         (HP_SMALL_TIMING_AVAIL): Define.
443         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
444         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
445
446         * sysdeps/aarch64/hp-timing.h: New file.
447
448         * sysdeps/generic/hp-timing.h: Remove dead comment.
449         * sysdeps/generic/hp-timing-common.h: New file.
450         * sysdeps/alpha/hp-timing.h: Include it.
451         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
452         * sysdeps/i386/i686/hp-timing.h: Likewise.
453         * sysdeps/ia64/hp-timing.h: Likewise.
454         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
455         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
456         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
457         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
458         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
459         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
460         (hp_timing_t): New.
461
462         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
463         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
464         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
465         * elf/rtld.c (_dl_start_final): Likewise.
466         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
467         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
468         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
469         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
470         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
471         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
472         (HP_TIMING_DIFF_INIT): Remove.
473         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
474         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
475         (HP_TIMING_DIFF_INIT): Remove.
476         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
477         * sysdeps/i386/i686/hp-timing.c: Remove file.
478         * sysdeps/x86_64/hp-timing.c: Remove file.
479         * sysdeps/ia64/hp-timing.c: Remove file.
480         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
481         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
482         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
483         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
484
485         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
486         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
487         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
488         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
489         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
490         (HP_TIMING_ACCUM): Remove.
491         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
492         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
493         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
494
495         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
496         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
497         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
498         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
499         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
500         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
501         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
502         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
503
504         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
505
506 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
507
508         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
509
510 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
511
512         Sync up with gettext.
513         * intl/loadmsgcat.c: Define O_BINARY if not defined.
514         [_MSC_VER]: Include malloc.h
515         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
516         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
517         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
518         TEMP_FAILURE_RETRY.  Cast return of alloca.
519         [!_LIBC] Call gl_rwlock_init.
520         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
521
522 2014-07-02  Roland McGrath  <roland@hack.frob.com>
523
524         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
525         before checking its value.
526
527 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
528
529         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
530
531         * debug/memcpy_chk.c: Don't include pagecopy.h.
532         * debug/mempcpy_chk.c: Likewise.
533         * string/memcpy.c: Likewise.
534         * string/memmove.c: Likewise.
535         * sysdeps/powerpc/memmove.c: Likewise.
536         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
537         definition of PAGE_COPY_FWD_MAYBE here...
538         * sysdeps/generic/pagecopy.h: ... from here.
539         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
540
541 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
542             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
543
544         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
545         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
546         optimizations.
547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
548         (__libc_ifunc_impl_list): Likewise.
549         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
550         multiarch strcat for PPC64.
551         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
552         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
553
554 2014-07-02  Roland McGrath  <roland@hack.frob.com>
555
556         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
557
558 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
559
560         * intl/loadmsgcat.c: Remove declaration of
561         get_sysdep_segment_value.
562         (get_sysdep_segment_value): Use ISO C style.
563         (_nl_load_domain): Use ISO C style.  Get rid of redundant
564         semicolon.  Fix typo and formatting in comment.
565         (_nl_unload_domain): Use ISO C style.
566
567         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
568
569 2014-07-02  Will Newton  <will.newton@linaro.org>
570
571         * malloc/obstack.c: Merge from gnulib master.
572         [HAVE_CONFIG_H]: Remove conditional code.
573         [!_LIBC]: Include config.h.
574         [!ELIDE_CODE]: Don't include inttypes.h, include
575         stdint.h unconditionally.
576         (print_and_abort): Mark as _Noreturn.
577         (_obstack_allocated_p): Mark as __attribute_pure__.
578         (obstack_free): Rename to __obstack_free.
579         [!__attribute__]: Remove conditional code.
580         * malloc/obstack.h: Merge from gnulib master.
581         [__cplusplus]: Move conditional down.
582         [!__attribute_pure__]: Define __attribute_pure__ here
583         if it is not already defined.
584         (_obstack_memory_used): Mark as __attribute_pure__.
585         [!__obstack_free]: Define as obstack_free.
586         [__GNUC__]: Remove check for ancient NeXT gcc.
587
588 2014-07-02  Will Newton  <will.newton@linaro.org>
589             Paul Eggert  <eggert@cs.ucla.edu>
590
591         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
592
593 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
594
595         * resolv/gethnamaddr.c: Add comment warning that the file is
596         not maintained.
597
598 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
599
600         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
601         entries.
602
603         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
604         entry for aio_cancel and aio_cancel64.
605         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
606         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
607         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
608         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
609         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
610         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
611         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
612         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
613         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
614         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
615         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
616         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
617         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
618
619 2014-07-01  Roland McGrath  <roland@hack.frob.com>
620
621         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
622         * nptl/pthread_mutex_lock.c: Likewise.
623         * nptl/pthread_mutex_timedlock.c: Likewise.
624         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
625
626 2014-07-01  Richard henderson  <rth@redhat.com>
627
628         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
629         (__isnan, __isnanl): Remove.
630         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
631
632         * sysdeps/alpha/fpu/libm-test-ulps: Update.
633
634 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
635
636         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
637
638 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
639
640         * resolv/nss_dns/dns-host.c (getanswer_r)
641         [MULTI_PTRS_ARE_ALIASES]: Remove code.
642
643 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
644
645         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
646         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
647         undefine.
648         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
649         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
650
651 2014-07-01  Roland McGrath <roland@hack.frob.com>
652
653         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
654         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
655
656         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
657         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
658
659         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
660         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
661         ... here.
662         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
663         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
664
665         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
666         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
667         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
668         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
669
670         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
671         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
672         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
673         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
674         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
675         Moved ...
676         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
677         ... here.
678         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
679         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
680         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
681         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
682         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
683         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
684         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
685         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
686         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
687         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
688         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
689         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
690         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
691         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
692         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
693         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
694         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
695         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
696         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
697         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
698         ... here.
699         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
700         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
701         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
702         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
703         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
704         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
705         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
706         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
707
708 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
709
710         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
711         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
712         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
713         Add sysdep.
714
715 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
716
717         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
718
719 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
720
721         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
722         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
723
724         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
725
726         * sysdeps/arm/libm-test-ulps: Regenerated.
727
728 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
729             Roland McGrath <roland@hack.frob.com>
730
731         * test-skeleton.c (signal_handler): Kill the whole process group
732         before killing the child individually.
733         (main): Report any failure on `setpgid'.
734
735 2014-06-30  Roland McGrath  <roland@hack.frob.com>
736
737         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
738         from _TLS_H to _ARM_NPTL_TLS_H.
739         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
740         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
741
742 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
743
744         [BZ #16539]
745         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
746         (__expm1l): Return argument unchanged when small but not
747         subnormal.
748
749         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
750         include macro name.
751         (_FP_UNPACK_RAW_1_P): Likewise.
752         (_FP_PACK_RAW_1): Likewise.
753         (_FP_PACK_RAW_1_P): Likewise.
754         (_FP_MUL_MEAT_1_wide): Likewise.
755         (_FP_MUL_MEAT_DW_1_hard): Likewise.
756         (_FP_MUL_MEAT_1_hard): Likewise.
757         (_FP_DIV_MEAT_1_imm): Likewise.
758         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
759         (_FP_DIV_MEAT_1_udiv): Likewise.
760         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
761         (_FP_UNPACK_RAW_2): Likewise.
762         (_FP_UNPACK_RAW_2_P): Likewise.
763         (_FP_PACK_RAW_2): Likewise.
764         (_FP_PACK_RAW_2_P): Likewise.
765         (_FP_MUL_MEAT_DW_2_wide): Likewise.
766         (_FP_MUL_MEAT_2_wide): Likewise.
767         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
768         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
769         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
770         (_FP_MUL_MEAT_2_gmp): Likewise.
771         (_FP_DIV_MEAT_2_udiv): Likewise.
772         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
773         (_FP_FRAC_SRL_4): Likewise.
774         (_FP_FRAC_SRST_4): Likewise.
775         (_FP_FRAC_SRS_4): Likewise.
776         (_FP_UNPACK_RAW_4): Likewise.
777         (_FP_UNPACK_RAW_4_P): Likewise.
778         (_FP_PACK_RAW_4): Likewise.
779         (_FP_PACK_RAW_4_P): Likewise.
780         (_FP_MUL_MEAT_DW_4_wide): Likewise.
781         (_FP_MUL_MEAT_4_wide): Likewise.
782         (_FP_MUL_MEAT_4_gmp): Likewise.
783         (umul_ppppmnnn): Likewise.
784         (_FP_DIV_MEAT_4_udiv): Likewise.
785         (__FP_FRAC_ADD_4): Likewise.
786         (__FP_FRAC_SUB_3): Likewise.
787         (__FP_FRAC_SUB_4): Likewise.
788         (__FP_FRAC_DEC_3): Likewise.
789         (__FP_FRAC_DEC_4): Likewise.
790         (__FP_FRAC_ADDI_4): Likewise.
791         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
792         (_FP_FRAC_SRL_8): Likewise.
793         (_FP_FRAC_SRS_8): Likewise.
794
795         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
796         include macro name.
797         (FP_UNPACK_RAW_EP): Likewise.
798         (FP_PACK_RAW_E): Likewise.
799         (FP_PACK_RAW_EP): Likewise.
800         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
801         (_FP_ISSIGNAN): Likewise.
802         (_FP_ADD_INTERNAL): Likewise.
803         (_FP_FMA): Likewise.
804         (_FP_CMP): Likewise.
805         (_FP_SQRT): Likewise.
806         (_FP_TO_INT): Likewise.
807         (_FP_FROM_INT): Likewise.
808         (FP_EXTEND): Likewise.
809         (_FP_DIV_MEAT_N_loop): Likewise.
810
811 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
812
813         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
814         throughout.
815
816 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
817
818         [BZ #17097]
819         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
820         result with correct sign in case of exponents that produce
821         overflow except for X very close to 1.
822
823 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
824
825         mktime: merge #if/#ifdef usage from glibc
826         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
827         as that works with both Glibc's and Gnulib's style.
828         See thread starting at Siddhesh Poyarekar's bug report at:
829         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
830
831 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
832
833         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
834         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
835         * sysdeps/tile/tilegx/memmove.c: Remove file.
836
837 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
838
839         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
840         abi-name definition.
841         * scripts/soversions.awk: Do not handle or generate ABI lines.
842         * shlib-versions: Remove ABI entries.
843         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
844         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
845
846 2014-06-27  Roland McGrath  <roland@hack.frob.com>
847
848         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
849         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
850         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
851         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
852         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
853         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
854         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
855         Moved ...
856         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
857         ... here.
858         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
859         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
860         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
861         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
862         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
863         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
864         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
865         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
866         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
867         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
868         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
869         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
870         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
871         Moved ...
872         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
873         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
874         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
875         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
876         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
877         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
878         Moved ...
879         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
880         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
881         Moved ...
882         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
883         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
884         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
885         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
886         Moved ...
887         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
888         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
889         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
890         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
891         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
892         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
893         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
894         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
895         Moved ...
896         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
897         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
898         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
899         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
900         Moved ...
901         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
902         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
903         Moved ...
904         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
905         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
906         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
907         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
908         Moved ...
909         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
910         ... here.
911         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
912         Identical file removed.
913         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
914         Moved ...
915         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
916         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
917         Identical file removed.
918         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
919         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
920         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
921         Moved ...
922         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
923         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
924         Identical file removed.
925         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
926         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
927         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
928         Identical file removed.
929         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
930         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
931         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
932         Identical file removed.
933         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
934         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
935         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
936         Identical file removed.
937         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
938         Moved ...
939         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
940         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
941         Identical file removed.
942         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
943         Moved ...
944         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
945         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
946         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
947         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
948         Identical file removed.
949         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
950         Moved ...
951         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
952         ... here.
953         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
954         Identical file removed.
955         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
956         Moved ...
957         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
958         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
959         Identical file removed.
960         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
961         Moved ...
962         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
963         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
964         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
965         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
966         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
967         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
968         Moved ...
969         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
970         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
971         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
972
973         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
974         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
975         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
976         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
977         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
978
979 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
980
981         [BZ #17092]
982         * nscd/nscd.c (monitor_child): Return exit status of child
983         instead of return value from wait syscall.
984
985 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
986
987         * configure.ac (libc_commonpagesize): Remove variable.
988         (libc_relro_required): Likewise.
989         (libc_cv_z_relro): Remove configure test.
990         * configure: Regenerated.
991         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
992         variable.
993         (libc_relro_required): Likewise.
994         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
995         (libc_relro_required): Likewise.
996         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
997         (libc_relro_required): Likewise.
998         * sysdeps/arm/preconfigure: Regenerated.
999         * sysdeps/ia64/preconfigure: Remove file.
1000         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1001         variable.
1002         (libc_relro_required): Likewise.
1003
1004         [BZ #16561]
1005         [BZ #16562]
1006         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1007         (__ieee754_yn): Set FE_TONEAREST mode internally and then
1008         recompute overflowing results in original rounding mode.
1009         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1010         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1011         recompute overflowing results in original rounding mode.
1012         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1013         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1014         recompute overflowing results in original rounding mode.
1015         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1016         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1017         recompute overflowing results in original rounding mode.
1018         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1019         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1020         recompute overflowing results in original rounding mode.
1021         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1022         (libc_feholdsetround_ctx): New macro.
1023         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1024         * sysdeps/i386/fpu/libm-test-ulps: Update.
1025         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1026
1027 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1028
1029         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1030         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1031         corresponding .cpsetup call.
1032
1033 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1034
1035         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1036         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1037         * sysdeps/arm/Makefile [$(subdir) = csu]
1038         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1039         (static-only-routines): Add aeabi_read_tp here.
1040         (shared-only-routines): Add libc-aeabi_read_tp here.
1041         (CFLAGS-libc-start.c): Add -fexceptions here.
1042         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1043         (sysdep_routines, static-only-routines, shared-only-routines):
1044         Don't add to these here.
1045         (CFLAGS-libc-start.c): Likewise.
1046
1047         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1048         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1049         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1050         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1051         * sysdeps/arm/Makefile [$(subdir) = rt]
1052         (librt-sysdep_routines, librt-shared-only-routines):
1053         Append rt-aeabi_unwind_cpp_pr1 here.
1054         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1055         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1056         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1057         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1058         Append nptl-aeabi_unwind_cpp_pr1 here.
1059         (tests): Filter out tst-cleanupx4 here.
1060         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1061         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1062         Don't do those here.
1063
1064 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1065
1066         * scripts/list-sources.sh: Do not handle ports specially.
1067
1068 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1069
1070         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1071         * sysdeps/arm/feupdateenv.c: Likewise.
1072
1073         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1074
1075 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1076
1077         * manual/texinfo.tex: Update to version 2014-05-05.10 with
1078         trailing whitespace removed.
1079         * scripts/config.guess: Update to version 2014-03-23.
1080         * scripts/config.sub: Update to version 2014-05-01
1081         * scripts/install-sh: Update to version 2013-12-25.23.
1082         * scripts/move-if-change: Update from gnulib.
1083
1084 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1085
1086         * debug/memmove_chk.c: Remove pagecopy.h include.
1087
1088 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
1089
1090         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
1091         identical to gnulib mktime.
1092
1093 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1094
1095         * configure.ac: Do not test for machine being rs6000.  Do not test
1096         for powerpc*-*soft.
1097         * configure: Regenerated.
1098
1099         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1100         test.
1101         * configure: Regenerated.
1102         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1103         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1104         Remove configure test.
1105         * sysdeps/arm/configure: Regenerated.
1106         * sysdeps/nptl/configure.ac: Do not check
1107         libc_cv_asm_cfi_directives.
1108         * sysdeps/nptl/configure: Regenerated.
1109         * sysdeps/x86_64/nptl/configure.ac: Remove file.
1110         * sysdeps/x86_64/nptl/configure: Remove generated file.
1111         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1112         unconditional.
1113         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1114
1115 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1116
1117         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1118         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1119         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1120         it is defined.
1121
1122         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1123         instead of whether it is defined.
1124         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1125         * sysdeps/hppa/dl-machine.h: Likewise.
1126         * sysdeps/ia64/dl-machine.h: Likewise.
1127         * sysdeps/m68k/dl-machine.h: Likewise.
1128         * sysdeps/microblaze/dl-machine.h: Likewise.
1129         * sysdeps/mips/dl-machine.: Likewise.
1130         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1131         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1132         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1133         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1134         * sysdeps/sh/dl-machine.h: Likewise.
1135         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1136         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1137         * sysdeps/tile/dl-machine.h: Likewise.
1138         * sysdeps/x86_64/dl-machine.h: Likewise.
1139
1140         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1141         code.
1142         (verify_persistent_db): Likewise.
1143
1144 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1145
1146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1147         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1148         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1149         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1150         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1151         Moved ...
1152         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1153         ... here.
1154         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1155         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1157         Identical file removed.
1158         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1159         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1161         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1163         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1165         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1167         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1169         Moved ...
1170         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1172         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1174         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1176         Moved ...
1177         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1179         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1181         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1183         Identical file removed.
1184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1185         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1187         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1188         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1189         Moved ...
1190         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1191         ... here.
1192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1193         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1194         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1195         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1197         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1199         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1201         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1202         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1203         Moved ...
1204         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1206         Moved ...
1207         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1209         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1211         Moved ...
1212         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1213         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1214         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1215
1216         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1217         folded into ...
1218         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1219         * sysdeps/unix/sysv/linux/s390/Versions
1220         (libpthread: GLIBC_2.19): New version set.
1221         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1222         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1223         (librt: GLIBC_2.3.3): New version set.
1224         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1225         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1226         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1227         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1228         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1229         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1230         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1231         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1232         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1233         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1234         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1235         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1236         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1237         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1238         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1239         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1240         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1241         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1242         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1243         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1244         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1245         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1246         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1247         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1248         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1249         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1250         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1251         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1252         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1253         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1254         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1255         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1256         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1257         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1258         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1259         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1260         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1261         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1262         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1263         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1264         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1265         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1266         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1267         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1268         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1269
1270         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1271         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1272         (__libc_vfork): Define the function under this name.
1273         [!NOT_IN_libc] (__vfork): Make this an alias.
1274         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1275         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1276         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1277         (__libc_vfork): Define the function under this name.
1278         [!NOT_IN_libc] (__vfork): Make this an alias.
1279         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1280         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1281         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1282         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1283         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1284         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1285
1286         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1287         code that was previously under [RESET_PID].
1288         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1289         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1290         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1291
1292         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1293         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1294         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1295         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1296         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1297         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1298         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1299         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1300         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1301         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1302         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1303         Moved ...
1304         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1305         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1306         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1307         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1308         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1309         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1310         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1311         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1312         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1313         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1314         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1315         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1316         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1317         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1318         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1319         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1320         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1321         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1322         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1323         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1324         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1325         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1326         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1327         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1328         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1329         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1330         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1331         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1332         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1333
1334 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1335
1336         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1337         that was previously under [RESET_PID].
1338         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1339
1340 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1341
1342         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1343         not undefine and redefine.
1344         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1345         [O_CLOEXEC]: Make code unconditional.
1346         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1347         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1348         <kernel-features.h>.
1349         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1350         conditional variable definition.
1351         (shm_open) [O_CLOEXEC]: Make code unconditional.
1352         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1353         code.
1354
1355         * configure.ac (USE_REGPARMS): Don't define here.
1356         * configure: Regenerated.
1357         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1358         * sysdeps/i386/configure: Regenerated.
1359
1360         * nptl/createthread.c: Don't include kernel-features.h.
1361         * nptl/pthread_cancel.c: Likewise.
1362         * nptl/pthread_condattr_setclock.c: Likewise.
1363         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1364         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1365         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1366         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1367         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1368         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1369         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1370         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1371         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1372         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1373         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1374         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1375         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1376         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1377         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1378         * nscd/gai.c: Likewise.
1379         * nss/nss_db/db-open.c: Likewise.
1380         * sysdeps/generic/ldsodefs.h: Likewise.
1381         * sysdeps/sh/nptl/tls.h: Likewise.
1382         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1383         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1384         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1385         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1386         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1387         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1388         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1389         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1390         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1391         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1392         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1393         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1394         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1395         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1396         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1397         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1398         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1399         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1400         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1401         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1402         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1403         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1404         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1405         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1406         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1407         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1408         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1409         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1410         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1411         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1412         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1413         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1414         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1415         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1416         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1417         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1418         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1419         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1420         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1421         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1422         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1423         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1424         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1425         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1426         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1427         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1428         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1429         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1430         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1431         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1432         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1433         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1434         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1435         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1436         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1437         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1438         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1439         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1462         * sysdeps/unix/sysv/linux/pread.c: Likewise.
1463         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1464         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1465         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1466         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1467         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1468         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1469         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1470         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1471         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1472         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1473         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1474         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1475         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1476         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1477         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1478         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1479         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1480         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1481         * sysdeps/unix/sysv/linux/system.c: Likewise.
1482         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1483         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1484         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1485         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1486         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1487         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1488         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1489
1490         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1491         * configure: Regenerated.
1492         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1493
1494         * configure.ac (base_machine): Do not set specially for particular
1495         machines here.
1496         * configure: Regenerated.
1497         * sysdeps/powerpc/preconfigure: Move machine and base_machine
1498         settings from configure.ac.
1499         * sysdeps/i386/preconfigure: New file.
1500         * sysdeps/s390/preconfigure: Likewise.
1501         * sysdeps/sh/preconfigure: Likewise.
1502         * sysdeps/sparc/preconfigure: Likewise.
1503
1504 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1505
1506         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1507         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1508         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1509         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1510         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1511         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1512         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1513         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1514         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1515         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1516         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1517         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1518         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1519         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1520         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1521         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1522         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1523         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1524         * sysdeps/sparc/sparc64/Makefile: ... appended here.
1525
1526         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1527         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1528         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1529         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1530         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1531         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1532         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1533         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1534         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1535         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1536         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1537         * sysdeps/sparc/sparc32/sem_post.c: ... here.
1538         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1539         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1540         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1541         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1542         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1543         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1544         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1545         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1546         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1547         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1548         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1549         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1550         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1551         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1552         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1553         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1554         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1555         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1556         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1557         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1558         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1559         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1560         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1561         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1562         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1563         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1564
1565         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1566         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1567         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1568         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1569         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1570         Moved ...
1571         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1572         ... here.
1573         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1574         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1575         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1576         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1577         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1578         Moved ...
1579         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1580         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1581         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1582         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1583         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1584         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1585         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1586         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1587         Moved ...
1588         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1589         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1590         Moved ...
1591         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1593         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1595         Moved ...
1596         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1597         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1598         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1599         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1600         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1601         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1602         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1603         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1604         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1605         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1606         Moved ...
1607         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1608         ... here.
1609         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1610         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1611         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1612         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1613         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1614         Moved ...
1615         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1616         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1617         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1618         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1619         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1620         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1621         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1622         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1623         Moved ...
1624         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1625         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1626         Moved ...
1627         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1628         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1629         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1631         Moved ...
1632         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1633         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1634         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1636         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1637
1638 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1639
1640         * timezone/checktab.awk: Update from tzcode 2014e.
1641         * timezone/private.h: Likewise.
1642         * timezone/tzfile.h: Likewise.
1643         * timezone/zdump.c: Likewise.
1644         * timezone/zic.c: Likewise.
1645
1646         * sysdeps/unix/sysv/linux/kernel-features.h
1647         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1648         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1649         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1650         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1651         Remove conditional code.
1652
1653 2014-06-25  Will Newton  <will.newton@linaro.org>
1654
1655         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1656         (_dl_arm_cap_flags): Add HWCAP2 values.
1657         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1658         (_DL_HWCAP_COUNT): Increase to 37.
1659         (_DL_HWCAP_LAST): New define.
1660         (_DL_HWCAP2_LAST): New define.
1661         (_dl_procinfo): Add support for printing
1662         AT_HWCAP2 entries.
1663         (_dl_string_hwcap): Use _dl_hwcap_string.
1664
1665 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1666
1667         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1668
1669 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1670
1671         * README: Do not mention ports directory.
1672
1673         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1674         Remove macro.
1675         * sysdeps/unix/sysv/linux/futimes.c: Do not include
1676         <kernel-features.h>.
1677         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1678         conditional variable definition.
1679         (__futimes): Update comment.
1680         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1681         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1682
1683         [BZ #16560]
1684         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1685         arguments close to 0.
1686         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1687         Likewise.
1688         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1689         Likewise.
1690         * math/auto-libm-test-in: Add more tests of exp10.
1691         * math/auto-libm-test-out: Regenerated.
1692         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1693
1694         * sysdeps/unix/sysv/linux/kernel-features.h
1695         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1696         * sysdeps/unix/sysv/linux/readv.c: Do not include
1697         <kernel-features.h>.
1698         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1699         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1700         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1701         unconditional.
1702         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1703         conditional code.
1704         * sysdeps/unix/sysv/linux/writev.c: Do not include
1705         <kernel-features.h>.
1706         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1707         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1708         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1709         unconditional.
1710         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1711         conditional code.
1712
1713 2014-06-25  Will Newton  <will.newton@linaro.org>
1714
1715         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1716         comment changes throughout the file.  Remove checks
1717         for HAVE_*_H definitions that are not required.
1718         (__gen_tempname): Call abort if an unknown kind value is
1719         passed.
1720
1721 2014-06-25  Andreas Schwab  <schwab@suse.de>
1722
1723         [BZ #17086]
1724         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1725         scalbln, scalblnf, scalblnl in libc.
1726
1727 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1728
1729         [BZ #17086]
1730         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1731         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1732         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1733
1734 2014-06-24  Roland McGrath  <roland@hack.frob.com>
1735
1736         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1737         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1738         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1739         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1740         Update #include.
1741         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1742         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1743         Update #include.
1744         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1745         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1746         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1747         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1748         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1749         * sysdeps/x86/bits/pthreadtypes.h: ... here.
1750         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1751         * sysdeps/x86/bits/semaphore.h: ... here.
1752         * sysdeps/x86/nptl/elide.h: Moved ...
1753         * sysdeps/x86/elide.h: ... here.
1754         * sysdeps/x86_64/nptl/Implies: File removed.
1755         * sysdeps/i386/nptl/Implies: File removed.
1756
1757 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
1758
1759         [BZ #16539]
1760         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1761         return the argument for normal arguments with exponent below -64.
1762         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1763         Likewise.
1764         * math/auto-libm-test-in: Add another test of expm1.
1765         * math/auto-libm-test-out: Regenerated.
1766
1767         [BZ #16287]
1768         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1769         calling __erfcl for arguments at least 16.
1770         * math/auto-libm-test-in: Add more tests of erf.
1771         * math/auto-libm-test-out: Regenerated.
1772
1773         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1774         individual architectures.
1775         * sysdeps/unix/sysv/linux/configure: Regenerated.
1776         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1777         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1778         * sysdeps/unix/sysv/linux/powerpc/configure.ac
1779         (ldd_rewrite_script): Define variable.
1780         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1782         file.
1783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1784         generated file.
1785         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1786         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1787         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1788         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1789         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1790         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1791         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1792         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1793
1794 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1795
1796         [BZ #17084]
1797         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1798         Rename member __data.d to __data.__elision_data.
1799
1800 2014-06-24  Wilco  <wdijkstr@arm.com>
1801
1802         * NEWS: Add 16918 to fixed bug list.
1803
1804 2014-06-24  Wilco  <wdijkstr@arm.com>
1805
1806         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1807
1808 2014-06-24  Wilco  <wdijkstr@arm.com>
1809
1810         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1811         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1812         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1813         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1814         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1815         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1816         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1817         Use _FPU_MASK_RM.
1818
1819 2014-06-24  Wilco  <wdijkstr@arm.com>
1820
1821         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1822
1823 2014-06-24  Wilco  <wdijkstr@arm.com>
1824
1825         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1826         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1827         * sysdeps/arm/fesetround.c (fesetround): Remove space.
1828         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1829
1830 2014-06-24  Wilco  <wdijkstr@arm.com>
1831
1832         [BZ #16918]
1833         * sysdeps/arm/feupdateenv.c (feupdateenv):
1834         Rewrite to reduce FPSCR accesses and fix return value.
1835
1836 2014-06-24  Wilco  <wdijkstr@arm.com>
1837
1838         * sysdeps/arm/fclrexcpt.c (feclearexcept):
1839         Optimize to avoid unnecessary FPSCR writes.
1840         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1841         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1842         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1843         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1844
1845 2014-06-24  Wilco  <wdijkstr@arm.com>
1846
1847         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1848         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1849         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1850         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1851         Call libc_fetestexcept_vfp.
1852         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1853         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1854         __SOFTFP__ ifdef so that they can be built for softfp.
1855
1856 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1857
1858         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1859         argument type signed char.
1860
1861         * Makerules (check-abi): Dump diff of symlist if the test
1862         fails.
1863
1864 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1865
1866         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1867         using abort.
1868
1869         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1870         Remove unused variable ST.
1871
1872 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1873
1874         [BZ #16354]
1875         [BZ #17061]
1876         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1877         small arguments before calling __expm1.
1878         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1879         small arguments before calling __expm1f.
1880         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1881         small arguments before calling __expm1l.
1882         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1883         Likewise.
1884         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1885         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
1886         spurious underflow for some cosh tests.
1887         * math/auto-libm-test-out: Regenerated.
1888         * sysdeps/i386/fpu/libm-test-ulps: Update.
1889
1890         [BZ #17050]
1891         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1892         (__ieee754_y1): Set errno if return value overflows.
1893         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1894         (__ieee754_y1f): Set errno if return value overflows.
1895         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1896         (__ieee754_y1l): Set errno if return value overflows.
1897         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1898         (__ieee754_y1l): Set errno if return value overflows.
1899         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1900         * math/auto-libm-test-out: Regenerated.
1901
1902         * math/gen-auto-libm-tests.c: Document use of
1903         ignore-zero-inf-sign.
1904         (input_flag_type): Add value flag_ignore_zero_inf_sign.
1905         (input_flags): Add ignore-zero-inf-sign.
1906         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1907         * math/gen-libm-test.pl (generate_testfile): Handle
1908         ignore-zero-inf-sign.
1909         * math/auto-libm-test-in: Mark some cpow tests with
1910         ignore-zero-inf-sign and some with xfail-rounding.
1911         * math/auto-libm-test-out: Regenerated.
1912         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1913         * sysdeps/i386/fpu/libm-test-ulps: Update.
1914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1915
1916         [BZ #16315]
1917         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1918         overflowing or underflowing operations take place with sign of
1919         result.
1920         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1921         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1922         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1923         (__ieee754_pow): Recompute overflowing and underflowing results in
1924         original rounding mode.
1925         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1926         (__powl_helper): Allow negative argument X and scale negated value
1927         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
1928         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1929         overflowing or underflowing operations take place with sign of
1930         result.
1931         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1932         Include <math.h>.
1933         * math/auto-libm-test-in: Add more tests of pow.
1934         * math/auto-libm-test-out: Regenerated.
1935         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1936         (pow_tonearest_test_data): Remove.
1937         (pow_test_tonearest): Likewise.
1938         (pow_towardzero_test_data): Likewise.
1939         (pow_test_towardzero): Likewise.
1940         (pow_downward_test_data): Likewise.
1941         (pow_test_downward): Likewise.
1942         (pow_upward_test_data): Likewise.
1943         (pow_test_upward): Likewise.
1944         (main): Don't call removed functions.
1945         * sysdeps/i386/fpu/libm-test-ulps: Update.
1946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1947
1948 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1949
1950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1951         Moved ...
1952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1954         Moved ...
1955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1957         Moved ...
1958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1960         Moved ...
1961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1963         File removed.
1964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1965         File removed.
1966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1967         File removed.
1968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1969         File removed.
1970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1971         File removed.
1972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1973         File removed.
1974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1975         File removed.
1976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1977         File removed.
1978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1979         File removed.
1980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1981         File removed.
1982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1983         File removed.
1984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1985         File removed.
1986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1987         Moved ...
1988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1990         Moved ...
1991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1992         ... here.
1993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1994         Moved ...
1995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1997         Moved ...
1998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2000         Moved ...
2001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2003         Moved ...
2004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2006         Moved ...
2007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2009         Moved ...
2010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2012         Moved ...
2013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2016         ... here.
2017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2018         Moved ...
2019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2021         Moved ...
2022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2023         ... here.
2024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2025         Moved ...
2026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2027         ... here.
2028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2029         Moved ...
2030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2031         ... here.
2032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2033         Moved ...
2034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2036         Moved ...
2037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2041         Moved ...
2042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2043         ... here.
2044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2045         Moved ...
2046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2047         ... here.
2048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2049         Moved ...
2050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2052         Moved ...
2053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2055         Moved ...
2056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2058         Moved ...
2059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2061         Moved ...
2062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2063         ... here.
2064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2065         Moved ...
2066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2068         Moved ...
2069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2071         Moved ...
2072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2074         Moved ...
2075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2079         Moved ...
2080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2082         Moved ...
2083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2085         Moved ...
2086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2087         ... here.
2088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2089         Moved ...
2090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2091         ... here.
2092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2093         Moved ...
2094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2095         ... here.
2096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2097         Moved ...
2098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2100         Moved ...
2101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2103         Moved ...
2104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2106         Moved ...
2107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2108         ... here.
2109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2110         Moved ...
2111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2112         ... here.
2113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2114         Moved ...
2115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2116         ... here.
2117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2118         Moved ...
2119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2121         Moved ...
2122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2123
2124 2014-06-23  Will Newton  <will.newton@linaro.org>
2125             Wilco  <wdijkstr@arm.com>
2126
2127         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2128         implementation.  Include get-rounding-mode.h.
2129         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2130         [!libc_feholdsetround_noex_ctx]: Define
2131         libc_feholdsetround_noex_ctx.
2132         [!libc_feholdsetround_noexf_ctx]: Define
2133         libc_feholdsetround_noexf_ctx.
2134         [!libc_feholdsetround_noexl_ctx]: Define
2135         libc_feholdsetround_noexl_ctx.
2136         (libc_feholdsetround_ctx): New function.
2137         (libc_feresetround_ctx): New function.
2138         (libc_feholdsetround_noex_ctx): New function.
2139         (libc_feresetround_noex_ctx): New function.
2140
2141 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2142
2143         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2144         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2145         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2146         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2147         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2148         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2149
2150         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2151         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2152         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2153         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2154         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2155         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2156         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2157         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2158         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2159         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2160         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2161         Moved ...
2162         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2163         ... here.
2164         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2165         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2166         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2167         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2168         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2169         Moved ...
2170         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2171         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2172         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2173         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2174         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2175         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2176         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2177         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2178         Moved ...
2179         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2180         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2181         Moved ...
2182         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2183         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2184         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2185         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2186         Moved ...
2187         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2188         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2189         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2190         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2191         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2192         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2193         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2194         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2195         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2196         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2197         Moved ...
2198         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2199         ... here.
2200         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2201         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2202         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2203         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2204         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2205         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2206         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2207         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2208         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2209         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2210         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2211         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2212         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2213         Moved ...
2214         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2215         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2216         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2217         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2218         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2219         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2220         Moved ...
2221         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2222         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2223         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2224         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2225         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2226
2227         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2228         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2229         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2230         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2231         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2232         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2233         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2234         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2235         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2236         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2237         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2238         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2239         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2240         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2241         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2242         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2243         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2244         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2245         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2246         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2247         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2248         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2249         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2250         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2251         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2252         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2253         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2254         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2255
2256 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2257
2258         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2259         (FALLOC_FL_COLLAPSE_RANGE): New macro.
2260         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2261         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2262         (IPV6_PMTUDISC_INTERFACE): Likewise.
2263         (IPV6_PMTUDISC_OMIT): Likewise.
2264
2265 2014-06-23  Andreas Schwab  <schwab@suse.de>
2266
2267         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2268         Remove unused errout label.
2269
2270 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2271
2272         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2273         macro: hardware supports Vector Crypto instructions.
2274
2275 2014-06-23  Will Newton  <will.newton@linaro.org>
2276
2277         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2278         rather than __builtin_expect.
2279
2280         * elf/dl-lookup.c (undefined_msg): Remove variable.
2281         (_dl_lookup_symbol_x): Replace undefined_msg with string
2282         literal.
2283
2284         * elf/dl-lookup.c (do_lookup_unique): New function.
2285         (do_lookup_x): Move STB_GNU_UNIQUE handling code
2286         to a separate function.
2287
2288 2014-06-23  Andreas Schwab  <schwab@suse.de>
2289
2290         [BZ #17079]
2291         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2292         before reading the next line.
2293
2294 2014-06-23  Will Newton  <will.newton@linaro.org>
2295
2296         * test-skeleton.c (signal_handler): Use printf and %m
2297         rather than perror.  Use printf rather than fprintf to
2298         stderr.  Use puts rather than fputs to stderr.
2299         (main): Likewise.
2300
2301 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
2302
2303         * nscd/nscd.c (thread_info_t): Remove typedef.
2304         (thread_info): Remove variable.
2305
2306 2014-06-21  Allan McRae  <allan@archlinux.org>
2307
2308         * NEWS: Mention CVE-2014-4043.
2309
2310 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2311
2312         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2313         * nptl/smp.h: ... here.
2314
2315         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2316
2317         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2318         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2319         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2320         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2321
2322         * nptl/allocatestack.c: Include <stack-aliasing.h>.
2323         * nptl/stack-aliasing.h: New file.
2324         * sysdeps/i386/i686/stack-aliasing.h: New file.
2325         * sysdeps/i386/i686/nptl/Makefile: File removed.
2326         * sysdeps/x86_64/stack-aliasing.h: New file.
2327         * sysdeps/x86_64/nptl/Makefile
2328         (CFLAGS-pthread_create.c): Variable removed.
2329
2330         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2331         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2332         old file.
2333         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2334         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2335         old file.
2336
2337 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
2338
2339         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2340         (__ASSUME_SIGFRAME_V2): Remove macro.
2341         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2342         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2343         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2344         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2345         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2346         Declare as function.  Remove conditional macro definitions.
2347         (__default_rt_sa_restorer): Likewise.
2348         (__default_sa_restorer_v1): Remove declaration.
2349         (__default_sa_restorer_v2): Likewise.
2350         (__default_rt_sa_restorer_v1): Likewise.
2351         (__default_rt_sa_restorer_v2): Likewise.
2352         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2353         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2354         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2355
2356 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2357
2358         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2359         (libpthread-routines): Add sysdep.
2360         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2361         * sysdeps/unix/sysv/linux/sparc/Versions
2362         (libpthread: GLIBC_2.3.3): New version set.
2363         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2364         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2365         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2366         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2367         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
2368         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2369         Moved ...
2370         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2371         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2372         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2373         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2374         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2375         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2376         * sysdeps/sparc/nptl/sem_init.c: ... here.
2377         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2378         * sysdeps/sparc/nptl/sem_post.c: ... here.
2379         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2380         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2381         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2382         * sysdeps/sparc/nptl/sem_wait.c: ... here.
2383         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2384         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2385         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2386         (libpthread-routines): Add cpu_relax.
2387         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2388         File removed.
2389         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2390         (librt: GLIBC_2.3.3): New version set.
2391         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2392         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2393         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2394         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2395         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2396         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2397         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2398         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2399         Moved ...
2400         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2401         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2402         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2403         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2404         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2405         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2406         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2407         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2408         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2409         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2410         Moved ...
2411         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2412         Update #include.
2413         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2414         Moved ...
2415         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2416         Update #include.
2417         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2418         Moved ...
2419         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2420         Update #include.
2421         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2422         Moved ...
2423         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2424         Update #include.
2425         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2426         Moved ...
2427         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2428         Update #include.
2429         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2430         Moved ...
2431         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2432         Update #include.
2433         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2434         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2435         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2436         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2437         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2438         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2439         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2440         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2441         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2442         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2443         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2444         Moved ...
2445         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2446         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2447         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2448         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2449         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2450
2451 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2452
2453         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2454         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2455         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2456         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2457         * nscd/nscd.c: Likewise.
2458         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2459         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2460         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2461         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2462
2463         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2464         <kernel-features.h>.
2465         (init_mq_netlink): Remove conditional have_sock_cloexec
2466         definitions.  Remove code conditional on have_sock_cloexec < 0.
2467         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2468         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2469         * sysdeps/unix/sysv/linux/opensock.c: Do not include
2470         <kernel-features.h>.
2471         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2472         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2473
2474 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2475
2476         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2477         Add tests for memset_chk and memset.
2478
2479         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2480         with AVX2_Usable.
2481
2482 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2483
2484         [BZ #16046]
2485         * elf/tst-dl-iter-static.c: New file.
2486         * elf/Makefile (tests-static): Add tst-dl-iter-static.
2487
2488         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2489         error.
2490
2491 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2492
2493         * sysdeps/unix/sysv/linux/kernel-features.h
2494         (__ASSUME_F_GETOWN_EX): Remove macro.
2495         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2496         <kernel-features.h>.
2497         (miss_F_GETOWN_EX): Remove variable or macro.
2498         (do_fcntl): Do not check miss_F_GETOWN_EX.
2499         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2500
2501         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2502         Remove macro.
2503         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2504         [!__ASSUME_AT_RANDOM]: Remove conditional code.
2505         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2506
2507         * sysdeps/unix/sysv/linux/kernel-features.h
2508         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2509         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2510         [ADJ_OFFSET_SS_READ]: Make code unconditional.
2511         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2512
2513 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2514
2515         [BZ #17075]
2516         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2517         Fix calculation of the symbol's value.
2518         * sysdeps/arm/tst-armtlsdescloc.c: New file.
2519         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2520         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2521         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2522         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2523         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2524         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2525         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2526         (modules-names): Add `tst-armtlsdescmod',
2527         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2528         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2529         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2530         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2531         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2532         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2533         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2534         ($(objpfx)tst-armtlsdescloc): New dependency.
2535         ($(objpfx)tst-armtlsdescextnow): Likewise.
2536         ($(objpfx)tst-armtlsdescextlazy): Likewise.
2537         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2538         TLS scheme support.
2539         * sysdeps/arm/configure: Regenerate.
2540
2541 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2542
2543         * include/fcntl.h (__atfct_seterrno): Remove prototype.
2544         (__atfct_seterrno_2): Likewise.
2545         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2546         <kernel-features.h>.
2547         (__ASSUME_ATFCTS): Do not undefine and redefine.
2548         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2549         (__have_atfcts): Remove conditional definition.
2550         (__fxstatat([__NR_fstatat64]: Make code unconditional.
2551         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2552         unreachable if [__ASSUME_ATFCTS].
2553         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2554         not undefine and redefine.
2555         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2556         <kernel-features.h>.
2557         (faccessat) [__NR_faccessat]: Make code unconditional.
2558         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2559         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2560         <kernel-features.h>.
2561         (fchmodat) [__NR_fchmodat]: Make code unconditional.
2562         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2563         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2564         <kernel-features.h>.
2565         (fchownat) [__NR_fchownat]: Make code unconditional.
2566         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2567         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2568         <kernel-features.h>.
2569         (futimesat) [__NR_futimesat]: Make code unconditional.
2570         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2571         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2572         <kernel-features.h>.
2573         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2574         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2575         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2576         <kernel-features.h>.
2577         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2578         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2579         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2580         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2581         <kernel-features.h>.
2582         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2583         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2584         * sysdeps/unix/sysv/linux/linkat.c: Do not include
2585         <kernel-features.h>.
2586         (linkat) [__NR_linkat]: Make code unconditional.
2587         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2588         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2589         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2590         <kernel-features.h>.
2591         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2592         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2593         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2594         <kernel-features.h>.
2595         (mkdirat) [__NR_mkdirat]: Make code unconditional.
2596         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2597         * sysdeps/unix/sysv/linux/openat.c: Do not include
2598         <kernel-features.h>.
2599         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2600         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2601         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2602         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2603         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2604         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2605         <kernel-features.h>.
2606         (readlinkat) [__NR_readlinkat]: Make code unconditional.
2607         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
2608         result of INLINE_SYSCALL directly, not via int variable.
2609         * sysdeps/unix/sysv/linux/renameat.c: Do not include
2610         <kernel-features.h>.
2611         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2612         (renameat) [__NR_renameat]: Make code unconditional.
2613         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2614         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2615         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2616         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2617         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2618         (__ASSUME_ATFCTS): Do not undefine and redefine.
2619         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2620         <kernel-features.h>.
2621         (symlinkat) [__NR_symlinkat]: Make code unconditional.
2622         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2623         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2624         <kernel-features.h>.
2625         (unlinkat) [__NR_unlinkat]: Make code unconditional.
2626         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2627         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2628         (__ASSUME_ATFCTS): Do not undefine and redefine.
2629         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2630         <kernel-features.h>.
2631         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2632         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2633         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2634         <kernel-features.h>.
2635         (__xmknodat) [__NR_mknodat]: Make code unconditional.
2636         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2637
2638 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2639
2640         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2641
2642 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
2643
2644         [BZ #17069]
2645         * posix/regcomp.c (parse_reg_exp): Deallocate partially
2646         constructed tree before returning error.
2647         * posix/bug-regexp36.c: Expand test case.
2648
2649 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2650
2651         [BZ #6803]
2652         * math/libm-test.inc (scalbln_test_date):
2653         Add errno expectations.
2654         * math/w_scalblnf.c: New File.
2655         Add wrapper which checks for setting errno to ERANGE.
2656         Add weak_alias for corresponding scalbln function.
2657         * math/w_scalbln.c: Likewise.
2658         * math/w_scalblnl.c: Likewise.
2659         * math/Makefile (libm-calls): Add w_scalbln.
2660         * sysdeps/ieee754/flt-32/s_scalblnf.c:
2661         Remove weak_alias for corresponding scalbln function.
2662         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2663         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2664         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2665         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2666         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2667         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2668         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2669         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2670         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2671         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2672         Remove long_double_symbol for scalblnl function in libm, libc.
2673         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2674         Add wrapper which checks for setting errno to ERANGE.
2675         Add long_double_symbol for scalblnl function in libm, libc.
2676         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2677         Remove long_double_symbol for scalblnl in libm.
2678         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2679         Add wrapper which checks for setting errno to ERANGE.
2680         Add long_double_symbol for scalblnl function in libm.
2681         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2682         Do not use wrapper because of own implementation.
2683
2684 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
2685
2686         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2687         3 bytes for __pad1 for x32.
2688         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2689
2690 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
2691             H.J. Lu  <hongjiu.lu@intel.com>
2692
2693         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2694         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2695         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2696         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2697         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2698
2699 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
2700
2701         [BZ #17069]
2702         * posix/regcomp.c (parse_expression): Deallocate partially
2703         constructed tree before returning error.
2704         * posix/Makefile.c (tests): Add bug-regex36.
2705         (generated): Add bug-regex36.mtrace.
2706         (tests-special): Add $(objpfx)bug-regex36-mem.out
2707         (bug-regex36-ENV): New variable.
2708         ($(objpfx)bug-regex36-mem.out): New rule.
2709         * posix/bug-regex36.c: New file.
2710
2711 2014-06-19  Will Newton  <will.newton@linaro.org>
2712
2713         * malloc/malloc.c (systrim): If extra is zero then return
2714         early.
2715
2716 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2717
2718         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2719
2720 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
2721
2722         * sysdeps/aarch64/strchr.S: New file.
2723
2724 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2725
2726         [BZ #17022]
2727         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2728         from arguments -2 or below.
2729         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2730         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2731
2732 2014-06-18  Andreas Schwab  <schwab@suse.de>
2733
2734         [BZ #17062]
2735         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2736         of a bracket expr not to run off the end of the string.
2737         * posix/Makefile (tests): Add tst-fnmatch3.
2738         * posix/tst-fnmatch3.c: New file.
2739
2740 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2741
2742         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2743         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2744         [$(cross-compiling) = no]: Likewise.
2745         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2746         [$(cross-compiling) = no]: Likewise.
2747
2748 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2749
2750         [BZ #17031]
2751         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2752         double, adjusted for any remainder from the high double.
2753         * math/libm-test.inc (nearbyint): Add tests.
2754         (rint): Likewise.
2755
2756 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2757
2758         * nptl/sysdeps/powerpc/Makefile: Moved ...
2759         * sysdeps/powerpc/nptl/Makefile: ... here.
2760         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2761         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2762         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2763         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2764         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2765         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2766         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2767         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2768         * nptl/sysdeps/powerpc/tls.h: Moved ...
2769         * sysdeps/powerpc/nptl/tls.h: ... here.
2770
2771 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
2772
2773         [BZ #16681]
2774         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2775         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2776         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2777         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2778         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2779         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2780         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2781         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2782         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2783
2784 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
2785
2786         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2787
2788 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
2789
2790         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2791         defined operator.
2792
2793         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2794         $TIMEOUTFACTOR.
2795
2796 2014-06-16  Florian Weimer  <fweimer@redhat.com>
2797
2798         [BZ #17058]
2799         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2800         non-executed part of the test.
2801
2802 2014-06-16  Andreas Schwab  <schwab@suse.de>
2803
2804         * string/bits/string2.h (strdup, strndup): Update feature guard.
2805
2806 2014-06-14  David S. Miller  <davem@davemloft.net>
2807
2808         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2809
2810 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
2811
2812         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2813         that was previously under [RESET_PID].
2814         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2815
2816         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2817         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2818         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2819         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2820         (__libc_vfork): New strong alias.
2821         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2822
2823 2014-06-14 Andi Kleen  <ak@linux.intel.com>
2824
2825         * sysdeps/generic/elide.h: New file.
2826
2827 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2828
2829         * Makefile (installed-headers): Adjust path of pthread.h header.
2830
2831 2014-06-13  Roland McGrath  <roland@hack.frob.com>
2832
2833         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2834         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2835         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2836         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2837
2838         * nptl/sysdeps/s390/Makefile: Moved ...
2839         * sysdeps/s390/nptl/Makefile: ... here.
2840         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2841         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2842         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2843         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2844         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2845         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2846         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2847         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2848         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2849         * sysdeps/s390/nptl/pthreaddef.h: ... here.
2850         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2851         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2852         * nptl/sysdeps/s390/tls.h: Moved ...
2853         * sysdeps/s390/nptl/tls.h: ... here.
2854
2855         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2856         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2857
2858 2014-06-13  David S. Miller  <davem@davemloft.net>
2859
2860         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2861         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2862         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2863         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2864         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2865         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2866         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2867         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2868         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2869         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2870         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2871         Remove RESET_PID cpp guards.
2872         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2873         Remove RESET_PID cpp guards.
2874         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2875
2876 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
2877
2878         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2879         __sp to uintptr_t.
2880
2881 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2882
2883         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2884         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2885         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2886         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2887         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2888         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2889         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2890         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2891         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2892         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2893         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2894         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2895         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2896         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2897         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2898         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2899         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2900         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2901         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2902         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2903
2904         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2905         (pthread_rwlock_rdlock): Add elision.
2906         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2907         (pthread_rwlock_wrlock): Add elision.
2908         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2909         (pthread_rwlock_trywrlock): Add elision.
2910         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2911         (pthread_rwlock_tryrdlock): Add elision.
2912         * nptl/pthread_rwlock_unlock.c: Include elide.h.
2913         (pthread_rwlock_tryrdlock): Add elision unlock.
2914         * nptl/sysdeps/pthread/pthread.h:
2915         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2916         (PTHREAD_RWLOCK_INITIALIZER,
2917         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2918         Handle new elision field.
2919         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2920         * sysdeps/arm/nptl/bits/pthreadtypes.h
2921         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2922         * sysdeps/sh/nptl/bits/pthreadtypes.h
2923         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2924         * sysdeps/tile/nptl/bits/pthreadtypes.h
2925         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2926         * sysdeps/a/nptl/bits/pthreadtypes.h
2927         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2928         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2929         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2930         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2931         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2932         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2933         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2934         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2935         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2936         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2937         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2938         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2939         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2940         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2941         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2942         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2943         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2944         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2945         (elision_init): Set try_xbegin to zero when no RTM.
2946         * sysdeps/x86/nptl/bits/pthreadtypes.h
2947         (pthread_rwlock_t): Change __pad1 to __rwelision.
2948         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2949
2950 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2951
2952         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2953         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2954         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2955         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2956
2957 2014-06-13  Meador Inge  <meadori@codesourcery.com>
2958
2959         [BZ #16996]
2960         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2961         that the cached result has been set before returning it.
2962
2963 2014-06-12  Roland McGrath  <roland@hack.frob.com>
2964
2965         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2966         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2967         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2968         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2969         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2970         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2971
2972         * nptl/sysdeps/sparc/Makefile: Moved ...
2973         * sysdeps/sparc/nptl/Makefile: ... here.
2974         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2975         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2976         * nptl/sysdeps/sparc/tls.h: Moved ...
2977         * sysdeps/sparc/nptl/tls.h: ... here.
2978         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2979         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2980         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2981         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2982         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2983         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2984         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2985         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2986         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2987         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2988         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2989         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2990         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2991         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2992         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2993         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2994         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2995         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2996         Update #include.
2997         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2998         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2999         Update #include.
3000         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3001         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3002         Update #include.
3003         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3004         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3005         Update #include.
3006
3007         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3008
3009         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3010         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3011
3012         * sysdeps/pthread/posix-timer.h: Include <list.h>.
3013         (struct list_links): Type removed.
3014         (struct thread_node, struct timer_node): Replace struct list_links
3015         with struct list_head.
3016         (list_unlink_ip): Likewise.
3017         * sysdeps/pthread/timer_routines.c
3018         (timer_free_list, thread_free_list, thread_active_list): Likewise.
3019         (list_append, list_insbefore): Likewise.
3020         (list_init): Function removed.
3021         (thread_init, init_module): Use INIT_LIST_HEAD instead.
3022         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3023         * sysdeps/pthread/Makefile: ... here, new file.
3024
3025         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3026         * sysdeps/nptl/Implies: ... here.
3027         * sysdeps/unix/sysv/linux/Implies: Add nptl.
3028         * nptl/sysdeps/pthread/list.h: Moved ...
3029         * include/list.h: ... here.
3030         * nptl/sysdeps/pthread/createthread.c: Moved ...
3031         * nptl/createthread.c: ... here.
3032         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3033         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3034         * nptl/pt-longjmp.c: ... here.
3035         * nptl/sysdeps/pthread/Makefile: Moved ...
3036         * sysdeps/nptl/Makefile: ... here.
3037         * nptl/sysdeps/pthread/Subdirs: Moved ...
3038         * sysdeps/nptl/Subdirs: ... here.
3039         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3040         * sysdeps/nptl/aio_misc.h: ... here.
3041         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3042         * sysdeps/nptl/bits/libc-lock.h: ... here.
3043         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3044         * sysdeps/nptl/bits/libc-lockP.h: ... here.
3045         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3046         * sysdeps/nptl/bits/stdio-lock.h: ... here.
3047         * nptl/sysdeps/pthread/configure: Moved ...
3048         * sysdeps/nptl/configure: ... here.
3049         * nptl/sysdeps/pthread/configure.ac: Moved ...
3050         * sysdeps/nptl/configure.ac: ... here.
3051         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3052         * sysdeps/nptl/gai_misc.h: ... here.
3053         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3054         * sysdeps/nptl/librt-cancellation.c: ... here.
3055         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3056         * sysdeps/nptl/malloc-machine.h: ... here.
3057         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3058         * sysdeps/nptl/pthread-functions.h: ... here.
3059         * nptl/sysdeps/pthread/pthread.h: Moved ...
3060         * sysdeps/nptl/pthread.h: ... here.
3061         * nptl/sysdeps/pthread/setxid.h: Moved ...
3062         * sysdeps/nptl/setxid.h: ... here.
3063         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3064         * sysdeps/nptl/sigfillset.c: ... here.
3065         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3066         * sysdeps/nptl/tcb-offsets.h: ... here.
3067         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3068         * sysdeps/nptl/tst-mqueue8x.c: ... here.
3069         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3070         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3071         * nptl/sysdeps/pthread/allocalim.h: Moved ...
3072         * sysdeps/pthread/allocalim.h: ... here.
3073         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3074         * sysdeps/pthread/bits/sigthread.h: ... here.
3075         * nptl/sysdeps/pthread/flockfile.c: Moved ...
3076         * sysdeps/pthread/flockfile.c: ... here.
3077         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3078         * sysdeps/pthread/ftrylockfile.c: ... here.
3079         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3080         * sysdeps/pthread/funlockfile.c: ... here.
3081         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3082         * sysdeps/pthread/posix-timer.h: ... here.
3083         * nptl/sysdeps/pthread/timer_create.c: Moved ...
3084         * sysdeps/pthread/timer_create.c: ... here.
3085         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3086         * sysdeps/pthread/timer_delete.c: ... here.
3087         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3088         * sysdeps/pthread/timer_getoverr.c: ... here.
3089         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3090         * sysdeps/pthread/timer_gettime.c: ... here.
3091         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3092         * sysdeps/pthread/timer_routines.c: ... here.
3093         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3094         * sysdeps/pthread/timer_settime.c: ... here.
3095         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3096         * sysdeps/pthread/tst-timer.c: ... here.
3097         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3098         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3099
3100         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3101         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3102
3103         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3104         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3105         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3106         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3107         Update #include target.
3108         * nptl/sysdeps/i386/i686/Makefile: Moved ...
3109         * sysdeps/i386/i686/nptl/Makefile: ... here.
3110         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3111         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3112         Update #include target.
3113         * nptl/sysdeps/i386/i686/tls.h: Moved ...
3114         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
3115         * nptl/sysdeps/i386/Makefile: Moved ...
3116         * sysdeps/i386/nptl/Makefile: ... here.
3117         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3118         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3119         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3120         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3121         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3122         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3123         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3124         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3125         * sysdeps/i386/nptl/pthreaddef.h: ... here.
3126         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3127         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3128         * nptl/sysdeps/i386/tls.h: Moved ...
3129         * sysdeps/i386/nptl/tls.h: ... here.
3130
3131         * sysdeps/sh/Makefile [$(subdir) = csu]
3132         (gen-as-const-headers): Add tcb-offsets.sym.
3133         * nptl/sysdeps/sh/Makefile: File removed.
3134         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3135         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3136         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3137         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3138         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3139         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3140         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3141         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3142         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3143         * sysdeps/sh/nptl/pthreaddef.h: ... here.
3144         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3145         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3146         * nptl/sysdeps/sh/tls.h: Moved ...
3147         * sysdeps/sh/nptl/tls.h: ... here.
3148         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3149         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3150         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3151         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3152         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3153         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3154         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3155         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3156         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3157         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3158         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3159         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3160         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3161         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3162         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3163         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3164         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3165         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3166         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3167         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3168         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3169         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3170         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3171         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3172         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3173         Moved ...
3174         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3175         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3176         Moved ...
3177         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3178         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3179         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3180         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3181         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3182         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3183         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3184         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3185         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3186         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3187         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3188         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3189         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3190         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3191         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3192         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3193         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3194         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3195         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3196
3197 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3198
3199         * posix/spawn_faction_addopen.c: Include string.h.
3200
3201 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3202
3203         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3204         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3205         * nptl/sysdeps/x86_64/Makefile: Moved ...
3206         * sysdeps/x86_64/nptl/Makefile: ... here.
3207         * nptl/sysdeps/x86_64/configure: Moved ...
3208         * sysdeps/x86_64/nptl/configure: ... here.
3209         * nptl/sysdeps/x86_64/configure.ac: Moved ...
3210         * sysdeps/x86_64/nptl/configure.ac: ... here.
3211         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3212         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3213         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3214         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3215         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3216         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3217         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3218         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3219         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3220         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3221         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3222         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3223         * nptl/sysdeps/x86_64/tls.h: Moved ...
3224         * sysdeps/x86_64/nptl/tls.h: ... here.
3225         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3226         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3227         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3228         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3229
3230         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3231
3232 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3233
3234         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3235
3236 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
3237
3238         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3239         type.
3240         [POSIX] (off_t): Likewise.
3241         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3242         [POSIX] (S_ISBLK): Require macro.
3243         [POSIX] (S_ISCHR): Likewise.
3244         [POSIX] (S_ISDIR): Likewise.
3245         [POSIX] (S_ISFIFO): Likewise.
3246         [POSIX] (S_ISREG): Likewise.
3247         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3248         optional-macro.
3249         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3250         type.
3251         [POSIX] (time_t): Likewise.
3252         [POSIX] (timer_t): Likewise.
3253
3254 2014-06-11  Florian Weimer  <fweimer@redhat.com>
3255
3256         [BZ #17048]
3257         * posix/spawn_int.h (struct __spawn_action): Make the path string
3258         non-const to support deallocation.
3259         * posix/spawn_faction_addopen.c
3260         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3261         * posix/spawn_faction_destroy.c
3262         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
3263         path in all spawn_do_open actions.
3264         * posix/tst-spawn.c (do_test): Exercise the copy operation in
3265         posix_spawn_file_actions_addopen.
3266
3267 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
3268
3269         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3270         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3271         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3272         conditional code always true.
3273         (__libc_vfork): New alias.
3274
3275 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3276
3277         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3278         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3279
3280         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3281
3282         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3283         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3284
3285         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3286         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3287
3288         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3289         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3290
3291 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3292
3293         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3294         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3295         multiarch strcmp for PPC64.
3296         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3297         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3298         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3299         multiarch optimizations.
3300         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3301         (__libc_ifunc_impl_list): Likewise.
3302
3303 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3304
3305         * benchtests/scripts/validate_benchout.py: New script.
3306         * benchtests/Makefile (bench-func): Call it.
3307         * benchtests/scripts/benchout.schema.json: New file.
3308
3309 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
3310
3311         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3312         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3313         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3314         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3315         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3316         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3317         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3318         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3319         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3320         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3321         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3322         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3323         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3324         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3325         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3326         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3328         Moved ...
3329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3330         ... here.
3331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3332         Moved ...
3333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3335         Moved ...
3336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3337         ... here.
3338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3339         Moved ...
3340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3341         ... here.
3342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3343         Moved ...
3344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3346         Moved ...
3347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3348         ... here.
3349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3350         Moved ...
3351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3352         ... here.
3353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3354         Moved ...
3355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3357         Moved ...
3358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3359         ... here.
3360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3361         Moved ...
3362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3363         ... here.
3364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3365         Moved ...
3366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3367         ... here.
3368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3369         Moved ...
3370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3372         Moved ...
3373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3374         ... here.
3375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3376         Moved ...
3377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3378         ... here.
3379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3380         Moved ...
3381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3382         ... here.
3383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3384         Moved ...
3385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3387         Moved ...
3388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3389         ... here.
3390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3391         Moved ...
3392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3393         ... here.
3394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3395         Moved ...
3396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3398         Moved ...
3399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3400         ... here.
3401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3402         Moved ...
3403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3405         Moved ...
3406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3408         Moved ...
3409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3410         ... here.
3411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3412         Moved ...
3413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3414         ... here.
3415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3416         Moved ...
3417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3418         ... here.
3419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3420         Moved ...
3421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3423         Moved ...
3424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3425         ... here.
3426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3427         Moved ...
3428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3429         ... here.
3430         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3431         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3432         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3433         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3434         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3435         Moved ...
3436         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3437         ... here.
3438         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3439         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3440         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3441         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3442         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3443         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3444         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3445         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3446         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3447         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3448         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3449         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3450         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3451         Moved ...
3452         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3453         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3454         Moved ...
3455         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3456         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3457         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3458         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3459         Moved ...
3460         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3461         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3462         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3463         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3464         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3465         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3466         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3467
3468 2014-06-10  Wilco  <wdijkstr@arm.com>
3469
3470         * math/test-fenv-return.c: New file.
3471         * math/Makefile: Add new test test-fenv-return.
3472
3473 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
3474
3475         [BZ #17042]
3476         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3477         when x - 1 is zero.
3478         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3479         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3480         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3481         0.0L for an argument of 1.0L.
3482         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3483         Likewise.
3484         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3485         value when x - 1 is zero.
3486         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3487         * sysdeps/i386/fpu/libm-test-ulps: Update.
3488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3489
3490 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
3491
3492         [BZ #15119]
3493         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3494
3495 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3496
3497         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3498         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3499
3500 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3501
3502         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3503         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3504
3505         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3506         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3507
3508         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3509         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3510
3511         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3512         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3513
3514         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3515         if not already defined.
3516         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3517         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3518         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3519         (TLS_INIT_TP): Use it.
3520         (TLS_DEFINE_INIT_TP): New macro.
3521         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3522
3523 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
3524
3525         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3526         constant.
3527         [POSIX] (IXANY): Likewise.
3528         [POSIX] (OLCUC): Likewise.
3529         [POSIX || POSIX2008] (CBAUD): Do not allow.
3530         [POSIX || POSIX2008] (DEFECHO): Likewise.
3531         [POSIX || POSIX2008] (ECHOCTL): Likewise.
3532         [POSIX || POSIX2008] (ECHOKE): Likewise.
3533         [POSIX || POSIX2008] (ECHOPRT): Likewise.
3534         [POSIX || POSIX2008] (EXTA): Likewise.
3535         [POSIX || POSIX2008] (EXTB): Likewise.
3536         [POSIX || POSIX2008] (FLUSHO): Likewise.
3537         [POSIX || POSIX2008] (LOBLK): Likewise.
3538         [POSIX || POSIX2008] (PENDIN): Likewise.
3539         [POSIX || POSIX2008] (SWTCH): Likewise.
3540         [POSIX || POSIX2008] (VDISCARD): Likewise.
3541         [POSIX || POSIX2008] (VDSUSP): Likewise.
3542         [POSIX || POSIX2008] (VLNEXT): Likewise.
3543         [POSIX || POSIX2008] (VREPRINT): Likewise.
3544         [POSIX || POSIX2008] (VSTATUS): Likewise.
3545         [POSIX || POSIX2008] (VWERASE): Likewise.
3546         (B*): Change to B[0123456789]*.
3547         * conform/data/time.h-data [POSIX || UNIX98]
3548         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3549         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3550         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3551         [POSIX] (tm_*): Do not allow.
3552
3553 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
3554
3555         * Makefile (install): Don't set LANGUAGE.
3556         * Makefile.in (install): Likewise.
3557         * assert/Makefile (test-assert-ENV): Remove variable.
3558         (test-assert-perr-ENV): Likewise.
3559         * elf/Makefile (neededtest4-ENV): Likewise.
3560         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3561         [$(cross-compiling) = no]: Don't set LANGUAGE.
3562         * io/ftwtest-sh (LANG): Remove variable.
3563         * libio/Makefile (tst-widetext-ENV): Likewise.
3564         * manual/install.texi (Running make install): Don't refer to
3565         environment settings for make install.
3566         * INSTALL: Regenerated.
3567         * nptl/tst-tls6.sh: Don't set LANG.
3568         * posix/globtest.sh (LANG): Remove variable.
3569         * string/Makefile (tester-ENV): Likewise.
3570         (inl-tester-ENV): Likewise.
3571         (noinl-tester-ENV): Likewise.
3572         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3573         [$(cross-compiling) = no]: Don't set LANGUAGE.
3574         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3575         without explicit environment settings.
3576
3577 2014-06-06  Roland McGrath  <roland@hack.frob.com>
3578
3579         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3580         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3581         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3582         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3583
3584 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
3585
3586         * crypt/crypt-private.h [DOS]: Add some includes taken from the
3587         other files in the crypt directory.
3588         * crypt/crypt.c: Remove duplicate includes.
3589         * crypt/crypt-entry.c: Likewise.
3590         * crypt/crypt_util.c: Likewise.
3591
3592 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
3593
3594         * Makeconfig (run-program-env): New variable.
3595         (run-program-prefix-before-env): Likewise.
3596         (run-program-prefix-after-env): Likewise.
3597         (run-program-prefix): Define in terms of new variables.
3598         (built-program-cmd-before-env): New variable.
3599         (built-program-cmd-after-env): Likewise.
3600         (built-program-cmd): Define in terms of new variables.
3601         (test-program-prefix-before-env): New variable.
3602         (test-program-prefix-after-env): Likewise.
3603         (test-program-prefix): Define in terms of new variables.
3604         (test-program-cmd-before-env): New variable.
3605         (test-program-cmd-after-env): Likewise.
3606         (test-program-cmd): Define in terms of new variables.
3607         * Rules (make-test-out): Use $(run-program-env).
3608         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3609         (help): Do not mention environment variables.  Mention
3610         --timeoutfactor option.
3611         (timeoutfactor): New variable.
3612         (blacklist_exports): Remove function.
3613         (exports): Remove variable.
3614         (command): Do not include ${exports}.
3615         * manual/install.texi (Configuring and compiling): Do not mention
3616         test wrappers preserving environment variables.  Mention that last
3617         assignment to a variable must take precedence.
3618         * INSTALL: Regenerated.
3619         * benchtests/Makefile (run-bench): Use $(run-program-env).
3620         * catgets/Makefile ($(objpfx)test1.cat): Use
3621         $(built-program-cmd-before-env), $(run-program-env) and
3622         $(built-program-cmd-after-env).
3623         ($(objpfx)test2.cat): Do not specify environment variables
3624         explicitly.
3625         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3626         $(run-program-env) and $(built-program-cmd-after-env).
3627         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3628         $(run-program-env) and $(test-program-cmd-after-env).
3629         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3630         explicitly.
3631         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3632         run_program_env and test_program_cmd_after_env arguments.
3633         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3634         * elf/tst-pathopt.sh: Use run_program_env argument.
3635         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3636         $(test-wrapper-env) and $(run-program-env).
3637         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3638         run_program_env arguments.
3639         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3640         * intl/Makefile ($(objpfx)tst-gettext.out): Use
3641         $(test-program-prefix-before-env), $(run-program-env) and
3642         $(test-program-prefix-after-env).
3643         ($(objpfx)tst-gettext2.out): Likewise.
3644         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3645         run_program_env and test_program_prefix_after_env arguments.
3646         * intl/tst-gettext2.sh: Likewise.
3647         * intl/tst-gettext4.sh: Do not set environment variables
3648         explicitly.
3649         * intl/tst-gettext6.sh: Likewise.
3650         * intl/tst-translit.sh: Likewise.
3651         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3652         $(test-program-prefix-before-env), $(run-program-env) and
3653         $(test-program-prefix-after-env).
3654         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3655         run_program_env and test_program_prefix_after_env arguments.
3656         * math/Makefile (run-regen-ulps): Use $(run-program-env).
3657         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3658         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
3659         explicitly with each use of ${test_wrapper_env}.
3660         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3661         $(test-program-prefix-before-env), $(run-program-env) and
3662         $(test-program-prefix-after-env).
3663         * posix/tst-getconf.sh: Do not set environment variables
3664         explicitly.
3665         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3666         run_program_env and test_program_prefix_after_env arguments.
3667         * stdio-common/tst-printf.sh: Do not set environment variables
3668         explicitly.
3669         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3670         $(test-program-prefix-before-env), $(run-program-env) and
3671         $(test-program-prefix-after-env).
3672         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3673         run_program_env and test_program_prefix_after_env arguments.
3674         Split $test calls into $test_pre and $test.
3675         * timezone/Makefile (build-testdata): Use
3676         $(built-program-cmd-before-env), $(run-program-env) and
3677         $(built-program-cmd-after-env).
3678
3679 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3680
3681         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3682         strlen for non SHARED builds.
3683
3684 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3685
3686         * nptl/allocatestack.c (check_list): Inlined function...
3687         (__reclaim_stacks): ... here.
3688
3689 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3690
3691         [BZ #15698]
3692         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3693         memory overrun.
3694
3695 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
3696
3697         * Rules (make-test-out): Include
3698         LOCPATH=$(common-objpfx)localedata in default environment.
3699         * debug/Makefile (tst-chk1-ENV): Remove variable.
3700         (tst-chk2-ENV): Likewise.
3701         (tst-chk3-ENV): Likewise.
3702         (tst-chk4-ENV): Likewise.
3703         (tst-chk5-ENV): Likewise.
3704         (tst-chk6-ENV): Likewise.
3705         (tst-lfschk1-ENV): Likewise.
3706         (tst-lfschk2-ENV): Likewise.
3707         (tst-lfschk3-ENV): Likewise.
3708         (tst-lfschk4-ENV): Likewise.
3709         (tst-lfschk5-ENV): Likewise.
3710         (tst-lfschk6-ENV): Likewise.
3711         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3712         (tst-iconv7-ENV): Likewise.
3713         * intl/Makefile (LOCPATH-ENV): Likewise.
3714         (tst-codeset-ENV): Likewise.
3715         (tst-gettext3-ENV): Likewise.
3716         (tst-gettext5-ENV): Likewise.
3717         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3718         (tst-fopenloc-ENV): Likewise.
3719         (tst-fgetws-ENV): Remove variable.
3720         (tst-ungetwc1-ENV): Likewise.
3721         (tst-ungetwc2-ENV): Likewise.
3722         (bug-ungetwc2-ENV): Likewise.
3723         (tst-swscanf-ENV): Likewise.
3724         (bug-ftell-ENV): Likewise.
3725         (tst-fgetwc-ENV): Likewise.
3726         (tst-fseek-ENV): Likewise.
3727         (tst-ftell-partial-wide-ENV): Likewise.
3728         (tst-ftell-active-handler-ENV): Likewise.
3729         (tst-ftell-append-ENV): Likewise.
3730         * posix/Makefile (tst-fnmatch-ENV): Likewise.
3731         (tst-regexloc-ENV): Likewise.
3732         (bug-regex1-ENV): Likewise.
3733         (tst-regex-ENV): Likewise.
3734         (tst-regex2-ENV): Likewise.
3735         (bug-regex5-ENV): Likewise.
3736         (bug-regex6-ENV): Likewise.
3737         (bug-regex17-ENV): Likewise.
3738         (bug-regex18-ENV): Likewise.
3739         (bug-regex19-ENV): Likewise.
3740         (bug-regex20-ENV): Likewise.
3741         (bug-regex22-ENV): Likewise.
3742         (bug-regex23-ENV): Likewise.
3743         (bug-regex25-ENV): Likewise.
3744         (bug-regex26-ENV): Likewise.
3745         (bug-regex30-ENV): Likewise.
3746         (bug-regex32-ENV): Likewise.
3747         (bug-regex33-ENV): Likewise.
3748         (bug-regex34-ENV): Likewise.
3749         (bug-regex35-ENV): Likewise.
3750         (tst-rxspencer-ENV): Likewise.
3751         (tst-rxspencer-no-utf8-ENV): Likewise.
3752         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3753         (tst-sscanf-ENV): Likewise.
3754         (tst-swprintf-ENV): Likewise.
3755         (tst-swscanf-ENV): Likewise.
3756         (test-vfprintf-ENV): Likewise.
3757         (scanf13-ENV): Likewise.
3758         (bug14-ENV): Likewise.
3759         (tst-grouping-ENV): Likewise.
3760         * stdlib/Makefile (tst-strtod-ENV): Likewise.
3761         (tst-strtod3-ENV): Likewise.
3762         (tst-strtod4-ENV): Likewise.
3763         (tst-strtod5-ENV): Likewise.
3764         (testmb2-ENV): Likewise./
3765         * string/Makefile (tst-strxfrm-ENV): Likewise.
3766         (tst-strxfrm2-ENV): Likewise.
3767         (bug-strcoll1-ENV): Likewise.
3768         (test-strcasecmp-ENV): Likewise.
3769         (test-strncasecmp-ENV): Likewise.
3770         * time/Makefile (tst-strptime-ENV): Likewise.
3771         (tst-ftime_l-ENV): Likewise.
3772         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3773         (tst-mbrtowc-ENV): Likewise.
3774         (tst-wcrtomb-ENV): Likewise.
3775         (tst-mbrtowc2-ENV): Likewise.
3776         (tst-c16c32-1-ENV): Likewise.
3777         (tst-mbsnrtowcs-ENV): Likewise.
3778
3779 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3780
3781         * manual/resource.texi (How to get information about the memory
3782         subsystem?): Fix typo.
3783         Reported by Peon de la Parra Ivan <peon@keba.com>
3784
3785 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
3786
3787         [BZ #16882]
3788         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3789         (pthread_spin_lock): Branch out of spin loop to proper location.
3790         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3791         (pthread_spin_lock): Likewise.
3792
3793         * nptl/tst-spin4.c: New test.
3794         * nptl/Makefile (tests): Add tst-spin4.
3795
3796 2014-06-03  Andreas Schwab  <schwab@suse.de>
3797
3798         [BZ #15946]
3799         * resolv/res_send.c (send_dg): Reload file descriptor after
3800         calling reopen.
3801
3802 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
3803
3804         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3805
3806 2014-06-03  Richard Henderson  <rth@redhat.com>
3807
3808         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3809         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3810         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3811         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
3812         in the SAVE_PID block.
3813         (__libc_vfork): New alias.
3814         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3815
3816         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3817         child in registers, not on the stack.  Remove RESET_PID conditionals.
3818         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3819
3820 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3821
3822         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3823
3824 2014-06-03  Wilco  <wdijkstr@arm.com>
3825
3826         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3827         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3828         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3829         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3830         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3831         Likewise.
3832
3833 2014-06-03  Wilco  <wdijkstr@arm.com>
3834
3835         * sysdeps/aarch64/fpu/math_private.h
3836         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3837         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3838         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3839         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3840         Fix declarations.
3841
3842 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3843
3844         * crypt/crypt-private.h: Include ufc-crypt.h.
3845         (__b64_from_24bit): Declare extern.
3846         * crypt/crypt_util.c(__b64_from_24bit): New function.
3847         (b64t): New static const variable.
3848         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3849         (b64t): Remove variable.
3850         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3851         * crypt/sha256-crypt.c: Include crypt-private.h.
3852         (b64t): Remove variable.
3853         (__sha256_crypt_r): Remove b64_from_24bit and replace
3854         with __b64_from_24bit.
3855         * crypt/sha512-crypt.c: Likewise.
3856
3857 2014-06-02  Roland McGrath  <roland@hack.frob.com>
3858
3859         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3860         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3861         Label the code __libc_vfork rather than __vfork.
3862         [!NOT_IN_libc] (vfork): Define as weak alias.
3863         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3864         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3865         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3866
3867 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3868
3869         * malloc/malloc.c (malloc_info): Fix format specifier for
3870         n_mmaps.
3871
3872 2014-06-02  Wilco  <wdijkstr@arm.com>
3873
3874         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3875         FPCR write.
3876
3877 2014-06-02  Wilco  <wdijkstr@arm.com>
3878
3879         [BZ #17009]
3880         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3881         Rewrite to reduce FPCR/FPSR accesses.
3882
3883 2014-06-01  David S. Miller  <davem@davemloft.net>
3884
3885         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3886
3887 2014-05-31  David S. Miller  <davem@davemloft.net>
3888
3889         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3890         to occur in round to nearest mode when |x| >= 2.0
3891
3892 2014-05-30  Richard Henderson  <rth@twiddle.net>
3893
3894         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3895         (PSEUDO_RET_NOERRNO): Remove.
3896         (ret): Don't redefine.
3897         (ret_NOERRNO): Define in terms of ret.
3898         (ret_ERRVAL): Likewise.
3899
3900         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3901         use of PSEUDO_RET; perform the error check directly.
3902
3903 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
3904
3905         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3906         with __int128_t.
3907
3908 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3909
3910         * malloc/malloc (malloc_info): Fix formatting.
3911
3912 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3913             Roland McGrath  <roland@hack.frob.com>
3914
3915         * malloc/malloc (malloc_info): Also print mmapped statistics.
3916
3917 2014-05-30  Roland McGrath  <roland@hack.frob.com>
3918
3919         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3920         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3921
3922 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
3923
3924         * malloc/malloc.c (malloc_info): Inline mi_arena.
3925
3926 2014-05-29  Richard Henderson  <rth@twiddle.net>
3927
3928         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3929         Remove comma before expanding ASM_ARGS_##nr.
3930         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3931         Make _x0 a strict output; make _x8 a strict input; adjust expansion
3932         of ASM_ARGS_##nr.
3933         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3934         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3935         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3936         (ASM_ARGS_1): Add leading comma.
3937
3938         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3939         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3940         to __errno_location.
3941         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3942         Remove the expected plt for __errno_location.
3943
3944         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3945         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3946         call to __read_tp.
3947
3948         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3949         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
3950         it and break it down.
3951         (DOCARGS_0, DOCARGS_1): Do nothing.
3952         (DOCARGS_2): Update to store into the new stack frame.
3953         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3954         (UNDOCARGS_1): Update to restore from the new stack frame.
3955         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3956         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3957
3958         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3959         (SINGLE_THREAD_P): New parameter for result regno.
3960         (PSEUDO): Update to match; use cbz instead of beq.
3961
3962         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3963         Use ENTRY to define the _nocancel entry point.  Share the syscall
3964         and syscall error check paths with the cancel path.
3965         (PSEUDO_END): New.
3966
3967         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3968         whitespace; tabs before and after asm mnemonics.
3969
3970 2014-05-29  Eric Wong  <normalperson@yhbt.net>
3971
3972         [BZ #15132]
3973         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3974         Call fstat64 or stat64 internally, depending on arguments passed.
3975         Replace stat buffer argument with file descriptor argument.
3976         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3977         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3978         Pass fd to __internal_statvfs instead of calling fstat64.
3979         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3980         Pass fd to __internal_statvfs64 instead of calling fstat64.
3981         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3982         Pass -1 to __internal_statvfs instead of calling stat64.
3983         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3984         Pass -1 to __internal_statvfs64 instead of calling stat64.
3985
3986 2014-05-28  Roland McGrath  <roland@hack.frob.com>
3987
3988         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3989         that was previously under [RESET_PID].
3990         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3991
3992         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3993         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3994
3995 2014-05-27  Roland McGrath  <roland@hack.frob.com>
3996
3997         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3998
3999         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4000         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4001
4002 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
4003
4004         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4005
4006 2014-05-27  Andreas Schwab  <schwab@suse.de>
4007
4008         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4009         TLS_INIT_TP macro.
4010         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4011         * elf/rtld.c (init_tls, dl_main): Likewise.
4012         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4013         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4014         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4015         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4016         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4017         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4018         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4019         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4020         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4021         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4022         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4023         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4024         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4025         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4026         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4027         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4028         * sysdeps/generic/tls.h: Update description.
4029
4030 2014-05-27  Will Newton  <will.newton@linaro.org>
4031
4032         [BZ #16990]
4033         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4034         and restore r2 rather than just restoring.
4035
4036 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4037
4038         [BZ #16724]
4039         * libio/tst-ftell-append.c: New test case.
4040         * libio/Makefile (tests): Add test case.
4041         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4042         append mode.
4043         * libio/wfileops.c (do_ftell_wide): Likewise.
4044
4045 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4046
4047         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4048
4049         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4050         ...
4051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4053         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4054         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4055         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4056         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4057         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4058         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4059         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4060         Moved ...
4061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4062         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4063         Moved ...
4064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4065         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4066         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4067         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4068         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4069         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4070         ...
4071         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4072         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4073         Moved ...
4074         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4075         here.
4076         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4077         ...
4078         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4079         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4080         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4081
4082         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4083         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4084         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4085         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4086
4087         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4088         merge into ...
4089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4090         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4091         ...
4092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4093         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4094         ...
4095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4096         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4097         Moved ...
4098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4099         here.
4100         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4101         Moved ...
4102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4103         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4104         Moved ...
4105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4106
4107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4108         conditional [RESET_PID].
4109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4110         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4111         removed.
4112         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4113         removed.
4114
4115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4116         <tcb-offsets.h>.
4117         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4118         (__libc_vfork): New strong alias.
4119         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4120         removed.
4121         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4122         Removed.
4123
4124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4125         <tcb-offsets.h>.
4126         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4127         (__libc_vfork): New strong alias.
4128         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4129         removed.
4130         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4131         removed.
4132
4133 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
4134
4135         * malloc/malloc.c (mi_arena): New function.
4136         (malloc_info): Remove nested function mi_arena. Call non-nosted
4137         function mi_arena.
4138
4139 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4140
4141         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4142         by insrwi.
4143         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4144         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4145         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4146         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4147         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4148         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4149         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4150
4151 2014-05-26  Andreas Schwab  <schwab@suse.de>
4152
4153         [BZ #16984]
4154         * locale/programs/repertoire.c (repertoire_read): Add slash
4155         between I18NPATH element and file name.
4156         * locale/programs/locfile.c (locfile_read): Likewise.
4157
4158 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4159
4160         * nptl/pthread_mutexattr_settype.c
4161         (__pthread_mutexattr_settype):
4162         Disable lock elision for PTHREAD_MUTEX_NORMAL.
4163
4164 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4165
4166         * nptl/tst-mutex5 (do_test):
4167         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4168
4169 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4170
4171         * benchtests/README: Document 'init' directive.
4172         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4173         BENCH_INIT.
4174         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4175         (parse_file): Recognize 'init' directive.
4176
4177 2014-05-26  Kyle McMartin  <kyle@redhat.com>
4178
4179         [BZ #16796]
4180         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4181         alignment of struct pthread.
4182
4183 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4184
4185         [BZ #16878]
4186         * nscd/netgroupcache.c (addgetnetgrentX): Look for
4187         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4188         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4189         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4190
4191 2014-05-25  Richard Henderson  <rth@twiddle.net>
4192
4193         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4194         (SINGLE_THREAD_P_PIC): Remove.
4195         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4196         (SINGLE_THREAD_P_PIC): Remove.
4197
4198         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4199         branch to syscall error ...
4200         (PSEUDO): ... here.
4201         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4202         from __local_syscall_error to .Lsyscall_error.
4203         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4204         (SYSCALL_ERROR): Update label name.
4205
4206         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4207         Do not use DOARGS/UNDOARGS.
4208         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4209         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4210         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4211         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4212         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4213
4214         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4215         block comment.
4216
4217         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4218         define if !NOT_IN_libc.
4219         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4220         define with non-default symbol versions.
4221
4222 2014-05-23  Richard Henderson  <rth@twiddle.net>
4223
4224         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4225         (vfork, __vfork): Define via compat_symbol.
4226
4227         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4228         [!HAVE_IFUNC] (vfork_compat): Remove.
4229         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4230
4231 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4232
4233         [BZ #16978]
4234         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4235         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4236         variable.
4237
4238 2014-05-23  Richard Henderson  <rth@twiddle.net>
4239
4240         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4241         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4242         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4243         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4244
4245         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4246         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4247         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4248         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4249         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4250         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4251         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4252         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4253         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4254         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4255         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4256         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4257         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4258         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4259         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4260         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4261         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4262         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4263         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4264         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4265         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4266         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4267         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4268         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4269         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4270         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4271         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4272         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4273         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4274         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4275         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4276         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4277         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4278         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4279         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4280         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4281         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4282         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4283         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4284         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4285         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4286         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4287         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4288         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4289         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4290         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4291         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4292         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4293         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4294         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4295         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4296         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4297         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4298         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4299         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4300         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4301
4302         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4303         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4304         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
4305         before exiting on error.
4306         (__libc_vfork): New strong alias.
4307         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4308         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4309
4310         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4311         that was previously under [RESET_PID].
4312         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4313
4314         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4315
4316 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4317
4318         [BZ #16977]
4319         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4320         value when x - 1 is zero.
4321         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4322         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4323         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4324         0.0L for an argument of 1.0L.
4325         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4326         Likewise.
4327         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4328         value when x - 1 is zero.
4329         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4330         * sysdeps/i386/fpu/libm-test-ulps: Update.
4331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4332
4333 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4334
4335         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4336         alphasort and versionsort.
4337
4338 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4339
4340         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4341         macro.
4342         [copysignf]: Likewise.
4343
4344 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4345
4346         * crypt/md5-crypt.c: Fix formatting.
4347
4348 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4349
4350         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4351         (b64_from_24bit): New function.
4352
4353 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4354
4355         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4356         libc_hidden_builtin_def to ifunc.
4357         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4358         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4359
4360 2014-05-21  Roland McGrath  <roland@hack.frob.com>
4361
4362         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4363         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4364
4365 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
4366
4367         * nscd/Depend (linuxthreads): Remove.
4368         (nptl): Add.
4369         * resolv/Depend (linuxthreads): Remove.
4370         * rt/Depend (linuxthreads): Remove.
4371
4372         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4373         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4374         $(common-objpfx)elf/.
4375         (link-libc-before-gnulib): Likewise.
4376         (elfobjdir): Remove variable.
4377         * Makefile (install): Use $(elf-objpfx) instead of
4378         $(common-objpfx)elf/.
4379         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4380         $(elfobjdir)/.
4381         (link-libc-deps): Likewise.
4382         ($(common-objpfx)libc.so): Likewise.
4383         ($(common-objpfx)linkobj/libc.so): Likewise.
4384         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4385         instead of $(common-objpfx)elf/.
4386         (symbolic-link-list): Likewise.
4387         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4388         [$(cross-compiling) = no]: Likewise.
4389         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4390         $(elfobjdir)/.
4391         (static-gnulib-arch): Likewise.
4392         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4393         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4394         $(common-objpfx)elf/.
4395
4396 2014-05-21  Richard Henderson  <rth@redhat.com>
4397
4398         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4399         (SINGLE_THREAD_P): Use the correct width load.  Fold
4400         into the ldr offset.
4401
4402         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4403         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4404
4405 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
4406
4407         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4408         (libgcc_s_resume): Use __attribute_used__.
4409         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4410         Likewise.
4411
4412 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4413
4414         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4415         optimization when used with float constants.
4416
4417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4418
4419 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
4420
4421         [BZ #16915]
4422         * locale/nl_langinfo_l.c: Make direct reference to every
4423         _nl_current_CATEGORY symbol.
4424         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4425         (tests-static): Add tst-langinfo-static.
4426         (tests-special): Add tst-langinfo-static.out.
4427         ($(objpfx)tst-langinfo.out): Redirect output.
4428         ($(objpfx)tst-langinfo-static.out): New.
4429         * localedata/tst-langinfo.sh: Send output to stdout.
4430         * localedata/tst-langinfo-static.c: New file.
4431
4432         [BZ #16965]
4433         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4434         when the shift amount is modulo the limb size.
4435
4436 2014-05-20  Richard Henderson  <rth@redhat.com>
4437
4438         [BZ #16967]
4439         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4440         Change type of sa_flags from unsigned int to int.
4441
4442         [BZ #16966]
4443         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4444
4445         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4446
4447 2014-05-20  Will Newton  <will.newton@linaro.org>
4448
4449         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4450         Test the return value of the system call in the nocancel case.
4451
4452 2014-05-20  Will Newton  <will.newton@linaro.org>
4453             Yvan Roux  <yvan.roux@linaro.org>
4454
4455         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4456         #include of asm/ptrace.h.
4457         (PTRACE_GET_THREAD_AREA): Remove #undef.
4458         (PTRACE_GETHBPREGS): Likewise.
4459         (PTRACE_SETHBPREGS): Likewise.
4460         (struct user_regs_struct): New structure.
4461         (struct user_fpsimd_struct): New structure.
4462         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4463         #include of asm/ptrace.h and second #include of sys/user.h.
4464         (PTRACE_GET_THREAD_AREA): Remove #undef.
4465         (PTRACE_GETHBPREGS): Likewise.
4466         (PTRACE_SETHBPREGS): Likewise.
4467         (ELF_NGREG): Use new struct user_regs_struct.
4468         (elf_fpregset_t): Use new struct user_fpsimd_struct.
4469
4470 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4471
4472         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4473         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4474
4475 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
4476
4477         [BZ #16958]
4478         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4479         membar to avoid block loads/stores to overlap previous stores.
4480
4481 2014-05-17  Richard Henderson  <rth@redhat.com>
4482
4483         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4484         Create the __##syscall_name##_nocancel entry point.
4485         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4486         Remove; let the sysdep-cancel.h code create it.
4487
4488 2014-05-17  David S. Miller  <davem@davemloft.net>
4489
4490         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4491         Protect with __USE_GNU.
4492         (TIOCSET_TEMPT): Likewise.
4493         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4494         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4495         these are already provided in bits/ioctl-types.h
4496
4497 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4498
4499         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4500         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4501
4502         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4503         Use wait4 regardless of [__NR_waitpid].
4504
4505 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
4506
4507         PR libgcc/60166
4508         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4509         (_FP_NANSIGN_Q): Set the quiet bit.
4510
4511 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
4512
4513         * benchtests/Makefile
4514         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4515         not $(common-objpfx)math/libm.so.
4516         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4517         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4518         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4519         $(common-objpfx)dlfcn/libdl.so.
4520         ($(objpfx)tst-audit8): Depend on $(libm), not
4521         $(common-objpfx)math/libm.so.
4522         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4523         not $(common-objpfx)dlfcn/libdl.so.
4524         * math/Makefile
4525         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4526         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
4527         [$(build-shared) = yes].
4528         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4529         $(common-objpfx)nptl/libpthread.so.
4530         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4531         $(common-objpfx)math/libm.so$(libm.so-version) or
4532         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4533         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4534         $(common-objpfx)dlfcn/libdl.so.
4535         * setjmp/Makefile (link-libm): Remove variable.
4536         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4537         * stdio-common/Makefile (link-libm): Remove variable.
4538         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4539         * stdlib/Makefile (link-libm): Remove variable.
4540         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4541         ($(objpfx)tst-strtod-round): Likewise.
4542         ($(objpfx)tst-tininess): Likewise.
4543         ($(objpfx)tst-strtod-underflow): Likewise.
4544         ($(objpfx)tst-strtod6): Likewise.
4545         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4546         $(libdl), not $(common-objpfx)nptl/libpthread.so and
4547         $(common-objpfx)dlfcn/libdl.so.
4548
4549 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4550
4551         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4552         BSD terminal modes definitions.
4553
4554 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4555
4556         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4557         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4558
4559         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4560         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4561         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4562         Don't do #include_next.
4563         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4564         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4565         Don't do #include_next.
4566         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4567         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4568         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4569         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4570
4571 2014-05-16  Allan McRae  <allan@archlinux.org>
4572
4573         * po/sv.po: Update Swedish translation from translation project.
4574
4575         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4576         in sed expression.
4577
4578 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
4579
4580         [BZ #16917]
4581         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4582         errno if the TIOCGPTN ioctl fails with an error different than
4583         EINVAL.
4584         * login/tst-ptsname.c: New file.
4585         * login/Makefile (tests): Add tst-ptsname.
4586
4587         [BZ #16943]
4588         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4589         and prlimit64.
4590
4591 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4592
4593         [BZ #16849]
4594         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4595         herrno to return EAI_AGAIN.
4596
4597 2014-05-14  Roland McGrath  <roland@hack.frob.com>
4598
4599         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4600         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4601         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4602         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4603         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4604         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4605         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4606         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4607         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4608         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4609         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4610         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4611         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4612         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4613         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4614         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4615         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4616         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4617         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4618         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4619         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4620         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4621         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4622         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4623         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4624         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4625         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4626         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4627         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4628         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4629         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4630         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4631         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4632         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4633         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4634         Moved ...
4635         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4636         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4637         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4638         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4639         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4641         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4642         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4643         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4644         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4645         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4646         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4647         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4648         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4649         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4651         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4652         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4653         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4654         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4655         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4657         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4658         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4659         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4660         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4661         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4662         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4663         Moved ...
4664         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4665         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4666         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4667         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4668         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4670         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4672         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4673         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4674         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4675         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4676         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4678         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4680         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4682         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4683         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4684         Moved ...
4685         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4686         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4687         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4688
4689         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4690         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4691         (libpthread-sysdep_routines): Add elision-related stuff here instead.
4692         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4693         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4694         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4695         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4696         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4697         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4698         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4699         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4700         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4701         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4702         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4703         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4704         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4705         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4706         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4707         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4708         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4709         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4710         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4711         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4712         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4713         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4714         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4715         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4716         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4717         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4718         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4719         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4720
4721         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4722         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4723
4724         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4725         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4726         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4727         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4728         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4729         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4730         Moved ...
4731         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4732         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4733         Moved ...
4734         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4735         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4736         Moved ...
4737         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4738         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4739         Moved ...
4740         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4741         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4742         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4743         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4744         Moved ...
4745         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4746         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4747         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4748         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4749         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4750         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4751         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4752         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4753         Moved ...
4754         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4755         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4756         Moved ...
4757         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4758         ... here.
4759         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4760         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4761         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4762         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4763         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4764         Moved ...
4765         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4766         ... here.
4767         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4768         Moved ...
4769         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4770         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4771         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4772         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4773         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4774         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4775         Moved ...
4776         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4777         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4778         Moved ...
4779         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4780         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4781         Moved ...
4782         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4783         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4784         Moved ...
4785         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4786         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4787         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4788         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4789         Moved ...
4790         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4791         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4792         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4793         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4794         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4795         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4796         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4797         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4798         Moved ...
4799         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4800         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4801         Moved ...
4802         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4803         ... here.
4804         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4805         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4806         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4807         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4808         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4809         Moved ...
4810         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4811         ... here.
4812         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4813         Moved ...
4814         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4815         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4816         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4817         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4818         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4819         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4820         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4821         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4822         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4823         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4824         Moved ...
4825         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4826         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4827         Moved ...
4828         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4829         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4830         Moved ...
4831         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4832         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4833         Moved ...
4834         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4835         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4836         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4837         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4838         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4839         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4840         Moved ...
4841         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4842         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4843         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4844         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4845         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4846         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4847         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4848         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4849         Moved ...
4850         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4851         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4852         Moved ...
4853         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4854         ... here.
4855         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4856         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4857         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4858         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4859         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4860         Moved ...
4861         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4862         ... here.
4863         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4864         Moved ...
4865         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4866         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4867         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4868         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4869         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4870         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4871         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4872         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4873         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4874         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4875         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4876
4877         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4878         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4879
4880         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4881         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4882
4883         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4884         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4885         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4886         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4887         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4888         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4889         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4890         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4891         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4892         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4893         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4894         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4895         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4896         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4897         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4898         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4899         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4900         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4901         Moved ...
4902         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4903         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4904         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4905         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4906         Moved ...
4907         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4908         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4909         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4910         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4911         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4912         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4913         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4914         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4915         Moved ...
4916         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4917         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4918         Moved ...
4919         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4920         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4921         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4922         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4923         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4924         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4925         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4926         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4927         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4928         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4929         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4930         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4931         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4932         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4933         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4934         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4935         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4936
4937         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4938         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4939         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4940         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4941         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4942
4943         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4944         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4945         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4946         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4947         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4948         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4949         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4950         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4951         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4952         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4953
4954         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4955         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4956
4957         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4958         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4959         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4960         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4961         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4962         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4963         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4964         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4965         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4966         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4967         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4968         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4969         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4970         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4971         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4972         Update #include.
4973         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4974         Likewise.
4975         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4976         Likewise.
4977         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4978         Likewise.
4979         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4980         Likewise.
4981         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4982         Likewise.
4983         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4984         Likewise.
4985         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4986         Likewise.
4987         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4988         Likewise.
4989         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4990         Likewise.
4991         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4992         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4993         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4994         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4995         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4996         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4997         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4998         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4999         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5000         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5001         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5002         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5003         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5004         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
5005         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
5006
5007         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5008         that was previously under [RESET_PID].
5009         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5010         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5011         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5012
5013         * sysdeps/i386/nptl/Implies: New file.
5014         * sysdeps/x86_64/nptl/Implies: New file.
5015         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5016         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5017         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5018         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5019
5020         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5021         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5022         (__libc_vfork): New strong alias.
5023         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5024         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5025
5026         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5027         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5028         (__libc_vfork): New strong alias.
5029         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5030         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5031
5032         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5033         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5034         (__libc_vfork): New strong alias.
5035         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5036         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5037         * nptl/pt-vfork.c: New file.
5038         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5039         (libpthread: GLIBC_2.20): New version set (empty).
5040
5041 2014-05-14  Will Newton  <will.newton@linaro.org>
5042
5043         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5044         rather than #if.
5045
5046 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5047
5048         [BZ #16564]
5049         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5050         arguments with exponent 65 or above.
5051         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5052         arguments 0x1p113L or above.
5053         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5054         to arguments 0x1p107L or above.
5055         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5056         positive arguments with exponent 65 or above.
5057         * math/auto-libm-test-in: Add more tests of log1p.
5058         * math/auto-libm-test-out: Regenerated.
5059
5060         [BZ #16928]
5061         * math/s_cacos.c (__cacos): Ensure zero real part of result from
5062         non-finite arguments is +0.
5063         * math/s_cacosf.c (__cacosf): Likewise.
5064         * math/s_cacosl.c (__cacosl): Likewise.
5065         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5066         * sysdeps/i386/fpu/libm-test-ulps: Update.
5067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5068
5069         [BZ #16927]
5070         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5071         value.
5072         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5073         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5074         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5075         for explicit high bit of mantissa when testing for argument equal
5076         to 1.
5077         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5078         * sysdeps/i386/fpu/libm-test-ulps: Update.
5079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5080
5081         [BZ #16516]
5082         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5083         (__erf): Scale by 16 instead of 8 in potentially underflowing
5084         case.  Ensure exception if result actually underflows.
5085         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5086         (__erff): Scale by 16 instead of 8 in potentially underflowing
5087         case.  Ensure exception if result actually underflows.
5088         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5089         (efx8): Remove variable.
5090         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5091         case.  Ensure exception if result actually underflows.
5092         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5093         (efx8): Remove variable.
5094         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5095         case.  Ensure exception if result actually underflows.
5096         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5097         (efx8): Remove variable.
5098         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5099         case.  Ensure exception if result actually underflows.
5100         * math/auto-libm-test-in: Add more tests of erf.
5101         * math/auto-libm-test-out: Regenerated.
5102
5103 2014-05-14  Andreas Schwab  <schwab@suse.de>
5104
5105         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5106         Remove code conditionalized on USE___THREAD.
5107
5108         * config.h.in (HAVE_PT_CHOWN): Define as 0.
5109         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5110         not definedness.
5111
5112 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5113
5114         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5115         Define unconditionally.
5116         (__ASSUME_O_CLOEXEC): Likewise.
5117         (__ASSUME_SOCK_CLOEXEC): Likewise.
5118         (__ASSUME_IN_NONBLOCK): Likewise.
5119         (__ASSUME_PIPE2): Likewise.
5120         (__ASSUME_EVENTFD2): Likewise.
5121         (__ASSUME_SIGNALFD4): Likewise.
5122         (__ASSUME_DUP3): Likewise.
5123         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5124         (__ASSUME_DUP3): Do not define.
5125         (__ASSUME_EVENTFD2): Likewise.
5126         (__ASSUME_IN_NONBLOCK): Likewise.
5127         (__ASSUME_O_CLOEXEC): Likewise.
5128         (__ASSUME_PIPE2): Likewise.
5129         (__ASSUME_SIGNALFD4): Likewise.
5130         (__ASSUME_SOCK_CLOEXEC): Likewise.
5131         (__ASSUME_UTIMES): Undefine.
5132         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5133         (__ASSUME_UTIMES): Do not define.
5134         (__ASSUME_O_CLOEXEC): Likewise.
5135         (__ASSUME_SOCK_CLOEXEC): Likewise.
5136         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5137         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5138         0x020621].
5139         (__ASSUME_PIPE2): Likewise.
5140         (__ASSUME_EVENTFD2): Likewise.
5141         (__ASSUME_SIGNALFD4): Likewise.
5142         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5143         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5144         Do not define.
5145         (__ASSUME_EVENTFD2): Likewise.
5146         (__ASSUME_SIGNALFD4): Likewise.
5147         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5148         (__ASSUME_32BITUIDS): Likewise.
5149         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5150         (__ASSUME_IPC64): Likewise.
5151         (__ASSUME_ST_INO_64_BIT): Likewise.
5152         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5153         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5154         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5155         (__ASSUME_UTIMES): Do not define.
5156         (__ASSUME_PSELECT): Likewise.
5157         (__ASSUME_PPOLL): Likewise.
5158         (__ASSUME_O_CLOEXEC): Likewise.
5159         (__ASSUME_SOCK_CLOEXEC): Likewise.
5160         (__ASSUME_IN_NONBLOCK): Likewise.
5161         (__ASSUME_PIPE2): Likewise.
5162         (__ASSUME_EVENTFD2): Likewise.
5163         (__ASSUME_SIGNALFD4): Likewise.
5164         (__ASSUME_DUP3): Likewise.
5165         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5166         (__ASSUME_UTIMES): Likewise.
5167         (__ASSUME_O_CLOEXEC): Likewise.
5168         (__ASSUME_SOCK_CLOEXEC): Likewise.
5169         (__ASSUME_IN_NONBLOCK): Likewise.
5170         (__ASSUME_PIPE2): Likewise.
5171         (__ASSUME_EVENTFD2): Likewise.
5172         (__ASSUME_SIGNALFD4): Likewise.
5173         (__ASSUME_DUP3): Likewise.
5174         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5175         (__ASSUME_UTIMES): Likewise.
5176         (__ASSUME_O_CLOEXEC): Likewise.
5177         (__ASSUME_SOCK_CLOEXEC): Likewise.
5178         (__ASSUME_IN_NONBLOCK): Likewise.
5179         (__ASSUME_PIPE2): Likewise.
5180         (__ASSUME_EVENTFD2): Likewise.
5181         (__ASSUME_SIGNALFD4): Likewise.
5182         (__ASSUME_DUP3): Likewise.
5183         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5184         Likewise.
5185         (__ASSUME_UTIMES): Likewise.
5186         (__ASSUME_EVENTFD2): Likewise.
5187         (__ASSUME_SIGNALFD4): Likewise.
5188         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5189         (__ASSUME_O_CLOEXEC): Likewise.
5190         (__ASSUME_SOCK_CLOEXEC): Likewise.
5191         (__ASSUME_IN_NONBLOCK): Likewise.
5192         (__ASSUME_PIPE2): Likewise.
5193         (__ASSUME_EVENTFD2): Likewise.
5194         (__ASSUME_SIGNALFD4): Likewise.
5195         (__ASSUME_DUP3): Likewise.
5196         (__ASSUME_UTIMES): Undefine.
5197
5198         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5199         feclearexcept.  Remove symbol versioning code.
5200         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
5201         symbol versioning code.
5202         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
5203         symbol versioning code.
5204         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5205         feupdateenv.  Remove symbol versioning code.
5206         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5207         fegetexceptflag.  Remove symbol versioning code.
5208         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5209         fesetexceptflag.  Remove symbol versioning code.
5210         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5211         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
5212         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5213         (__posix_fadvise64_l32): Remove prototype.
5214         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5215         code.
5216
5217 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5218
5219         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5220         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5221         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5222         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5223
5224 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
5225
5226         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5227         current working directory
5228
5229 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5230
5231         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5232         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5233         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5234         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5235         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5236         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5237         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5238         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5239         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5240         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5241         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5242         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5243         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5244         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5245         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5246         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5247         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5248         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5249         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5250         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5251         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5252         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5253         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5254         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5255         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5256         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5257         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5258         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5259         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5260         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5261         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5262         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5263         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5264         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5265         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5266         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5267         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5268         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5269         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5270         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5271         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5272         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5273
5274         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5275         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5276
5277         * sysdeps/unix/sysv/linux/arm/Makefile
5278         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5279         Add rt-aeabi_unwind_cpp_pr1.
5280         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5281         Add nptl-aeabi_unwind_cpp_pr1.
5282         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5283         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5284         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5285         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5286         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5287         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5288
5289         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5290         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5291         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5292         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5293
5294         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5295         Deconditionalize the code that was previously under [RESET_PID].
5296         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5297
5298         * sysdeps/generic/exit-thread.h: New file.
5299         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5300         * include/unistd.h (__exit_thread): Remove declaration.
5301         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5302         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5303         * csu/libc-start.c: Include <exit-thread.h>.
5304         (LIBC_START_MAIN): Pass no argument to __exit_thread.
5305         * nptl/pthread_create.c: Include <exit-thread.h>.
5306         (start_thread): Call __exit_thread in place of __exit_thread_inline.
5307         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5308         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5309         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5310         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5311         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5312         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5313         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5314         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5315         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5316         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5317         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5318         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5319         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5320         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5321         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5322         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5323
5324 2014-05-13  Andreas Schwab  <schwab@suse.de>
5325
5326         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5327
5328 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
5329
5330         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5331         (__ASSUME_UTIMES): Do not condition on kernel version.
5332         (__ASSUME_PSELECT): Define unconditionally.
5333         (__ASSUME_PPOLL): Likewise.
5334         (__ASSUME_ATFCTS): Likewise.
5335         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5336         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5337         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5338         (__ASSUME_UTIMENSAT): Define unconditionally.
5339         (__ASSUME_PRIVATE_FUTEX): Likewise.
5340         (__ASSUME_FALLOCATE): Likewise.
5341         (__ASSUME_O_CLOEXEC): Likewise.
5342         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5343         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5344         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5345         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5346         (__ASSUME_IN_NONBLOCK): Likewise.
5347         (__ASSUME_PIPE2): Likewise.
5348         (__ASSUME_EVENTFD2): Likewise.
5349         (__ASSUME_SIGNALFD4): Likewise.
5350         (__ASSUME_DUP3): Likewise.
5351         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5352         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5353         (__ASSUME_AT_RANDOM): Likewise.
5354         (__ASSUME_PREADV): Likewise.
5355         (__ASSUME_PWRITEV): Likewise.
5356         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5357         (__ASSUME_F_GETOWN_EX): Define unconditionally.
5358         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5359         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5360         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5361         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5362         (__ASSUME_O_CLOEXEC): Define unconditionally.
5363         (__ASSUME_PSELECT): Do not undefine conditionally.
5364         (__ASSUME_PPOLL): Likewise.
5365         (__ASSUME_ATFCTS): Likewise.
5366         (__ASSUME_SET_ROBUST_LIST): Likewise.
5367         (__ASSUME_UTIMENSAT): Likewise.
5368         (__ASSUME_FDATASYNC): Define unconditionally.
5369         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5370         (__ASSUME_SIGFRAME_V2): Likewise.
5371         )__ASSUME_EVENTFD2): Likewise.
5372         (__ASSUME_SIGNALFD4): Likewise.
5373         (__ASSUME_PSELECT): Do not undefine conditionally.
5374         (__ASSUME_PPOLL): Likewise.
5375         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5376         (__ASSUME_PSELECT): Define unconditionally.
5377         (__ASSUME_PPOLL): Likewise.
5378         (__ASSUME_O_CLOEXEC): Likewise.
5379         (__ASSUME_SOCK_CLOEXEC): Likewise.
5380         (__ASSUME_IN_NONBLOCK): Likewise.
5381         (__ASSUME_PIPE2): Likewise.
5382         (__ASSUME_EVENTFD2): Likewise.
5383         (__ASSUME_SIGNALFD4): Likewise.
5384         (__ASSUME_DUP3): Likewise.
5385         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5386         (__ASSUME_O_CLOEXEC): Likewise.
5387         (__ASSUME_SOCK_CLOEXEC): Likewise.
5388         (__ASSUME_IN_NONBLOCK): Likewise.
5389         (__ASSUME_PIPE2): Likewise.
5390         (__ASSUME_EVENTFD2): Likewise.
5391         (__ASSUME_SIGNALFD4): Likewise.
5392         (__ASSUME_DUP3): Likewise.
5393         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5394         (__ASSUME_EVENTFD2): Likewise.
5395         (__ASSUME_SIGNALFD4): Likewise.
5396         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5397
5398 2014-05-12  Andreas Schwab  <schwab@suse.de>
5399
5400         [BZ #16932]
5401         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5402         (_nss_nis_gethostbyname4_r): Return error if item length is larger
5403         than maximum RPC packet size.
5404         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5405         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5406         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5407         (_nss_nis_getservbyport_r): Likewise.
5408
5409 2014-05-12  Will Newton  <will.newton@linaro.org>
5410
5411         * malloc/Makefile (tests): Add tst-mallopt.
5412         * malloc/tst-mallopt.c: New file.
5413
5414 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5415
5416         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5417         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5418
5419 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5420
5421         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5422         (tst-tlsmod6.so): Likewise.
5423
5424 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5425
5426         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5427
5428 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
5429
5430         [BZ #16064]
5431         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5432         and <dl-procinfo.h>.
5433         (__fegetenv): Save SSE state in envp->__eip if supported.
5434         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5435         envp->__eip if supported.
5436         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5437         and <dl-procinfo.h>.
5438         (__fesetenv): Always set __eip, __cs_selector, __opcode,
5439         __data_offset and __data_selector in environment to 0.  Set SSE
5440         state if supported.
5441         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5442         test-fenv-sse.
5443         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5444         -mfpmath=sse.
5445         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5446
5447 2014-05-09  Will Newton  <will.newton@linaro.org>
5448
5449         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5450         and libc_relro_required for ARM.
5451         * sysdeps/arm/preconfigure: Regenerate.
5452
5453 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
5454             Stefan Liebler  <stli@linux.vnet.ibm.com>
5455
5456         * config.make.in (enable-lock-elision): New Makefile variable.
5457         * configure.ac: Likewise.
5458         * configure: Regenerate.
5459         * sysdeps/s390/configure.ac:
5460         Add check for gcc transactions support.
5461         * sysdeps/s390/configure: Regenerate.
5462         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5463         Build elision files if enabled.
5464         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5465         Add lock elision support for s390.
5466         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5467         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5468         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5469         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5470         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5471         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5472         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5473         Likewise.
5474         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5475         Likewise.
5476         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5477         Likewise.
5478         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5479         Likewise.
5480         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5481         (__lll_timedlock_elision, __lll_lock_elision)
5482         (__lll_unlock_elision, __lll_trylock_elision)
5483         (lll_timedlock_elision, lll_lock_elision)
5484         (lll_unlock_elision, lll_trylock_elision): Add.
5485         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5486         (pthread_mutex_t): Add lock elision support for s390.
5487
5488 2014-05-14  Wilco  <wdijkstr@arm.com>
5489
5490         * sysdeps/arm/fclrexcpt.c: Cleanup.
5491         * sysdeps/arm/fedisblxcpt.c: Cleanup.
5492         * sysdeps/arm/feenablxcpt.c: Cleanup.
5493         * sysdeps/arm/fegetenv.c: Cleanup.
5494         * sysdeps/arm/fegetexcept.c: Cleanup.
5495         * sysdeps/arm/fegetround.c: Cleanup.
5496         * sysdeps/arm/feholdexcpt.c: Cleanup.
5497         * sysdeps/arm/fesetenv.c: Cleanup.
5498         * sysdeps/arm/fesetround.c: Cleanup.
5499         * sysdeps/arm/feupdateenv.c: Cleanup.
5500         * sysdeps/arm/fgetexcptflg.c: Cleanup.
5501         * sysdeps/arm/fraiseexcpt.c: Cleanup.
5502         * sysdeps/arm/fsetexcptflg.c: Cleanup.
5503         * sysdeps/arm/ftestexcept.c: Cleanup.
5504         * sysdeps/arm/get-rounding-mode.h: Cleanup.
5505         * sysdeps/arm/setfpucw.c: Cleanup.
5506
5507 2014-05-09  Will Newton  <will.newton@linaro.org>
5508
5509         * sysdeps/arm/armv7/strcmp.S: New file.
5510         * NEWS: Mention addition of ARMv7 optimized strcmp.
5511
5512 2014-05-08  Roland McGrath  <roland@hack.frob.com>
5513
5514         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5515         look for %.ac rather than %.in.
5516
5517         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5518         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5519         * sysdeps/mach/hurd/configure: Regenerated.
5520         * sysdeps/unix/sysv/linux/configure: Regenerated.
5521
5522         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5523
5524 2014-05-07  Steve Ellcey  <sellcey@mips.com>
5525
5526         [BZ# 16922]
5527         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5528         (LONG_SUB): Ditto.
5529         (PTR_SUB): Ditto.
5530
5531 2014-05-07  Andreas Schwab  <schwab@suse.de>
5532
5533         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5534         when skipping over non-matching result from nscd.
5535
5536 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
5537
5538         [BZ #16876]
5539         * nptl/sockperf.c (client): Check socket return value.
5540
5541         [BZ #16877]
5542         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5543         nscd security class.
5544
5545 2014-05-06  Roland McGrath  <roland@hack.frob.com>
5546
5547         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5548         * sysdeps/arm/unwind.h: ... here.
5549
5550 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
5551
5552         [BZ# 16916]
5553         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5554         Define.
5555
5556 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5557
5558         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5559         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5560         multiarch strncpy for PPC64.
5561         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5562         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5563         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5564         multiarch optimizations.
5565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5566         (__libc_ifunc_impl_list): Likewise.
5567         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5568         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5569         multiarch stpncpy for PPC64.
5570         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5571         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5572
5573 2014-05-06  Andreas Schwab  <schwab@suse.de>
5574
5575         [BZ #16912]
5576         * gmon/mcount.c (_MCOUNT_DECL): Use
5577         atomic_compare_and_exchange_bool_acq instead of
5578         catomic_compare_and_exchange_bool_acq.
5579
5580 2014-05-05  Roland McGrath  <roland@hack.frob.com>
5581
5582         * elf/Makefile (others, install-bin): Remove pldd.
5583         (pldd-modules): Variable removed.
5584         ($(objpfx)pldd): Target removed.
5585         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5586         (others, install-bin): Append pldd here.
5587         ($(objpfx)pldd): New target.
5588
5589         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5590         to 0, so the first #if test emitted later doesn't see it undefined.
5591         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5592         * sysdeps/gnu/errlist.c: Regenerated.
5593
5594 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5595
5596         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5597         [libc_hidden_builtin_def]: Define to empty value.
5598         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5599         [libc_hidden_builtin_def]: Likewise.
5600         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5601         [libc_hidden_builtin_def]: Likewise.
5602         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5603         [libc_hidden_builtin_def]: Likewise.
5604         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5605         __redirect_memcpy and define ifunc as default hidden symbol.
5606         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5607         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5608
5609 2014-05-04  Adam Conrad  <adconrad@0c3.net>
5610
5611         * locale/iso-4217.def: Reintroduce XDR currency.
5612
5613 2014-05-04  Allan McRae  <allan@archlinux.org>
5614
5615         * po/eo.po: Update Esperanto translation from translation project.
5616
5617 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
5618
5619         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5620         and FEATURE_INDEX_MAX to 1.
5621         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5622
5623 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5624
5625         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5626         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5627         * iconvdata/big5.c (ONE_DIRECTION): Define.
5628         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5629         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5630         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5631         * iconvdata/cp932.c (ONE_DIRECTION): Define.
5632         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5633         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5634         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5635         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5636         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5637         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5638         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5639         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5640         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5641         * iconvdata/gbk.c (ONE_DIRECTION): Define.
5642         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5643         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5644         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5645         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5646         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5647         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5648         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5649         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5650         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5651         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5652         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5653         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5654         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5655         * iconvdata/iso646.c (ONE_DIRECTION): Define.
5656         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5657         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5658         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5659         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5660         * iconvdata/johab.c (ONE_DIRECTION): Define.
5661         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5662         * iconvdata/sjis.c (ONE_DIRECTION): Define.
5663         * iconvdata/t.61.c (ONE_DIRECTION): Define.
5664         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5665         * iconvdata/tscii.c (ONE_DIRECTION): Define.
5666         * iconvdata/uhc.c (ONE_DIRECTION): Define.
5667         * iconvdata/unicode.c (ONE_DIRECTION): Define.
5668         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5669         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5670         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5671
5672 2014-05-01  Roland McGrath  <roland@hack.frob.com>
5673
5674         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5675         (_IO_JUMPS_OFFSET): Define to 0.
5676
5677         * nptl/sysdeps/pthread/bits/libc-lock.h
5678         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5679         (__libc_lock_define_initialized_recursive): Always define using
5680         initializer.  Modern compilers treat uninitialized (implicit zero) and
5681         explicit zero initializers the same (i.e. put the datum in bss).
5682
5683 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5684
5685         * nscd/nscd-client.h: Include <string.h>.
5686
5687 2014-05-01  David S. Miller  <davem@davemloft.net>
5688
5689         [BZ #16885]
5690         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5691         multiple zero bytes exist at the end of a string.
5692         Reported by Aurelien Jarno <aurelien@aurel32.net>
5693
5694         * string/test-strcmp.c (check): Add explicit test for situations where
5695         there are multiple zero bytes after the first.
5696
5697 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5698
5699         [BZ #16890]
5700         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5701         when compiling wprintf.
5702         * stdio-common/tstdiomisc.c (t3): New function.
5703         (main): Call it.
5704
5705 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5706
5707         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5708         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5709         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5710         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5711
5712 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5713
5714         * stdlib/longlong.h: Updated from GCC.
5715
5716 2014-05-01  Will Newton  <will.newton@linaro.org>
5717             Bernard Ogden  <bernie.ogden@linaro.org>
5718
5719         * NEWS: Update fixed bug list.
5720
5721         [BZ #15119]
5722         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5723
5724 2014-04-30  David S. Miller  <davem@davemloft.net>
5725
5726         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5727         (libc_feholdexcept_setround_sparc_ctx): New function.
5728         (libc_fesetenv_sparc_ctx): Likewise.
5729         (libc_feupdateenv_sparc_ctx): Likewise.
5730         (libc_feholdsetround_sparc_ctx): Likewise.
5731         (libc_feholdexcept_setround_ctx): Define.
5732         (libc_feholdexcept_setroundf_ctx): Likewise.
5733         (libc_feholdexcept_setroundl_ctx): Likewise.
5734         (libc_fesetenv_ctx): Likewise.
5735         (libc_fesetenvf_ctx): Likewise.
5736         (libc_fesetenvl_ctx): Likewise.
5737         (libc_feupdateenv_ctx): Likewise.
5738         (libc_feupdateenvf_ctx): Likewise.
5739         (libc_feupdateenvl_ctx): Likewise.
5740         (libc_feresetround_ctx): Likewise.
5741         (libc_feresetroundf_ctx): Likewise.
5742         (libc_feresetroundl_ctx): Likewise.
5743         (libc_feholdsetround_ctx): Likewise.
5744         (libc_feholdsetroundf_ctx): Likewise.
5745         (libc_feholdsetroundl_ctx): Likewise.
5746
5747         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5748         with __USE_GNU instead of XOPEN cpp guards.
5749
5750         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5751         0.
5752
5753         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5754         with XOPEN cpp guards.
5755
5756 2014-04-30  Julian Brown  <julian@codesourcery.com>
5757
5758         [BZ #16888]
5759         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5760         handling.
5761
5762 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
5763
5764         [BZ #9894]
5765         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5766         Change to 2.6.32.
5767         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5768         * sysdeps/unix/sysv/linux/configure: Regenerated.
5769         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5770         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5771         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5772         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5773         * README: Update reference to required Linux kernel version.
5774         * manual/install.texi (Linux): Update reference to required Linux
5775         kernel headers version.
5776         * INSTALL: Regenerated.
5777
5778         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5779         header inclusion.
5780         [POSIX] (limits.h): Likewise.
5781         [POSIX] (math.h): Likewise.
5782         [POSIX] (sys/wait.h): Likewise.
5783         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5784         function.
5785         [POSIX] (stddef.h): Do not allow header inclusion.
5786
5787 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5788
5789         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5790
5791 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
5792
5793         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5794         Return immediately after lll_futex_wake.
5795
5796 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5797
5798         [BZ #16791]
5799         * nscd/nscd-client.h (datahead_init_common): Initialize entire
5800         structure.
5801         (datahead_init_pos): Call datahead_init_common early.
5802         (datahead_init_neg): Likewise.
5803
5804         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5805         datahead_init_neg): New functions.
5806         * nscd/aicache.c (addhstaiX): Use them.
5807         * nscd/grpcache.c (cache_addgr): Likewise.
5808         * nscd/hstcache.c (cache_addhst): Likewise.
5809         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5810         * nscd/netgroupcache.c (do_notfound): Likewise.
5811         (addgetnetgrentX): Likewise.
5812         (addinnetgrX): Likewise.
5813         * nscd/pwdcache.c (cache_addpw): Likewise.
5814         * nscd/servicescache.c (cache_addserv): Likewise.
5815
5816 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5817             Atsushi Onoe  <atsushi@onoe.org>
5818
5819         [BZ #14308]
5820         [BZ #12994]
5821         [BZ #13651]
5822         * resolv/res_query.c (__libc_res_nsearch): Return if at least
5823         one response is valid.
5824         * resolv/res_send.c (send_dg): Check for validity of other
5825         response if the current response is a referral.
5826
5827 2014-04-29  Steve Ellcey  <sellcey@mips.com>
5828
5829         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5830
5831 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
5832
5833         [BZ #16823]
5834         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5835         Always divide by positive zero when computing -Inf result.
5836         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5837         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5838
5839 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5840
5841         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5842         FPSCR if value do not change.
5843         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5844         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5845         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5846         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5847         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5848         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5849         function.
5850
5851 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
5852
5853         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5854         * sysdeps/unix/sysv/linux/hppa: Move directory from
5855         ports/systeps/unix/sysv/linux/hppa.
5856         * README: Update listing for hppa-*-linux-gnu.
5857
5858 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
5859
5860         [BZ #16754]
5861         * manual/stdio.texi (Hook functions): Fix types of stream hook
5862         functions.
5863         [BZ #16854]
5864         * socket/sys/socket.h: Fix typo in comment.
5865
5866 2014-04-28  Wilco  <wdijkstr@arm.com>
5867
5868         * sysdeps/arm/fenv_private.h: New file.
5869         * sysdeps/arm/math_private.h: New file.
5870         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5871
5872 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
5873
5874         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5875         with __int128_t.
5876         (La_x86_64_retval): Likewise.
5877
5878 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
5879
5880         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5881         fpsr if value didn't change.
5882         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5883         to fpcr if value didn't change.
5884         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5885         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5886         fpsr or fpcr if value didn't change.
5887         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5888         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5889         fpcr if value didn't change.
5890         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5891         to fpsr if value didn't change.
5892
5893 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5894
5895         * nptl/tst-sem3.c: Use test-skeleton.c
5896         (main): Rename to do_test.  Use return instead of
5897         exit.
5898         * nptl/tst-sem4.c: Use test-skeleton.c
5899         (main): Rename to do_test.
5900
5901 2014-04-22  David S. Miller  <davem@davemloft.net>
5902
5903         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5904         (struct sigaction): New struct member __glibc_reserved0, change
5905         type of sa_flags to int.
5906
5907 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
5908
5909         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5910         (COUNT_LEADING_ZEROS_0): Define for AArch64.
5911
5912 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5913
5914         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5915         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5916
5917 2014-04-22  Will Newton  <will.newton@linaro.org>
5918             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
5919
5920         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5921         (__longjmp): Add longjmp and longjmp_target SystemTap
5922         probes.
5923         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5924         (__sigsetjmp): Add setjmp SystemTap probe.
5925
5926 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
5927
5928         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5929         match manual order.
5930
5931 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5932
5933         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5934
5935         * sysdeps/powerpc/fpu/fenv_private.h
5936         (libc_feholdexcept_setroundl_ctx): Define to
5937         libc_feholdexcept_setround_ppc_ctx.
5938         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5939         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5940         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5941         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5942
5943 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5944
5945         * sysdeps/aarch64/math-tests.h: New file.
5946
5947 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
5948
5949         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5950         New.
5951         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5952         Check and set bit_AVX2_Usable.
5953         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5954         macro.
5955         (bit_AVX2): Likewise.
5956         (index_AVX2_Usable): Likewise.
5957         (CPUID_AVX2): Likewise.
5958         (HAS_AVX2): Likewise.
5959
5960 2014-04-17  Will Newton  <will.newton@linaro.org>
5961
5962         * manual/setjmp.texi (System V contexts): Add note that
5963         calling setcontext on a context created by a call to a
5964         signal handler is undefined.  Update text to note that
5965         setcontext from a signal handler is possible but not
5966         recommended.
5967
5968         [BZ #16629]
5969         * stdlib/tst-setcontext.c: Include signal.h.
5970         (main): Check that the signal stack before and
5971         after swapcontext is the same.
5972
5973         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5974         Re-implement to restore registers in user code and avoid
5975         rt_sigreturn system call.
5976
5977 2014-04-17  Wilco  <wdijkstr@arm.com>
5978
5979         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5980         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5981         * math/test-fenv.c: Skip exception trap tests on targets which only
5982         support non-stop mode.
5983
5984 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5985             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5986
5987         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5988         (libc_feholdsetround_aarch64_ctx)
5989         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5990         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5991         (libc_feresetround_ctx, libc_feresetroundf_ctx)
5992         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5993         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5994         (libc_feresetround_noexl_ctx): Define.
5995
5996 2014-04-16  Richard Henderson  <rth@redhat.com>
5997
5998         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5999
6000         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6001         unwind tables.
6002
6003         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6004         const from the non-libc, non-ldso copy.
6005
6006         * sysdeps/alpha/libm-test-ulps: Regenerate.
6007
6008 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
6009             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6010
6011         * sysdeps/aarch64/fpu/math_private.h: New file.
6012
6013 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6014
6015         * sysdeps/aarch64/libm-test-ulps: Regenerate.
6016
6017 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
6018
6019         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6020         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6021         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6022         Intel MPX bound registers before _dl_profile_fixup.
6023         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6024         registers after _dl_profile_fixup.  Save and restore bound
6025         registers bnd0/bnd1 when calling _dl_call_pltexit.
6026         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6027         (LR_BND_OFFSET): Likewise.
6028         (LRV_BND0_OFFSET): Likewise.
6029         (LRV_BND1_OFFSET): Likewise.
6030
6031 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6032
6033         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6034         to...
6035         * sysdeps/mach/hurd/i386/tls.h: ... here.
6036         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6037         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6038         fields.
6039
6040 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6041
6042         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6043
6044 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6045
6046         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6047
6048 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6049
6050         [BZ #14770]
6051         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6052         * sysdeps/s390/configure: Regenerate.
6053
6054         [BZ #16824]
6055         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6056         Set round-to-nearest internally to reduce error accumulation.
6057
6058 2014-04-16  Alan Modra  <amodra@gmail.com>
6059
6060         [BZ #16740]
6061         [BZ #16619]
6062         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6063         * math/libm-test.inc (frexp_test_data): Add tests.
6064         * NEWS: Update fixed bug list.
6065
6066 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6067
6068         * benchtests/Makefile: Depend on libraries in build directory.
6069         (bench-math): Separate out math tests.
6070         (bench-pthread): Separate out pthread tests.
6071         (bench): Include math and pthread tests.
6072
6073 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
6074
6075         [BZ #16831]
6076         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6077         _dl_debug_initialize.
6078
6079         * configure.ac: Remove SELinux header check.
6080         * configure: Regenerate.
6081         * nscd/selinux.c (perms): Array of const char* to permission names.
6082         (nscd_request_avc_has_perm): Call security_deny_unknown to find
6083         default policy. Call string_to_security_class and string_to_av_perm to
6084         translate strings. Enforce default policy and call avs_has_perm with
6085         results of translated strings.
6086
6087 2014-04-13  David S. Miller  <davem@davemloft.net>
6088
6089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6090
6091 2014-04-12  Allan McRae  <allan@archlinux.org>
6092
6093         [BZ #16838]
6094         * manual/string.texi (Collation Functions): Fix qsort argument
6095         order in example.
6096         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6097
6098 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
6099
6100         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6101         Make the test a no-op if there are no exceptions defined.
6102
6103 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6104
6105         * elf/Makefile (tests): make tst-dlopen-aout conditional on
6106         enable-hardcoded-path-in-tests
6107
6108 2014-04-11  Will Newton  <will.newton@linaro.org>
6109
6110         * benchtests/Makefile (extra-objs): Add json-lib.o.
6111         (bench-func): Tidy up JSON output.
6112         * benchtests/bench-skeleton.c: Include json-lib.h.
6113         (main): Use JSON library functions to do output of
6114         benchmark results.
6115         * benchtests/bench-timing-type.c (main): Output the
6116         timing type simply, leaving formatting to the user.
6117         * benchtests/json-lib.c: New file.
6118         * benchtests/json-lib.h: Likewise.
6119
6120 2014-04-11  Torvald Riegel  <triegel@redhat.com>
6121
6122         [BZ #15215]
6123         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6124         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
6125         memory barriers.  Add comments.
6126         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6127         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6128         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6129         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6130         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6131         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6132
6133 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6134
6135         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6136         * sysdeps/s390/s390-64/configure.ac: ... this ...
6137         * sysdeps/s390/configure.ac: ... to here.
6138         * sysdeps/s390/s390-32/configure: Delete file.
6139         * sysdeps/s390/s390-64/configure: Delete file.
6140         * sysdeps/s390/configure: Regenerate.
6141
6142 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
6143
6144         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6145
6146 2014-04-11  Will Newton  <will.newton@linaro.org>
6147
6148         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6149         to zero if it is not defined elsewhere.  (mtrim): Test
6150         the value of MALLOC_DEBUG with #if rather than #ifdef.
6151
6152 2014-04-10 Torvald Riegel  <triegel@redhat.com>
6153
6154         * benchtests/pthread_once-inputs: New file.
6155         * benchtests/pthread_once-source.c: New file.
6156         * benchtests/README: Update documentation.
6157
6158 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
6159             H.J. Lu  <hongjiu.lu@intel.com>
6160
6161         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6162         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6163         * sysdeps/x86_64/configure: Regenerated.
6164         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6165         macro.
6166         (REGISTER_SAVE_RAX): Likewise.
6167         (REGISTER_SAVE_RCX): Likewise.
6168         (REGISTER_SAVE_RDX): Likewise.
6169         (REGISTER_SAVE_RSI): Likewise.
6170         (REGISTER_SAVE_RDI): Likewise.
6171         (REGISTER_SAVE_R8): Likewise.
6172         (REGISTER_SAVE_R9): Likewise.
6173         (REGISTER_SAVE_BND0): Likewise.
6174         (REGISTER_SAVE_BND1): Likewise.
6175         (REGISTER_SAVE_BND2): Likewise.
6176         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
6177         bound registers when calling _dl_fixup.
6178
6179 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6180
6181         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6182         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6183         of its definition.
6184         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6185         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6186         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6187         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6188         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6189         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6190         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6191
6192 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
6193
6194         [BZ #15514]
6195         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6196         pathconf(_PC_NAME_MAX).
6197
6198 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6199
6200         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6201         Remove macro usage.
6202         (__PTHREAD_SPINS): Move definition to ...
6203         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6204         (__PTHREAD_SPINS): ... here.
6205         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6206         (__PTHREAD_SPIN): Likewise.
6207         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6208         (__PTHREAD_SPIN): Likewise.
6209         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6210         (__PTHREAD_SPIN): Likewise.
6211         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6212         (__PTHREAD_SPIN): Likewise.
6213         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6214         (__PTHREAD_SPIN): Likewise.
6215         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6216         (__PTHREAD_SPIN): Likewise.
6217         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6218         (__PTHREAD_SPIN): Likewise.
6219         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6220         (__PTHREAD_SPIN): Likewise.
6221         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6222         (__PTHREAD_SPIN): Likewise.
6223         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6224         (__PTHREAD_SPIN): Likewise.
6225         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6226         (__PTHREAD_SPIN): Likewise.
6227         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6228         (__PTHREAD_SPIN): Likewise.
6229
6230         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6231         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6232         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6233         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6234         imply folder.
6235         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6236         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6237         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6238         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6239         correct imply path.
6240         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6241         strlen symbol for non multi-arch builds.
6242         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6243         missing hidden_def and weak_alias.
6244
6245 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
6246
6247         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6248
6249 2014-04-07  Will Newton  <will.newton@linaro.org>
6250
6251         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6252         and contents.  [!_LIBC] Remove #ifndef and contents.
6253         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
6254         * string/memccpy.c (__memccpy): Use ANSI prototype.
6255         * string/memfrob.c (memfrob): Likewise.
6256         * string/strcoll.c (STRCOLL): Likewise.
6257         * string/strlen.c (strlen): Likewise.
6258         * string/strtok.c (STRTOK): Likewise.
6259         * string/strcat.c: Remove unused #include of memcopy.h.
6260         (strcat): Use ANSI prototype.
6261         * string/strchr.c: Remove unused #include of memcopy.h.
6262         (strchr): Use ANSI prototype.
6263         * string/strcmp.c: Remove unused #include of memcopy.h.
6264         (strcmp): Use ANSI prototype.
6265         * string/strcpy.c: Remove unused #include of memcopy.h.
6266         (strcpy): Use ANSI prototype.
6267
6268 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6269
6270         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6271         * config.make.in (config-extra-cppflags): Set it from
6272         libc_extra_cppflags.
6273         * configure.ac (libc_extra_cflags): Make it accumulate over
6274         configure fragments.
6275         (libc_extra_cppflags): New flag.
6276         * configure. Regenerate.
6277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6278         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6279         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6281
6282         [BZ #16815]
6283         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6284         result for FE_DOWNWARD rounding mode.
6285         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6286         Likewise.
6287         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6288
6289 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
6290
6291         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6292         in function argument name.
6293
6294 2014-04-03  David Svoboda  <svoboda@cert.org>
6295
6296         [BZ #5666]
6297         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6298         explicitly.
6299
6300 2014-04-03  Roland McGrath  <roland@hack.frob.com>
6301
6302         * elf/dl-unmap-segments.h: New file.
6303         * sysdeps/generic/ldsodefs.h
6304         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6305         * elf/dl-close.c: Include <dl-unmap-segments.h>.
6306         * elf/dl-fptr.c: Likewise.
6307         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6308         * sysdeps/aarch64/tlsdesc.c: Likewise.
6309         * sysdeps/arm/tlsdesc.c: Likewise.
6310         * sysdeps/i386/tlsdesc.c: Likewise.
6311         * sysdeps/tile/dl-runtime.c: Likewise.
6312         * sysdeps/x86_64/tlsdesc.c: Likewise.
6313         * elf/dl-load.h: New file.
6314         * elf/dl-load.c: Include it.
6315         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6316         Macros moved to dl-load.h.
6317         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6318         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6319         Use _dl_unmap_segments in place of __munmap.
6320         Break out segment-mapping loop into ...
6321         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6322
6323 2014-04-03  Will Newton  <will.newton@linaro.org>
6324
6325         * elf/dl-lookup.c (do_lookup_x): Remove comment
6326         referring to nested function and move variable
6327         declarations down to before first use.
6328
6329 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
6330
6331         [BZ #16799]
6332         [BZ #16800]
6333         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6334         with 0 numerator.
6335         * math/s_catanf.c (__catanf): Likewise.
6336         * math/s_catanh.c (__catanh): Likewise.
6337         * math/s_catanhf.c (__catanhf): Likewise.
6338         * math/s_catanhl.c (__catanhl): Likewise.
6339         * math/s_catanl.c (__catanl): Likewise.
6340         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6341         by positive zero when computing -Inf result.
6342         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6343         (catanh_test): Likewise.
6344         * sysdeps/i386/fpu/libm-test-ulps: Update.
6345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6346
6347         [BZ #16789]
6348         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6349         instead of using underflowing value in computing result.
6350         * math/s_clog10.c (__clog10): Likewise.
6351         * math/s_clog10f.c (__clog10f): Likewise.
6352         * math/s_clog10l.c (__clog10l): Likewise.
6353         * math/s_clogf.c (__clogf): Likewise.
6354         * math/s_clogl.c (__clogl): Likewise.
6355         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6356         (clog10_test): Likewise.
6357         * sysdeps/i386/fpu/libm-test-ulps: Update.
6358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6359
6360 2014-04-02  Alan Modra  <amodra@gmail.com>
6361
6362         [BZ #16739]
6363         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6364         output when value is near a power of two.  Use int64_t for lx and
6365         remove casts.  Use decimal rather than hex exponent constants.
6366         Don't use long double multiplication when double will suffice.
6367         * math/libm-test.inc (nextafter_test_data): Add tests.
6368         * NEWS: Add 16739 and 16786 to bug list.
6369
6370         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6371
6372         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6373
6374 2014-04-01  Will Newton  <will.newton@linaro.org>
6375
6376         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6377         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
6378
6379 2014-04-01  Florian Weimer  <fweimer@redhat.com>
6380
6381         [BZ #13347]
6382         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6383         * nptl/tst-setuid2.c: New file.
6384         * nptl/Makefile (xtests): Add tst-setuid2.
6385
6386 2014-04-01  Alan Modra  <amodra@gmail.com>
6387
6388         [BZ #16786]
6389         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6390
6391 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6392
6393         [BZ #6803]
6394         [BZ #6804]
6395         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6396         set errno as appropriate.
6397         * math/w_scalbf.c (__scalbf): Likewise.
6398         * math/w_scalbl.c (__scalbl): Likewise.
6399         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6400         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6401         * math/libm-test.inc (scalb_test_data): Add errno expectations.
6402         Add more NaN tests.
6403
6404         [BZ #16349]
6405         * math/w_atan2.c: Include <errno.h>.
6406         (__atan2): Set errno for result underflowing to zero.
6407         * math/w_atan2f.c: Include <errno.h>.
6408         (__atan2f): Set errno for result underflowing to zero.
6409         * math/w_atan2l.c: Include <errno.h>.
6410         (__atan2l): Set errno for result underflowing to zero.
6411         * math/auto-libm-test-in: Don't allow missing errno for some atan2
6412         tests.
6413         * math/auto-libm-test-out: Regenerated.
6414
6415 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6416
6417         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6418         Encode instruction correctly in little endian.
6419         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6420         Likewise.
6421         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6422         Likewise.
6423         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6424         Likewise.
6425         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6426         Likewise.
6427
6428 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6429
6430         [BZ #9894]
6431         * sysdeps/unix/sysv/linux/kernel-features.h
6432         [__sparc__ && !__arch64__ && !__sparc_v9__]
6433         (__ASSUME_SET_ROBUST_LIST): Do not define.
6434         [__sparc__ && !__arch64__ && !__sparc_v9__]
6435         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6436         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6437         Likewise.
6438         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6439         (__ASSUME_FUTEX_LOCK_PI): Undefine.
6440         (__ASSUME_REQUEUE_PI): Likewise.
6441         (__ASSUME_SET_ROBUST_LIST): Likewise.
6442         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6443         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6444         Undefine.
6445         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6446         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6447         Likewise.
6448         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6449         Likewise.
6450         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6451         Likewise.
6452         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6453         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6454         Undefine.
6455         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6456         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6457         Likewise.
6458
6459         [BZ #16648]
6460         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6461         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6462         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6463
6464 2014-03-31  Will Newton  <will.newton@linaro.org>
6465
6466         * benchtests/Makefile (bench): Add ffs and ffsll to list
6467         of tests.
6468         * benchtests/ffs-inputs: New file.
6469         * benchtests/ffsll-inputs: Likewise.
6470
6471 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
6472
6473         [BZ #16770]
6474         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6475         too large before casting to int.
6476         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6477         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6478         * math/libm-test.inc (scalb_test_data): Add more tests.
6479
6480 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6481
6482         * benchtests/Makefile (DETAILED_OPT): New make option.
6483         (bench-func): Run benchmark program with -d if DETAILED_OPT is
6484         set.
6485         * benchtests/bench-skeleton.c: Include stdbool.h.
6486         (main): Store and print timings per input.
6487         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6488         member to each argument value.
6489         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6490         (_print_arg_data): Initialize per-input timing to 0.
6491
6492         * benchtests/Makefile (timing-type): New binary.
6493         (bench-clean): Also remove bench-timing-type.
6494         (bench): New target for timing-type.
6495         (bench-func): Print output in JSON format.
6496         * benchtests/bench-skeleton.c (main): Print output in JSON
6497         format.
6498         * benchtests/bench-timing-type.c: New file.
6499         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6500         (TIMING_PRINT_STATS): Remove.
6501         * benchtests/scripts/bench.py (_print_arg_data): Store variant
6502         name separately.
6503
6504         * benchtests/bench-modf.c: Remove.
6505         * benchtests/modf-inputs: New inputs file.
6506
6507 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
6508
6509         [BZ #16362]
6510         * math/s_clog10.c (M_PI_LOG10E): New macro.
6511         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6512         imaginary parts are 0.
6513         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6514         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6515         imaginary parts are 0.
6516         * math/s_clog10l.c (M_PI_LOG10El): New macro.
6517         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6518         imaginary parts are 0.
6519         * math/libm-test.inc (clog10_test_data): Update expected results
6520         for when real and imaginary parts are 0.
6521
6522 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
6523
6524         * elf/dl-load.c: Finish conversion of __builtin_expect into
6525         __glibc_{un}likely.
6526
6527 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
6528
6529         [BZ #16348]
6530         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6531         1+x for argument with exponent below -67.
6532         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6533         Likewise.
6534         * math/auto-libm-test-in: Add more tests of exp.
6535         * math/auto-libm-test-out: Regenerated.
6536
6537 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6538
6539         [BZ #16759]
6540         * inet/getnetgrent_r.c (get_nonempty_val): New function.
6541         (nscd_getnetgrent): Use it.
6542
6543         [BZ #16760]
6544         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6545         of stpcpy.
6546
6547 2014-03-27  Andi Kleen  <ak@linux.intel.com>
6548
6549         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6550         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6551         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6552         (lll_robust_unlock): Remove out of line section. Use cfi
6553         intrinsics.
6554         (LLL_STUB_UNWIND_INFO*): Remove.
6555         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6556         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6557         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6558         (lll_robust_unlock): Remove out of line section. Use cfi
6559         intrinsics.
6560         (LLL_STUB_UNWIND_INFO*): Remove.
6561
6562 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6563
6564         [BZ #16758]
6565         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6566         blank values.
6567
6568 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6569
6570         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6571
6572 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
6573
6574         [BZ #16198]
6575         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6576         fnstenv.
6577         * math/test-fenv-preserve.c: New file.
6578         * math/Makefile (tests): Add test-fenv-preserve.
6579
6580 2014-03-26  Will Newton <will.newton@linaro.org>
6581
6582         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6583
6584 2014-03-25  Roland McGrath  <roland@hack.frob.com>
6585
6586         * scripts/versionlist.awk: Partition the version sets and emit all
6587         GLIBC_* (sorted) before all others (sorted).
6588
6589 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6590
6591         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6592         GLIBC_2.2.5 version.
6593
6594 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6595
6596         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6597         calls.
6598
6599         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6600         previous change.
6601
6602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6603
6604 2014-03-25  Andreas Schwab  <schwab@suse.de>
6605
6606         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6607         label to be used after in6ailist is initialized.
6608
6609 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6610
6611         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6612         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6613
6614 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6615
6616         [BZ #16357]
6617         [BZ #16599]
6618         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6619         min_plus_half.
6620         (fp_formats): Update initializers.
6621         (init_fp_formats): Initialize new field.
6622         (output_for_one_input_case): Allow underflow for results up to
6623         min_plus_half.
6624         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6625         * math/auto-libm-test-in: Don't mark some underflows from asin and
6626         atanh as spurious.
6627         * math/auto-libm-test-out: Regenerated.
6628         * sysdeps/i386/fpu/libm-test-ulps: Update.
6629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6630
6631 2014-03-25  Andreas Schwab  <schwab@suse.de>
6632
6633         * libio/Makefile (tst-ftell-partial-wide-ENV)
6634         (tst-ftell-active-handler-ENV): Define.
6635
6636 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
6637
6638         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6639
6640 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6641
6642         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6643
6644 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6645
6646         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6647         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6648         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6649
6650 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6651
6652         [BZ #16634]
6653         * elf/dl-load.c (open_verify): Add mode parameter.
6654         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6655         (open_path): Change from boolean 'secure' to complete flag 'mode'
6656         (_dl_map_object): Adjust.
6657         * elf/Makefile (tests): Add tst-dlopen-aout.
6658         * elf/tst-dlopen-aout.c: New test.
6659
6660 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
6661
6662         [BZ #16714]
6663         * sysdeps/unix/sysv/linux/s390/bits/stat.h
6664         (struct stat): Rename member pad0 to __glibc_reserved0.
6665
6666         [BZ #16712]
6667         * sysdeps/s390/s390-32/bits/wordsize.h
6668         (__WORDSIZE32_SIZE_ULONG): New define.
6669         * sysdeps/s390/s390-64/bits/wordsize.h
6670         (__WORDSIZE32_SIZE_ULONG): Likewise.
6671         * sysdeps/generic/stdint.h (SIZE_MAX):
6672         Define as UL if __WORDSIZE32_SIZE_ULONG.
6673
6674         [BZ #16713]
6675         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6676         (__glibc_reserved0): New variable.
6677         (sa_flags): Change type to int.
6678
6679         * posix/Makefile (before-compile): Use += before-compile instead
6680         of a :=.
6681
6682         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6683         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6684
6685 2014-03-20  Andreas Schwab  <schwab@suse.de>
6686
6687         [BZ #16743]
6688         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6689         non-matching result from nscd.
6690
6691 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6692
6693         * scripts/bench.py: Moved to ...
6694         * benchtests/scripts/bench.py: ... here.
6695         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6696
6697 2014-03-24  Andreas Schwab  <schwab@suse.de>
6698
6699         [BZ #16002]
6700         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6701         alloca_account and account alloca use for struct in6ailist.
6702
6703 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6704
6705         [BZ #16284]
6706         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6707         rounding mode to recompute results that overflow to infinity or
6708         underflow to zero.
6709         * math/auto-libm-test-in: Don't mark tests as expected to fail for
6710         bug 16284.
6711         * math/auto-libm-test-out: Regenerated.
6712         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6713         (ccosh_test): Likewise.
6714         (csin_test_data): Use plus_oflow.
6715         (csin_test): Use ALL_RM_TEST.
6716         (csinh_test_data): Use plus_oflow.
6717         (csinh_test): Use ALL_RM_TEST.
6718         * sysdeps/i386/fpu/libm-test-ulps: Update.
6719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6720
6721 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
6722
6723         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6724         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6725         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6726
6727         [BZ #16731]
6728         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6729         when x - 1 is zero.
6730         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6731         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6732         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6733         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6734         argument is 1.
6735         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6736         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6737         zero.
6738         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6739         * sysdeps/i386/fpu/libm-test-ulps: Update.
6740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6741
6742 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6743
6744         * scripts/bench.pl: Remove file.
6745         * scripts/bench.py: New benchmark script.
6746         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6747         * benchtests/README: Mention python dependency.
6748         * scripts/pylintrc: New file.
6749         * scripts/pylint: New file.
6750
6751         * bits/mathdef.h: Use #ifdef instead of #if.
6752         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6753         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6754         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6755         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6756         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6757         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6758
6759 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6760             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6761
6762         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6763         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6764         and strpbrk-ppc64 objects.
6765         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6766         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6767         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6768         multiarch strpbrk for POWER7.
6769         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6770         multiarch strpbrk for PPC64.
6771         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6772         ifunc selector.
6773         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6774         strpbrk for POWER7.
6775
6776 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6777
6778         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6779         (atan_test): Likewise.
6780         (atanh_test_data): Use NO_TEST_INLINE for two tests.
6781         (atanh_test): Use ALL_RM_TEST.
6782         (atan2_test_data): Likewise.
6783         (cabs_test): Likewise.
6784         (cacosh_test): Likewise.
6785         (carg_test): Likewise.
6786         (casin_test): Likewise.
6787         (casinh_test): Likewise.
6788         (cbrt_test): Likewise.
6789         (csqrt_test): Likewise.
6790         (erf_test): Likewise.
6791         (erfc_test): Likewise.
6792         (pow10_test): Likewise.
6793         (exp2_test): Likewise.
6794         (hypot_test): Likewise.
6795         (j0_test): Likewise.
6796         (j1_test): Likewise.
6797         (lgamma_test): Likewise.
6798         (gamma_test): Likewise.
6799         (sincos_test): Likewise.
6800         (tanh_test): Likewise.
6801         (y0_test): Likewise.
6802         (y1_test): Likewise.
6803         * sysdeps/i386/fpu/libm-test-ulps: Update.
6804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6805
6806 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6807
6808         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6809         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6810         and strcspn-ppc64 objects.
6811         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6812         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6813         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6814         multiarch strcspn for POWER7.
6815         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6816         multiarch strcspn for PPC64.
6817         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6818         ifunc selector.
6819         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6820         strcspn for POWER7.
6821
6822 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6823
6824         * math/gen-libm-test.pl (generate_testfile): Expect only function
6825         name as argument to AUTO_TESTS_* and pass results for all rounding
6826         modes to parse_args.
6827         (parse_auto_input): Separate inputs of automatic tests from
6828         outputs before storing in %auto_tests.
6829         * math/libm-test.inc (acos_test_data): Update call to
6830         AUTO_TESTS_f_f.
6831         (acos_test): Use ALL_RM_TEST.
6832         (acos_tonearest_test_data): Remove.
6833         (acos_test_tonearest): Likewise.
6834         (acos_towardzero_test_data): Likewise.
6835         (acos_test_towardzero): Likewise.
6836         (acos_downward_test_data): Likewise.
6837         (acos_test_downward): Likewise.
6838         (acos_upward_test_data): Likewise.
6839         (acos_test_upward): Likewise.
6840         (acosh_test_data): Update call to AUTO_TESTS_f_f.
6841         (asin_test_data): Likewise.
6842         (asin_test): Use ALL_RM_TEST.
6843         (asin_tonearest_test_data): Remove.
6844         (asin_test_tonearest): Likewise.
6845         (asin_towardzero_test_data): Likewise.
6846         (asin_test_towardzero): Likewise.
6847         (asin_downward_test_data): Likewise.
6848         (asin_test_downward): Likewise.
6849         (asin_upward_test_data): Likewise.
6850         (asin_test_upward): Likewise.
6851         (asinh_test_data): Update call to AUTO_TESTS_f_f.
6852         (atan_test_data): Likewise.
6853         (atanh_test_data): Likewise.
6854         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6855         (cabs_test_data): Update call to AUTO_TESTS_c_f.
6856         (carg_test_data): Likewise.
6857         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6858         (ccos_test_data): Update call to AUTO_TESTS_c_c.
6859         (ccosh_test_data): Likewise.
6860         (cexp_test_data): Likewise.
6861         (clog_test_data): Likewise.
6862         (clog10_test_data): Likewise.
6863         (cos_test_data): Update call to AUTO_TESTS_f_f.
6864         (cos_test): Use ALL_RM_TEST.
6865         (cos_tonearest_test_data): Remove.
6866         (cos_test_tonearest): Likewise.
6867         (cos_towardzero_test_data): Likewise.
6868         (cos_test_towardzero): Likewise.
6869         (cos_downward_test_data): Likewise.
6870         (cos_test_downward): Likewise.
6871         (cos_upward_test_data): Likewise.
6872         (cos_test_upward): Likewise.
6873         (cosh_test_data): Update call to AUTO_TESTS_f_f.
6874         (cosh_test): Use ALL_RM_TEST.
6875         (cosh_tonearest_test_data): Remove.
6876         (cosh_test_tonearest): Likewise.
6877         (cosh_towardzero_test_data): Likewise.
6878         (cosh_test_towardzero): Likewise.
6879         (cosh_downward_test_data): Likewise.
6880         (cosh_test_downward): Likewise.
6881         (cosh_upward_test_data): Likewise.
6882         (cosh_test_upward): Likewise.
6883         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6884         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6885         (ctan_test_data): Likewise.
6886         (ctan_test): Use ALL_RM_TEST.
6887         (ctan_tonearest_test_data): Remove.
6888         (ctan_test_tonearest): Likewise.
6889         (ctan_towardzero_test_data): Likewise.
6890         (ctan_test_towardzero): Likewise.
6891         (ctan_downward_test_data): Likewise.
6892         (ctan_test_downward): Likewise.
6893         (ctan_upward_test_data): Likewise.
6894         (ctan_test_upward): Likewise.
6895         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6896         (ctanh_test): Use ALL_RM_TEST.
6897         (ctanh_tonearest_test_data): Remove.
6898         (ctanh_test_tonearest): Likewise.
6899         (ctanh_towardzero_test_data): Likewise.
6900         (ctanh_test_towardzero): Likewise.
6901         (ctanh_downward_test_data): Likewise.
6902         (ctanh_test_downward): Likewise.
6903         (ctanh_upward_test_data): Likewise.
6904         (ctanh_test_upward): Likewise.
6905         (erf_test_data): Update call to AUTO_TESTS_f_f.
6906         (erfc_test_data): Likewise.
6907         (exp_test_data): Likewise.
6908         (exp_test): Use ALL_RM_TEST.
6909         (exp_tonearest_test_data): Remove.
6910         (exp_test_tonearest): Likewise.
6911         (exp_towardzero_test_data): Likewise.
6912         (exp_test_towardzero): Likewise.
6913         (exp_downward_test_data): Likewise.
6914         (exp_test_downward): Likewise.
6915         (exp_upward_test_data): Likewise.
6916         (exp_test_upward): Likewise.
6917         (exp10_test_data): Update call to AUTO_TESTS_f_f.
6918         (exp10_test): Use ALL_RM_TEST.
6919         (exp10_tonearest_test_data): Remove.
6920         (exp10_test_tonearest): Likewise.
6921         (exp10_towardzero_test_data): Likewise.
6922         (exp10_test_towardzero): Likewise.
6923         (exp10_downward_test_data): Likewise.
6924         (exp10_test_downward): Likewise.
6925         (exp10_upward_test_data): Likewise.
6926         (exp10_test_upward): Likewise.
6927         (exp2_test_data): Update call to AUTO_TESTS_f_f.
6928         (expm1_test_data): Likewise.
6929         (expm1_test): Use ALL_RM_TEST.
6930         (expm1_tonearest_test_data): Remove.
6931         (expm1_test_tonearest): Likewise.
6932         (expm1_towardzero_test_data): Likewise.
6933         (expm1_test_towardzero): Likewise.
6934         (expm1_downward_test_data): Likewise.
6935         (expm1_test_downward): Likewise.
6936         (expm1_upward_test_data): Likewise.
6937         (expm1_test_upward): Likewise.
6938         (fma_test_data): Update call to AUTO_TESTS_fff_f.
6939         (fma_test): Use ALL_RM_TEST.
6940         (fma_towardzero_test_data): Remove.
6941         (fma_test_towardzero): Likewise.
6942         (fma_downward_test_data): Likewise.
6943         (fma_test_downward): Likewise.
6944         (fma_upward_test_data): Likewise.
6945         (fma_test_upward): Likewise.
6946         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6947         (j0_test_data): Update call to AUTO_TESTS_f_f.
6948         (j1_test_data): Likewise.
6949         (jn_test_data): Update call to AUTO_TESTS_if_f.
6950         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6951         (log_test_data): Update call to AUTO_TESTS_f_f.
6952         (log10_test_data): Likewise.
6953         (log1p_test_data): Likewise.
6954         (log2_test_data): Likewise.
6955         (pow_test_data): Update call to AUTO_TESTS_ff_f.
6956         (pow_tonearest_test_data): Likewise.
6957         (sin_test_data): Update call to AUTO_TESTS_f_f.
6958         (sin_test): Use ALL_RM_TEST.
6959         (sin_tonearest_test_data): Remove.
6960         (sin_test_tonearest): Likewise.
6961         (sin_towardzero_test_data): Likewise.
6962         (sin_test_towardzero): Likewise.
6963         (sin_downward_test_data): Likewise.
6964         (sin_test_downward): Likewise.
6965         (sin_upward_test_data): Likewise.
6966         (sin_test_upward): Likewise.
6967         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6968         (sinh_test_data): Update call to AUTO_TESTS_f_f.
6969         (sinh_test): Use ALL_RM_TEST.
6970         (sinh_tonearest_test_data): Remove.
6971         (sinh_test_tonearest): Likewise.
6972         (sinh_towardzero_test_data): Likewise.
6973         (sinh_test_towardzero): Likewise.
6974         (sinh_downward_test_data): Likewise.
6975         (sinh_test_downward): Likewise.
6976         (sinh_upward_test_data): Likewise.
6977         (sinh_test_upward): Likewise.
6978         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6979         (sqrt_test): Use ALL_RM_TEST.
6980         (sqrt_tonearest_test_data): Remove.
6981         (sqrt_test_tonearest): Likewise.
6982         (sqrt_towardzero_test_data): Likewise.
6983         (sqrt_test_towardzero): Likewise.
6984         (sqrt_downward_test_data): Likewise.
6985         (sqrt_test_downward): Likewise.
6986         (sqrt_upward_test_data): Likewise.
6987         (sqrt_test_upward): Likewise.
6988         (tan_test_data): Update call to AUTO_TESTS_f_f.
6989         (tan_test): Use ALL_RM_TEST.
6990         (tan_tonearest_test_data): Remove.
6991         (tan_test_tonearest): Likewise.
6992         (tan_towardzero_test_data): Likewise.
6993         (tan_test_towardzero): Likewise.
6994         (tan_downward_test_data): Likewise.
6995         (tan_test_downward): Likewise.
6996         (tan_upward_test_data): Likewise.
6997         (tan_test_upward): Likewise.
6998         (tanh_test_data): Update call to AUTO_TESTS_f_f.
6999         (tgamma_test_data): Likewise.
7000         (y0_test_data): Likewise.
7001         (y1_test_data): Likewise.
7002         (yn_test_data): Update call to AUTO_TESTS_if_f.
7003         (main): Do not call removed functions.
7004
7005 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7006
7007         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7008         (ldexp_test_data): Remove.
7009         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
7010         scalbn_test_data.
7011         (scalb_test): Use ALL_RM_TEST.
7012
7013 2014-03-19  Andreas Schwab  <schwab@suse.de>
7014
7015         * nscd/nscd.service: Also invalidate netgroup cache on reload.
7016
7017 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7018
7019         [BZ #16649]
7020         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7021         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7022         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7023         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7024         (__ASSUME_PREADV): Undefine.
7025         (__ASSUME_PWRITEV): Likewise.
7026
7027 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7028
7029         * bits/mman-linux.h: Add comment about non-Linux use.
7030         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7031         bits/mman-linux.h resting place.
7032
7033         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7034         * bits/mman-linux.h: ... here.
7035
7036 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7037
7038         * conform/conformtest.pl: Add standard definition when calling C
7039         preprocessor on data files.
7040         (checknamespace): Remove unused variable.
7041
7042 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7043
7044         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7045         minus_oflow, plus_uflow and minus_uflow in expected results.
7046         * math/libm-test.inc (scalbn_test_data): Add more tests of
7047         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
7048         minus_uflow.
7049         (scalbn_test): Use ALL_RM_TEST.
7050         (scalbln_test_data): Add more tests of negative arguments.  Use
7051         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7052         (scalbln_test): Use ALL_RM_TEST.
7053
7054 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7055
7056         * scripts/abilist.awk: Ignore symbols marked with .hidden.
7057
7058 2014-03-18  Will Newton  <will.newton@linaro.org>
7059
7060         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7061         inaccurate comment.
7062
7063 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7064
7065         * Makerules [!subdir] (check-abi): Exit with error status if a
7066         test failed.
7067
7068 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7069
7070         * math/libm-test.inc (nearbyint_test_data): Include all tests used
7071         for rint.  Include results for all rounding modes.
7072         (nearbyint_test): Use ALL_RM_TEST.
7073         (rint_test_data): Include all tests used for nearbyint.
7074
7075 2014-03-17  Will Newton  <will.newton@linaro.org>
7076
7077         * nptl/sysdeps/pthread/pthread.h: Revert previous
7078         change.
7079
7080         * sysdeps/generic/ldsodefs.h: Revert previous
7081         change.
7082
7083         * libio/genops.c: Revert previous change.
7084         * libio/libioP.h: Likewise.
7085         * stdio-common/vfprintf.c: Likewise.
7086
7087         * sysdeps/generic/math_private.h: Revert previous
7088         change.
7089
7090         * sysdeps/generic/math_private.h: Check whether
7091         HAVE_RM_CTX is defined with #ifdef rather
7092         than #if.
7093
7094         * argp/argp-fmtstream.h: Check whether
7095         __STRICT_ANSI__ is defined with #ifdef rather
7096         than #if.
7097         * argp/argp.h: Likewise.
7098
7099         * libio/genops.c: Check whether
7100         _IO_JUMPS_OFFSET is defined with #ifdef rather
7101         than #if.
7102         * libio/libioP.h: Likewise.
7103         * stdio-common/vfprintf.c: Likewise.
7104
7105         * sysdeps/generic/ldsodefs.h: Check whether
7106         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7107         than #if.
7108
7109         * nptl/sysdeps/pthread/pthread.h: Check
7110         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7111         its value.
7112
7113 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7114
7115         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7116         setting O_APPEND.
7117         * libio/tst-ftell-active-handler.c (do_append_test): Add a
7118         test case.
7119
7120         [BZ #16680]
7121         * libio/fileops.c (_IO_file_open): Seek to end of file but
7122         don't cache the offset.
7123         (get_file_offset): Remove function.
7124         (do_ftell): Use cached offset when available.
7125         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7126         don't cache the offset.
7127         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7128         case.
7129         (do_one_test): Call it.
7130         (do_ftell_test): Fix up expected old offset for a+ mode.
7131         * libio/wfileops.c (do_ftell_wide): Used cached offset when
7132         available.
7133
7134         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7135         up test status with function return status.
7136         (do_write_test): Likewise.
7137         (do_append_test): Likewise.
7138
7139         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7140         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7141         Remove.
7142
7143 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7144
7145         * math/gen-libm-test.pl (parse_args): Handle results specified for
7146         each rounding mode separately.
7147         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7148         tests and results from lrint_tonearest_test_data,
7149         lrint_towardzero_test_data, lrint_downward_test_data and
7150         lrint_upward_test_data.
7151         (lrint_test): Use ALL_RM_TEST.
7152         (lrint_tonearest_test_data): Remove.
7153         (lrint_test_tonearest): Likewise.
7154         (lrint_towardzero_test_data): Likewise.
7155         (lrint_test_towardzero): Likewise.
7156         (lrint_downward_test_data): Likewise.
7157         (lrint_test_downward): Likewise.
7158         (lrint_upward_test_data): Likewise.
7159         (lrint_test_upward): Likewise.
7160         (llrint_test_data): Merge in per-rounding-mode tests and results
7161         from llrint_tonearest_test_data, llrint_towardzero_test_data,
7162         llrint_downward_test_data and llrint_upward_test_data.
7163         (llrint_test): Use ALL_RM_TEST.
7164         (llrint_tonearest_test_data): Remove.
7165         (llrint_test_tonearest): Likewise.
7166         (llrint_towardzero_test_data): Likewise.
7167         (llrint_test_towardzero): Likewise.
7168         (llrint_downward_test_data): Likewise.
7169         (llrint_test_downward): Likewise.
7170         (llrint_upward_test_data): Likewise.
7171         (llrint_test_upward): Likewise.
7172         (rint_test_data): Merge in per-rounding-mode tests and results
7173         from rint_tonearest_test_data, rint_towardzero_test_data,
7174         rint_downward_test_data and rint_upward_test_data.  Add
7175         per-rounding-mode results for tests not in those arrays.
7176         (rint_test): Use ALL_RM_TEST.
7177         (rint_tonearest_test_data): Remove.
7178         (rint_test_tonearest): Likewise.
7179         (rint_towardzero_test_data): Likewise.
7180         (rint_test_towardzero): Likewise.
7181         (rint_downward_test_data): Likewise.
7182         (rint_test_downward): Likewise.
7183         (rint_upward_test_data): Likewise.
7184         (rint_test_upward): Likewise.
7185         (main): Don't call removed functions.
7186
7187 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7188
7189         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7190         "Compiled on ..." crapola.  It is anti-useful.
7191
7192 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
7193
7194         * scripts/evaluate-test.sh: Handle fourth argument to determine
7195         whether test run should stop on failure.
7196         * Makeconfig (stop-on-test-failure): New variable.
7197         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7198         $(stop-on-test-failure).
7199         * Makefile (tests): Give a summary of results from testing and
7200         exit with failure status if they include an ERROR or FAIL.
7201         (xtests): Likewise.
7202         * manual/install.texi (Configuring and compiling): Mention
7203         stop-on-test-failure=y.
7204         * INSTALL: Regenerated.
7205
7206 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7207
7208         * scripts/versionlist.awk: New file.
7209         * Makerules [$(build-shared) = yes]
7210         (postclean-generated): Add Versions.def, not Versions.def.v and
7211         Versions.def.v.i.
7212         ($(common-objpfx)Versions.def.v.i): Target removed.
7213         ($(common-objpfx)Versions.def): New target.
7214         ($(common-objpfx)Versions.all): Depend on that rather that
7215         $(common-objpfx)Versions.def.v.
7216         * Versions.def: File removed.
7217
7218         * Makeconfig (+gccwarn): Add -Wundef.
7219         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7220         a dl-sysdep.h breaking its contract.
7221         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7222         * include/stackinfo.h: New file.
7223         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7224         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7225         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7226         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7227         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7228         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7229         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7230         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7231         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7232         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7233         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7234         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7235         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7236         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7237         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7238
7239 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7240
7241         [BZ #16707]
7242         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7243         implementation.
7244         * math/libm-test.inc (round_test_data): Add more tests.
7245
7246         [BZ #16706]
7247         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7248         implementation.
7249         * math/libm-test.inc (nearbyint_test_data): Add more tests.
7250
7251         [BZ #16701]
7252         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7253         implementation.
7254         * math/libm-test.inc (ceil_test_data): Add more tests.
7255
7256         * math/libm-test.inc (trunc_test_data): Add more tests related to
7257         BZ#16414.
7258
7259 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7260
7261         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7262         with #if rather than #ifdef.
7263         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7264
7265 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
7266
7267         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7268         first.  Disable AVX-512 GCC support if assembler doesn't support
7269         it.
7270         * sysdeps/x86_64/configure: Regenerated.
7271
7272 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
7273
7274         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7275         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7276         (__old_pthread_attr_setstack): Likewise.
7277         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7278         [!_STACK_GROWS_DOWN]: Likewise.
7279
7280 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
7281
7282         * config.make.in (have-bash2): Delete.
7283         * configure.ac (libc_cv_have_bash2): Delete.
7284         * configure: Regenerate.
7285         * elf/Makefile (common-ldd-rewrite): Rename to ...
7286         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
7287         (sh-ldd-rewrite): Delete.
7288         (bash-ldd-rewrite): Delete.
7289         (have-bash2): Delete checks.
7290         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7291         ldd-rewrite.
7292
7293         * config.make.in (have-ksh): Delete.
7294         (KSH): Delete.
7295         * configure.ac (libc_cv_have_ksh): Delete.
7296         * configure: Regenerate.
7297
7298         * elf/Makefile: Delete $(have-ksh) check.
7299         ($(objpfx)sotruss): Change KSH to BASH.
7300         * elf/sotruss.ksh: Rename to ...
7301         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
7302         function style to match POSIX.  Drop ksh vim mode setting.
7303
7304         * manual/time.texi (Specifying the Time Zone with TZ): Change
7305         Tuesday to Thursday.
7306
7307         * debug/tst-longjmp_chk2.c: Update header comment.
7308         (stackoverflow_handler): Add comment.  Call assert on pass value.
7309
7310 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
7311
7312         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7313         (HAVE_AVX512_ASM_SUPPORT): Likewise.
7314         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7315         (La_x86_64_vector): Add zmm.
7316         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7317         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7318         ($(objpfx)tst-audit10): New target.
7319         ($(objpfx)tst-audit10.out): Likewise.
7320         (tst-audit10-ENV): New.
7321         (AVX512-CFLAGS): Likewise.
7322         (CFLAGS-tst-audit10.c): Likewise.
7323         (CFLAGS-tst-auditmod10a.c): Likewise.
7324         (CFLAGS-tst-auditmod10b.c): Likewise.
7325         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7326         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7327         * sysdeps/x86_64/configure: Regenerated.
7328         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7329         AVX-512 zmm register support.
7330         (_dl_x86_64_save_sse): Likewise.
7331         (_dl_x86_64_restore_sse): Likewise.
7332         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7333         size vector registers.
7334         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7335         (ZMM_SIZE): Likewise.
7336         * sysdeps/x86_64/tst-audit10.c: New file.
7337         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7338         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7339
7340 2014-03-13  Roland McGrath  <roland@hack.frob.com>
7341
7342         * configure.ac (HAVE_EHDR_START): New check.
7343         * configure: Regenerated.
7344         * config.h.in (HAVE_EHDR_START): New #undef.
7345         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7346         assuming the lowest-addressed segment maps the start of the file.
7347
7348 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
7349
7350         * INSTALL: Regenerated.
7351
7352 2014-03-13  Will Newton  <will.newton@linaro.org>
7353
7354         * manual/setjmp.texi (System V contexts): Improve
7355         clarity and grammar of documentation.
7356
7357 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7358
7359         [BZ #16381]
7360         * elf/Makefile (tests): Add tst-pie2.
7361         (tests-pie): Add tst-pie2.
7362         * elf/tst-pie2.c: New file.
7363         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7364         for ET_EXEC.
7365         * elf/rtld.c (map_doit): Load executable as lt_executable.
7366         (dl_main): Likewise.
7367
7368 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
7369
7370         [BZ #16642]
7371         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7372         (__ASSUME_PSELECT): Undefine.
7373
7374 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7375
7376         [BZ #16689]
7377         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7378         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7379         static build.
7380         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7381         selector for static builds.
7382
7383 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7384
7385         [BZ #16695]
7386         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7387         key in the buffer.
7388
7389 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7390
7391         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7392         IFUNC selector for static builds.
7393
7394 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
7395
7396         * sysdeps/mips/math_private.h [__mips_hard_float]
7397         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7398         libc_feresetround_mips_ctx.
7399         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7400         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7401         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7402
7403         [BZ #16677]
7404         * math/s_nextafter.c (__nextafter): Do not return value from
7405         overflowing computation.
7406         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7407         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7408         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7409         Likewise.
7410         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7411         Likewise.
7412         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7413         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7414
7415 2014-03-11  Roland McGrath  <roland@hack.frob.com>
7416
7417         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7418         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7419         Move sfi_sp use from the load-multiple (that no longer sets sp) to
7420         the new mov targetting sp.
7421
7422 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7423
7424         [BZ #16683]
7425         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7426         Define it for static builds as well.
7427         (NO_BZERO_IMPL): Likewise.
7428
7429 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7430
7431         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7432         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7433         multiarch strspn for PPC64.
7434         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7435         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7436         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7437         (__libc_ifunc_impl_list): Likewise.
7438         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7439         multiarch optimizations
7440         * string/strspn.c (strspn): Using macro to redefine symbol name.
7441
7442 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7443             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7444
7445         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7446         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7447         multiarch strncat for PPC64.
7448         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7449         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7450         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7451         (__libc_ifunc_impl_list): Likewise.
7452         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7453         multiarch optimizations
7454
7455 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7456
7457         [BZ #16639]
7458         * nscd/nscd.service: Make service type forking.
7459
7460 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7461
7462         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7463         sign in non default rounding modes.
7464         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7465
7466 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
7467
7468         * math/libm-test.inc (ALL_RM_TEST): New macro.
7469         (ceil_test): Use ALL_RM_TEST.
7470         (cimag_test): Likewise.
7471         (conj_test): Likewise.
7472         (copysign_test): Likewise.
7473         (cproj_test): Likewise.
7474         (creal_test): Likewise.
7475         (fabs_test): Likewise.
7476         (floor_test): Likewise.
7477         (fmax_test): Likewise.
7478         (fmin_test): Likewise.
7479         (fmod_test): Likewise.
7480         (fpclassify_test): Likewise.
7481         (frexp_test): Likewise.
7482         (ilogb_test): Likewise.
7483         (isfinite_test): Likewise.
7484         (finite_test): Likewise.
7485         (isgreater_test): Likewise.
7486         (isgreaterequal_test): Likewise.
7487         (isinf_test): Likewise.
7488         (isless_test): Likewise.
7489         (islessequal_test): Likewise.
7490         (islessgreater_test): Likewise.
7491         (isnan_test): Likewise.
7492         (isnormal_test): Likewise.
7493         (issignaling_test): Likewise.
7494         (isunordered_test): Likewise.
7495         (logb_test): Likewise.
7496         (logb_downward_test_data): Remove.
7497         (logb_test_downward): Likewise.
7498         (lround_test): Use ALL_RM_TEST.
7499         (llround_test): Likewise.
7500         (modf_test): Likewise.
7501         (nexttoward_test): Likewise.
7502         (remainder_test): Likewise.
7503         (drem_test): Likewise.
7504         (remainder_tonearest_test_data): Likewise.
7505         (remainder_test_tonearest): Likewise.
7506         (drem_test_tonearest): Likewise.
7507         (remainder_towardzero_test_data): Likewise.
7508         (remainder_test_towardzero): Likewise.
7509         (drem_test_towardzero): Likewise.
7510         (remainder_downward_test_data): Likewise.
7511         (remainder_test_downward): Likewise.
7512         (drem_test_downward): Likewise.
7513         (remainder_upward_test_data): Likewise.
7514         (remainder_test_upward): Likewise.
7515         (drem_test_upward): Likewise.
7516         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
7517         (round_test): Use ALL_RM_TEST.
7518         (signbit_test): Likewise.
7519         (trunc_test): Likewise.
7520         (significand_test): Likewise.
7521         (main): Don't call removed functions.
7522
7523 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7524
7525         [BZ #16674]
7526         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7527         || __USE_XOPEN2K8].
7528         (ILL_ILLOPN): Likewise.
7529         (ILL_ILLADR): Likewise.
7530         (ILL_ILLTRP): Likewise.
7531         (ILL_PRVOPC): Likewise.
7532         (ILL_PRVREG): Likewise.
7533         (ILL_COPROC): Likewise.
7534         (ILL_BADSTK): Likewise.
7535         (FPE_INTDIV): Likewise.
7536         (FPE_INTOVF): Likewise.
7537         (FPE_FLTDIV): Likewise.
7538         (FPE_FLTOVF): Likewise.
7539         (FPE_FLTUND): Likewise.
7540         (FPE_FLTRES): Likewise.
7541         (FPE_FLTINV): Likewise.
7542         (FPE_FLTSUB): Likewise.
7543         (SEGV_MAPERR): Likewise.
7544         (SEGV_ACCERR): Likewise.
7545         (BUS_ADRALN): Likewise.
7546         (BUS_ADRERR): Likewise.
7547         (BUS_OBJERR): Likewise.
7548         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7549         (TRAP_TRACE): Likewise.
7550         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7551         __USE_XOPEN2K8].
7552         (CLD_KILLED): Likewise.
7553         (CLD_DUMPED): Likewise.
7554         (CLD_TRAPPED): Likewise.
7555         (CLD_STOPPED): Likewise.
7556         (CLD_CONTINUED): Likewise.
7557         (POLL_IN): Likewise.
7558         (POLL_OUT): Likewise.
7559         (POLL_MSG): Likewise.
7560         (POLL_ERR): Likewise.
7561         (POLL_PRI): Likewise.
7562         (POLL_HUP): Likewise.
7563         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7564         Likewise.
7565         (ILL_ILLOPN): Likewise.
7566         (ILL_ILLADR): Likewise.
7567         (ILL_ILLTRP): Likewise.
7568         (ILL_PRVOPC): Likewise.
7569         (ILL_PRVREG): Likewise.
7570         (ILL_COPROC): Likewise.
7571         (ILL_BADSTK): Likewise.
7572         (FPE_INTDIV): Likewise.
7573         (FPE_INTOVF): Likewise.
7574         (FPE_FLTDIV): Likewise.
7575         (FPE_FLTOVF): Likewise.
7576         (FPE_FLTUND): Likewise.
7577         (FPE_FLTRES): Likewise.
7578         (FPE_FLTINV): Likewise.
7579         (FPE_FLTSUB): Likewise.
7580         (SEGV_MAPERR): Likewise.
7581         (SEGV_ACCERR): Likewise.
7582         (BUS_ADRALN): Likewise.
7583         (BUS_ADRERR): Likewise.
7584         (BUS_OBJERR): Likewise.
7585         (BUS_MCEERR_AR): Likewise.
7586         (BUS_MCEERR_AO): Likewise.
7587         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7588         (TRAP_TRACE): Likewise.
7589         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7590         __USE_XOPEN2K8].
7591         (CLD_KILLED): Likewise.
7592         (CLD_DUMPED): Likewise.
7593         (CLD_TRAPPED): Likewise.
7594         (CLD_STOPPED): Likewise.
7595         (CLD_CONTINUED): Likewise.
7596         (POLL_IN): Likewise.
7597         (POLL_OUT): Likewise.
7598         (POLL_MSG): Likewise.
7599         (POLL_ERR): Likewise.
7600         (POLL_PRI): Likewise.
7601         (POLL_HUP): Likewise.
7602         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7603         (ILL_ILLOPN): Likewise.
7604         (ILL_ILLADR): Likewise.
7605         (ILL_ILLTRP): Likewise.
7606         (ILL_PRVOPC): Likewise.
7607         (ILL_PRVREG): Likewise.
7608         (ILL_COPROC): Likewise.
7609         (ILL_BADSTK): Likewise.
7610         (FPE_INTDIV): Likewise.
7611         (FPE_INTOVF): Likewise.
7612         (FPE_FLTDIV): Likewise.
7613         (FPE_FLTOVF): Likewise.
7614         (FPE_FLTUND): Likewise.
7615         (FPE_FLTRES): Likewise.
7616         (FPE_FLTINV): Likewise.
7617         (FPE_FLTSUB): Likewise.
7618         (SEGV_MAPERR): Likewise.
7619         (SEGV_ACCERR): Likewise.
7620         (BUS_ADRALN): Likewise.
7621         (BUS_ADRERR): Likewise.
7622         (BUS_OBJERR): Likewise.
7623         (BUS_MCEERR_AR): Likewise.
7624         (BUS_MCEERR_AO): Likewise.
7625         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7626         (TRAP_TRACE): Likewise.
7627         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7628         __USE_XOPEN2K8].
7629         (CLD_KILLED): Likewise.
7630         (CLD_DUMPED): Likewise.
7631         (CLD_TRAPPED): Likewise.
7632         (CLD_STOPPED): Likewise.
7633         (CLD_CONTINUED): Likewise.
7634         (POLL_IN): Likewise.
7635         (POLL_OUT): Likewise.
7636         (POLL_MSG): Likewise.
7637         (POLL_ERR): Likewise.
7638         (POLL_PRI): Likewise.
7639         (POLL_HUP): Likewise.
7640         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7641         Likewise.
7642         (ILL_ILLOPN): Likewise.
7643         (ILL_ILLADR): Likewise.
7644         (ILL_ILLTRP): Likewise.
7645         (ILL_PRVOPC): Likewise.
7646         (ILL_PRVREG): Likewise.
7647         (ILL_COPROC): Likewise.
7648         (ILL_BADSTK): Likewise.
7649         (ILL_BADIADDR): Likewise.
7650         (ILL_BREAK): Likewise.
7651         (FPE_INTDIV): Likewise.
7652         (FPE_INTOVF): Likewise.
7653         (FPE_FLTDIV): Likewise.
7654         (FPE_FLTOVF): Likewise.
7655         (FPE_FLTUND): Likewise.
7656         (FPE_FLTRES): Likewise.
7657         (FPE_FLTINV): Likewise.
7658         (FPE_FLTSUB): Likewise.
7659         (FPE_DECOVF): Likewise.
7660         (FPE_DECDIV): Likewise.
7661         (FPE_DECERR): Likewise.
7662         (FPE_INVASC): Likewise.
7663         (FPE_INVDEC): Likewise.
7664         (SEGV_MAPERR): Likewise.
7665         (SEGV_ACCERR): Likewise.
7666         (SEGV_PSTKOVF): Likewise.
7667         (BUS_ADRALN): Likewise.
7668         (BUS_ADRERR): Likewise.
7669         (BUS_OBJERR): Likewise.
7670         (BUS_MCEERR_AR): Likewise.
7671         (BUS_MCEERR_AO): Likewise.
7672         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7673         (TRAP_TRACE): Likewise.
7674         (TRAP_BRANCH): Likewise.
7675         (TRAP_HWBKPT): Likewise.
7676         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7677         __USE_XOPEN2K8].
7678         (CLD_KILLED): Likewise.
7679         (CLD_DUMPED): Likewise.
7680         (CLD_TRAPPED): Likewise.
7681         (CLD_STOPPED): Likewise.
7682         (CLD_CONTINUED): Likewise.
7683         (POLL_IN): Likewise.
7684         (POLL_OUT): Likewise.
7685         (POLL_MSG): Likewise.
7686         (POLL_ERR): Likewise.
7687         (POLL_PRI): Likewise.
7688         (POLL_HUP): Likewise.
7689         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7690         (ILL_ILLOPN): Likewise.
7691         (ILL_ILLADR): Likewise.
7692         (ILL_ILLTRP): Likewise.
7693         (ILL_PRVOPC): Likewise.
7694         (ILL_PRVREG): Likewise.
7695         (ILL_COPROC): Likewise.
7696         (ILL_BADSTK): Likewise.
7697         (FPE_INTDIV): Likewise.
7698         (FPE_INTOVF): Likewise.
7699         (FPE_FLTDIV): Likewise.
7700         (FPE_FLTOVF): Likewise.
7701         (FPE_FLTUND): Likewise.
7702         (FPE_FLTRES): Likewise.
7703         (FPE_FLTINV): Likewise.
7704         (FPE_FLTSUB): Likewise.
7705         (SEGV_MAPERR): Likewise.
7706         (SEGV_ACCERR): Likewise.
7707         (BUS_ADRALN): Likewise.
7708         (BUS_ADRERR): Likewise.
7709         (BUS_OBJERR): Likewise.
7710         (BUS_MCEERR_AR): Likewise.
7711         (BUS_MCEERR_AO): Likewise.
7712         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7713         (TRAP_TRACE): Likewise.
7714         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7715         __USE_XOPEN2K8].
7716         (CLD_KILLED): Likewise.
7717         (CLD_DUMPED): Likewise.
7718         (CLD_TRAPPED): Likewise.
7719         (CLD_STOPPED): Likewise.
7720         (CLD_CONTINUED): Likewise.
7721         (POLL_IN): Likewise.
7722         (POLL_OUT): Likewise.
7723         (POLL_MSG): Likewise.
7724         (POLL_ERR): Likewise.
7725         (POLL_PRI): Likewise.
7726         (POLL_HUP): Likewise.
7727         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7728         (ILL_ILLOPN): Likewise.
7729         (ILL_ILLADR): Likewise.
7730         (ILL_ILLTRP): Likewise.
7731         (ILL_PRVOPC): Likewise.
7732         (ILL_PRVREG): Likewise.
7733         (ILL_COPROC): Likewise.
7734         (ILL_BADSTK): Likewise.
7735         (FPE_INTDIV): Likewise.
7736         (FPE_INTOVF): Likewise.
7737         (FPE_FLTDIV): Likewise.
7738         (FPE_FLTOVF): Likewise.
7739         (FPE_FLTUND): Likewise.
7740         (FPE_FLTRES): Likewise.
7741         (FPE_FLTINV): Likewise.
7742         (FPE_FLTSUB): Likewise.
7743         (SEGV_MAPERR): Likewise.
7744         (SEGV_ACCERR): Likewise.
7745         (BUS_ADRALN): Likewise.
7746         (BUS_ADRERR): Likewise.
7747         (BUS_OBJERR): Likewise.
7748         (BUS_MCEERR_AR): Likewise.
7749         (BUS_MCEERR_AO): Likewise.
7750         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7751         (TRAP_TRACE): Likewise.
7752         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7753         __USE_XOPEN2K8].
7754         (CLD_KILLED): Likewise.
7755         (CLD_DUMPED): Likewise.
7756         (CLD_TRAPPED): Likewise.
7757         (CLD_STOPPED): Likewise.
7758         (CLD_CONTINUED): Likewise.
7759         (POLL_IN): Likewise.
7760         (POLL_OUT): Likewise.
7761         (POLL_MSG): Likewise.
7762         (POLL_ERR): Likewise.
7763         (POLL_PRI): Likewise.
7764         (POLL_HUP): Likewise.
7765         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7766         (ILL_ILLOPN): Likewise.
7767         (ILL_ILLADR): Likewise.
7768         (ILL_ILLTRP): Likewise.
7769         (ILL_PRVOPC): Likewise.
7770         (ILL_PRVREG): Likewise.
7771         (ILL_COPROC): Likewise.
7772         (ILL_BADSTK): Likewise.
7773         (FPE_INTDIV): Likewise.
7774         (FPE_INTOVF): Likewise.
7775         (FPE_FLTDIV): Likewise.
7776         (FPE_FLTOVF): Likewise.
7777         (FPE_FLTUND): Likewise.
7778         (FPE_FLTRES): Likewise.
7779         (FPE_FLTINV): Likewise.
7780         (FPE_FLTSUB): Likewise.
7781         (SEGV_MAPERR): Likewise.
7782         (SEGV_ACCERR): Likewise.
7783         (BUS_ADRALN): Likewise.
7784         (BUS_ADRERR): Likewise.
7785         (BUS_OBJERR): Likewise.
7786         (BUS_MCEERR_AR): Likewise.
7787         (BUS_MCEERR_AO): Likewise.
7788         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7789         (TRAP_TRACE): Likewise.
7790         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7791         __USE_XOPEN2K8].
7792         (CLD_KILLED): Likewise.
7793         (CLD_DUMPED): Likewise.
7794         (CLD_TRAPPED): Likewise.
7795         (CLD_STOPPED): Likewise.
7796         (CLD_CONTINUED): Likewise.
7797         (POLL_IN): Likewise.
7798         (POLL_OUT): Likewise.
7799         (POLL_MSG): Likewise.
7800         (POLL_ERR): Likewise.
7801         (POLL_PRI): Likewise.
7802         (POLL_HUP): Likewise.
7803         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7804         (ILL_ILLOPN): Likewise.
7805         (ILL_ILLADR): Likewise.
7806         (ILL_ILLTRP): Likewise.
7807         (ILL_PRVOPC): Likewise.
7808         (ILL_PRVREG): Likewise.
7809         (ILL_COPROC): Likewise.
7810         (ILL_BADSTK): Likewise.
7811         (ILL_DBLFLT): Likewise.
7812         (ILL_HARDWALL): Likewise.
7813         (FPE_INTDIV): Likewise.
7814         (FPE_INTOVF): Likewise.
7815         (FPE_FLTDIV): Likewise.
7816         (FPE_FLTOVF): Likewise.
7817         (FPE_FLTUND): Likewise.
7818         (FPE_FLTRES): Likewise.
7819         (FPE_FLTINV): Likewise.
7820         (FPE_FLTSUB): Likewise.
7821         (SEGV_MAPERR): Likewise.
7822         (SEGV_ACCERR): Likewise.
7823         (BUS_ADRALN): Likewise.
7824         (BUS_ADRERR): Likewise.
7825         (BUS_OBJERR): Likewise.
7826         (BUS_MCEERR_AR): Likewise.
7827         (BUS_MCEERR_AO): Likewise.
7828         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7829         (TRAP_TRACE): Likewise.
7830         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7831         __USE_XOPEN2K8].
7832         (CLD_KILLED): Likewise.
7833         (CLD_DUMPED): Likewise.
7834         (CLD_TRAPPED): Likewise.
7835         (CLD_STOPPED): Likewise.
7836         (CLD_CONTINUED): Likewise.
7837         (POLL_IN): Likewise.
7838         (POLL_OUT): Likewise.
7839         (POLL_MSG): Likewise.
7840         (POLL_ERR): Likewise.
7841         (POLL_PRI): Likewise.
7842         (POLL_HUP): Likewise.
7843         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7844         (ILL_ILLOPN): Likewise.
7845         (ILL_ILLADR): Likewise.
7846         (ILL_ILLTRP): Likewise.
7847         (ILL_PRVOPC): Likewise.
7848         (ILL_PRVREG): Likewise.
7849         (ILL_COPROC): Likewise.
7850         (ILL_BADSTK): Likewise.
7851         (FPE_INTDIV): Likewise.
7852         (FPE_INTOVF): Likewise.
7853         (FPE_FLTDIV): Likewise.
7854         (FPE_FLTOVF): Likewise.
7855         (FPE_FLTUND): Likewise.
7856         (FPE_FLTRES): Likewise.
7857         (FPE_FLTINV): Likewise.
7858         (FPE_FLTSUB): Likewise.
7859         (SEGV_MAPERR): Likewise.
7860         (SEGV_ACCERR): Likewise.
7861         (BUS_ADRALN): Likewise.
7862         (BUS_ADRERR): Likewise.
7863         (BUS_OBJERR): Likewise.
7864         (BUS_MCEERR_AR): Likewise.
7865         (BUS_MCEERR_AO): Likewise.
7866         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7867         (TRAP_TRACE): Likewise.
7868         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7869         __USE_XOPEN2K8].
7870         (CLD_KILLED): Likewise.
7871         (CLD_DUMPED): Likewise.
7872         (CLD_TRAPPED): Likewise.
7873         (CLD_STOPPED): Likewise.
7874         (CLD_CONTINUED): Likewise.
7875         (POLL_IN): Likewise.
7876         (POLL_OUT): Likewise.
7877         (POLL_MSG): Likewise.
7878         (POLL_ERR): Likewise.
7879         (POLL_PRI): Likewise.
7880         (POLL_HUP): Likewise.
7881         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7882         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7883
7884         [BZ #16670]
7885         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7886         before #include of <time.h>.
7887         [!__USE_XOPEN2K] (__need_timespec): Likewise.
7888         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7889         (test-xfail-UNIX98/sched.h/conform): Likewise.
7890
7891 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7892
7893         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7894         error absence of trapping exception support.
7895         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7896
7897 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7898
7899         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7900         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7901         * timezone/Makefile (testdata): Move definition above include of
7902         Rules.
7903         (test-zones): New variable.
7904         (tests-special): Add zone files.
7905         (build-testdata): Use $(evaluate-test).
7906
7907         * elf/Makefile (tests-special): Rename tests to end with .out.
7908         ($(objpfx)noload-mem): Likewise.
7909         ($(objpfx)tst-leaks1-mem): Likewise.
7910         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7911         * iconv/Makefile (xtests-special): Change test-iconvconfig to
7912         $(objpfx)test-iconvconfig.out.
7913         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
7914         set -e inside subshell and redirect output to file.
7915         * iconvdata/Makefile (generated): Rename tests to end with .out.
7916         Correct type.
7917         (tests-special): Rename tests to end with .out.
7918         ($(objpfx)mtrace-tst-loading): Likewise.
7919         * intl/Makefile (generated): Likewise.
7920         (tests-special): Likewise.
7921         ($(objpfx)mtrace-tst-gettext): Likewise.
7922         * misc/Makefile (generated): Likewise.
7923         (tests-special): Likewise.
7924         ($(objpfx)tst-error1-mem): Likewise.
7925         * nptl/Makefile (tests-special): Likewise.
7926         ($(objpfx)tst-stack3-mem): Likewise.
7927         (generated): Likewise.
7928         * posix/Makefile (generated): Likewise.
7929         (tests-special): Likewise.
7930         (xtests-special): Likewise.
7931         ($(objpfx)tst-fnmatch-mem): Likewise.
7932         ($(objpfx)bug-regex2-mem): Likewise.
7933         ($(objpfx)bug-regex14-mem): Likewise.
7934         ($(objpfx)bug-regex21-mem): Likewise.
7935         ($(objpfx)bug-regex31-mem): Likewise.
7936         ($(objpfx)tst-vfork3-mem): Likewise.
7937         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7938         ($(objpfx)tst-pcre-mem): Likewise.
7939         ($(objpfx)tst-boost-mem): Likewise.
7940         ($(objpfx)bug-ga2-mem): Likewise.
7941         ($(objpfx)bug-glob2-mem): Likewise.
7942         * resolv/Makefile (generate): Likewise.
7943         (tests-special): Likewise.
7944         (xtests-special): Likewise.
7945         (generated): Likewise.
7946         ($(objpfx)mtrace-tst-leaks): Likewise.
7947         ($(objpfx)mtrace-tst-leaks2): Likewise.
7948
7949         * scripts/merge-test-results.sh: New file.
7950         * Makefile (tests-special-notdir): New variable.
7951         (tests): Run merge-test-results.sh.
7952         (xtests): Likewise.
7953         * Rules (tests-special-notdir): New variable.
7954         (xtests-special-notdir): Likewise.
7955         (tests): Run merge-test-results.sh
7956         (xtests): Likewise.
7957
7958         * Makeconfig (test-xfail-name): New variable.
7959         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7960         compute variable name for expected failures.
7961         * conform/Makefile (conformtest-headers-data): New variable.
7962         (conformtest-standards): Likewise.
7963         (conformtest-headers-ISO): Likewise.
7964         (conformtest-headers-ISO99): Likewise.
7965         (conformtest-headers-ISO11): Likewise.
7966         (conformtest-headers-POSIX): Likewise.
7967         (conformtest-headers-XPG3): Likewise.
7968         (conformtest-headers-XPG4): Likewise.
7969         (conformtest-headers-UNIX98): Likewise.
7970         (conformtest-headers-XOPEN2K): Likewise.
7971         (conformtest-headers-POSIX2008): Likewise.
7972         (conformtest-headers-XOPEN2K8): Likewise.
7973         (conformtest-header-list-base): Likewise.
7974         (conformtest-header-list-tests): Likewise.
7975         (conformtest-header-base): Likewise.
7976         (conformtest-header-tests): Likewise.
7977         (tests-special): Add $(conformtest-header-list-tests).  If
7978         [$(fast-check) && !$(cross-compiling)], add
7979         $(conformtest-header-tests) instead of
7980         $(objpfx)run-conformtest.out.
7981         (generated): Add $(conformtest-header-list-base).  If
7982         [$(fast-check) && !$(cross-compiling)], add
7983         $(conformtest-header-base).  Remove previous setting.
7984         ($(conformtest-header-list-tests)): New target.
7985         (test-xfail-run-conformtest): Remove variable.
7986         ($(objpfx)run-conformtest.out): Remove target.
7987         (test-xfail-ISO11/complex.h/conform): New variable.
7988         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7989         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7990         (test-xfail-XPG3/varargs.h/conform): Likewise.
7991         (test-xfail-XPG4/varargs.h/conform): Likewise.
7992         (test-xfail-UNIX98/varargs.h/conform): Likewise.
7993         (test-xfail-XPG4/ndbm.h/conform): Likewise.
7994         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7995         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7996         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7997         (test-xfail-XPG3/fcntl.h/conform): Likewise.
7998         (test-xfail-XPG3/ftw.h/conform): Likewise.
7999         (test-xfail-XPG3/grp.h/conform): Likewise.
8000         (test-xfail-XPG3/langinfo.h/conform): Likewise.
8001         (test-xfail-XPG3/limits.h/conform): Likewise.
8002         (test-xfail-XPG3/pwd.h/conform): Likewise.
8003         (test-xfail-XPG3/search.h/conform): Likewise.
8004         (test-xfail-XPG3/signal.h/conform): Likewise.
8005         (test-xfail-XPG3/stdio.h/conform): Likewise.
8006         (test-xfail-XPG3/stdlib.h/conform): Likewise.
8007         (test-xfail-XPG3/string.h/conform): Likewise.
8008         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8009         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8010         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8011         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8012         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8013         (test-xfail-XPG3/sys/types.h/conform): Likewise.
8014         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8015         (test-xfail-XPG3/termios.h/conform): Likewise.
8016         (test-xfail-XPG3/time.h/conform): Likewise.
8017         (test-xfail-XPG3/unistd.h/conform): Likewise.
8018         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8019         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8020         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8021         (test-xfail-XPG4/netdb.h/conform): Likewise.
8022         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8023         (test-xfail-XPG4/signal.h/conform): Likewise.
8024         (test-xfail-XPG4/stdio.h/conform): Likewise.
8025         (test-xfail-XPG4/stdlib.h/conform): Likewise.
8026         (test-xfail-XPG4/stropts.h/conform): Likewise.
8027         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8028         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8029         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8030         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8031         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8032         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8033         (test-xfail-XPG4/sys/time.h/conform): Likewise.
8034         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8035         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8036         (test-xfail-XPG4/termios.h/conform): Likewise.
8037         (test-xfail-XPG4/ucontext.h/conform): Likewise.
8038         (test-xfail-XPG4/unistd.h/conform): Likewise.
8039         (test-xfail-XPG4/utmpx.h/conform): Likewise.
8040         (test-xfail-POSIX/sched.h/conform): Likewise.
8041         (test-xfail-POSIX/signal.h/conform): Likewise.
8042         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8043         (test-xfail-POSIX/tar.h/conform): Likewise.
8044         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8045         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8046         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8047         (test-xfail-UNIX98/netdb.h/conform): Likewise.
8048         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8049         (test-xfail-UNIX98/sched.h/conform): Likewise.
8050         (test-xfail-UNIX98/signal.h/conform): Likewise.
8051         (test-xfail-UNIX98/stdio.h/conform): Likewise.
8052         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8053         (test-xfail-UNIX98/stropts.h/conform): Likewise.
8054         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8055         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8056         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8057         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8058         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8059         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8060         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8061         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8062         (test-xfail-UNIX98/unistd.h/conform): Likewise.
8063         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8064         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8065         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8066         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8067         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8068         (test-xfail-XOPEN2K/math.h/conform): Likewise.
8069         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8070         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8071         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8072         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8073         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8074         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8075         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8076         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8077         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8078         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8079         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8080         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8081         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8082         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8083         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8084         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8085         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8086         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8087         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8088         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8089         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8090         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8091         (test-xfail-POSIX2008/signal.h/conform): Likewise.
8092         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8093         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8094         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8095         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8096         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8097         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8098         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8099         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8100         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8101         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8102         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8103         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8104         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8105         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8106         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8107         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8108         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8109         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8110         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8111         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8112         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8113         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8114         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8115         (conformtest-cc-flags): Likewise.
8116         ($(conformtest-header-tests): New target.
8117         * conform/check-header-lists.sh: New file.
8118         * conform/run-conformtest.sh: Remove.
8119
8120         * conform/conformtest.pl: Allow ' and \ in values given for
8121         constants.
8122         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8123         inclusion.
8124         [POSIX] (sys/types.h): Likewise.
8125         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8126         inclusion.
8127         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8128         inclusion.
8129         * conform/data/signal.h-data (SIGIO): Remove expectation.
8130         [XPG3] (SIGBUS): Do not expect.
8131         [POSIX || XPG3] (SIGPOLL): Likewise.
8132         [POSIX || XPG3] (SIGPROF): Likewise.
8133         [POSIX || XPG3] (SIGSYS): Likewise.
8134         [XPG3] (SIGTRAP): Likewise.
8135         [POSIX || XPG3] (SIGURG): Likewise.
8136         [POSIX || XPG3] (SIGVTALRM): Likewise.
8137         [POSIX || XPG3] (SIGXCPU): Likewise.
8138         [POSIX || XPG3] (SIGXFSZ): Likewise.
8139         [POSIX] (SA_SIGINFO): Expect.
8140         [XPG3] (siginfo_t): Do not expect type or contents.
8141         [POSIX] (si_pid): Do not expect element.
8142         [POSIX] (si_uid): Likewise.
8143         [POSIX] (si_addr): Likewise.
8144         [POSIX] (si_status): Likewise.
8145         [POSIX] (si_band): Likewise.
8146         [XPG4] (si_value): Likewise.
8147         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8148         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8149         [POSIX || XPG3] (ILL_ILLADR): Likewise.
8150         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8151         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8152         [POSIX || XPG3] (ILL_PRVREG): Likewise.
8153         [POSIX || XPG3] (ILL_COPROC): Likewise.
8154         [POSIX || XPG3] (ILL_BADSTK): Likewise.
8155         [POSIX || XPG3] (FPE_INTDIV): Likewise.
8156         [POSIX || XPG3] (FPE_INTOVF): Likewise.
8157         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8158         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8159         [POSIX || XPG3] (FPE_FLTUND): Likewise.
8160         [POSIX || XPG3] (FPE_FLTRES): Likewise.
8161         [POSIX || XPG3] (FPE_FLTINV): Likewise.
8162         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8163         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8164         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8165         [POSIX || XPG3] (BUS_ADRALN): Likewise.
8166         [POSIX || XPG3] (BUS_ADRERR): Likewise.
8167         [POSIX || XPG3] (BUS_OBJERR): Likewise.
8168         [POSIX || XPG3] (CLD_EXITED): Likewise.
8169         [POSIX || XPG3] (CLD_KILLED): Likewise.
8170         [POSIX || XPG3] (CLD_DUMPED): Likewise.
8171         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8172         [POSIX || XPG3] (CLD_STOPPED): Likewise.
8173         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8174         [POSIX || XPG3] (POLL_IN): Likewise.
8175         [POSIX || XPG3] (POLL_OUT): Likewise.
8176         [POSIX || XPG3] (POLL_MSG): Likewise.
8177         [POSIX || XPG3] (POLL_ERR): Likewise.
8178         [POSIX || XPG3] (POLL_PRI): Likewise.
8179         [POSIX || XPG3] (POLL_HUP): Likewise.
8180         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8181         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8182         (SIG*): Do not allow.
8183         [XPG3] (si_*): Likewise.
8184         [XPG3] (SI_*): Likewise.
8185         [XPG3 || XPG4] (sigev_*): Likewise.
8186         [XPG3 || XPG4] (SIGEV_*): Likewise.
8187         [XPG3 || XPG4] (sival_*): Likewise.
8188         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8189         [POSIX || XPG3] (BUS_*): Likewise.
8190         [POSIX || XPG3] (CLD_*): Likewise.
8191         [POSIX || XPG3] (FPE_*): Likewise.
8192         [POSIX || XPG3] (ILL_*): Likewise.
8193         [POSIX || XPG3] (POLL_*): Likewise.
8194         [POSIX || XPG3] (SEGV_*): Likewise.
8195         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8196         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8197         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8198         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8199         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8200         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8201         Specify type and value.
8202         (TVERSLEN): Likewise.
8203         (REGTYPE): Likewise.
8204         (AREGTYPE): Likewise.
8205         (LNKTYPE): Likewise.
8206         (SYMTYPE): Likewise.
8207         (CHRTYPE): Likewise.
8208         (BLKTYPE): Likewise.
8209         (DIRTYPE): Likewise.
8210         (FIFOTYPE): Likewise.
8211         (CONTTYPE): Likewise.
8212         (TSUID): Likewise.
8213         (TSGID): Likewise.
8214         (TSVTX): Likewise.
8215         (TUREAD): Likewise.
8216         (TUWRITE): Likewise.
8217         (TUEXEC): Likewise.
8218         (TGREAD): Likewise.
8219         (TGWRITE): Likewise.
8220         (TGEXEC): Likewise.
8221         (TOREAD): Likewise.
8222         (TOWRITE): Likewise.
8223         (TOEXEC): Likewise.
8224         [POSIX] (TSVTX): Expect constant.
8225
8226 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
8227
8228         * Makefile (tests): Change dependencies to ....
8229         (tests-special): ... additions to this variable.
8230         (tests): Depend on $(tests-special).
8231         * Makerules (check-abi-list): New variable.
8232         (check-abi): Depend on $(check-abi-list).
8233         [$(subdir) = elf] (tests-special): Add
8234         $(objpfx)check-abi-libc.out.
8235         [$(build-shared) = yes && subdir] (tests-special): Add
8236         $(check-abi-list).
8237         [$(build-shared) = yes && subdir] (tests): Do not depend on
8238         check-abi.
8239         * Rules (tests): Depend on $(tests-special).
8240         (xtests): Depend on $(xtests-special).
8241         * catgets/Makefile (tests): Change dependencies to ....
8242         (tests-special): ... additions to this variable.
8243         * conform/Makefile (tests): Change dependencies to ....
8244         (tests-special): ... additions to this variable.
8245         * elf/Makefile (tests): Change dependencies to ....
8246         (tests-special): ... additions to this variable.
8247         * grp/Makefile (tests): Change dependencies to ....
8248         (tests-special): ... additions to this variable.
8249         * iconv/Makefile (xtests): Change dependencies to ....
8250         (xtests-special): ... additions to this variable.
8251         * iconvdata/Makefile (tests): Change dependencies to ....
8252         (tests-special): ... additions to this variable.
8253         * intl/Makefile (tests): Change dependencies to ....
8254         (tests-special): ... additions to this variable.  Also add
8255         $(objpfx)tst-gettext.out.
8256         * io/Makefile (tests): Change dependencies to ....
8257         (tests-special): ... additions to this variable.
8258         * libio/Makefile (tests): Change dependencies to ....
8259         (tests-special): ... additions to this variable.
8260         * malloc/Makefile (tests): Change dependencies to ....
8261         (tests-special): ... additions to this variable.
8262         * misc/Makefile (tests): Change dependencies to ....
8263         (tests-special): ... additions to this variable.
8264         * nptl/Makefile (tests): Change dependencies to ....
8265         (tests-special): ... additions to this variable.
8266         * nptl_db/Makefile (tests): Change dependencies to ....
8267         (tests-special): ... additions to this variable.
8268         * posix/Makefile (tests): Change dependencies to ....
8269         (tests-special): ... additions to this variable.
8270         (xtests): Change dependencies to ....
8271         (xtests-special): ... additions to this variable.
8272         * resolv/Makefile (tests): Change dependencies to ....
8273         (tests-special): ... additions to this variable.
8274         (xtests): Change dependencies to ....
8275         (xtests-special): ... additions to this variable.
8276         * stdio-common/Makefile (tests): Change dependencies to ....
8277         (tests-special): ... additions to this variable.
8278         (do-tst-unbputc): Remove target.
8279         (do-tst-printf): Likewise.
8280         * stdlib/Makefile (tests): Change dependencies to ....
8281         (tests-special): ... additions to this variable.
8282         * string/Makefile (tests): Change dependencies to ....
8283         (tests-special): ... additions to this variable.
8284         * sysdeps/x86/Makefile (tests): Change dependencies to ....
8285         (tests-special): ... additions to this variable.
8286
8287         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8288         whole file.
8289         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8290         whole file.
8291         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8292         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8293
8294         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8295         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8296         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8297         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8298         * conform/data/libgen.h-data [XPG3]: Likewise.
8299         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8300         * conform/data/ndbm.h-data [XPG3]: Likewise.
8301         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8302         * conform/data/netdb.h-data [XPG3]: Likewise.
8303         * conform/data/netinet/in.h-data [XPG3]: Likewise.
8304         * conform/data/poll.h-data [XPG3]: Likewise.
8305         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8306         * conform/data/strings.h-data [XPG3]: Likewise.
8307         * conform/data/stropts.h-data [XPG3]: Likewise.
8308         * conform/data/sys/mman.h-data [XPG3]: Likewise.
8309         * conform/data/sys/resource.h-data [XPG3]: Likewise.
8310         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8311         Likewise.
8312         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8313         * conform/data/sys/time.h-data [XPG3]: Likewise.
8314         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8315         * conform/data/sys/uio.h-data [XPG3]: Likewise.
8316         * conform/data/sys/un.h-data [XPG3]: Likewise.
8317         * conform/data/syslog.h-data [XPG3]: Likewise.
8318         * conform/data/ucontext.h-data [XPG3]: Likewise.
8319         * conform/data/utmpx.h-data [XPG3]: Likewise.
8320         * conform/data/varargs.h-data [UNIX98]: Enable file.
8321
8322         * manual/Makefile (INSTALL_INFO): Remove variable setting.
8323
8324         * math/libm-test.inc (struct test_f_f_data): Move expected results
8325         into structure for each rounding mode.
8326         (struct test_ff_f_data): Likewise.
8327         (struct test_ff_f_data_nexttoward): Likewise.
8328         (struct test_fi_f_data): Likewise.
8329         (struct test_fl_f_data): Likewise.
8330         (struct test_if_f_data): Likewise.
8331         (struct test_fff_f_data): Likewise.
8332         (struct test_c_f_data): Likewise.
8333         (struct test_f_f1_data): Likewise.
8334         (struct test_fF_f1_data): Likewise.
8335         (struct test_ffI_f1_data): Likewise.
8336         (struct test_c_c_data): Likewise.
8337         (struct test_cc_c_data): Likewise.
8338         (struct test_f_i_data): Likewise.
8339         (struct test_ff_i_data): Likewise.
8340         (struct test_f_l_data): Likewise.
8341         (struct test_f_L_data): Likewise.
8342         (struct test_fFF_11_data): Likewise.
8343         (RM_): New macro.
8344         (RM_FE_DOWNWARD): Likewise.
8345         (RM_FE_TONEAREST): Likewise.
8346         (RM_FE_TOWARDZERO): Likewise.
8347         (RM_FE_UPWARD): Likewise.
8348         (RUN_TEST_LOOP_f_f): Update references to expected results.
8349         (RUN_TEST_LOOP_2_f): Likewise.
8350         (RUN_TEST_LOOP_fff_f): Likewise.
8351         (RUN_TEST_LOOP_c_f): Likewise.
8352         (RUN_TEST_LOOP_f_f1): Likewise.
8353         (RUN_TEST_LOOP_fF_f1): Likewise.
8354         (RUN_TEST_LOOP_fI_f1): Likewise.
8355         (RUN_TEST_LOOP_ffI_f1): Likewise.
8356         (RUN_TEST_LOOP_c_c): Likewise.
8357         (RUN_TEST_LOOP_cc_c): Likewise.
8358         (RUN_TEST_LOOP_f_i): Likewise.
8359         (RUN_TEST_LOOP_f_i_tg): Likewise.
8360         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8361         (RUN_TEST_LOOP_f_b): Likewise.
8362         (RUN_TEST_LOOP_f_b_tg): Likewise.
8363         (RUN_TEST_LOOP_f_l): Likewise.
8364         (RUN_TEST_LOOP_f_L): Likewise.
8365         (RUN_TEST_LOOP_fFF_11): Likewise.
8366         * math/gen-libm-test.pl (parse_args): Output four copies of
8367         expected results for each test.
8368
8369         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8370         (__ASSUME_UTIMES): Remove.
8371         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8372         (__ASSUME_UTIMES): Likewise.
8373
8374         * math/gen-auto-libm-tests.c: Update comment on output format.
8375         (output_for_one_input_case): Generate before-rounding and
8376         after-rounding information as conditions on output flags not
8377         floating-point format.
8378         * math/auto-libm-test-out: Regenerated.
8379         * math/gen-libm-test.pl (cond_value): New function.
8380         (or_cond_value): Use cond_value.
8381         (generate_testfile): Handle conditional exceptions.
8382
8383 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
8384
8385         * math/libm-test.inc (max_valid_error): New variable.
8386         (init_max_error): Take new argument specifying whether function
8387         results are exactly determined.  Set max_valid_error and bound
8388         other variables for errors based on this argument.
8389         (set_max_error): Do not record results above max_valid_error.
8390         (check_float_internal): Only accept errors of up to 0.5ulps if
8391         also at most max_valid_error.
8392         (START): Take new argument EXACT and pass it to init_max_error.
8393         (acos_test): Update call to START.
8394         (acos_test_tonearest): Likewise.
8395         (acos_test_towardzero): Likewise.
8396         (acos_test_downward): Likewise.
8397         (acos_test_upward): Likewise.
8398         (acosh_test): Likewise.
8399         (asin_test): Likewise.
8400         (asin_test_tonearest): Likewise.
8401         (asin_test_towardzero): Likewise.
8402         (asin_test_downward): Likewise.
8403         (asin_test_upward): Likewise.
8404         (asinh_test): Likewise.
8405         (atan_test): Likewise.
8406         (atanh_test): Likewise.
8407         (atan2_test): Likewise.
8408         (cabs_test): Likewise.
8409         (cacos_test): Likewise.
8410         (cacosh_test): Likewise.
8411         (carg_test): Likewise.
8412         (casin_test): Likewise.
8413         (casinh_test): Likewise.
8414         (catan_test): Likewise.
8415         (catanh_test): Likewise.
8416         (cbrt_test): Likewise.
8417         (ccos_test): Likewise.
8418         (ccosh_test): Likewise.
8419         (ceil_test): Likewise.
8420         (cexp_test): Likewise.
8421         (cimag_test): Likewise.
8422         (clog_test): Likewise.
8423         (clog10_test): Likewise.
8424         (conj_test): Likewise.
8425         (copysign_test): Likewise.
8426         (cos_test): Likewise.
8427         (cos_test_tonearest): Likewise.
8428         (cos_test_towardzero): Likewise.
8429         (cos_test_downward): Likewise.
8430         (cos_test_upward): Likewise.
8431         (cosh_test): Likewise.
8432         (cosh_test_tonearest): Likewise.
8433         (cosh_test_towardzero): Likewise.
8434         (cosh_test_downward): Likewise.
8435         (cosh_test_upward): Likewise.
8436         (cpow_test): Likewise.
8437         (cproj_test): Likewise.
8438         (creal_test): Likewise.
8439         (csin_test): Likewise.
8440         (csinh_test): Likewise.
8441         (csqrt_test): Likewise.
8442         (ctan_test): Likewise.
8443         (ctan_test_tonearest): Likewise.
8444         (ctan_test_towardzero): Likewise.
8445         (ctan_test_downward): Likewise.
8446         (ctan_test_upward): Likewise.
8447         (ctanh_test): Likewise.
8448         (ctanh_test_tonearest): Likewise.
8449         (ctanh_test_towardzero): Likewise.
8450         (ctanh_test_downward): Likewise.
8451         (ctanh_test_upward): Likewise.
8452         (erf_test): Likewise.
8453         (erfc_test): Likewise.
8454         (exp_test): Likewise.
8455         (exp_test_tonearest): Likewise.
8456         (exp_test_towardzero): Likewise.
8457         (exp_test_downward): Likewise.
8458         (exp_test_upward): Likewise.
8459         (exp10_test): Likewise.
8460         (exp10_test_tonearest): Likewise.
8461         (exp10_test_towardzero): Likewise.
8462         (exp10_test_downward): Likewise.
8463         (exp10_test_upward): Likewise.
8464         (pow10_test): Likewise.
8465         (exp2_test): Likewise.
8466         (expm1_test): Likewise.
8467         (expm1_test_tonearest): Likewise.
8468         (expm1_test_towardzero): Likewise.
8469         (expm1_test_downward): Likewise.
8470         (expm1_test_upward): Likewise.
8471         (fabs_test): Likewise.
8472         (fdim_test): Likewise.
8473         (floor_test): Likewise.
8474         (fma_test): Likewise.
8475         (fma_test_towardzero): Likewise.
8476         (fma_test_downward): Likewise.
8477         (fma_test_upward): Likewise.
8478         (fmax_test): Likewise.
8479         (fmin_test): Likewise.
8480         (fmod_test): Likewise.
8481         (fpclassify_test): Likewise.
8482         (frexp_test): Likewise.
8483         (hypot_test): Likewise.
8484         (ilogb_test): Likewise.
8485         (isfinite_test): Likewise.
8486         (finite_test): Likewise.
8487         (isgreater_test): Likewise.
8488         (isgreaterequal_test): Likewise.
8489         (isinf_test): Likewise.
8490         (isless_test): Likewise.
8491         (islessequal_test): Likewise.
8492         (islessgreater_test): Likewise.
8493         (isnan_test): Likewise.
8494         (isnormal_test): Likewise.
8495         (issignaling_test): Likewise.
8496         (isunordered_test): Likewise.
8497         (j0_test): Likewise.
8498         (j1_test): Likewise.
8499         (jn_test): Likewise.
8500         (ldexp_test): Likewise.
8501         (lgamma_test): Likewise.
8502         (gamma_test): Likewise.
8503         (lrint_test): Likewise.
8504         (lrint_test_tonearest): Likewise.
8505         (lrint_test_towardzero): Likewise.
8506         (lrint_test_downward): Likewise.
8507         (lrint_test_upward): Likewise.
8508         (llrint_test): Likewise.
8509         (llrint_test_tonearest): Likewise.
8510         (llrint_test_towardzero): Likewise.
8511         (llrint_test_downward): Likewise.
8512         (llrint_test_upward): Likewise.
8513         (log_test): Likewise.
8514         (log10_test): Likewise.
8515         (log1p_test): Likewise.
8516         (log2_test): Likewise.
8517         (logb_test): Likewise.
8518         (logb_test_downward): Likewise.
8519         (lround_test): Likewise.
8520         (llround_test): Likewise.
8521         (modf_test): Likewise.
8522         (nearbyint_test): Likewise.
8523         (nextafter_test): Likewise.
8524         (nexttoward_test): Likewise.
8525         (pow_test): Likewise.
8526         (pow_test_tonearest): Likewise.
8527         (pow_test_towardzero): Likewise.
8528         (pow_test_downward): Likewise.
8529         (pow_test_upward): Likewise.
8530         (remainder_test): Likewise.
8531         (drem_test): Likewise.
8532         (remainder_test_tonearest): Likewise.
8533         (drem_test_tonearest): Likewise.
8534         (remainder_test_towardzero): Likewise.
8535         (drem_test_towardzero): Likewise.
8536         (remainder_test_downward): Likewise.
8537         (drem_test_downward): Likewise.
8538         (remainder_test_upward): Likewise.
8539         (drem_test_upward): Likewise.
8540         (remquo_test): Likewise.
8541         (rint_test): Likewise.
8542         (rint_test_tonearest): Likewise.
8543         (rint_test_towardzero): Likewise.
8544         (rint_test_downward): Likewise.
8545         (rint_test_upward): Likewise.
8546         (round_test): Likewise.
8547         (scalb_test): Likewise.
8548         (scalbn_test): Likewise.
8549         (scalbln_test): Likewise.
8550         (signbit_test): Likewise.
8551         (sin_test): Likewise.
8552         (sin_test_tonearest): Likewise.
8553         (sin_test_towardzero): Likewise.
8554         (sin_test_downward): Likewise.
8555         (sin_test_upward): Likewise.
8556         (sincos_test): Likewise.
8557         (sinh_test): Likewise.
8558         (sinh_test_tonearest): Likewise.
8559         (sinh_test_towardzero): Likewise.
8560         (sinh_test_downward): Likewise.
8561         (sinh_test_upward): Likewise.
8562         (sqrt_test): Likewise.
8563         (sqrt_test_tonearest): Likewise.
8564         (sqrt_test_towardzero): Likewise.
8565         (sqrt_test_downward): Likewise.
8566         (sqrt_test_upward): Likewise.
8567         (tan_test): Likewise.
8568         (tan_test_tonearest): Likewise.
8569         (tan_test_towardzero): Likewise.
8570         (tan_test_downward): Likewise.
8571         (tan_test_upward): Likewise.
8572         (tanh_test): Likewise.
8573         (tgamma_test): Likewise.
8574         (trunc_test): Likewise.
8575         (y0_test): Likewise.
8576         (y1_test): Likewise.
8577         (yn_test): Likewise.
8578         (significand_test): Likewise.
8579
8580         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8581         individual tests in comment.
8582         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8583         (prev_max_error): New variable.
8584         (prev_real_max_error): Likewise.
8585         (prev_imag_max_error): Likewise.
8586         (compare_ulp_data): Don't refer to test names in comment.
8587         (find_test_ulps): Remove function.
8588         (find_function_ulps): Likewise.
8589         (find_complex_function_ulps): Likewise.
8590         (init_max_error): Take function name as argument.  Look up ulps
8591         for that function.
8592         (print_ulps): Remove function.
8593         (print_max_error): Use prev_max_error instead of calling
8594         find_function_ulps.
8595         (print_complex_max_error): Use prev_real_max_error and
8596         prev_imag_max_error instead of calling find_complex_function_ulps.
8597         (check_float_internal): Take max_ulp parameter instead of calling
8598         find_test_ulps.  Don't call print_ulps.
8599         (check_float): Update call to check_float_internal.
8600         (check_complex): Update calls to check_float_internal.
8601         (START): Pass argument to init_max_error.
8602         * math/gen-libm-test.pl (%results): Don't include "kind"
8603         information.
8604         (parse_ulps): Don't handle ulps of individual tests.
8605         (print_ulps_file): Likewise.
8606         (output_ulps): Likewise.
8607         * math/README.libm-test: Update.
8608         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8609         individual tests.
8610         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8611         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8612         * sysdeps/arm/libm-test-ulps: Likewise.
8613         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8614         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8615         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8616         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8617         * sysdeps/microblaze/libm-test-ulps: Likewise.
8618         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8619         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8620         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8621         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8622         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8623         * sysdeps/sh/libm-test-ulps: Likewise.
8624         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8625         * sysdeps/tile/libm-test-ulps: Likewise.
8626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8627
8628 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
8629
8630         * math/libm-test.inc (print_complex_max_error): Check separately
8631         whether real and imaginary errors are within allowed range and
8632         pass 0 to print_complex_function_ulps instead of value within
8633         allowed range.
8634
8635 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8636
8637         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8638         formatting.
8639         (get_handles_fopen): Likewise.
8640         (do_write_test): Likewise.
8641
8642         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8643
8644         * libio/fileops.c (do_ftell): Use cached offset when
8645         available.
8646         * libio/iofwide.c (do_ftell_wide): Likewise.
8647         * libio/iofdopen.c (_IO_new_fdopen): Don't use
8648         _IO_file_attach.
8649         * libio/wfileops.c (_IO_fwide): Don't cache offset.
8650
8651         [BZ #16532]
8652         * libio/libioP.h (get_file_offset): New function.
8653         * libio/fileops.c (get_file_offset): Likewise.
8654         (do_ftell): Likewise.
8655         (_IO_new_file_seekoff): Split out ftell logic.
8656         * libio/wfileops.c (do_ftell_wide): Likewise.
8657         (_IO_wfile_seekoff): Split out ftell logic.
8658         * libio/tst-ftell-active-handler.c: New test case.
8659         * libio/Makefile (tests): Add it.
8660
8661 2014-03-03  Roland McGrath  <roland@hack.frob.com>
8662
8663         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8664         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8665
8666 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8667
8668         [BZ #16639]
8669         * nscd/connections.c (nscd_init): Call do_exit.
8670         (start_threads): Call do_exit and notify_parent.
8671         (begin_drop_privileges): Call do_exit.
8672         (finish_drop_privileges): Likewise.
8673         * nscd/selinux.c (preserve_capabilities): Likewise.
8674         (install_real_capabilities): Likewise.
8675         (nscd_selinux_enabled): Likewise.
8676         (avc_create_thread): Likewise.
8677         (avc_alloc_lock): Likewise.
8678         (nscd_avc_init): Likewise.
8679         * nscd/nscd.c (parent_fd): New static variable.
8680         (main): Create a pipe between parent and child processes.
8681         Skip closing parent_fd.
8682         (monitor_child): New function.
8683         (do_exit): Likewise.
8684         (notify_parent): Likewise.
8685         * nscd/nscd.h (notify_parent): Likewise.
8686         (do_exit): Likewise.
8687
8688 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
8689
8690         * malloc/malloc.c (__libc_calloc): Revert last change.
8691
8692 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8693
8694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8695
8696 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8697
8698         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8699         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8700         implementation.
8701         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8702         (__libc_ifunc_impl_list): Likewise.
8703         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8704         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8705         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8706         * string/strrchr.c: Define STRRCHR.
8707
8708 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
8709
8710         * benchtest/bench-strtok.c (simple_strtok): Delete.
8711         (strtok_string): Use as benchmark.
8712         * string/strtok (STRTOK): New macro.
8713
8714 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
8715
8716         * manual/threads.texi: Add header and standard comments to all
8717         functions.
8718
8719         * elf/dl-lookup.c (check_match): New function.
8720         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8721         (do_lookup_x): Remove nested function check_match. Use non-nested
8722         function check_match.
8723
8724 2014-02-28  Roland McGrath  <roland@hack.frob.com>
8725
8726         * csu/Makefile (generated, before-compile): Use += rather than =.
8727         * catgets/Makefile (generated, generated-dirs): Likewise.
8728         * debug/Makefile (generated): Likewise.
8729         * dlfcn/Makefile (generated): Likewise.
8730         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8731         * iconvdata/Makefile (before-compile, generated): Likewise.
8732         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8733         * libio/Makefile (generated): Likewise.
8734         * malloc/Makefile (generated): Likewise.
8735         * manual/Makefile (generated, generated-dirs): Likewise.
8736         * misc/Makefile (generated): Likewise.
8737         * posix/Makefile (generated): Likewise.
8738         * resolv/Makefile (generated): Likewise.
8739         * sunrpc/Makefile (generated, generated-dirs): Likewise.
8740         * timezone/Makefile (generated, generated-dirs): Likewise.
8741
8742         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8743
8744 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8745
8746         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8747         power8 implementation.
8748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8749         file: POWER8 llround ifunc implementation.
8750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8751         (__lllround): Add POWER8 implementation.
8752         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8753         POWER8 llround implementation.
8754
8755         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8756         power8 implementation.
8757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8758         file: POWER8 llrint ifunc implementation.
8759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8760         Add POWER8 implementation.
8761         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8762         POWER8 llrint implementation.
8763
8764         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8765         power8 implementation.
8766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8767         file: POWER8 finite ifunc implementation.
8768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8769         Add POWER8 implementation.
8770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8771         Likewise.
8772         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8773         POWER8 finite implementation.
8774         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8775
8776         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8777         power8 implementation.
8778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8779         file: POWER8 isinf ifunc implementation.
8780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8781         POWER8 implementation.
8782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8783         Likewise.
8784         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8785         isinf implementation.
8786         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8787
8788         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8789         (INIT_ARCH): Add hwcap2 initialization.
8790         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8791         power8 implementation.
8792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8793         file: POWER8 isnan ifunc implementation.
8794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8795         POWER8 implementation.
8796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8797         Likewise.
8798         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8799         isnan implementation.
8800         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8801
8802 2014-02-27  Joey Ye  <joey.ye@arm.com>
8803
8804         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8805         (_FP_NANFRAC_Q): Set to zero.
8806
8807 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8808
8809         [BZ #16623]
8810         * math/auto-libm-test-in: New test inputs.
8811         * math/auto-libm-test-out: Regenerate.
8812         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8813         and DA.
8814         (__cos): Likewise.
8815         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8816
8817 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
8818
8819         * scripts/evaluate-test.sh: Take new argument indicating whether
8820         failure is expected.
8821         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8822         indicating whether failure is expected.
8823         * conform/Makefile (test-xfail-run-conformtest): New variable.
8824         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8825         level.
8826         * posix/Makefile (test-xfail-annexc): New variable.
8827         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8828
8829 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
8830
8831         * argp/Makefile: Include Makeconfig immediately after defining
8832         subdir.
8833         * assert/Makefile: Likewise.
8834         * benchtests/Makefile: Likewise.
8835         * catgets/Makefile: Likewise.
8836         * conform/Makefile: Likewise.
8837         * crypt/Makefile: Likewise.
8838         * csu/Makefile: Likewise.
8839         (all): Remove target.
8840         * ctype/Makefile: Include Makeconfig immediately after defining
8841         subdir.
8842         * debug/Makefile: Likewise.
8843         * dirent/Makefile: Likewise.
8844         * dlfcn/Makefile: Likewise.
8845         * gmon/Makefile: Likewise.
8846         * gnulib/Makefile: Likewise.
8847         * grp/Makefile: Likewise.
8848         * gshadow/Makefile: Likewise.
8849         * hesiod/Makefile: Likewise.
8850         * hurd/Makefile: Likewise.
8851         (all): Remove target.
8852         * iconvdata/Makefile: Include Makeconfig immediately after
8853         defining subdir.
8854         * inet/Makefile: Likewise.
8855         * intl/Makefile: Likewise.
8856         * io/Makefile: Likewise.
8857         * libio/Makefile: Likewise.
8858         (all): Remove target.
8859         * locale/Makefile: Include Makeconfig immediately after defining
8860         subdir.
8861         * login/Makefile: Likewise.
8862         * mach/Makefile: Likewise.
8863         (all): Remove target.
8864         * malloc/Makefile: Include Makeconfig immediately after defining
8865         subdir.
8866         (all): Remove target.
8867         * manual/Makefile: Include Makeconfig immediately after defining
8868         subdir.
8869         * math/Makefile: Likewise.
8870         * misc/Makefile: Likewise.
8871         * nis/Makefile: Likewise.
8872         * nss/Makefile: Likewise.
8873         * po/Makefile: Likewise.
8874         (all): Remove target.
8875         * posix/Makefile: Include Makeconfig immediately after defining
8876         subdir.
8877         * pwd/Makefile: Likewise.
8878         * resolv/Makefile: Likewise.
8879         * resource/Makefile: Likewise.
8880         * rt/Makefile: Likewise.
8881         * setjmp/Makefile: Likewise.
8882         * shadow/Makefile: Likewise.
8883         * signal/Makefile: Likewise.
8884         * socket/Makefile: Likewise.
8885         * soft-fp/Makefile: Likewise.
8886         * stdio-common/Makefile: Likewise.
8887         * stdlib/Makefile: Likewise.
8888         * streams/Makefile: Likewise.
8889         * string/Makefile: Likewise.
8890         * sunrpc/Makefile: Likewise.
8891         (all): Remove target.
8892         * sysvipc/Makefile: Include Makeconfig immediately after defining
8893         subdir.
8894         * termios/Makefile: Likewise.
8895         * time/Makefile: Likewise.
8896         * timezone/Makefile: Likewise.
8897         (all): Remove target.
8898         * wcsmbs/Makefile: Include Makeconfig immediately after defining
8899         subdir.
8900         * wctype/Makefile: Likewise.
8901
8902 2014-02-26  Steve Ellcey  <sellcey@mips.com>
8903
8904         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8905         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8906         (libc_feholdexcept_setround_mips): Ditto.
8907         (libc_feholdsetround): New.
8908         (libc_feholdsetroundf): New.
8909         (libc_feholdsetroundl): New.
8910         (libc_feupdateenv_test_mips): New.
8911         (libc_feupdateenv_test): New.
8912         (libc_feupdateenv_testf): New.
8913         (libc_feupdateenv_testl): New.
8914         (libc_feresetround): New.
8915         (libc_feresetroundf): New.
8916         (libc_feresetroundl): New.
8917         (libc_fetestexcept_mips): New.
8918         (libc_fetestexcept): New.
8919         (libc_fetestexceptf): New.
8920         (libc_fetestexceptl): New.
8921         (HAVE_RM_CTX): New.
8922         (libc_feholdexcept_setround_mips_ctx): New.
8923         (libc_feholdexcept_setround_ctx): New.
8924         (libc_feholdexcept_setroundf_ctx): New.
8925         (libc_feholdexcept_setroundl_ctx): New.
8926         (libc_fesetenv_mips_ctx): New.
8927         (libc_fesetenv_ctx): New.
8928         (libc_fesetenv_ctxf): New.
8929         (libc_fesetenv_ctxl): New.
8930         (libc_feupdateenv_mips_ctx): New.
8931         (libc_feupdateenv_ctx): New.
8932         (libc_feupdateenvf_ctx): New.
8933         (libc_feupdateenvl_ctx): New.
8934         (libc_feholdsetround_mips_ctx): New.
8935         (libc_feholdsetround_ctx): New.
8936         (libc_feholdsetroundf_ctx): New.
8937         (libc_feholdsetroundl_ctx): New.
8938         (libc_feresetround_mips_ctx): New.
8939         (libc_feresetround_ctx): New.
8940         (libc_feresetroundf_ctx): New.
8941         (libc_feresetroundl_ctx): New.
8942
8943 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
8944
8945         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8946
8947         * manual/ipc.texi: New file.
8948         * manual/Makefile (chapters): Add ipc.
8949         * manual/job.texi: Add "Inter-Process Communication" to next.
8950         * manual/process.texi: Add "Inter-Process Communication" to prev.
8951
8952 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8953
8954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8955
8956 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
8957
8958         * malloc/malloc.c (__libc_calloc): Simplify implementation.
8959
8960         * manual/arith.texi: Fix spaces after sentences.
8961         * manual/charset.texi: Likewise.
8962         * manual/errno.texi: Likewise.
8963         * manual/install.texi: Likewise.
8964         * manual/llio.texi: Likewise.
8965         * manual/locale.texi: Likewise.
8966         * manual/maint.texi: Likewise.
8967         * manual/math.texi: Likewise.
8968         * manual/memory.texi: Likewise.
8969         * manual/message.texi: Likewise.
8970         * manual/probes.texi: Likewise.
8971         * manual/resource.texi: Likewise.
8972         * manual/signal.texi: Likewise.
8973         * manual/socket.texi: Likewise.
8974         * manual/stdio.texi: Likewise.
8975         * manual/string.texi: Likewise.
8976         * manual/time.texi: Likewise.
8977         * manual/users.texi: Likewise.
8978
8979 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
8980
8981         [BZ #16632]
8982         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8983         _DEFAULT_SOURCE is defined.
8984
8985 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
8986             Carlos O'Donell  <carlos@redhat.com>
8987
8988         [BZ #16613]
8989         * elf/dl-tls.c (_dl_count_modids): New function.
8990         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8991         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8992         audit library and increment generation counter.
8993         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8994         * elf/tst-audit9.c: New file.
8995         * elf/tst-auditmod9a.c: New file.
8996         * elf/tst-auditmod9b.c: New file.
8997         * elf/Makefile: Add rules to build and run tst-audit9.
8998
8999 2014-02-25  Florian Weimer  <fweimer@redhat.com>
9000
9001         [BZ #15347]
9002         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9003
9004 2014-02-25  Will Newton  <will.newton@linaro.org>
9005
9006         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9007         (__longjmp): Restore sp and lr before restoring callee
9008         saved registers.  Add longjmp and longjmp_target
9009         SystemTap probe point.
9010         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9011         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9012         Define to zero to match jmpbuf layout.
9013         * sysdeps/arm/setjmp.S: Include stap-probe.h.
9014         (__sigsetjmp): Save sp and lr before saving callee
9015         saved registers.  Add setjmp SystemTap probe point.
9016
9017 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9018
9019         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9020
9021 2014-02-24  Andreas Schwab  <schwab@suse.de>
9022
9023         [BZ #15804]
9024         * elf/pldd.c (wait_for_ptrace_stop): New function.
9025         (main): Call it after attaching.
9026
9027 2014-02-22  Roland McGrath  <roland@hack.frob.com>
9028
9029         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9030         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9031         Versions files is now verboten.
9032         * hurd/Versions (libc: GLIBC_2.0):
9033         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9034         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9035         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9036         * mach/Versions: Likewise.
9037
9038         * csu/Versions: Remove unused %include.
9039         * resolv/Versions: Likewise.
9040
9041 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
9042
9043         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9044         ($(objpfx)check-local-headers.out): Likewise.
9045         ($(objpfx)begin-end-check.out): Likewise.
9046         * Makerules (check-abi-%.out): Likewise.
9047         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9048         ($(objpfx)test2.cat): Likewise.
9049         ($(objpfx)de/libc.cat): Likewise.
9050         ($(objpfx)test-gencat.out): Likewise.
9051         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9052         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9053         ($(objpfx)noload-mem): Likewise.
9054         ($(objpfx)tst-pathopt.out): Likewise.
9055         ($(objpfx)tst-rtld-load-self.out): Likewise.
9056         ($(objpfx)tst-array1-cmp.out): Likewise.
9057         ($(objpfx)tst-array1-static-cmp.out): Likewise.
9058         ($(objpfx)tst-array2-cmp.out): Likewise.
9059         ($(objpfx)tst-array3-cmp.out): Likewise.
9060         ($(objpfx)tst-array4-cmp.out): Likewise.
9061         ($(objpfx)tst-array5-cmp.out): Likewise.
9062         ($(objpfx)tst-array5-static-cmp.out): Likewise.
9063         ($(objpfx)check-textrel.out): Likewise.
9064         ($(objpfx)check-execstack.out): Likewise.
9065         ($(objpfx)check-localplt.out): Likewise.
9066         ($(objpfx)order2-cmp.out): Likewise.
9067         ($(objpfx)tst-leaks1-mem): Likewise.
9068         ($(objpfx)tst-leaks1-static-mem): Likewise.
9069         ($(objpfx)tst-initorder-cmp.out): Likewise.
9070         ($(objpfx)tst-initorder2-cmp.out): Likewise.
9071         ($(objpfx)tst-unused-dep.out): Likewise.
9072         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9073         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9074         * iconv/Makefile (test-iconvconfig): Likewise.
9075         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9076         ($(objpfx)iconv-test.out): Likewise.
9077         ($(objpfx)tst-tables.out): Likewise.
9078         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9079         ($(objpfx)tst-gettext.out): Likewise.
9080         ($(objpfx)tst-translit.out): Likewise.
9081         ($(objpfx)tst-gettext2.out): Likewise.
9082         ($(objpfx)tst-gettext4.out): Likewise.
9083         ($(objpfx)tst-gettext6.out): Likewise.
9084         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9085         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9086         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9087         ($(objpfx)tst-fopenloc-mem.out): Likewise.
9088         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9089         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9090         * posix/Makefile ($(objpfx)globtest.out): Likewise.
9091         ($(objpfx)wordexp-tst.out): Likewise.
9092         ($(objpfx)annexc.out): Likewise.
9093         ($(objpfx)tst-fnmatch-mem): Likewise.
9094         ($(objpfx)bug-regex2-mem): Likewise.
9095         ($(objpfx)bug-regex14-mem): Likewise.
9096         ($(objpfx)bug-regex21-mem): Likewise.
9097         ($(objpfx)bug-regex31-mem): Likewise.
9098         ($(objpfx)tst-vfork3-mem): Likewise.
9099         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9100         ($(objpfx)tst-pcre-mem): Likewise.
9101         ($(objpfx)tst-boost-mem): Likewise.
9102         ($(objpfx)tst-getconf.out): Likewise.
9103         ($(objpfx)bug-ga2-mem): Likewise.
9104         ($(objpfx)bug-glob2-mem): Likewise.
9105         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9106         ($(objpfx)mtrace-tst-leaks2): Likewise.
9107         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9108         ($(objpfx)tst-printf.out): Likewise.
9109         ($(objpfx)tst-setvbuf1.out): Likewise.
9110         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9111         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9112         ($(objpfx)tst-fmtmsg.out): Likewise.
9113         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9114         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9115
9116         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9117         * bits/sigaction.h [__USE_MISC]: Likewise.
9118         * bits/waitstatus.h: Update #endif comments.
9119         * ctype/ctype.h: Likewise.
9120         * dirent/dirent.h: Likewise.
9121         [__USE_MISC]: Remove redundant conditionals.
9122         * grp/grp.h: Update #endif comments.
9123         [__USE_GNU]: Remove redundant conditionals.
9124         [__USE_MISC]: Likewise.
9125         * inet/netinet/in.h [__USE_GNU]: Likewise.
9126         * io/sys/stat.h [__USE_MISC]: Likewise.
9127         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9128         * libio/bits/stdio.h: Update #endif comments.
9129         [__USE_MISC]: Remove redundant conditionals.
9130         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9131         * libio/stdio.h: Update #endif comments.
9132         [__USE_MISC]: Remove redundant conditionals.
9133         * math/bits/math-finite.h [__USE_MISC]: Likewise.
9134         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9135         * math/math.h: Update #else and #endif comments.
9136         [__USE_MISC]: Remove redundant conditionals.
9137         * misc/sys/uio.h: Update #endif comments.
9138         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9139         * posix/glob.h [__USE_MISC]: Likewise.
9140         * posix/sys/types.h: Update #endif comments.
9141         [__USE_MISC]: Remove redundant conditionals.
9142         * posix/sys/wait.h: Update #endif comments.
9143         [__USE_MISC]: Remove redundant conditionals.
9144         * posix/unistd.h: Update #endif comments.
9145         [__USE_MISC]: Remove redundant conditionals.
9146         * pwd/pwd.h [__USE_GNU]: Likewise.
9147         [__USE_MISC]: Likewise.
9148         * resolv/netdb.h [__USE_GNU]: Likewise.
9149         * signal/signal.h: Update #endif comments.
9150         [__USE_MISC]: Remove redundant conditionals.
9151         * stdlib/stdlib.h: Update #else and #endif comments.
9152         [__USE_MISC]: Remove redundant conditionals.
9153         [__USE_GNU]: Likewise.
9154         * string/bits/string2.h [__USE_MISC]: Likewise.
9155         * string/string.h: Update #endif comments.
9156         [__USE_MISC]: Remove redundant conditionals.
9157         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9158         Likewise.
9159         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9160         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9161         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9162         Likewise.
9163         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9164         Likewise.
9165         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9166         comments.
9167         [__USE_MISC]: Remove redundant conditionals.
9168         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9169         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9170         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9171         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9172         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9173         Likewise.
9174         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9175         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9176         Likewise.
9177         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9178         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9179         Likewise.
9180         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9181         Likewise.
9182         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9183         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9184         Likewise.
9185         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9186         Likewise.
9187         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9188         * sysdeps/x86/bits/string.h: Update #endif comments.
9189         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9190         conditionals.
9191         * time/sys/time.h: Update #endif comments.
9192         * time/time.h: Likewise.
9193         [__USE_MISC]: Remove redundant conditionals.
9194
9195 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
9196
9197         [BZ #16600]
9198         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9199
9200 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
9201
9202         * Versions.def (librt): Add GLIBC_2.17.
9203
9204 2014-02-21  Adam Conrad  <adconrad@0c3.net>
9205
9206         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9207         synonym for _SYS_AUXV_H to allow direct inclusion.
9208         * sysdeps/sparc/bits/hwcap.h: Likewise.
9209         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9210         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9211         * sysdeps/sparc/sysdep.h: Likewise.
9212
9213 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9214
9215         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9216
9217 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9218
9219         * benchtests/bench-strrchr.c: Print length instead of position.
9220
9221 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
9222
9223         [BZ #16611]
9224         * sysdeps/unix/sysv/linux/kernel-features.h
9225         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9226         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9227         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9228         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9229         Likewise.
9230         [__i386__ || __powerpc__ || __sh__ || __sparc__]
9231         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9232         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9233         (__ASSUME_SENDMMSG): Define instead of using previous
9234         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9235         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9236         (__ASSUME_SENDMMSG_SYSCALL): Define.
9237         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9238         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9239         Likewise.
9240         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9241         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9242         Likewise.
9243         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9244         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9245         Likewise.
9246         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9247         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9248         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9249         [__ASSUME_SENDMMSG]: Change conditionals to
9250         [__ASSUME_SENDMMSG_SOCKETCALL].
9251         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9252         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9253         Define.
9254         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9255         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9256         Likewise.
9257         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9258         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9259         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9260         [!__ASSUME_SENDMMSG]: Change conditional to
9261         [!__ASSUME_SENDMMSG_SOCKETCALL].
9262         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9263         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9264         Define.
9265
9266         [BZ #16610]
9267         * sysdeps/unix/sysv/linux/kernel-features.h
9268         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9269         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9270         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9271         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9272         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9273         [__i386__ || __sparc__]
9274         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9275         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9276         (__ASSUME_RECVMMSG): Define instead of using previous
9277         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9278         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9279         (__ASSUME_RECVMMSG_SYSCALL): Define.
9280         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9281         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9282         Likewise.
9283         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9284         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9285         Likewise.
9286         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9287         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9288         Likewise.
9289         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9290         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9291         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9292         [__ASSUME_RECVMMSG]: Change condition to
9293         [__ASSUME_RECVMMSG_SOCKETCALL].
9294         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9295         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9296         Define.
9297         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9298         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9299         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9300         Likewise.
9301         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9302         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9303         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9304         [!__ASSUME_RECVMMSG]: Change condition to
9305         [!__ASSUME_RECVMMSG_SOCKETCALL].
9306         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9307         (__ASSUME_RECVMMSG_SYSCALL): Define.
9308
9309         [BZ #16609]
9310         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9311         __powerpc__ || __s390__ || __sh__ || __sparc__]
9312         (__ASSUME_SOCKETCALL): Define.
9313         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9314         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9315         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9316         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9317         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9318         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9319         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9320         (__ASSUME_ACCEPT4): Define instead of using previous
9321         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9322         __powerpc__ || __sparc__ || __s390__)] condition.
9323         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9324         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9325         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9326         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9327         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9328         [!__ASSUME_ACCEPT4]: Change condition to
9329         [!__ASSUME_ACCEPT4_SOCKETCALL].
9330         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9331         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
9332         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9333         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9334         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9335         __ASSUME_ACCEPT4_SYSCALL.
9336         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9337         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9338         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9339         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9340         __ASSUME_ACCEPT4_SYSCALL.
9341         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9342         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9343         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9344         [__ASSUME_ACCEPT4]: Change condition to
9345         [__ASSUME_ACCEPT4_SOCKETCALL].
9346         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9347         (__ASSUME_SOCKETCALL): Define.
9348         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9349         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9350         (__ASSUME_SOCKETCALL): Define.
9351         (__ASSUME_ACCEPT4): Remove.
9352         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9353         Define.
9354         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9355         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9356         Likewise.
9357         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9358         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9359
9360         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9361         macro.
9362         (HWCAP_ARM_LPAE): Likewise.
9363         (HWCAP_ARM_EVTSTRM): Likewise.
9364         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9365         Add vpfd32, lpae and evtstrm.
9366         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9367         Increase to 22.
9368
9369 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
9370
9371         * math/auto-libm-test-in: Add tests of clog10.
9372         * math/auto-libm-test-out: Regenerated.
9373         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9374         * sysdeps/i386/fpu/libm-test-ulps: Update.
9375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9376
9377 2014-02-18  Andreas Schwab  <schwab@suse.de>
9378
9379         [BZ #16574]
9380         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9381         Store non-zero if the second buffer was newly allocated.
9382         (send_dg): Likewise.
9383         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9384         to send_vc and send_dg.
9385         (res_nsend): Pass NULL for ansp2_malloced.
9386         * resolv/res_query.c (__libc_res_nquery): Add parameter
9387         answerp2_malloced and pass it down to __libc_res_nsend.
9388         (res_nquery): Pass additional NULL to __libc_res_nquery.
9389         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9390         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
9391         second answer buffer if answerp2_malloced was set.
9392         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9393         (__libc_res_nquerydomain): Add parameter
9394         answerp2_malloced and pass it down to __libc_res_nquery.
9395         (res_nquerydomain): Pass additional NULL to
9396         __libc_res_nquerydomain.
9397         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9398         additional NULL to __libc_res_nsend and __libc_res_nquery.
9399         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9400         additional NULL to __libc_res_nsearch.
9401         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
9402         parameter of __libc_res_nsearch to check for separately allocated
9403         second buffer.
9404         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9405         __libc_res_nquery.
9406         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9407         additional NULL to __libc_res_nquery.
9408         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9409         __libc_res_nsearch.
9410         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9411         * include/resolv.h: Update prototypes of __libc_res_nquery,
9412         __libc_res_nsearch, __libc_res_nsend.
9413
9414 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
9415
9416         * math/auto-libm-test-in: Add tests of fma.
9417         * math/auto-libm-test-out: Regenerated.
9418         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9419         (fma_towardzero_test_data): Likewise.
9420         (fma_downward_test_data): Likewise.
9421         (fma_upward_test_data): Likewise.
9422         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9423         mpc_mode.
9424         (rounding_modes): Add values for new field.
9425         (func_calc_method): Add value mpfr_fff_f.
9426         (func_calc_desc): Add mpfr_fff_f union field.
9427         (test_function): Add field exact_args.
9428         (FUNC): Add macro argument EXACT_ARGS.
9429         (FUNC_mpfr_f_f): Update call to FUNC.
9430         (FUNC_mpfr_f_f): Likewise.
9431         (FUNC_mpfr_ff_f): Likewise.
9432         (FUNC_mpfr_if_f): Likewise.
9433         (FUNC_mpc_c_f): Likewise.
9434         (FUNC_mpc_c_c): Likewise.
9435         (test_functions): Add fma.  Update calls to FUNC.
9436         (handle_input_arg): Add argument exact_args.
9437         (add_test): Update call to handle_input_arg.
9438         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
9439         (output_for_one_input_case): Update call to calc_generic_results.
9440         Recalculate exact zero results in each rounding mode.
9441
9442         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9443         non-negative before setting low bit.
9444         * math/auto-libm-test-in: Mark one asin test possibly having
9445         spurious underflow.
9446         * math/auto-libm-test-out: Regenerated.
9447         * sysdeps/i386/fpu/libm-test-ulps: Update.
9448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9449
9450 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
9451
9452         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9453         * sysdeps/unix/sysv/linux/microblaze: Move directory from
9454         ports/sysdeps/unix/sysv/linux/microblaze.
9455         * README: Add missing listing for microblaze*-*-linux-gnu.
9456
9457 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
9458
9459         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9460         * sysdeps/unix/sysv/linux/ia64: Move directory from
9461         ports/sysdeps/unix/sysv/linux/ia64.
9462         * README: Update listing for ia64-*-linux-gnu.
9463
9464 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
9465             Joseph Myers  <joseph@codesourcery.com>
9466
9467         * Makeconfig (test-name): New variable.
9468         (evaluate-test): Likewise.
9469         * Makerules (do-test-clean): Remove .test-result files.
9470         (common-mostlyclean): Likewise.
9471         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9472         * scripts/evaluate-test.sh: New file.
9473
9474 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
9475
9476         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9477         separate $(objpfx)tst-fopenloc-cmp.out and
9478         $(objpfx)tst-fopenloc-mem.out targets.
9479         (tests): Update dependencies.
9480         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9481         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9482         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9483         (tst-rxspencer-no-utf8-ARGS): New variable.
9484         (tst-rxspencer-no-utf8-ENV): Likewise.
9485         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9486         instead of $(objpfx)tst-rxspencer-mem.
9487         ($(objpfx)tst-rxspencer-mem): Change target to
9488         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
9489         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9490         * posix/tst-rxspencer-no-utf8.c: New file.
9491
9492         * elf/Makefile ($(objpfx)order.out): Remove rule.
9493         [$(run-built-tests) = yes] (tests): Depend on
9494         $(objpfx)order-cmp.out.
9495         ($(objpfx)order-cmp.out): New rule.
9496         [$(run-built-tests) = yes] (tests): Depend on
9497         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9498         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9499         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9500         $(objpfx)tst-array5-static-cmp.out.
9501         ($(objpfx)tst-array1.out): Remove rule.
9502         ($(objpfx)tst-array1-cmp.out): New rule.
9503         ($(objpfx)tst-array1-static.out): Remove rule.
9504         ($(objpfx)tst-array1-static-cmp.out): New rule.
9505         ($(objpfx)tst-array2.out): Remove rule.
9506         ($(objpfx)tst-array2-cmp.out): New rule.
9507         ($(objpfx)tst-array3.out): Remove rule.
9508         ($(objpfx)tst-array3-cmp.out): New rule.
9509         ($(objpfx)tst-array4.out): Remove rule.
9510         ($(objpfx)tst-array4-cmp.out): New rule.
9511         ($(objpfx)tst-array5.out): Remove rule.
9512         ($(objpfx)tst-array5-cmp.out): New rule.
9513         ($(objpfx)tst-array5-static.out): Remove rule.
9514         ($(objpfx)tst-array5-static-cmp.out): New rule.
9515         [$(run-built-tests) = yes] (tests): Depend on
9516         $(objpfx)order2-cmp.out.
9517         ($(objpfx)order2.out): Remove rule.
9518         ($(objpfx)order2-cmp.out): New rule.
9519         ($(objpfx)tst-initorder.out): Remove rule.
9520         [$(run-built-tests) = yes] (tests): Depend on
9521         $(objpfx)tst-initorder-cmp.out.
9522         ($(objpfx)tst-initorder-cmp.out): New rule.
9523         ($(objpfx)tst-initorder2.out): Remove rule.
9524         [$(run-built-tests) = yes] (tests): Depend on
9525         $(objpfx)tst-initorder2-cmp.out.
9526         ($(objpfx)tst-initorder2-cmp.out): New rule.
9527         [$(run-built-tests) = yes] (tests): Depend on
9528         $(objpfx)tst-unused-dep-cmp.out.
9529         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9530         ($(objpfx)tst-unused-dep-cmp.out): New rule.
9531         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9532         on $(objpfx)tst-setvbuf1-cmp.out.
9533         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9534         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9535         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9536         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9537         ($(objpfx)tst-svc.out): Remove rule.
9538         ($(objpfx)tst-svc-cmp.out): New rule.
9539
9540 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
9541
9542         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9543         * ctype/ctype.h [__USE_MISC]: Likewise.
9544         * dirent/dirent.h [__USE_MISC]: Likewise.
9545         * grp/grp.h [__USE_MISC]: Likewise.
9546         * io/fcntl.h [__USE_MISC]: Likewise.
9547         * io/sys/stat.h [__USE_MISC]: Likewise.
9548         * libio/stdio.h [__USE_MISC]: Likewise.
9549         * posix/unistd.h [__USE_MISC]: Likewise.
9550         * pwd/pwd.h [__USE_MISC]: Likewise.
9551         * stdlib.h [__USE_MISC]: Likewise.
9552         * string/bits/string2.h [__USE_MISC]: Likewise.
9553         * string/string.h [__USE_MISC]: Likewise.
9554         * time/time.h [__USE_MISC]: Likewise.
9555
9556 2014-02-13  Andreas Schwab  <schwab@suse.de>
9557
9558         [BZ #16574]
9559         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9560         second answer buffer if it was separately allocated.
9561
9562 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
9563
9564         * sysdeps/mips/math-tests.h: Include <features.h>.
9565         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9566         (ROUNDING_TESTS_long_double): Do not define.
9567         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9568         (EXCEPTION_TESTS_long_double): Likewise.
9569         * sysdeps/mips/mips64/libm-test-ulps: Update.
9570
9571         * include/features.h (__USE_BSD): Remove macro definitions.
9572         (__USE_SVID): Likewise.
9573         (_BSD_SOURCE): Likewise.
9574         (_SVID_SOURCE): Likewise.
9575         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9576         from definition of _DEFAULT_SOURCE.
9577         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9578         [_DEFAULT_SOURCE].
9579         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9580         * bits/mman.h [__USE_BSD]: Likewise.
9581         * bits/termios.h [__USE_BSD]: Likewise.
9582         * bits/waitstatus.h [__USE_BSD]: Likewise.
9583         * ctype/ctype.h [__USE_SVID]: Likewise.
9584         * dirent/dirent.h [__USE_BSD]: Likewise.
9585         * grp/grp.h [__USE_SVID]: Likewise.
9586         [__USE_BSD]: Likewise.
9587         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9588         * io/fcntl.h [__USE_BSD]: Likewise.
9589         * io/ftw.h [__USE_BSD]: Likewise.
9590         * io/sys/stat.h [__USE_BSD]: Likewise.
9591         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9592         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9593         * libio/stdio.h [__USE_SVID]: Likewise.
9594         [__USE_BSD]: Likewise.
9595         * math/math.h [__USE_SVID]: Likewise.
9596         [__USE_BSD]: Likewise.
9597         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9598         * misc/bits/syslog.h [__USE_BSD]: Likewise.
9599         * misc/search.h [__USE_SVID]: Likewise.
9600         * misc/sys/mman.h [__USE_BSD]: Likewise.
9601         * misc/sys/syslog.h [__USE_BSD]: Likewise.
9602         * misc/sys/uio.h [__USE_BSD]: Likewise.
9603         * posix/bits/unistd.h [__USE_BSD]: Likewise.
9604         * posix/glob.h [__USE_BSD]: Likewise.
9605         * posix/regex.h [__USE_BSD]: Likewise.
9606         * posix/sys/types.h [__USE_BSD]: Likewise.
9607         [__USE_SVID]: Likewise.
9608         * posix/sys/utsname.h [__USE_SVID]: Likewise.
9609         * posix/sys/wait.h [__USE_BSD]: Likewise.
9610         [__USE_SVID]: Likewise.
9611         * posix/unistd.h [__USE_BSD]: Likewise.
9612         [__USE_SVID]: Likewise.
9613         * pwd/pwd.h [__USE_SVID]: Likewise.
9614         * resolv/netdb.h [__USE_BSD]: Likewise.
9615         * setjmp/setjmp.h [__USE_BSD]: Likewise.
9616         * signal/signal.h [__USE_BSD]: Likewise.
9617         [__USE_SVID]: Likewise.
9618         * socket/sys/socket.h [__USE_BSD]: Likewise.
9619         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9620         * stdlib/stdlib.h [__USE_BSD]: Likewise.
9621         [__USE_SVID]: Likewise.
9622         * string/bits/string2.h [__USE_BSD]: Likewise.
9623         [__USE_SVID]: Likewise.
9624         * string/bits/string3.h [__USE_BSD]: Likewise.
9625         * string/endian.h [__USE_BSD]: Likewise.
9626         * string/string.h [__USE_SVID]: Likewise.
9627         [__USE_BSD]: Likewise.
9628         * string/strings.h [__USE_BSD]: Likewise.
9629         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9630         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9631         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9632         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9633         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9634         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9635         Likewise.
9636         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9637         Likewise.
9638         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9639         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9640         Likewise.
9641         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9642         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9643         Likewise.
9644         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9645         Likewise.
9646         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9647         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9648         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9649         Likewise.
9650         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9651         Likewise.
9652         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9653         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9654         * termios/termios.h [__USE_BSD]: Likewise.
9655         * time/sys/time.h [__USE_BSD]: Likewise.
9656         * time/time.h [__USE_BSD]: Likewise.
9657         [__USE_SVID]: Likewise.
9658
9659         * Makefile (subdir_targets): Remove subdir_lint.out.
9660
9661         * stdio-common/Makefile (do-tst-unbputc): Remove target.
9662         (do-tst-printf): Likewise.
9663         (tests): Depend directly on $(objpfx)tst-unbputc.out and
9664         $(objpfx)tst-printf.out.
9665
9666         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9667
9668         * Makerules (check-abi-%): Change target to
9669         $(objpfx)check-abi-%.out.
9670         (check-abi target): Update dependencies.
9671         (check-abi-pattern variable): Redirect output of diff to $@.
9672         (check-abi variable): Likewise.
9673         * elf/Makefile (check-abi): Update dependencies.
9674
9675         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9676         unused.
9677         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9678         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9679         subnormal range.
9680         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9681         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9682         value has largest subnormal exponent.
9683         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9684         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9685         * sysdeps/aarch64/soft-fp/sfp-machine.h
9686         (_FP_TININESS_AFTER_ROUNDING): New macro.
9687         * sysdeps/alpha/soft-fp/sfp-machine.h
9688         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9689         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9690         Likewise.
9691         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9692         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9693         * sysdeps/mips/soft-fp/sfp-machine.h
9694         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9695         * sysdeps/powerpc/soft-fp/sfp-machine.h
9696         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9697         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9698         Likewise.
9699         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9700         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9701         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9702         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9703         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9704         Likewise.
9705
9706 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
9707
9708         [BZ #16545]
9709         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9710         model 1.
9711
9712 2014-02-12  Richard Henderson  <rth@redhat.com>
9713
9714         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9715         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9716         * sysdeps/unix/sysv/linux/alpha: Move directory from
9717         ports/sysdeps/unix/sysv/linux/alpha.
9718         * README: Update listing for alpha-*-linux-gnu.
9719
9720 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
9721
9722         * include/features.h: Update comment documenting feature test
9723         macros.
9724         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
9725         _DEFAULT_SOURCE.
9726         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9727         (_SVID_SOURCE): Likewise.
9728         (_DEFAULT_SOURCE): Update description of default features.
9729         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9730         with _GNU_SOURCE.
9731         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9732         (S_ISVTX): Likewise.
9733         * manual/math.texi (Mathematical Constants): Likewise.
9734         * manual/signal.texi (Interrupted Primitives): Likewise.
9735         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9736         * math/test-matherr.c (_SVID_SOURCE): Do not define.
9737         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9738         Don't refer to _SVID_SOURCE in warning text.
9739
9740         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9741
9742         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9743         already defined.
9744         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9745         * sysdeps/mips/dl-lookup.c: Remove.
9746         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9747
9748 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9749
9750         [BZ #16447]
9751         * math/auto-libm-test-in: Add testcase for expl.
9752         * math/auto-libm-test-out: Regenerate.
9753         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9754         calculation of unsafe.
9755         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9756
9757 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9758
9759         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9760         * sysdeps/unix/sysv/linux/aarch64: Move directory from
9761         ports/sysdeps/unix/sysv/linux/aarch64.
9762         * README: Update listing for aarch64*-*-linux-gnu.
9763
9764 2014-02-11  Will Newton  <will.newton@linaro.org>
9765
9766         * manual/probes.texi (Mathematical Function Probes): Use
9767         "triggered" instead of "hit".
9768
9769         * manual/probes.texi (Internal Probes): Add documentation
9770         of setjmp, longjmp and longjmp_target probes.
9771
9772         * include/stap-probe.h: Add comment about probe argument
9773         format.
9774
9775         * malloc/mtrace.c (attribute_hidden): Remove unused macro
9776         definition.  (tr_where, tr_freehook, tr_mallochook,
9777         tr_reallochook, tr_memalignhook): Use ANSI protoype.
9778
9779 2014-02-11  David S. Miller  <davem@davemloft.net>
9780
9781         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9782         processing int_tests.
9783
9784 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
9785
9786         * sysdeps/mips: Move directory from ports/sysdeps/mips.
9787         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9788         * sysdeps/unix/sysv/linux/mips: Move directory from
9789         ports/sysdeps/unix/sysv/linux/mips.
9790         * README: Update listing for mips-*-linux-gnu and
9791         mips64-*-linux-gnu.
9792
9793 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
9794
9795         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9796         * sysdeps/unix/sysv/linux/m68k: Move directory from
9797         ports/sysdeps/unix/sysv/linux/m68k.
9798         * README: Update listing for m68k-*-linux-gnu.
9799
9800 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
9801
9802         * sysdeps/tile: Move directory from ports/sysdeps/tile.
9803         * sysdeps/unix/sysv/linux/generic: Move directory from
9804         ports/sysdeps/unix/sysv/linux/generic.
9805         * sysdeps/unix/sysv/linux/tile: Move directory from
9806         ports/sysdeps/unix/sysv/linux/tile.
9807         * README: Update listing for tile*-*-linux-gnu.
9808
9809 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
9810
9811         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9812         __builtin_expect.
9813         * benchtests/bench-memmem.c (simple_memmem): Likewise.
9814         * catgets/open_catalog.c (__open_catalog): Likewise.
9815         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9816         * debug/confstr_chk.c: Likewise.
9817         * debug/fread_chk.c (__fread_chk): Likewise.
9818         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9819         * debug/getgroups_chk.c: Likewise.
9820         * debug/mbsnrtowcs_chk.c: Likewise.
9821         * debug/mbsrtowcs_chk.c: Likewise.
9822         * debug/mbstowcs_chk.c: Likewise.
9823         * debug/memcpy_chk.c: Likewise.
9824         * debug/memmove_chk.c: Likewise.
9825         * debug/mempcpy_chk.c: Likewise.
9826         * debug/memset_chk.c: Likewise.
9827         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9828         * debug/strcat_chk.c (__strcat_chk): Likewise.
9829         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9830         * debug/strncat_chk.c (__strncat_chk): Likewise.
9831         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9832         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9833         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9834         * debug/wcpncpy_chk.c: Likewise.
9835         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9836         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9837         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9838         * debug/wcsncpy_chk.c: Likewise.
9839         * debug/wcsnrtombs_chk.c: Likewise.
9840         * debug/wcsrtombs_chk.c: Likewise.
9841         * debug/wcstombs_chk.c: Likewise.
9842         * debug/wmemcpy_chk.c: Likewise.
9843         * debug/wmemmove_chk.c: Likewise.
9844         * debug/wmempcpy_chk.c: Likewise.
9845         * debug/wmemset_chk.c: Likewise.
9846         * dirent/scandirat.c (SCANDIRAT): Likewise.
9847         * dlfcn/dladdr1.c (dladdr1): Likewise.
9848         * dlfcn/dladdr.c (dladdr): Likewise.
9849         * dlfcn/dlclose.c (dlclose_doit): Likewise.
9850         * dlfcn/dlerror.c (__dlerror): Likewise.
9851         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9852         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9853         * dlfcn/dlopen.c (dlopen_doit): Likewise.
9854         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9855         * dlfcn/dlsym.c (dlsym_doit): Likewise.
9856         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9857         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9858         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9859         Likewise.
9860         * elf/dl-conflict.c: Likewise.
9861         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9862         * elf/dl-dst.h: Likewise.
9863         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9864         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9865         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9866         * elf/dl-init.c (call_init, _dl_init): Likewise.
9867         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9868         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9869         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9870         Likewise.
9871         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9872         Likewise.
9873         * elf/dl-minimal.c (__libc_memalign): Likewise.
9874         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9875         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9876         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9877         * elf/dl-sym.c (do_sym): Likewise.
9878         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9879         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9880         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9881         * elf/dl-writev.h (_dl_writev): Likewise.
9882         * elf/ldconfig.c (search_dir): Likewise.
9883         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9884         (dl_main): Likewise.
9885         * elf/setup-vdso.h (setup_vdso): Likewise.
9886         * grp/compat-initgroups.c (compat_call): Likewise.
9887         * grp/fgetgrent.c (fgetgrent): Likewise.
9888         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9889         * grp/putgrent.c (putgrent): Likewise.
9890         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9891         Likewise.
9892         * hurd/hurdinit.c: Likewise.
9893         * iconvdata/8bit-gap.c (struct): Likewise.
9894         * iconvdata/ansi_x3.110.c : Likewise.
9895         * iconvdata/big5.c : Likewise.
9896         * iconvdata/big5hkscs.c : Likewise.
9897         * iconvdata/cp1255.c: Likewise.
9898         * iconvdata/cp1258.c : Likewise.
9899         * iconvdata/cp932.c : Likewise.
9900         * iconvdata/euc-cn.c: Likewise.
9901         * iconvdata/euc-jisx0213.c : Likewise.
9902         * iconvdata/euc-jp.c: Likewise.
9903         * iconvdata/euc-jp-ms.c : Likewise.
9904         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9905         * iconvdata/gb18030.c : Likewise.
9906         * iconvdata/gbbig5.c (const): Likewise.
9907         * iconvdata/gbgbk.c: Likewise.
9908         * iconvdata/gbk.c : Likewise.
9909         * iconvdata/ibm1364.c : Likewise.
9910         * iconvdata/ibm930.c : Likewise.
9911         * iconvdata/ibm932.c: Likewise.
9912         * iconvdata/ibm933.c : Likewise.
9913         * iconvdata/ibm935.c : Likewise.
9914         * iconvdata/ibm937.c : Likewise.
9915         * iconvdata/ibm939.c : Likewise.
9916         * iconvdata/ibm943.c: Likewise.
9917         * iconvdata/iso_11548-1.c: Likewise.
9918         * iconvdata/iso-2022-cn.c : Likewise.
9919         * iconvdata/iso-2022-cn-ext.c : Likewise.
9920         * iconvdata/iso-2022-jp-3.c: Likewise.
9921         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9922         * iconvdata/iso-2022-kr.c : Likewise.
9923         * iconvdata/iso646.c (gconv_end): Likewise.
9924         * iconvdata/iso_6937-2.c : Likewise.
9925         * iconvdata/iso_6937.c : Likewise.
9926         * iconvdata/iso8859-1.c: Likewise.
9927         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9928         * iconvdata/shift_jisx0213.c : Likewise.
9929         * iconvdata/sjis.c : Likewise.
9930         * iconvdata/t.61.c : Likewise.
9931         * iconvdata/tcvn5712-1.c : Likewise.
9932         * iconvdata/tscii.c: Likewise.
9933         * iconvdata/uhc.c : Likewise.
9934         * iconvdata/unicode.c (gconv_end): Likewise.
9935         * iconvdata/utf-16.c (gconv_end): Likewise.
9936         * iconvdata/utf-32.c (gconv_end): Likewise.
9937         * iconvdata/utf-7.c (base64): Likewise.
9938         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9939         * iconv/gconv_close.c (__gconv_close): Likewise.
9940         * iconv/gconv_open.c (__gconv_open): Likewise.
9941         * iconv/gconv_simple.c (internal_ucs4_loop_single)
9942         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9943         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9944         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9945         (ucs4le_internal_loop_single): Likewise.
9946         * iconv/iconv.c (iconv): Likewise.
9947         * iconv/iconv_close.c: Likewise.
9948         * iconv/loop.c (SINGLE): Likewise.
9949         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9950         * include/atomic.h: Likewise.
9951         * inet/inet6_option.c (option_alloc): Likewise.
9952         * intl/bindtextdom.c (set_binding_values): Likewise.
9953         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9954         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9955         * intl/localealias.c (read_alias_file): Likewise.
9956         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9957         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9958         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9959         * libio/fmemopen.c (fmemopen): Likewise.
9960         * libio/iofgets.c (_IO_fgets): Likewise.
9961         * libio/iofgets_u.c (fgets_unlocked): Likewise.
9962         * libio/iofgetws.c (fgetws): Likewise.
9963         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9964         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9965         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9966         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9967         * locale/findlocale.c (_nl_find_locale): Likewise.
9968         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9969         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9970         Likewise.
9971         * locale/setlocale.c (setlocale): Likewise.
9972         * login/programs/pt_chown.c (main): Likewise.
9973         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9974         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9975         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9976         (mmap, mmap64, mremap, munmap): Likewise.
9977         * math/e_exp2l.c: Likewise.
9978         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9979         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9980         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9981         * math/s_catan.c (__catan): Likewise.
9982         * math/s_catanf.c (__catanf): Likewise.
9983         * math/s_catanh.c (__catanh): Likewise.
9984         * math/s_catanhf.c (__catanhf): Likewise.
9985         * math/s_catanhl.c (__catanhl): Likewise.
9986         * math/s_catanl.c (__catanl): Likewise.
9987         * math/s_ccosh.c (__ccosh): Likewise.
9988         * math/s_ccoshf.c (__ccoshf): Likewise.
9989         * math/s_ccoshl.c (__ccoshl): Likewise.
9990         * math/s_cexp.c (__cexp): Likewise.
9991         * math/s_cexpf.c (__cexpf): Likewise.
9992         * math/s_cexpl.c (__cexpl): Likewise.
9993         * math/s_clog10.c (__clog10): Likewise.
9994         * math/s_clog10f.c (__clog10f): Likewise.
9995         * math/s_clog10l.c (__clog10l): Likewise.
9996         * math/s_clog.c (__clog): Likewise.
9997         * math/s_clogf.c (__clogf): Likewise.
9998         * math/s_clogl.c (__clogl): Likewise.
9999         * math/s_csin.c (__csin): Likewise.
10000         * math/s_csinf.c (__csinf): Likewise.
10001         * math/s_csinh.c (__csinh): Likewise.
10002         * math/s_csinhf.c (__csinhf): Likewise.
10003         * math/s_csinhl.c (__csinhl): Likewise.
10004         * math/s_csinl.c (__csinl): Likewise.
10005         * math/s_csqrt.c (__csqrt): Likewise.
10006         * math/s_csqrtf.c (__csqrtf): Likewise.
10007         * math/s_csqrtl.c (__csqrtl): Likewise.
10008         * math/s_ctan.c (__ctan): Likewise.
10009         * math/s_ctanf.c (__ctanf): Likewise.
10010         * math/s_ctanh.c (__ctanh): Likewise.
10011         * math/s_ctanhf.c (__ctanhf): Likewise.
10012         * math/s_ctanhl.c (__ctanhl): Likewise.
10013         * math/s_ctanl.c (__ctanl): Likewise.
10014         * math/w_pow.c: Likewise.
10015         * math/w_powf.c: Likewise.
10016         * math/w_powl.c: Likewise.
10017         * math/w_scalb.c (sysv_scalb): Likewise.
10018         * math/w_scalbf.c (sysv_scalbf): Likewise.
10019         * math/w_scalbl.c (sysv_scalbl): Likewise.
10020         * misc/error.c (error_tail): Likewise.
10021         * misc/pselect.c (__pselect): Likewise.
10022         * nis/nis_callback.c (__nis_create_callback): Likewise.
10023         * nis/nis_call.c (__nisfind_server): Likewise.
10024         * nis/nis_creategroup.c (nis_creategroup): Likewise.
10025         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10026         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10027         * nis/nis_getservlist.c (nis_getservlist): Likewise.
10028         * nis/nis_lookup.c (nis_lookup): Likewise.
10029         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10030         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10031         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10032         * nis/nis_xdr.c (xdr_endpoint): Likewise.
10033         * nis/nss_compat/compat-grp.c (getgrent_next_file)
10034         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10035         * nis/nss_compat/compat-initgroups.c (add_group)
10036         (internal_getgrent_r): Likewise.
10037         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10038         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10039         * nis/nss_compat/compat-spwd.c (getspent_next_file)
10040         (internal_getspnam_r): Likewise.
10041         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10042         (_nss_nis_getaliasbyname_r): Likewise.
10043         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10044         (_nss_nis_getntohost_r): Likewise.
10045         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10046         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10047         (_nss_nis_getgrgid_r): Likewise.
10048         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10049         (internal_nis_gethostent_r, internal_gethostbyname2_r)
10050         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10051         (_nss_nis_gethostbyname4_r): Likewise.
10052         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10053         (initgroups_netid): Likewise.
10054         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10055         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10056         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10057         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10058         (_nss_nis_getprotobynumber_r): Likewise.
10059         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10060         (_nss_nis_getsecretkey): Likewise.
10061         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10062         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10063         (_nss_nis_getpwuid_r): Likewise.
10064         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10065         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10066         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10067         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10068         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10069         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10070         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10071         Likewise.
10072         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10073         (_nss_nisplus_getntohost_r): Likewise.
10074         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10075         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10076         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10077         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10078         Likewise.
10079         * nis/nss_nisplus/nisplus-initgroups.c
10080         (_nss_nisplus_initgroups_dyn): Likewise.
10081         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10082         (_nss_nisplus_getnetbyaddr_r): Likewise.
10083         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10084         (_nss_nisplus_getprotobynumber_r): Likewise.
10085         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10086         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10087         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10088         Likewise.
10089         * nis/nss_nisplus/nisplus-service.c
10090         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10091         (_nss_nisplus_getservbyport_r): Likewise.
10092         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10093         (_nss_nisplus_getspnam_r): Likewise.
10094         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10095         Likewise.
10096         * nscd/aicache.c (addhstaiX): Likewise.
10097         * nscd/cache.c (cache_search, prune_cache): Likewise.
10098         * nscd/connections.c (register_traced_file, send_ro_fd)
10099         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10100         (main_loop_epoll): Likewise.
10101         * nscd/grpcache.c (addgrbyX): Likewise.
10102         * nscd/hstcache.c (addhstbyX): Likewise.
10103         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10104         * nscd/mem.c (gc, mempool_alloc): Likewise.
10105         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10106         (addinnetgrX): Likewise.
10107         * nscd/nscd-client.h (__nscd_acquire_maplock)
10108         (__nscd_drop_map_ref): Likewise.
10109         * nscd/nscd_getai.c (__nscd_getai): Likewise.
10110         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10111         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10112         Likewise.
10113         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10114         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10115         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10116         (__nscd_get_map_ref): Likewise.
10117         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10118         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10119         Likewise.
10120         * nscd/pwdcache.c (addpwbyX): Likewise.
10121         * nscd/selinux.c (preserve_capabilities): Likewise.
10122         * nscd/servicescache.c (addservbyX): Likewise.
10123         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10124         * posix/fnmatch.c (fnmatch): Likewise.
10125         * posix/getopt.c (_getopt_internal_r): Likewise.
10126         * posix/glob.c (glob, glob_in_dir): Likewise.
10127         * posix/wordexp.c (exec_comm_child): Likewise.
10128         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10129         (getanswer_r, gaih_getanswer_slice): Likewise.
10130         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10131         * resolv/res_init.c: Likewise.
10132         * resolv/res_mkquery.c (res_nmkquery): Likewise.
10133         * resolv/res_query.c (__libc_res_nquery): Likewise.
10134         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10135         Likewise.
10136         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10137         * stdio-common/perror.c (perror): Likewise.
10138         * stdio-common/printf_fp.c (___printf_fp): Likewise.
10139         * stdio-common/tmpnam.c (tmpnam): Likewise.
10140         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10141         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10142         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10143         Likewise.
10144         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10145         * stdlib/putenv.c (putenv): Likewise.
10146         * stdlib/setenv.c (__add_to_environ): Likewise.
10147         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10148         * stdlib/strtol_l.c (INTERNAL): Likewise.
10149         * string/memmem.c (memmem): Likewise.
10150         * string/strerror.c (strerror): Likewise.
10151         * string/strnlen.c (__strnlen): Likewise.
10152         * string/test-memmem.c (simple_memmem): Likewise.
10153         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10154         * sunrpc/pm_getport.c (__get_socket): Likewise.
10155         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10156         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10157         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10158         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10159         Likewise.
10160         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10161         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10162         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10163         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10164         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10165         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10166         Likewise.
10167         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10168         Likewise.
10169         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10170         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10171         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10172         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10173         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10174         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10175         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10176         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10177         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10178         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10179         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10180         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10181         Likewise.
10182         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10183         Likewise.
10184         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10185         Likewise.
10186         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10187         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10188         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10189         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10190         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10191         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10192         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10193         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10194         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10195         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10196         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10197         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10198         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10199         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10200         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10201         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10202         Likewise.
10203         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10204         Likewise.
10205         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10206         Likewise.
10207         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10208         Likewise.
10209         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10210         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10211         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10212         Likewise.
10213         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10214         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10215         * sysdeps/posix/opendir.c (__opendirat): Likewise.
10216         * sysdeps/posix/sleep.c: Likewise.
10217         * sysdeps/posix/tempname.c: Likewise.
10218         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10219         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10220         Likewise.
10221         * sysdeps/powerpc/powerpc32/dl-machine.h
10222         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10223         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10224         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10225         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10226         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10227         Likewise.
10228         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10229         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10230         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10231         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10232         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10233         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10234         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10235         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10236         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10237         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10238         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10239         (elf_machine_lazy_rel): Likewise.
10240         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10241         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10242         (elf_machine_lazy_rel): Likewise.
10243         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10244         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10245         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10246         * sysdeps/unix/grantpt.c (grantpt): Likewise.
10247         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10248         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10249         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10250         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10251         Likewise.
10252         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10253         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10254         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10255         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10256         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10257         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10258         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10259         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10260         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10261         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10262         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10263         Likewise.
10264         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10265         (__posix_fallocate64_l64): Likewise.
10266         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10267         (posix_fallocate): Likewise.
10268         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10269         Likewise.
10270         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10271         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10272         (getifaddrs_internal): Likewise.
10273         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10274         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10275         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10276         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10277         * sysdeps/unix/sysv/linux/posix_fallocate64.c
10278         (__posix_fallocate64_l64): Likewise.
10279         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10280         Likewise.
10281         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10282         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10283         (__get_clockfreq): Likewise.
10284         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10285         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10286         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10287         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10288         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10289         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10290         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10291         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10292         Likewise.
10293         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10294         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10295         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10296         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10297         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10298         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10299         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10300         Likewise.
10301         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10302         (posix_fallocate): Likewise.
10303         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10304         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10305         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10306         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10307         (elf_machine_rela, elf_machine_rela_relative)
10308         (elf_machine_lazy_rel): Likewise.
10309         * time/asctime.c (asctime_internal): Likewise.
10310         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10311         * time/tzset.c (__tzset_parse_tz): Likewise.
10312         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10313         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10314         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10315         * wcsmbs/wcsmbsload.h: Likewise.
10316
10317         [BZ #15894]
10318         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10319
10320         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10321         (arena_get2): Remove THREAD_STATS conditionals.
10322         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10323         (__malloc_stats, int): Likewise.
10324
10325 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
10326
10327         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10328         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
10329
10330         * manual/setjmp.texi: Fix typos/grammar errors.
10331
10332         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10333         Only return early when n is <= 0.  Delete unused return statement.
10334
10335         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10336         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10337         * debug/tst-longjmp_chk3.c: New file.
10338
10339         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10340         (test_main): Replace code with set_fortify_handler call.
10341         * debug/test-strcpy_chk.c: Likewise.
10342         * debug/tst-chk1.c: Likewise.
10343         * debug/tst-longjmp_chk.c: Likewise.
10344         * test-skeleton.c: Include fcntl.h & paths.h
10345         (set_fortify_handler): Define.
10346
10347         * debug/tst-longjmp_chk.c: Add header comment and include
10348         ../test-skeleton.c.
10349         (do_test): Mark static.
10350         (TEST_FUNCTION): Define.
10351
10352         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10353         (IP_PMTUDISC_INTERFACE): Likewise.
10354         (IP_MULTICAST_IF): Likewise.
10355         (IP_MULTICAST_TTL): Likewise.
10356         (IP_MULTICAST_LOOP): Likewise.
10357         (IP_ADD_MEMBERSHIP): Likewise.
10358         (IP_DROP_MEMBERSHIP): Likewise.
10359         (IP_UNBLOCK_SOURCE): Likewise.
10360         (IP_BLOCK_SOURCE): Likewise.
10361         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10362         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10363         (IP_MSFILTER): Likewise.
10364         (MCAST_JOIN_GROUP): Likewise.
10365         (MCAST_BLOCK_SOURCE): Likewise.
10366         (MCAST_UNBLOCK_SOURCE): Likewise.
10367         (MCAST_LEAVE_GROUP): Likewise.
10368         (MCAST_JOIN_SOURCE_GROUP): Likewise.
10369         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10370         (MCAST_MSFILTER): Likewise.
10371         (IP_MULTICAST_ALL): Likewise.
10372         (IP_UNICAST_IF): Likewise.
10373
10374         * timezone/Makefile: Delete $(have-ksh) check.
10375         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10376         * timezone/tzselect.ksh: Add +x mode bits.
10377
10378         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10379         (ANON_INODE_FS_MAGIC): Likewise.
10380         (BDEVFS_MAGIC): Likewise.
10381         (BINFMTFS_MAGIC): Likewise.
10382         (BTRFS_TEST_MAGIC): Likewise.
10383         (CRAMFS_MAGIC_WEND): Likewise.
10384         (DEBUGFS_MAGIC): Likewise.
10385         (ECRYPTFS_SUPER_MAGIC): Likewise.
10386         (EXT3_SUPER_MAGIC): Likewise.
10387         (EXT4_SUPER_MAGIC): Likewise.
10388         (FUTEXFS_SUPER_MAGIC): Likewise.
10389         (HOSTFS_SUPER_MAGIC): Likewise.
10390         (HUGETLBFS_MAGIC): Likewise.
10391         (MINIX3_SUPER_MAGIC): Likewise.
10392         (MTD_INODE_FS_MAGIC): Likewise.
10393         (NILFS_SUPER_MAGIC): Likewise.
10394         (OPENPROM_SUPER_MAGIC): Likewise.
10395         (PIPEFS_MAGIC): Likewise.
10396         (PSTOREFS_MAGIC): Likewise.
10397         (QNX6_SUPER_MAGIC): Likewise.
10398         (RAMFS_MAGIC): Likewise.
10399         (REISERFS_SUPER_MAGIC_STRING): Likewise.
10400         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10401         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10402         (SECURITYFS_MAGIC): Likewise.
10403         (SELINUX_MAGIC): Likewise.
10404         (SMACK_MAGIC): Likewise.
10405         (SOCKFS_MAGIC): Likewise.
10406         (SQUASHFS_MAGIC): Likewise.
10407         (STACK_END_MAGIC): Likewise.
10408         (TMPFS_MAGIC): Likewise.
10409         (USBDEVICE_SUPER_MAGIC): Likewise.
10410         (V9FS_MAGIC): Likewise.
10411         (XENFS_SUPER_MAGIC): Likewise.
10412         (CRAMFS_MAGIC): Fix typo in comment.
10413         (EXT2_SUPER_MAGIC): Update comment.
10414         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10415
10416 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
10417
10418         * sysdeps/arm: Move directory from ports/sysdeps/arm.
10419         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10420         * sysdeps/unix/sysv/linux/arm: Move directory from
10421         ports/sysdeps/unix/sysv/linux/arm.
10422         * README: Update listing for arm-*-linux-gnueabi.
10423
10424         * README: Remove mention of am33.
10425
10426 2014-02-07  Roland McGrath  <roland@hack.frob.com>
10427
10428         * bits/sigset.h (__sigemptyset): Use a statement expression rather
10429         than the comma operator, to avoid "rhs of comma has no effect"
10430         compiler warnings.
10431         (__sigfillset, __sigandset, __sigorset): Likewise.
10432         * include/signal.h (__sigemptyset): Likewise.
10433         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10434
10435 2014-02-07  Allan McRae  <allan@archlinux.org>
10436
10437         * version.h (RELEASE): Set to "development".
10438         (VERSION): Set to "2.19.90"
10439         * NEWS: Add 2.20 section.
10440
10441 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
10442
10443         [BZ #16529]
10444         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10445
10446 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10447
10448         * manual/contrib.texi: Update entry for Carlos O'Donell,
10449         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10450
10451 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
10452
10453         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10454
10455         * sysdeps/unix/sysv/linux/kernel-features.h
10456         [__LINUX_KERNEL_VERSION >= 0x020621]
10457         (__ASSUME_PROC_PID_TASK_COMM): Define.
10458
10459 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10460
10461         [BZ #16398]
10462         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10463         conversion when destination buffer does not have enough space.
10464         * libio/tst-ftell-partial-wide.c: New test case.
10465         * libio/Makefile (tests): Add tst-ftell-partial-wide.
10466
10467         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10468         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
10469         Leonard and Allan McRae.
10470
10471 2014-02-04  David S. Miller  <davem@davemloft.net>
10472
10473         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10474         32-bit.
10475
10476 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10477
10478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10479         New file
10480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10481         New file
10482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10483         New file.
10484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10485         New file.
10486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10487         New file.
10488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10489         New file.
10490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10491         New file.
10492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10493         New file.
10494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10495         New file.
10496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10497         New file.
10498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10499         New file.
10500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10501         New file.
10502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10503         New file.
10504
10505 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10506
10507         * nptl/shlib-versions: Change powerpc*le start to 2.17.
10508         * shlib-versions: Likewise.
10509
10510 2014-02-04  Roland McGrath  <roland@hack.frob.com>
10511             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10512
10513         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10514         (abilist-pattern): New variable, set to %-le.abilist.
10515
10516         * Makerules (abilist-pattern): New variable.
10517         (vpath): Use $(abilist-pattern) in place of %.abilist.
10518         (check-abi-% pattern rule): Likewise.
10519         (check-abi, update-abi): Likewise.
10520
10521 2014-02-04  Eric Wong  <normalperson@yhbt.net>
10522
10523         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10524
10525 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
10526
10527         * manual/startup.texi: Add next, previous, and top entries for
10528         the `Program Arguments' and `Environment Variables' nodes.
10529
10530 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
10531
10532         * manual/macros.texi: Add comments before MTASC-safety macros.
10533
10534         * manual/users.texi: Document MTASC-safety properties.
10535
10536         * manual/threads.texi (pthread_key_create, pthread_key_delete)
10537         (pthread_getspecific, pthread_setspecific): Format with
10538         @deftypefun, and add @safety note.
10539         * manual/signal.texi: Move comments that analyze the above
10540         functions to their home place.
10541
10542 2014-02-03  Allan McRae  <allan@archlinux.org>
10543
10544         * po/sl.po: Update Slovenian translation from translation project.
10545
10546 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
10547
10548         * manual/time.texi (timegm): Add missing blank after @c.
10549         Reported by Joseph Myers <joseph@codesourcery.com>.
10550
10551 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
10552
10553         * manual/check-safety.sh: New.
10554         * manual/Makefile ($(objpfx)stamp-summary): Run it.
10555
10556         * manual/terminal.texi: Document MTASC-safety properties.
10557
10558         * manual/filesys.texi: Document MTASC-safety properties.
10559
10560         * manual/errno.texi: Document MTASC-safety properties.
10561
10562         * manual/intro.texi: Document safety identifiers and
10563         conditionals.
10564
10565         * manual/string.texi (wcstok): Fix prototype.
10566         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10567
10568         * manual/time.texi: Document MTASC-safety properties.
10569
10570         * manual/string.texi: Document MTASC-safety properties.
10571
10572         * manual/threads.texi: Document MTASC-safety properties.
10573
10574         * manual/stdio.texi: Document MTASC-safety properties.
10575
10576         * manual/syslog.texi: Document MTASC-safety properties.
10577
10578         * manual/sysinfo.texi: Document MTASC-safety properties.
10579
10580         * manual/startup.texi: Document MTASC-safety properties.
10581
10582         * manual/socket.texi: Document MTASC-safety properties.
10583
10584         * manual/signal.texi: Document MTASC-safety properties.
10585
10586 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
10587
10588         * manual/setjmp.texi: Document MTASC-safety properties.
10589
10590         * manual/search.texi: Document MTASC-safety properties.
10591
10592         * manual/resource.texi: Document MTASC-safety properties.
10593
10594         * manual/process.texi: Document MTASC-safety properties.
10595
10596         * manual/platform.texi: Document MTASC-safety properties.
10597
10598         * manual/pipe.texi: Document MTASC-safety properties.
10599
10600         * manual/pattern.texi: Document MTASC-safety properties.
10601
10602         * manual/message.texi: Document MTASC-safety properties.
10603
10604         [BZ #12751]
10605         * manual/memory.texi: Document MTASC-safety properties.
10606
10607         * manual/math.texi: Document MTASC-safety properties.
10608
10609         * manual/locale.texi: Document MTASC-safety properties.
10610
10611         * manual/llio.texi: Document MTASC-safety properties.
10612
10613         * manual/libdl.texi: New.
10614
10615         * manual/lang.texi: Document MTASC-safety properties.
10616
10617         * manual/job.texi: Document MTASC-safety properties.
10618
10619         * manual/getopt.texi: Document MTASC-safety properties.
10620
10621         * manual/ctype.texi: Document MTASC-safety properties.
10622
10623 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
10624
10625         [BZ #16046]
10626         * csu/libc-tls.c (static_map): Remove variable.
10627         (__libc_setup_tls): Use main executable's link map for TLS data.
10628         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10629         casing for LM_ID_BASE and GL(dl_nns).
10630         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10631         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
10632         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10633         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10634         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10635         member.
10636         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10637         l_phnum members.
10638
10639 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
10640
10641         * manual/debug.texi: Document MTASC-safety properties.
10642
10643 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
10644
10645         [BZ #16510]
10646         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10647         of __x86_64__ when disabling x87 inline functions.
10648
10649 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
10650
10651         * manual/charset.texi: Document MTASC-safety properties.
10652
10653         * manual/crypt.texi: Document MTASC-safety properties.
10654
10655         * manual/conf.texi: Document MTASC-safety properties.
10656
10657         * manual/arith.texi: Document MTASC-safety properties.
10658
10659         * manual/argp.texi: Document MTASC-safety properties.
10660
10661         * manual/macros.texi: Introduce macros to document multi
10662         thread, asynchronous signal and asynchronous cancellation
10663         safety properties.
10664         * manual/intro.texi: Introduce the properties themselves.
10665
10666 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10667
10668         * sysdeps/sh/sh4/Makefile: New file.
10669
10670 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
10671
10672         * math/gen-libm-test.pl ($srcdir): New variable.
10673         ($auto_input): Use it.
10674
10675 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10676
10677         [BZ #16506]
10678         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10679         access beyond array bounds when parsing netgroups file.
10680
10681         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10682         the old buffer before realloc.
10683
10684 2014-01-27  Allan McRae  <allan@archlinux.org>
10685
10686         * po/fr.po: Update French translation from translation project.
10687
10688 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10689
10690         * sysdeps/sh/libm-test-ulps: Regenerate.
10691
10692 2014-01-24  David S. Miller  <davem@davemloft.net>
10693
10694         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10695
10696 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10697
10698         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10699         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10700
10701 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10702
10703         [BZ #16474]
10704         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10705         string pointers after reallocation.
10706
10707 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10708
10709         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10710         __SH4A__ instead of __SH_FPU_ANY__.
10711
10712 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10713
10714         * sysdeps/sh/fpu_control.h: New file.
10715         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10716         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10717         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10718         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10719         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10720         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10721         * sysdeps/sh/sys/ucontext.h: Remove.
10722         * sysdeps/sh/sys: Remove directory.
10723
10724 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10725
10726         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10727         s390/sys/ucontext.h.
10728         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10729         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10730
10731 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
10732
10733         [BZ #15605]
10734         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10735
10736 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10737
10738         [BZ#16431]
10739         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10740         Adjust the vDSO correctly for internal calls.
10741         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10742
10743 2014-01-20  Allan McRae  <allan@archlinux.org>
10744
10745         * po/ca.po: Update Catalan translation from translation project.
10746
10747 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
10748
10749         * sysdeps/s390/sotruss-lib.c: New file.
10750
10751 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10752
10753         [BZ#16430]
10754         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10755         (__GI___gettimeofday): Alias for a different internal symbol to avoid
10756         local calls issues by not having a PLT stub required for IFUNC calls.
10757         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10758
10759 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
10760
10761         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10762         * math/test-fpucw-static.c: Likewise.
10763
10764 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10765
10766         [BZ #16453]
10767         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10768
10769 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10770
10771         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10772         implementation for powerpc.
10773
10774 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
10775
10776         [BZ #14782]
10777         * sysdeps/posix/system.c (__libc_system): Do not enable
10778         asynchronous cancellation.
10779
10780 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10781
10782         [BZ #16427]
10783         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10784         handling only for numbers special also in the IEEE case.
10785
10786 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10787
10788         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10789
10790 2014-01-11  Allan McRae  <allan@archlinux.org>
10791
10792         * po/bg.po: Update Bulgarian translation from translation project.
10793
10794         * po/de.po: Update German translation from translation project.
10795
10796 2014-01-10  Roland McGrath  <roland@hack.frob.com>
10797
10798         * sysdeps/generic/gcc-compat.h: New file.
10799
10800 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10801
10802         * benchtests/asin-inputs: Correct slow inputs.
10803         * benchtests/acos-inputs: Likewise.
10804
10805 2014-01-10  Allan McRae  <allan@archlinux.org>
10806
10807         * po:sv.po: Update Swedish translation from translation project.
10808
10809         * po/vi.po: Update Vietnamese translation from translation project.
10810
10811         * po/eo.po: Update Esperanto translation from translation project.
10812
10813         * po/cs.po: Update Czech translation from translation project.
10814
10815         * po/nl.po: Update Dutch translation from translation project.
10816
10817         * po/pl.po: Update Polish translation from translation project.
10818
10819         * po/ru.po: Update Russian translation from translation project.
10820
10821         * po/uk.po: Update Ukrainian translation from translation project.
10822
10823 2014-01-08  Brooks Moses  <bmoses@google.com>
10824
10825         * elf/dl-load.c: Fix comment typo.
10826
10827 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
10828
10829         * po/header.pot: Rename to...
10830         * po/pot.header: ... this.
10831         * po/Makefile: Use pot.header.
10832
10833 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
10834             Maxim Kuvyrkov  <maxim@kugelworks.com>
10835
10836         [BZ #16394]
10837         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10838         SRC and DEST against LEN.
10839
10840 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10841
10842         [BZ #16414]
10843         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10844         implementation.
10845         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10846
10847 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10848
10849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10850
10851 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
10852
10853         [BZ #16408]
10854         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10855         for large positive arguments.
10856
10857 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
10858
10859         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10860
10861         * math/auto-libm-test-in: Mark various tests with
10862         xfail-rounding:ldbl-128ibm.
10863         * math/auto-libm-test-out: Regenerated.
10864
10865         [BZ #16407]
10866         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10867         Increase overflow threshold.
10868
10869 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
10870
10871         [BZ #14286]
10872         * stdio-common/vfprintf.c: Check for integer overflow.
10873
10874 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10875
10876         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10877         the first argument and return value of __tls_get_addr_internal.
10878
10879 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10880
10881         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10882         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10883
10884 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10885
10886         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10887         * sysdeps/s390/rtld-global-offsets.sym: New file.
10888         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10889         GLIBC_2.19 symbol.
10890         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10891         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10892         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10893         ... this.
10894         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10895         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10896         ... this.
10897         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10898         Regenerate.
10899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10900         Regenerate.
10901         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10902         halfs of GPRs for high_gprs contexts.
10903         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10904         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
10905         field.
10906         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10907         uc_flags field.
10908         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10909         64 bit versions:
10910         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10911         for high GPRs (uc_high_gprs) and for future extensions
10912         (__reserved).
10913         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10914         for future extensions (__reserved).
10915         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10916         64 bit versions:
10917         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10918         SC_HIGHGPRS offset definition.
10919         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10920         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10921
10922         * Versions.def: Add GLIBC_2.19 for libpthread.
10923         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10924         siglongjmp for libpthread with GLIBC_2.19 symver.
10925         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10926         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10927         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10928         * sysdeps/s390/__longjmp.c: New file.
10929         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10930         * sysdeps/s390/longjmp.c: New file.
10931         * sysdeps/s390/setjmp.S: New file.
10932         * sysdeps/s390/sigjmp.S: New file.
10933         * sysdeps/s390/v1-longjmp.c: New file.
10934         * sysdeps/s390/v1-setjmp.h: New file.
10935         * sysdeps/s390/v1-sigjmp.c: New file.
10936         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10937         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10938         GLIBC_2.19 version.
10939         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10940         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10941         versioned symbols for ____longjmp_chk.
10942         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10943         Likewise.
10944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10945         Regenerate.
10946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10947         Regenerate.
10948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10949         Regenerate.
10950         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10951         Regenerate.
10952         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10953         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10954         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10955         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10956         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10957         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10958         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10959         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10960         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10961         * sysdeps/s390/rtld-__longjmp.c: New file.
10962         * sysdeps/s390/rtld-setjmp.S: New file.
10963
10964 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
10965
10966         [BZ #16400]
10967         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10968         Return -__logl (x) for small positive arguments without evaluating
10969         a polynomial.
10970
10971 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
10972
10973         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10974         Rename to ...
10975         (__ptrace_peeksiginfo_args): ... this.
10976         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10977         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10978         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10979
10980 2014-01-06  Allan McRae  <allan@archlinux.org>
10981
10982         * inet/netinet/in.h: Fix typo in comment.
10983
10984 2014-01-05  Andreas Jaeger  <aj@suse.de>
10985
10986         * sysdeps/i386/fpu/libm-test-ulps: Update.
10987
10988 2014-01-05  Allan McRae  <allan@archlinux.org>
10989
10990         * po/libc.pot: Regenerated.
10991
10992         * malloc/memusagestat.c: Fix gettext call formatting.
10993
10994 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
10995
10996         * nscd/nscd.c: Improve usage() output.
10997
10998 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
10999
11000         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11001         * sysdeps/unix/sysv/linux/configure: Regenerated.
11002         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11003         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11004
11005 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11006
11007         [BZ #16390]
11008         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11009         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11010
11011 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11012
11013         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11014         extra tokens at end of #undef directive.
11015         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11016         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11017         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11018
11019 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11020
11021         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11022
11023         * math/auto-libm-test-in: Mark various tests with
11024         xfail-rounding:ldbl-128ibm.
11025         * math/auto-libm-test-out: Regenerated.
11026
11027 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
11028
11029         [BZ #16386]
11030         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11031         numbers with subnormal high part when calculating exponent.
11032
11033         [BZ #16385]
11034         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11035         fabs.
11036
11037         [BZ #16384]
11038         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11039         M_LN2l.
11040         (__ieee754_acoshl): Use __log1pl not __log1p.
11041
11042 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
11043
11044         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11045         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11046         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11047         (grow_heap, heap_trim, _int_new_arena, get_free_list)
11048         (reused_arena, arena_get2): Convert to GNU style.
11049         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11050         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11051         (memalign_check, __malloc_set_state): Likewise.
11052         * malloc/mallocbug.c (main): Likewise.
11053         * malloc/malloc.c (__malloc_assert, malloc_init_state)
11054         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11055         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11056         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11057         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11058         (__posix_memalign, malloc_info): Likewise.
11059         * malloc/malloc.h: Likewise.
11060         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11061         (mallochook, memalignhook, reallochook, mabort): Likewise.
11062         * malloc/mcheck.h: Likewise.
11063         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11064         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11065         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11066         * malloc/morecore.c (__default_morecore): Likewise.
11067         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11068         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11069         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11070         (print_and_abort): Likewise.
11071         * malloc/obstack.h: Likewise.
11072         * malloc/set-freeres.c (__libc_freeres): Likewise.
11073         * malloc/tst-mallocstate.c (main): Likewise.
11074         * malloc/tst-mtrace.c (main): Likewise.
11075         * malloc/tst-realloc.c (do_test): Likewise.
11076
11077 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11078
11079         [BZ #16366]
11080         * nscd/netgroupcache.c (do_notfound): New function.
11081         (addgetnetgrentX): Use it.
11082
11083         [BZ # 16365]
11084         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11085         NSS_STATUS_NOTFOUND.
11086
11087 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
11088
11089         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11091
11092 2014-01-01  Allan McRae  <allan@archlinux.org>
11093
11094         * scripts/update-copyrights: Update configure input file suffix.
11095
11096         * NEWS: Update copyright year.
11097         * catgets/gencat.c: Likewise.
11098         * csu/version.c: Likewise.
11099         * debug/catchsegv.sh: Likewise.
11100         * debug/pcprofiledump.c: Likewise.
11101         * debug/xtrace.sh: Likewise.
11102         * elf/ldconfig.c: Likewise.
11103         * elf/ldd.bash.in: Likewise.
11104         * elf/pldd.c: Likewise.
11105         * elf/sotruss.ksh: Likewise.
11106         * elf/sprof.c: Likewise.
11107         * iconv/iconv_prog.c: Likewise.
11108         * iconv/iconvconfig.c: Likewise.
11109         * locale/programs/locale.c: Likewise.
11110         * locale/programs/localedef.c: Likewise.
11111         * login/programs/pt_chown.c: Likewise.
11112         * malloc/memusage.sh: Likewise.
11113         * malloc/memusagestat.c: Likewise.
11114         * malloc/mtrace.pl: Likewise.
11115         * manual/libc.texinfo: Likewise.
11116         * nscd/nscd.c: Likewise.
11117         * nss/getent.c: Likewise.
11118         * nss/makedb.c: Likewise.
11119         * posix/getconf.c: Likewise.
11120         * scripts/test-installation.pl: Likewise.
11121
11122         * All files with FSF copyright notices: Update copyright dates
11123         using scripts/update-copyrights.
11124         * intl/plural.c: Regenerated.
11125         * locale/programs/charmap-kw.h: Likewise.
11126         * locale/programs/locfile-kw.h: Likewise.
11127
11128 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
11129
11130         * sysdeps/unix/sysv/linux/configure: Regenerated.
11131         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11132         the linux/fanotify.h header.
11133         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11134         HAVE_LINUX_FANOTIFY_H is defined.
11135
11136 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11137
11138         * benchtests/cos-inputs: New inputs.
11139         * benchtests/sin-inputs: Likewise.
11140
11141         * benchtests/atan-inputs: New inputs. Fix name of multiple
11142         precision fallback inputs.
11143
11144         * benchtests/atanh-inputs: New inputs.
11145         * benchtests/tanh-inputs: Likewise.
11146
11147         * benchtests/acosh-inputs: New inputs.
11148         * benchtests/asinh-inputs: Likewise.
11149
11150         * benchtests/cosh-inputs: New inputs.
11151         * benchtests/sinh-inputs: Likewise.
11152
11153         * benchtests/acos-inputs: Add more inputs.
11154         * benchtests/asin-inputs: Likewise.
11155
11156 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
11157
11158         [BZ #16375]
11159         * manual/arith.texi: Fix spelling.
11160         * manual/charset.texi: Likewise.
11161         * manual/errno.texi: Likewise.
11162         * manual/filesys.texi: Likewise.
11163         * manual/lang.texi: Likewise.
11164         * manual/llio.texi: Likewise.
11165         * manual/locale.texi: Likewise.
11166         * manual/message.texi: Likewise.
11167         * manual/resource.texi: Likewise.
11168         * manual/search.texi: Likewise.
11169         * manual/setjmp.texi: Likewise.
11170         * manual/stdio.texi: Likewise.
11171         * manual/string.texi: Likewise.
11172         * manual/sysinfo.texi: Likewise.
11173         * manual/time.texi: Likewise.
11174
11175 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
11176
11177         * po/sl.po: New file.
11178
11179 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
11180
11181         * .gitignore: Add core/.gdbinit/.gdb_history.
11182
11183 2013-12-27  Allan McRae  <allan@archlinux.org>
11184
11185         [BZ #16369]
11186         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11187         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11188
11189 2013-12-24  Brooks Moses  <bmoses@google.com>
11190
11191         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11192         all compilers that claim C++98 compliance, not just GCC.
11193         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11194         Likewise.
11195
11196 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11197
11198         * NEWS: Restore accidentally deleted bug-fix entries.
11199
11200 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11201             Ondřej Bílka  <neleai@seznam.cz>
11202
11203         [BZ #15073]
11204         * malloc/malloc.c (_int_free): Perform sanity check only if we
11205         have_lock.
11206
11207 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
11208
11209         [BZ #12986]
11210         * manual/stdio.texi (String Input Conversions): Clarify that character
11211         classes are not supported.
11212
11213 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11214
11215         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11216
11217 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
11218
11219         [BZ #16337]
11220         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11221         Calculate results for small negative arguments directly rather
11222         than using reflection formula with special underflow handling.
11223
11224         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11225         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11226         sysdeps/unix/bsd/bsd4.4/syscalls.list.
11227         (fchflags): Likewise.
11228         (revoke): Likewise.
11229         (setlogin): Likewise.
11230         (sigaltstack): Likewise.
11231         (wait4): Likewise.
11232         (sigblock): Remove.
11233         (sigsetmask): Likewise.
11234         (wait3): Likewise.
11235         (waitpid): Likewise.
11236         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11237         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11238         file.
11239         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11240         * sysdeps/unix/bsd/Makefile: ... here.
11241         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11242         * sysdeps/unix/bsd/Versions: ... here.
11243         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11244         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11245         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11246         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11247         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11248         * sysdeps/unix/bsd/sigblock.c: ... here.
11249         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11250         * sysdeps/unix/bsd/sigsetmask.c: ... here.
11251         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11252         * sysdeps/unix/bsd/sigvec.c: ... here.
11253         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11254         * sysdeps/unix/bsd/tcdrain.c: ... here.
11255         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11256         * sysdeps/unix/bsd/tcgetattr.c: ... here.
11257         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11258         * sysdeps/unix/bsd/tcsetattr.c: ... here.
11259         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11260         * sysdeps/unix/bsd/wait.c: ... here.
11261         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11262         * sysdeps/unix/bsd/wait3.c: ... here.
11263         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11264         * sysdeps/unix/bsd/waitpid.c: ... here.
11265
11266 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
11267
11268         [BZ #16356]
11269         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11270         round-to-nearest for [!USE_AS_EXPM1L].
11271         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11272         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
11273         more tests of exp and exp10.  Expect some exp10 tests to miss
11274         exceptions or fail in directed rounding modes.
11275         * math/auto-libm-test-out: Regenerated.
11276         * math/libm-test.inc (exp10_tonearest_test_data): New array.
11277         (exp10_test_tonearest): New function.
11278         (exp10_towardzero_test_data): New array.
11279         (exp10_test_towardzero): New function.
11280         (exp10_downward_test_data): New array.
11281         (exp10_test_downward): New function.
11282         (exp10_upward_test_data): New array.
11283         (exp10_test_upward): New function.
11284         (main): Call the new functions.
11285         * sysdeps/i386/fpu/libm-test-ulps: Update.
11286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11287
11288 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
11289
11290         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11291         asinh, atan, atan2, atanh, cbrt, cos and cosh.
11292         * math/auto-libm-test-out: Regenerated.
11293         * math/libm-test.inc (acosh_test_data): Add more tests.
11294         (atanh_test_data): Likewise.
11295         (ceil_test_data): Likewise.
11296         (copysign_test_data): Likewise.
11297         * sysdeps/i386/fpu/libm-test-ulps: Update.
11298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11299
11300         * timezone/checktab.awk: Update from tzcode 2013i.
11301         * timezone/private.h: Likewise.
11302         * timezone/scheck.c: Likewise.
11303         * timezone/tzfile.h: Likewise.
11304         * timezone/tzselect.ksh: Likewise.
11305         * timezone/zdump.c: Likewise.
11306         * timezone/zic.c: Likewise.
11307
11308         * math/auto-libm-test-in: Add tests of cpow.
11309         * math/auto-libm-test-out: Regenerated.
11310         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11311         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11312         mpc_cc_c.
11313         (func_calc_desc): Add mpc_cc_c union field.
11314         (test_functions): Add cpow.
11315         (special_fill_2pi): New function.
11316         (special_real_inputs): Add 2pi.
11317         (calc_generic_results): Handle mpc_cc_c.
11318         * sysdeps/i386/fpu/libm-test-ulps: Update.
11319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11320
11321         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11322         csqrt, ctan and ctanh.
11323         * math/auto-libm-test-out: Regenerated.
11324         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11325         (TEST_COND_x86): Likewise.
11326         (ccos_test_data): Use AUTO_TESTS_c_c.
11327         (ccosh_test_data): Likewise.
11328         (cexp_test_data): Likewise.
11329         (clog_test_data): Likewise.
11330         (csqrt_test_data): Likewise.
11331         (ctan_test_data): Likewise.
11332         (ctan_tonearest_test_data): Likewise.
11333         (ctan_towardzero_test_data): Likewise.
11334         (ctan_downward_test_data): Likewise.
11335         (ctan_upward_test_data): Likewise.
11336         (ctanh_test_data): Likewise.
11337         (ctanh_tonearest_test_data): Likewise.
11338         (ctanh_towardzero_test_data): Likewise.
11339         (ctanh_downward_test_data): Likewise.
11340         (ctanh_upward_test_data): Likewise.
11341         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11342         mpc_c_c.
11343         (func_calc_desc): Add mpc_c_c union field.
11344         (FUNC_mpc_c_c): New macro.
11345         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11346         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11347         ctanh.
11348         (special_fill_min_subnorm_p120): New function.
11349         (special_real_inputs): Add min_subnorm_p120.
11350         (calc_generic_results): Handle mpc_c_c.
11351         * sysdeps/i386/fpu/libm-test-ulps: Update.
11352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11353
11354 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11355
11356         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11357         (do_sin_slow): New functions.
11358         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11359         (cslow2, csloww1, csloww2): Use the new functions.
11360
11361         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11362         Use M to change sign of result instead of X.  Assume X is
11363         positive.
11364         (csloww1): Likewise.
11365         (__sin): Adjust.
11366         (__cos): Adjust.
11367
11368         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11369         arguments A and DA.
11370         (__sin): Adjust.
11371         (__cos): Likewise.
11372
11373         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11374         (__cos): Likewise.
11375         (sloww1): Don't adjust sign of DX.
11376         (csloww1): Likewise.
11377         (sloww2): Use X directly and don't adjust sign of DX.
11378         (csloww2): Likewise.
11379
11380 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11381
11382         * math/auto-libm-test-in: Add tests of cabs and carg.
11383         * math/auto-libm-test-out: Regenerated.
11384         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11385         (carg_test_data): Likewise.
11386         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11387         mpc_c_f.
11388         (func_calc_desc): Add mpc_c_f union field.
11389         (test_functions): Add cabs and carg.
11390         (calc_generic_results): Handle mpc_c_f.
11391
11392         * sysdeps/powerpc/powerpc32/libgcc-compat.S
11393         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11394         as a macro and a compat symbol.
11395         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11396         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11397         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11398         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11399         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11400         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11401         not use .hidden.
11402         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11403         Likewise.
11404         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11405         Likewise.
11406         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11407         Likewise.
11408         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11409         Likewise.
11410         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11411         Likewise.
11412         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11413         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11414         from GLIBC_2.3.2.
11415
11416 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11417
11418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11419
11420 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11421
11422         * manual/texinfo.tex: Update to version 2013-11-26.10 with
11423         trailing whitespace removed.
11424         * scripts/config.guess: Update to version 2013-11-29.
11425         * scripts/config.sub: Update to version 2013-10-01.
11426
11427         * math/auto-libm-test-in: Add tests of sincos.
11428         * math/auto-libm-test-out: Regenerated.
11429         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11430         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11431         mpfr_f_11.
11432         (func_calc_desc): Add mpfr_f_11 union field.
11433         (test_functions): Add sincos.
11434         (calc_generic_results): Handle mpfr_f_11.
11435         * sysdeps/i386/fpu/libm-test-ulps: Update.
11436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11437
11438 2013-12-19  Andreas Schwab  <schwab@suse.de>
11439
11440         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11441         CALL_MCOUNT.
11442         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11443         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11444         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11445
11446 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11447
11448         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11449         * sysdeps/i386/fpu/libm-test-ulps: Update.
11450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11451
11452         [BZ #16293]
11453         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11454         round-to-nearest mode when using frndint.
11455         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11456         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11457         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11458         Likewise.
11459         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
11460         sinh test to fail.
11461         * math/auto-libm-test-out: Regenerated.
11462         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11463         (TEST_COND_x86): Likewise.
11464         (expm1_tonearest_test_data): New array.
11465         (expm1_test_tonearest): New function.
11466         (expm1_towardzero_test_data): New array.
11467         (expm1_test_towardzero): New function.
11468         (expm1_downward_test_data): New array.
11469         (expm1_test_downward): New function.
11470         (expm1_upward_test_data): New array.
11471         (expm1_test_upward): New function.
11472         (main): Run the new test functions.
11473         * sysdeps/i386/fpu/libm-test-ulps: Update.
11474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11475
11476         * include/features.h: Update comment documenting feature test
11477         macros.  Mention _DEFAULT_SOURCE in comment.
11478         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11479         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11480         _BSD_SOURCE and _SVID_SOURCE.
11481         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11482         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11483         !_SVID_SOURCE]: Likewise.
11484         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11485         (__USE_POSIX_IMPLICITLY): Define.
11486         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11487         (_POSIX_SOURCE): Undefine and redefine.
11488         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11489         (_POSIX_C_SOURCE): Likewise.
11490         * manual/creature.texi (_DEFAULT_SOURCE): Document.
11491         (Feature Test Macros): Update documentation of default features.
11492
11493 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11494
11495         * benchtests/Makefile: Add bench-strtok.
11496         * benchtests/bench-strtok.c: New file: strtok benchtest.
11497
11498 2013-12-19  Allan McRae  <allan@archlinux.org>
11499
11500         * manual/install.texi: Suppress menu for plain text output.
11501         * INSTALL: Regenerated.
11502
11503 2013-12-18  Brooks Moses  <bmoses@google.com>
11504
11505         [BZ #15846]
11506         * misc/getauxval.c: Include errno.h.
11507         (__getauxval): Set errno to ENOENT if the requested type is not
11508         found.
11509         * misc/sys/auxv.h (getauxval): Document that it may set errno;
11510         don't declare with __attribute_const__.
11511         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11512         * manual/startup.texi: Document that getauxval sets errno.
11513
11514 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11515
11516         * math/auto-libm-test-in: Add tests of jn and yn.
11517         * math/auto-libm-test-out: Regenerated.
11518         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11519         (yn_test_data): Likewise.
11520         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11521         mpfr_if_f.
11522         (func_calc_desc): Add mpfr_if_f union field.
11523         (FUNC_mpfr_if_f): New macro.
11524         (test_functions): Add jn and yn.
11525         (calc_generic_results): Assert type of second input for
11526         mpfr_ff_f.  Handle mpfr_if_f.
11527         (output_for_one_input_case): Disable all checking for arguments
11528         fitting floating-point types in case of an integer argument.
11529         * sysdeps/i386/fpu/libm-test-ulps: Update.
11530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11531
11532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11533         Don't expect fegetround reference in libm.so.
11534
11535 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11536
11537         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11538         $(config-cflags-nofma).
11539
11540 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11541
11542         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11543         * math/auto-libm-test-out: Regenerated.
11544
11545         [BZ #16338]
11546         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11547         to determine exponent and adjust argument to have exponent of -1.
11548         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11549         log2.
11550         * math/auto-libm-test-out: Regenerated.
11551         * sysdeps/i386/fpu/libm-test-ulps: Update.
11552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11553
11554 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
11555
11556         * manual/probes.texi: Remove cases when per-thread arenas are
11557         disabled.
11558
11559 2013-12-18  Andreas Schwab  <schwab@suse.de>
11560
11561         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11562         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11563         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11564         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11565         * sysdeps/i386/i686/multiarch/Makefile: Update.
11566         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11567
11568 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11569
11570         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11571         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11572
11573 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
11574
11575         [BZ #15968]
11576         Support TZ transition times < 00:00:00.
11577         This is needed for version-3 tz-format files; it supports time
11578         stamps past 2037 for America/Godthab (the only entry in the tz
11579         database for which this change is relevant).
11580         * manual/time.texi (TZ Variable): Document transition times
11581         from -167:59:59 through -00:00:01.
11582         * time/tzset.c (tz_rule): Time of day is now signed.
11583         (__tzset_parse_tz): Parse negative time of day.
11584
11585         Document TZ transition times >= 25:00:00.
11586         * manual/time.texi (TZ Variable): Document transition times from
11587         25:00:00 through 167:59:59.  These are already supported, and this
11588         support will help with version-3 tz-format files.
11589
11590         * manual/time.texi (TZ Variable): Modernize North America example
11591         to reflect current (i.e., 2007-and-later) daylight saving rules.
11592
11593         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11594
11595 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11596
11597         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11598         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11599         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11600         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11601         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11602         * sysdeps/unix/bsd/bsdstat.h: Likewise.
11603         * sysdeps/unix/bsd/clock.c: Likewise.
11604         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11605         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11606         * sysdeps/unix/bsd/init-posix.c: Likewise.
11607         * sysdeps/unix/bsd/poll.c: Likewise.
11608         * sysdeps/unix/bsd/ptsname.c: Likewise.
11609         * sysdeps/unix/bsd/seekdir.c: Likewise.
11610         * sysdeps/unix/bsd/setegid.c: Likewise.
11611         * sysdeps/unix/bsd/seteuid.c: Likewise.
11612         * sysdeps/unix/bsd/setgid.c: Likewise.
11613         * sysdeps/unix/bsd/setrgid.c: Likewise.
11614         * sysdeps/unix/bsd/setruid.c: Likewise.
11615         * sysdeps/unix/bsd/setsid.c: Likewise.
11616         * sysdeps/unix/bsd/setuid.c: Likewise.
11617         * sysdeps/unix/bsd/sigaction.c: Likewise.
11618         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11619         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11620         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11621         * sysdeps/unix/bsd/telldir.c: Likewise.
11622         * sysdeps/unix/bsd/times.c: Likewise.
11623         * sysdeps/unix/bsd/usleep.c: Likewise.
11624
11625         * misc/Makefile (install-lib): Remove libbsd-compat.a.
11626         ($(objpfx)libbsd-compat.a): Remove rule.
11627
11628         * include/features.h (__FAVOR_BSD): Do not define.
11629         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11630         features conflicting with POSIX.
11631         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11632         (_BSD_SOURCE): Remove description of not being a subset of other
11633         feature test macros.
11634         * manual/job.texi (getpgrp): Do not document BSD version.
11635         (getpgid): Do not document by reference to BSD getpgrp.
11636         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11637         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11638         * signal/signal.h [__FAVOR_BSD]: Likewise.
11639         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11640         instead of making contents conditional on [__FAVOR_BSD].
11641         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11642
11643 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11644
11645         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11646
11647 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11648
11649         [BZ #16314]
11650         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11651         values below 2**-450, not 2**-500.
11652         * math/auto-libm-test-in: Don't allow spurious underflow from
11653         hypot.
11654         * math/auto-libm-test-out: Regenerated.
11655
11656         [BZ #16316]
11657         [BZ #16330]
11658         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11659         values of ha and hb and sort them after adjusting subnormal
11660         arguments.
11661         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11662         Likewise.
11663         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11664         values of ea and eb and sort them after adjusting subnormal
11665         arguments.
11666         * math/auto-libm-test-in: Do not expect some hypot tests of
11667         subnormals to fail.  Add more hypot tests.
11668         * math/auto-libm-test-out: Regenerated.
11669
11670 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11671
11672         [BZ #13304]
11673         * sysdeps/sh/s_fma.c: New file.
11674         * sysdeps/sh/s_fmaf.c: New file.
11675         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
11676         version.
11677         * sysdeps/sh/Implies: Add sh/soft-fp.
11678
11679 2013-12-16  Roland McGrath  <roland@hack.frob.com>
11680
11681         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
11682         level of indirection to members `objname', `errstring', `malloced'.
11683         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11684         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
11685         it as the __longjmp argument (just pass 1 instead).
11686         (_dl_catch_error): Initialize C with argument pointers and address of
11687         volatile local ERRCODE rather than copying values out of C at return.
11688
11689 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
11690
11691         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11692         * math/auto-libm-test-out: Regenerated.
11693         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11694         (hypot_test_data): Likewise.
11695         (pow_test_data): Likewise.
11696         (pow_tonearest_test_data): Likewise.
11697         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11698         mpfr_ff_f.
11699         (func_calc_desc): Add mpfr_ff_f union field.
11700         (FUNC_mpfr_ff_f): New macro.
11701         (test_functions): Add atan2, hypot and pow.
11702         (special_fill_min): New function.
11703         (special_fill_minus_min): Likewise.
11704         (special_fill_min_subnorm): Likewise.
11705         (special_fill_minus_min_subnorm): Likewise.
11706         (special_real_inputs): Add min, -min, min_subnorm and
11707         -min_subnorm.
11708         (calc_generic_results): Handle mpfr_ff_f.
11709         * sysdeps/i386/fpu/libm-test-ulps: Update.
11710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11711
11712 2013-12-16  Will Newton  <will.newton@linaro.org>
11713
11714         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11715         (Aligned Memory Blocks): Add documentation for aligned_alloc
11716         and suggest it as an alternative to posix_memalign.
11717         (Hooks for Malloc): Document __memalign_hook is also called
11718         for aligned_alloc.  (Summary of Malloc): Add summary for
11719         aligned alloc.  Document __memalign_hook is also called
11720         for aligned_alloc.
11721
11722 2013-12-16  Will Newton  <will.newton@linaro.org>
11723
11724         * manual/memory.texi (Malloc Examples): Clarify default
11725         alignment documentation.  Suggest posix_memalign rather
11726         than memalign or valloc.
11727         (Aligned Memory Blocks): Remove suggestion to use memalign
11728         or valloc.  Remove obsolete comment about BSD.
11729         Document memalign errno values and mark the function obsolete.
11730         Document posix_memalign returned error codes.  Mark valloc
11731         as obsolete.  (Hooks for Malloc): __memalign_hook is also
11732         called for posix_memalign and valloc.
11733         (Summary of Malloc): Add posix_memalign to function summary.
11734         __memalign_hook is also called for posix_memalign and valloc.
11735
11736 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11737
11738         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11739         TAYLOR_SIN.
11740         (__sin): Adjust.
11741         (__cos): Likewise.
11742         (sloww): Use mynumber union.  Expand ternary operator into
11743         if-else statements.
11744         (cslow): use mynumber union.
11745
11746 2013-12-16  Allan McRae  <allan@archlinux.org>
11747
11748         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11749         * configure: Regenerated.
11750
11751         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11752
11753         [BZ #14120]
11754         * configure.ac: Added --enable-maintainer-mode. Check for
11755         autoconf when enabled.
11756         * configure: Regenerated.
11757
11758         * nscd/nscd.service: New file.
11759         * nscd/nscd.tmpfiles: New file.
11760
11761 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
11762
11763         [BZ #12100]
11764         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11765         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11766         * sysdeps/x86_64/multiarch/strstr.c: ... here.
11767         (strstr): Add __strstr_sse2_unaligned ifunc.
11768         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11769         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11770         (strcasestr): Remove __strcasestr_sse42 ifunc.
11771         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11772         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11773         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11774
11775 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11776
11777         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11778         * sysdeps/sh/bits/fenv.h: ... here.
11779         * sysdeps/sh/sh4/fpu/bits: Remove directory.
11780
11781 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11782
11783         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11784
11785         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11786         hypotf multiarch implementations.
11787         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11788         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11789         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11790         multiarch hypot for PPC64.
11791         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11792         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11793         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11794         multiarch hypotf for PPC64.
11795
11796         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11797         modff multiarch implementations.
11798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11801         multiarch modf for PPC64.
11802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11805         multiarch modff for PPC64.
11806
11807         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11808         and logl multiarch implementations.
11809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11812         multiarch logb for PPC64.
11813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11816         multiarch logb for PPC64.
11817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11820         multiarch logb for PPC64.
11821
11822         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11823         isinff multiarch implementation.
11824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11825         file.
11826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11828         multiarch isinf for PPC64.
11829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11830         file.
11831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11832         multiarch isinff for PPC64.
11833
11834         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11835         finitef multiarch implementation.
11836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11837         file.
11838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11840         multiarch finite for PPC64.
11841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11842         file.
11843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11844         multiarch finitef for PPC64.
11845
11846         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11847         lrint multiarch implementation.
11848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11849         file.
11850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11852         multiarch llrint for PPC64.
11853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11854         multiarch lrint for PPC64.
11855
11856         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11857         copysignf multiarch implementation.
11858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11859         file.
11860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11861         file.
11862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11863         multiarch copysign for PPC64.
11864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11865         multiarch copysignf for PPC64.
11866
11867         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11868         multiarch implementation.
11869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11870         file.
11871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11872         file.
11873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11874         file.
11875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11876         file.
11877         multiarch llround for PPC64.
11878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11879         multiarch trunc for PPC64.
11880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11881         multiarch truncf for PPC64.
11882
11883         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11884         multiarch implementation.
11885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11886         file.
11887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11888         file.
11889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11890         file.
11891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11892         file.
11893         multiarch llround for PPC64.
11894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11895         multiarch round for PPC64.
11896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11897         multiarch roundf for PPC64.
11898
11899         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11900         multiarch implementation.
11901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11902         file.
11903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11904         file.
11905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11906         file.
11907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11908         file.
11909         multiarch llround for PPC64.
11910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11911         multiarch floor for PPC64.
11912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11913         multiarch floorf for PPC64.
11914
11915         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11916         multiarch implementation.
11917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11918         file.
11919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11920         file.
11921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11922         file.
11923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11924         file.
11925         multiarch llround for PPC64.
11926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11927         multiarch ceil for PPC64.
11928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11929         multiarch ceilf for PPC64.
11930
11931         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11932         multiarch implementation.
11933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11934         file.
11935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11936         file.
11937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11938         file.
11939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11940         multiarch llround for PPC64.
11941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11942         multiarch lround for PPC64.
11943
11944         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11945         multiarch implementation.
11946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11949         file.
11950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11953         multiarch isnan for PPC64.
11954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11955         multiarch isnanf for PPC64.
11956
11957         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11958         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11959         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11960         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11961         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11963
11964         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11965         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11966         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11967         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11968
11969         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11970         multiarch implementations.
11971         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11972         (__libc_ifunc_impl_list): Likewise.
11973         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11974         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11975         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11976         multiarch stpcpy for PPC64.
11977
11978         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11979         multiarch implementations.
11980         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11981         (__libc_ifunc_impl_list): Likewise.
11982         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11983         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11984         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11985         multiarch strcpy for PPC64.
11986
11987         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11988         redefine function name.
11989         (_wordcopy_fwd_dest_aligned): Likewise.
11990         (_wordcopy_bwd_aligned): Likewise.
11991         (_wordcopy_bwd_dest_aligned): Likewise.
11992         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11993         multiarch implementations.
11994         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11995         (__libc_ifunc_impl_list): Likewise.
11996         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11997         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11998         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11999         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12000         multiarch wcscpy for PPC64.
12001
12002         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12003         multiarch implementations.
12004         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12005         (__libc_ifunc_impl_list): Likewise.
12006         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12007         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12008         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12009         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12010         multiarch wcscpy for PPC64.
12011
12012         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12013         multiarch implementations.
12014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12015         (__libc_ifunc_impl_list): Likewise.
12016         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12017         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12018         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12019         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12020         multiarch wcsrchr for PPC64.
12021
12022         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12023         multiarch implementations.
12024         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12025         (__libc_ifunc_impl_list): Likewise.
12026         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12027         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12028         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12029         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12030         multiarch wcschr for PPC64.
12031
12032         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12033         multiarch implementations.
12034         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12035         (__libc_ifunc_impl_list): Likewise.
12036         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12037         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12038         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12039         multiarch strchrnul for PPC64.
12040
12041         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12042         implementations.
12043         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12044         (__libc_ifunc_impl_list): Likewise.
12045         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12046         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12047         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12048         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12049         strchr for PPC64.
12050
12051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12052         implementations.
12053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12054         (__libc_ifunc_impl_list): Likewise.
12055         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12056         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12057         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12058         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12059         strncmp for PPC64.
12060
12061         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12062         multiarch implementations.
12063         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12064         (__libc_ifunc_impl_list): Likewise.
12065         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12066         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12067         strncasecmp for PPC64.
12068         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12069         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12070         multiarch strncasecmp_l for PPC64.
12071
12072         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12073         multiarch implementations.
12074         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12075         (__libc_ifunc_impl_list): Likewise.
12076         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12077         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12078         multiarch strcasecmp for PPC64.
12079         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12080         file.
12081         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12082         multiarch strcasecmp_l for PPC64.
12083
12084         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12085         implementations.
12086         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12087         (__libc_ifunc_impl_list): Likewise.
12088         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12089         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12090         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12091         strnlen for PPC64.
12092
12093         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12094         implementations.
12095         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12096         (__libc_ifunc_impl_list): Likewise.
12097         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12098         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12099         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12100         strlen for PPC64.
12101
12102         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12103         implementations.
12104         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12105         (__libc_ifunc_impl_list): Likewise.
12106         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12107         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12108         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12109         rawmemrchr for PPC64.
12110
12111         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12112         implementation.
12113         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12114         (__libc_ifunc_impl_list): Likewise.
12115         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12116         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12117         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12118         memrchr for PPC64.
12119
12120         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12121         implementation.
12122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12123         (__libc_ifunc_impl_list): Likewise.
12124         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12125         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12126         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12127         memchr for PPC64.
12128
12129         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12130         implementation.
12131         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12132         (__libc_ifunc_impl_list): Likewise.
12133         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12134         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12135         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12136         mempcpy for PPC64.
12137
12138         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12139         avoid cretion of __bzero symbol.
12140         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12141         Likewise.
12142         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12143         Likewise.
12144         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12145         Likewise.
12146         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12147         multiarch implementations.
12148         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12149         (__libc_ifunc_impl_list): Likewise.
12150         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12151         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12152         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12153         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12154         bzero for PPC32.
12155         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12156         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12157         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12158         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12159         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12160         memset for PPC64.
12161         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12162
12163         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12164         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12165         implementations.
12166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12167         (__libc_ifunc_impl_list): Likewise.
12168         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12169         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12170         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12171         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12172         memcmp for PPC64.
12173
12174         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12175         multiarch for POWER/PPC64.
12176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12177         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12178         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12179         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12180         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12181         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12182         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12183         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12184         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12185         memcpy for PPC64.
12186
12187         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12188         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12189         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12190         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12191         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12192         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12193         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12194         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12195         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12196         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12197         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12198         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12199         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12200         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12201         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12209
12210 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12211
12212         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12213
12214 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12215
12216         * benchtests/Makefile (bench): Add exp2 and log2.
12217         (LDLIBS-bench-exp2): Add -lm.
12218         (LDLIBS-bench-log2): Likewise.
12219         * benchtests/exp2-inputs: New inputs file.
12220         * benchtests/log2-inputs: New inputs file.
12221         * benchtests/log-inputs: Add new inputs.
12222         * benchtests/tan-inputs: Likewise.
12223
12224 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12225
12226         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12227         definition...
12228         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12229         (csloww2): ... from here.
12230
12231         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12232         instead of structures.
12233         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12234         (POLYNOMIAL): Likewise.
12235         (TAYLOR_SLOW): Likewise.
12236         (__sin): Likewise.
12237         (__cos): Likewise.
12238         (slow1): Likewise.
12239         (slow2): Likewise.
12240         (sloww): Likewise.
12241         (sloww1); Likewise.
12242         (sloww2): Likewise.
12243         (bsloww1): Likewise.
12244         (bsloww2): Likewise.
12245         (cslow2): Likewise.
12246         (csloww): Likewise.
12247         (csloww1): Likewise.
12248         (csloww2): Likewise.
12249
12250 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
12251
12252         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12253         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12254         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12255         * malloc/hooks.c (realloc_check): Likewise.
12256
12257         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12258         * malloc/arena.c: Remove PER_THREAD conditional.
12259         [!PER_THREAD]: Remove code.
12260         (ptmalloc_unlock_all2): Likewise.
12261         (ptmalloc_init): Likewise.
12262         (_int_new_arena): Likewise.
12263         (arena_get2): Likewise.
12264         * malloc/hooks.c (__malloc_get_state): Likewise.
12265         (__malloc_set_state): Likewise.
12266         * malloc/malloc.c: Likewise.
12267         (struct malloc_state): Likewise.
12268         (struct malloc_par): Likewise.
12269         (__libc_realloc): Likewise.
12270         (__libc_mallopt): Likewise.
12271
12272 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12273
12274         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12275
12276 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
12277
12278         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12279         macro to a function.  Check for zero perturb_byte.
12280         (_int_malloc, _int_free): Remove zero perturb_byte checks.
12281
12282         * malloc/malloc.c: (force_reg): Remove.
12283         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12284         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12285         force_reg by atomic_forced_read.
12286         * malloc/arena.c (ptmalloc_init): Likewise.
12287         * malloc/hooks.c (top_check): Likewise.
12288
12289 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12290
12291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12292
12293 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
12294
12295         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12296
12297 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
12298
12299         * math/auto-libm-test-in: Add tests of lgamma.
12300         * math/auto-libm-test-out: Regenerated.
12301         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12302         (M_LOG_2_SQRT_PIl): Likewise.
12303         (lgamma_test_data): Use AUTO_TESTS_f_f1.
12304         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12305         mpfr_f_f1.
12306         (func_calc_desc): Add mpfr_f_f1 union field.
12307         (ARGS1): New macro.
12308         (ARGS2): Likewise.
12309         (ARGS3): Likewise.
12310         (ARGS4): Likewise.
12311         (RET1): Likewise.
12312         (RET2): Likewise.
12313         (CALC): Likewise.
12314         (FUNC): Likewise.
12315         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12316         (test_functions): Add lgamma.
12317         (calc_generic_results): Handle mpfr_f_f1.
12318         * sysdeps/i386/fpu/libm-test-ulps: Update.
12319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12320
12321 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12322
12323         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12324         __mpn_add_n for PowerPC64/POWER7.
12325         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12326         __mpn_sub_n for PowerPC64/POWER7.
12327
12328         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12329         __mpn_addmul_1 for PowerPC64.
12330         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12331         __mpn_submul_1 for PowerPC64.
12332         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12333         for PowerPC64.
12334         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12335         for PowerPC64.
12336
12337 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
12338
12339         [BZ #15089]
12340         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12341
12342 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12343
12344         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12345
12346         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12347         add multiarch folders.
12348         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12349         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12350         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12351         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12352         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12353         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12354         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12355         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12356         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12357         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12358         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12365
12366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12367         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12369         New file.
12370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12371         New file.
12372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12373         multiarch __ieee754_hypot for PowerPC32.
12374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12375         New file.
12376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12377         New file.
12378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12379         multiarch __ieee754_hypotf for PowerPC32.
12380
12381         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12382         long_double_symbol only if __logbl is defined.
12383         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12384         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12385         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12386         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12387         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12388         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12389         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12390         path for implementation.
12391         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12392         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12394         logb, and logbl multiarch implementations for PowerPC32.
12395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12396         file.
12397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12398         file.
12399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12400         multiarch logb for PowerPC32.
12401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12402         file.
12403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12404         file.
12405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12406         multiarch logbf for PowerPC32.
12407         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12409         file.
12410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12411         multiarch logbl implementation for PowerPC32.
12412
12413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12414         and modff multiarch implementations.
12415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12416         New file.
12417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12418         New file.
12419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12420         multiarch modf for PowerPC32.
12421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12422         New file.
12423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12424         New file.
12425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12426         multiarch modff for PowerPC32.
12427
12428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12429         and lrintf multiarch implementations.
12430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12431         New file.
12432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12433         New file.
12434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12435         multiarch lrint for PowerPC32.
12436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12437         file: multiarch lrintf for PowerPC32.
12438
12439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12440         and lroundf multiarch implementations.
12441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12442         New file.
12443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12444         New file.
12445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12446         New file.
12447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12448         multiarch lround for PowerPC32.
12449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12450         file: multiarch lroundf for PowerPC32.
12451
12452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12453         copysign and copysignf multiarch implementations.
12454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12455         New file.
12456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12457         New file.
12458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12459         file: multiarch copysign for PowerPC32.
12460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12461         file: multiarch copysignf for PowerPC32.
12462
12463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12464         and truncf multiarch implementations.
12465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12466         New file.
12467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12468         file.
12469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12470         multiarch trunc for PowerPC32.
12471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12472         New file.
12473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12474         New file.
12475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12476         multiarch truncf for PowerPC32.
12477
12478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12479         and roundf multiarch implementations.
12480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12481         New file.
12482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12483         file.
12484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12485         multiarch round for PowerPC32.
12486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12487         New file.
12488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12489         New file.
12490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12491         multiarch roundf for PowerPC32.
12492
12493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12494         and floorf multiarch implementations.
12495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12496         New file.
12497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12498         file.
12499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12500         multiarch floor for PowerPC32.
12501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12502         New file.
12503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12504         New file.
12505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12506         multiarch floorf for PowerPC32.
12507
12508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12509         and ceilf multiarch implementations.
12510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12511         New file.
12512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12513         file.
12514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12515         multiarch ceil for PowerPC32.
12516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12517         New file.
12518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12519         file.
12520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12521         multiarch ceilf for PowerPC32.
12522
12523         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12524         is defined.
12525         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12526         FINITEF is defined.
12527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12528         and finitef multiarch implementations.
12529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12530         New file.
12531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12532         file.
12533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12534         multiarch finite for PowerPC32.
12535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12536         New file.
12537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12538         file: multiarch finitef for PowerPC32.
12539
12540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12541         and isinff multiarch implementations.
12542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12543         file.
12544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12545         file.
12546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12547         multiarch isinf for PowerPC32.
12548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12549         New file.
12550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12551         multiarch isinff for PowerPC32.
12552
12553         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12554         alias when __isnan is defined.
12555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12556         and isnanf multiarch implementations.
12557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12558         file.
12559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12560         file.
12561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12562         file.
12563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12564         file.
12565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12566         multiarch isnan for PowerPC32.
12567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12568         New file.
12569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12570         New file.
12571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12572         multiarch isnanf for PowerPC32.
12573
12574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12575         and sqrtf multiarch implementations.
12576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12577         file.
12578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12579         file.
12580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12581         multiarch sqrt for PowerPC32.
12582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12583         file.
12584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12585         file.
12586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12587         multiarch sqrtf for PowerPC32.
12588
12589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12590         and llroundf multiarch implementations.
12591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12592         New file.
12593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12594         New file.
12595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12596         New file.
12597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12598         file: multiarch llround for PowerPC32.
12599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12600         file: multiarch llroundf for PowerPC32.
12601
12602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12603         multiarch PowerPC32 fpu implementations.
12604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12605         New file.
12606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12607         New file.
12608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12609         multiarch llrint for PowerPC32.
12610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12611         New file.
12612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12613         New file.
12614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12615         file.
12616
12617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12618
12619         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12620         file.
12621         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12622         file.
12623         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12624         file.
12625         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12626         multiarch wordcopy for PPC32.
12627         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12628         wordcopy objects.
12629         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12630         (__libc_ifunc_impl_list): Likewise.
12631         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12632         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12633         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12634         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12635         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12636         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12637
12638         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12639         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12640         file.
12641         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12642         file.
12643         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12644         file.
12645         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12646         multiarch wcscpy for PPC32.
12647         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12648         multiarch objects.
12649         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12650         (__libc_ifunc_impl_list): Likewise.
12651         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12652         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12653         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12654         sysdeps/powerpc/power6/wcscpy.c.
12655
12656         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12657         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12658         file.
12659         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12660         file.
12661         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12662         file.
12663         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12664         multiarch wcsrchr for PPC32.
12665         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12666         multiarch objects.
12667         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12668         (__libc_ifunc_impl_list): Likewise.
12669         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12670         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12671         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12672         sysdeps/powerpc/power6/wcsrchr.c.
12673
12674         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12675         file.
12676         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12677         file.
12678         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12679         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12680         multiarch wcschr for PPc32.
12681         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12682         multiarch objects.
12683         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12684         (__libc_ifunc_impl_list): Likewise.
12685         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12686         * sysdeps/powerpc/power6/wcschr.c: ... to here.
12687         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12688         sysdeps/powerpc/power6/wcschr.c.
12689
12690         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12691         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12692         file.
12693         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12694         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12695         file: multiarch strchr for PPC32.
12696         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12697         multiarch objects.
12698         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12699         (__libc_ifunc_impl_list): Likewise.
12700
12701         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12702         name.
12703         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12704         file.
12705         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12706         file.
12707         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12708         multiarch strchrnul for PPC32.
12709         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12710         multiarch objects.
12711         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12712         (__libc_ifunc_impl_list): Likewise.
12713
12714         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12715         file.
12716         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12717         multiarch strncasecmp for PPC32.
12718         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12719         file.
12720         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12721         multiarch strncasecmp_l for PPC32.
12722         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12723         strncasecmp multiarch objects.
12724         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12725         (__libc_ifunc_impl_list): Likewise.
12726
12727         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12728         file.
12729         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12730         multiarch strncasecmp for PPC32.
12731         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12732         New file.
12733         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12734         multiarch strcasecmp_l for PPC32.
12735         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12736         multiarch objects.
12737         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12738         (__libc_ifunc_impl_list): Likewise.
12739
12740         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12741         file.
12742         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12743         file.
12744         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12745         multiarch strncmp for PPC32.
12746         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12747         multiarch objects.
12748         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12749         (__libc_ifunc_impl_list): Likewise.
12750
12751         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12752         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12753         file.
12754         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12755         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12756         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12757         multiarch objects.
12758         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12759         (__libc_ifunc_impl_list): Likewise.
12760
12761         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12762         file.
12763         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12764         file.
12765         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12766         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12767         multiarch objects.
12768         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12769         (__libc_ifunc_impl_list): Likewise.
12770
12771         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12772         file.
12773         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12774         file.
12775         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12776         multiarch rawmemchr for PPC32.
12777         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12778         multiarch objects.
12779         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12780         (__libc_ifunc_impl_list): Likewise.
12781
12782         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12783         file.
12784         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12785         file.
12786         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12787         file: memrchr multiarch for PPC32.
12788         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12789         multiarch objects.
12790         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12791         (__libc_ifunc_impl_list): Likewise.
12792
12793         * string/memchr.c (__memchr): Using macro to redefine symbol name.
12794         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12795         file.
12796         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12797         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12798         multiarch memchr for PPC32.
12799         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12800         multiarch objects.
12801         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12802         (__libc_ifunc_impl_list): Likewise.
12803
12804         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12805         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12806         file.
12807         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12808         file.
12809         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12810         file: multiarch mempcpy for PPC32.
12811         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12812         multiarch objects.
12813         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12814         (__libc_ifunc_impl_list): Likewise.
12815
12816         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12817         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12818         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12819         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12820         multiarch bzero for PPC32.
12821         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12822         file.
12823         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12824         file.
12825         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12826         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12827         file: multiarch memset for PPC32.
12828         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12829         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12830         memset multiarch objects.
12831         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12832         (__libc_ifunc_impl_list): Likewise.
12833
12834         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12835         file.
12836         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12837         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12838         memcmp for PPC32.
12839         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12840         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12841         multiarch objects.
12842         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12843         (__libc_ifunc_impl_list): Likewise.
12844
12845         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12846         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12847         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12848         file.
12849         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12850         file.
12851         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12852         file.
12853         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12854         multiarch memcpy for PPC32.
12855         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12856         multiarch objects.
12857         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12858         (__libc_ifunc_impl_list): Likewise.
12859
12860         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12861         support multiarch for POWER/PPC32.
12862         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12863         Likewise.
12864         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12866         Implies file to make multiarch folder appers before the fpu and
12867         default folder for power4 configuration.
12868
12869 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12870
12871         * scripts/bench.pl: Append volatile keyword to type.
12872
12873 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12874
12875         * sysdeps/sh/sotruss-lib.c: New file.
12876         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12877
12878 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12879
12880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12881
12882 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
12883
12884         [BZ #6810]
12885         * math/w_tgamma.c: Include <errno.h>.
12886         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
12887         * math/w_tgammaf.c: Include <errno.h>.
12888         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
12889         * math/w_tgammal.c: Include <errno.h>.
12890         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
12891         * math/auto-libm-test-in: Do not allow missing errno on tgamma
12892         underflow.  Add more tgamma tests.
12893         * math/auto-libm-test-out: Regenerated.
12894         * sysdeps/i386/fpu/libm-test-ulps: Update.
12895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12896
12897         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12898         sin, sinh, tan, tanh, tgamma, y0 and y1.
12899         * math/auto-libm-test-out: Regenerated.
12900         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12901         (TEST_COND_x86): Likewise.
12902         (M_E2l): Remove macro.
12903         (M_E3l): Likewise.
12904         (M_2_SQRT_PIl): Likewise.
12905         (M_SQRT_PIl): Likewise.
12906         (M_1_DIV_El): Likewise.
12907         (log_test_data): Use AUTO_TESTS_f_f.
12908         (log10_test_data): Likewise.
12909         (log1p_test_data): Likewise.
12910         (log2_test_data): Likewise.
12911         (sin_test_data): Likewise.
12912         (sin_tonearest_test_data): Likewise.
12913         (sin_towardzero_test_data): Likewise.
12914         (sin_downward_test_data): Likewise.
12915         (sin_upward_test_data): Likewise.
12916         (sinh_test_data): Likewise.
12917         (sinh_tonearest_test_data): Likewise.
12918         (sinh_towardzero_test_data): Likewise.
12919         (sinh_downward_test_data): Likewise.
12920         (sinh_upward_test_data): Likewise.
12921         (tan_test_data): Likewise.
12922         (tan_tonearest_test_data): Likewise.
12923         (tan_towardzero_test_data): Likewise.
12924         (tan_downward_test_data): Likewise.
12925         (tan_upward_test_data): Likewise.
12926         (tanh_test_data): Likewise.
12927         (tgamma_test_data): Likewise.
12928         (y0_test_data): Likewise.
12929         (y1_test_data): Likewise.
12930         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12931         (special_real_inputs): Add pi/4.
12932         * sysdeps/i386/fpu/libm-test-ulps: Update.
12933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12934
12935 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12936
12937         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12938         "longjmp_target" static probes.
12939         (__longjmp): Rename to __longjmp_symbol.
12940         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12941         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12942         on which longjmp to generate.
12943         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12944         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12945         probe.
12946         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12947         (__sigjmp_save): Rename to __sigjmp_save_symbol.
12948         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12949         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12950         and __sigjmp_save_symbol based on which sigsetjmp to generated.
12951         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12953         __longjmp_symbol based on which __longjmp to generate.
12954         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12955         probe.
12956         (setjmp): Rename to setjmp_symbol.
12957         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12958         (_setjmp): Rename to _setjmp_symbol.
12959         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12960         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12961         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12962         which setjmp to generate.
12963         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12964         "longjmp_target" static probes.
12965
12966 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12967
12968         * benchtests/README: Add note about output arguments.
12969         * benchtests/bench-sincos.c: Remove file.
12970         * benchtests/sincos-inputs: New file.
12971         * scripts/bench.pl: Identify output arguments and define
12972         static variables for them.
12973
12974         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12975
12976         [BZ #15941]
12977         * Makefile (INSTALL): Add install-plain.texi as the primary
12978         dependency.
12979         * manual/install-plain.texi: New file.
12980         * manual/install.texi: Include node directive only for
12981         non-plaintext output.
12982
12983 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
12984
12985         * stdlib/longlong.h: Update from GCC.
12986
12987         [BZ #6807]
12988         [BZ #15901]
12989         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12990         * math/w_j0f.c (y0f): Likewise.
12991         * math/w_j0l.c (__y0l): Likewise.
12992         * math/w_j1.c (y1): Likewise.
12993         * math/w_j1f.c (y1f): Likewise.
12994         * math/w_j1l.c (__y1l): Likewise
12995         * math/w_jn.c (yn): Likewise.
12996         * math/w_jnf.c (ynf): Likewise.
12997         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12998         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
12999         value for Bessel function domain errors outside _SVID_ mode.
13000         Adjust sign of return value for yn (negative integer, 0).
13001         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13002         by zero in return for negative x and set sign appropriately for
13003         negative n.
13004         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13005         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13006         * math/libm-test.inc (y0_test_data): Add more tests and adjust
13007         expectations in error cases.
13008         (y1_test_data): Likewise.
13009         (yn_test_data): Likewise.
13010         * sysdeps/i386/fpu/libm-test-ulps: Update.
13011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13012
13013 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13014
13015         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13016         "64" to "64-v1".  Add "64-v2".
13017         (abi-64-options): Rename to ...
13018         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
13019         (abi-64-condition): Rename to ...
13020         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
13021         (abi-64-ld-soname): Rename to ...
13022         (abi-64-v1-ld-soname): ... this.
13023         (abi-64-v2-options): Define.
13024         (abi-64-v2-condition): Likewise.
13025         (abi-64-v2-ld-soname): Likewise.
13026         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13027         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13031
13032 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13033             Alan Modra  <amodra@gmail.com>
13034
13035         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13036         New versions for use with the ELFv2 ABI.
13037         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13038         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13039         declaration.
13040         (struct La_ppc64v2_retval): Likewise.
13041         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13042         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13043         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13044         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13045         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13046         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13047         Do not save or restore CR.
13048         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13049         (_dl_profile_resolve): Do no save or restore CR.  Support extended
13050         return values for ELFv2 ABI.  Fix location of FPR return registers.
13051         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13052         updated values for _CALL_ELF == 2.
13053         (La_regs, La_retval, int_retval): Likewise.
13054
13055 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13056
13057         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13058         (FRAME_MIN_SIZE_PARM): Likewise.
13059         (FRAME_BACKCHAIN): Likewise.
13060         (FRAME_CR_SAVE): Likewise.
13061         (FRAME_LR_SAVE): Likewise.
13062         (FRAME_TOC_SAVE): Likewise.
13063         (FRAME_PARM_SAVE): Likewise.
13064         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13065         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13066         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13067         (call_mcount_parm_offset): New macro.
13068         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13069         (PROF): Use symbolic stack frame offsets.
13070         (TAIL_CALL_SYSCALL_ERROR): Likewise.
13071         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13072         Redefine in terms of FRAME_MIN_SIZE.
13073         (_dl_runtime_resolve): Use symbolic stack frame offsets.
13074         (_dl_profile_resolve): Likewise.  Update comment.
13075         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13076         symbols stack frame offsets.
13077         (__sigsetjmp): Likewise.
13078         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13079         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13080         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13081         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13082
13083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13084         (FRAME_BACKCHAIN): Remove.
13085         (FRAME_CR_SAVE): Likewise.
13086         (FRAME_LR_SAVE): Likewise.
13087         (FRAME_COMPILER_DW): Likewise.
13088         (FRAME_LINKER_DW): Likewise.
13089         (FRAME_TOC_SAVE): Likewise.
13090         (FRAME_PARM_SAVE): Likewise.
13091         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13092         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13093         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13095         (CHECK_SP): Use symbolic stack frame offsets.
13096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13097         zone" instead of caller's parameter save area for temp storage.
13098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13099         Likewise.  Also, use symbolic stack frame offsets.
13100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13101         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13102         our own stack frame instead of the caller's.
13103         (__socket): Use symbolic stack frame offsets.
13104
13105 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13106             Alan Modra  <amodra@gmail.com>
13107
13108         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13109         Define.
13110         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13111         (PPC64_LOCAL_ENTRY_OFFSET): Define.
13112         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13113         New function.
13114         (elf_machine_fixup_plt): Call it.
13115         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
13116         reloc arguments.
13117         (elf_machine_rela): Update call to elf_machine_plt_conflict.
13118         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13119         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13120         r2 before calling target.
13121
13122 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13123             Alan Modra  <amodra@gmail.com>
13124
13125         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13126         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13127         versions of macros to support ELFv2 ABI.
13128         (LOCALENTRY): New macro.
13129         (ENTRY, EALIGN): Use it.
13130         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13131         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13132         fall through into ENTRY entry point.
13133         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13134         Only define if _CALL_ELF != 2.
13135
13136         (elf_machine_matches_host): Verify ABI version matches.
13137         (RTLD_START): Use LOCALENTRY.
13138         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13139         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13140         (PLT_ENTRY_WORDS): New macro.
13141         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13142         (elf_machine_runtime_setup): Support ELFv2 ABI.
13143         (elf_machine_fixup_plt): Likewise.
13144         (elf_machine_plt_conflict): Likewise.
13145         (resolve_ifunc): Likewise.
13146         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13147         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13148         Likewise.
13149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13150         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13152         (makecontext): Support ELFv2 ABI.
13153         * elf/elf.h (EF_PPC64_ABI): Define.
13154
13155 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13156
13157         * sysdeps/powerpc/powerpc64/sysdep.h
13158         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13159         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13160         (ENTRY) [ASSEMBLER]: ... but instead here ...
13161         (EALIGN) [ASSEMBLER]: ... and here.
13162         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13163         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13164         (ENTRY_2) [!ASSEMBLER]: Use it.
13165         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13166         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
13167         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13168         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13169         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13171         Use PPC64_LOAD_FUNCPTR.
13172
13173         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13174
13175 2013-12-04  Alan Modra  <amodra@gmail.com>
13176
13177         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13178         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13179         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13180         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13181
13182         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13183         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13184         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13185         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13186         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13187         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13188
13189 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13190
13191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13192         (__makecontext): Fix incorrect CFI when backtracing out of
13193         context created via makecontext.
13194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13195         (__setcontext): Fix incorrect CFI during switch to new context.
13196         (__novec_setcontext): Likewise.
13197
13198 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13199
13200         [BZ #4772]
13201         * time/strptime_l.c (__strptime_internal): Allow modifiers
13202         in strptime.
13203         * time/tst-strptime.c (day_tests): Add testcase.
13204
13205 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13206
13207         * scripts/bench.pl: Skip over blank lines.
13208
13209 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
13210
13211         [BZ #926]
13212         * manual/time.texi (Calendar Time): Clarify what timezone functions
13213         use.
13214
13215 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13216
13217         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13218
13219 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13220
13221         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13222         implementation.
13223         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13224         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13225         * debug/memset_chk.c (__memset_chk): Likewise.
13226         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13227         * debug/strncpy_chk.c: Likewise.
13228
13229 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13230
13231         [BZ #15268]
13232         [BZ #15425]
13233         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13234         (__ieee754_exp): For possibly underflowing results, check size of
13235         result and force underflow exception if required.
13236         * math/auto-libm-test-in: Add more tests of exp.
13237         * math/auto-libm-test-out: Regenerated.
13238         * sysdeps/i386/fpu/libm-test-ulps: Update.
13239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13240
13241         [BZ #16283]
13242         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13243         * math/w_exp2f.c (__exp2f): Likewise.
13244         * math/w_exp2l.c (__exp2l): Likewise.
13245         * math/auto-libm-test-in: Do not allow missing errno on exp2
13246         underflow.
13247         * math/auto-libm-test-out: Regenerated.
13248
13249 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
13250
13251         [BZ #16274]
13252         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13253         handle filename validation.
13254         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13255         (do_open): Delete.
13256
13257 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13258
13259         [BZ #6786]
13260         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13261         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13262         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13263         <float.h>.
13264         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13265         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13266         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13267         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13268         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13269         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13270         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13271         * math/auto-libm-test-in: Don't allow missing errno from erfc.
13272         Add more erfc tests.
13273         * math/auto-libm-test-out: Regenerated.
13274         * sysdeps/i386/fpu/libm-test-ulps: Update.
13275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13276
13277         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13278         exp2, expm1, j0 and j1.
13279         * math/auto-libm-test-out: Regenerated.
13280         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13281         (erfc_test_data): Likewise.
13282         (exp_test_data): Likewise.
13283         (exp_tonearest_test_data): Likewise.
13284         (exp_towardzero_test_data): Likewise.
13285         (exp_downward_test_data): Likewise.
13286         (exp_upward_test_data): Likewise.
13287         (exp10_test_data): Likewise.
13288         (exp2_test_data): Likewise.
13289         (expm1_test_data): Likewise.
13290         (j0_test_data): Likewise.
13291         (j1_test_data): Likewise.
13292         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13293         (input_flag_type): Add flag_xfail_rounding.
13294         (input_flags): Add xfail-rounding.
13295         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13296         (output_for_one_input_case): Handle flag_xfail_rounding.
13297         * sysdeps/i386/fpu/libm-test-ulps: Update.
13298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13299
13300 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
13301
13302         [BZ #16289]
13303         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13304         division by 0.
13305
13306 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13307
13308         [BZ #16195]
13309         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13310         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13311         (STAP_PROBE0): New macro.
13312         (STAP_PROBE1): Likewise.
13313         (STAP_PROBE2): Likewise.
13314         (STAP_PROBE3): Likewise.
13315         (STAP_PROBE4): Likewise.
13316
13317 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
13318
13319         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13320
13321 2013-12-02  Steve Ellcey  <sellcey@mips.com>
13322
13323         * benchtests/Makefile (bench): Add sqrt.
13324         (LDLIBS-bench-sqrt): New.
13325         * benchtests/sqrt-input: New.
13326
13327 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
13328
13329         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13330         (GAIH_EAI): Likewise.
13331         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13332         (gaih_inet): Likewise.
13333         (getaddrinfo): Don't use GAIH_EAI.
13334
13335         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13336         (struct gaih): Remove definition.
13337
13338 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13339
13340         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13341         Use HERRNOP directly.
13342
13343 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13344
13345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13346
13347 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
13348
13349         * math/gen-auto-libm-tests.c (test_functions): Add more
13350         single-argument functions.
13351         (special_fill_pi_2): New function.
13352         (special_fill_minus_pi_2): Likewise.
13353         (special_fill_pi_6): Likewise.
13354         (special_fill_minus_pi_6): Likewise.
13355         (special_fill_pi_3): Likewise.
13356         (special_fill_2pi_3): Likewise.
13357         (special_fill_e): Likewise.
13358         (special_fill_1_e): Likewise.
13359         (special_fill_e_minus_1): Likewise.
13360         (special_real_inputs): Add more special inputs.
13361         (output_for_one_input_case): Do not require ERANGE on underflow to
13362         zero if round-to-nearest result does not underflow to zero, unless
13363         exact results required.
13364         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13365         atan, atanh, cbrt, cos and cosh.
13366         * math/auto-libm-test-out: Regenerated.
13367         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13368         (acos_tonearest_test_data): Likewise.
13369         (acos_towardzero_test_data): Likewise.
13370         (acos_downward_test_data): Likewise.
13371         (acos_upward_test_data): Likewise.
13372         (acosh_test_data): Likewise.
13373         (asin_test_data): Likewise.
13374         (asin_tonearest_test_data): Likewise.
13375         (asin_towardzero_test_data): Likewise.
13376         (asin_upward_test_data): Likewise.
13377         (asinh_test_data): Likewise.
13378         (atan_test_data): Likewise.
13379         (atanh_test_data): Likewise.
13380         (cbrt_test_data): Likewise.
13381         (cos_test_data): Likewise.
13382         (cos_tonearest_test_data): Likewise.
13383         (cos_towardzero_test_data): Likewise.
13384         (cos_downward_test_data): Likewise.
13385         (cos_upward_test_data): Likewise.
13386         (cosh_test_data): Likewise.
13387         (cosh_tonearest_test_data): Likewise.
13388         (cosh_towardzero_test_data): Likewise.
13389         (cosh_downward_test_data): Likewise.
13390         (cosh_upward_test_data): Likewise.
13391         * sysdeps/i386/fpu/libm-test-ulps: Update.
13392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13393
13394 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
13395
13396         [BZ #6787]
13397         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13398         * math/w_exp10f.c (__exp10f): Likewise.
13399         * math/w_exp10l.c (__exp10l): Likewise.
13400         * math/libm-test.inc (exp10_test_data): Add more tests and expect
13401         errno settings in existing tests.
13402
13403         [BZ #14032]
13404         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13405         precision control set to double precision.
13406         * sysdeps/i386/fpu/w_sqrt.c: New file.
13407         * math/auto-libm-test-in: Add more tests.
13408         * math/auto-libm-test-out: Update.
13409
13410         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13411         (sqrt_test_tonearest): New function.
13412         (sqrt_towardzero_test_data): New variable.
13413         (sqrt_test_towardzero): New function.
13414         (sqrt_downward_test_data): New variable.
13415         (sqrt_test_downward): New function.
13416         (sqrt_upward_test_data): New variable.
13417         (sqrt_test_upward): New function.
13418         (main): Call the new functions.
13419
13420         * math/gen-auto-libm-tests.c: New file.
13421         * math/auto-libm-test-in: Likewise.
13422         * math/auto-libm-test-out: New generated file.
13423         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13424         variables.
13425         (%beautify): Add generated representations of zero.
13426         (top level): Set $auto_input and call parse_auto_input.
13427         (beautify): Remove trailing "f" from hex float constants.
13428         (parse_args): Handle XFAIL_TEST.
13429         (convert_condition): New function.
13430         (or_value): Likewise.
13431         (or_cond_value): Likewise.
13432         (generate_testfile): Handle AUTO_TESTS_* lines.
13433         (parse_auto_input): New function.
13434         * math/libm-test.inc (XFAIL_TEST): New macro.
13435         (ERRNO_UNCHANGED): Update value.
13436         (ERRNO_EDOM): Likewise.
13437         (ERRNO_ERANGE): Likewise.
13438         (IGNORE_RESULT): Likewise.
13439         (TEST_COND_flt_32): New macro.
13440         (TEST_COND_dbl_64): Likewise.
13441         (TEST_COND_ldbl_96_intel): Likewise.
13442         (TEST_COND_ldbl_96_m68k): Likewise.
13443         (TEST_COND_ldbl_128): Likewise.
13444         (TEST_COND_ldbl_128ibm): Likewise.
13445         (TEST_COND_long32): Likewise.
13446         (TEST_COND_long64): Likewise.
13447         (TEST_COND_before_rounding): Likewise.
13448         (TEST_COND_after_rounding): Likewise.
13449         (enable_test): Handle XFAIL_TEST flag.
13450         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13451         with finite results.
13452         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13453         auto-libm-test-out.
13454
13455 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13456             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13457
13458         [BZ #16214]
13459         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13460         __tls_get_addr_internal instead of __tls_get_offset in order to
13461         avoid GOT pointer dependency.  Make rtld export
13462         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13463         __tls_get_addr since we are a __tls_get_offset platform.
13464         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13465         GOT pointer being set up before.
13466         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13467
13468 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
13469
13470         * manual/math.texi (Errors in Math Functions): Document accuracy
13471         goals.
13472
13473         [BZ #15004]
13474         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13475         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13476         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13477         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13478         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13479         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13480         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13481         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13482         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13483         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13484         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13485         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13486         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13487         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13488         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13489         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13490
13491         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13492         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13493         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13494         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13495         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13496         Likewise.
13497         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13498         Likewise.
13499         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13500         Likewise.
13501         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13502         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13503         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13504         atomic-feupdateenv and flt-rounds.
13505         * sysdeps/powerpc/nofpu/Versions (libc): Add
13506         __atomic_feholdexcept, __atomic_feclearexcept,
13507         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13508         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13509         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13510         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13511         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13512         here.
13513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13514         Update.
13515
13516         * manual/arith.texi (FP Exceptions): Document that exceptions may
13517         not be raised when matherr is used.
13518         (Math Error Reporting): Document overflow in directed rounding
13519         modes.  Document that errno may not be set when finite values are
13520         returned on overflow.  Document intent to set errno on underflow
13521         only for underflow to zero.
13522
13523         [BZ #16271]
13524         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13525         round-to-nearest then adjust result for other rounding modes.
13526         * include/fenv.h (fegetround): Use libm_hidden_proto.
13527         * math/fegetround.c (fegetround): Use libm_hidden_def.
13528         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13529         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13530         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13531         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13532         Likewise.
13533         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13534         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13535         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13536         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13537
13538 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13539
13540         [BZ #16077]
13541         * nss/Versions (libnss_files): Add
13542         _nss_files_gethostbyname3_r.
13543         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13544         New function.
13545         (HOST_DB_LOOKUP): Remove macro.
13546         (_nss_files_gethostbyname_r): Implement function without the
13547         HOST_DB_LOOKUP macro.
13548         (_nss_files_gethostbyname2_r): Likewise.
13549
13550 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
13551
13552         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13553
13554 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
13555
13556         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13557         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13558         warning.
13559
13560 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13561
13562         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13563         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13564         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13565         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13566         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13567         __fe_nomask_env_priv and attribute_hidden.
13568         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13569         (libc_feupdateenv_test_ppc): Likewise.
13570         (libc_feresetround_ppc): Likewise.
13571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13572         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13573         compat_symbol macro.
13574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13575         (__fe_nomask_env): Likewise.
13576         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13577
13578 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13579
13580         * string/Makefile: Remove ifunc tests.
13581         * string/test-string.h: Define TEST_IFUNC.
13582         * string/test-bcopy-ifunc.c: Remove.
13583         * string/test-bzero-ifunc.c: Likewise.
13584         * string/test-memccpy-ifunc.c: Likewise.
13585         * string/test-memchr-ifunc.c: Likewise.
13586         * string/test-memcmp-ifunc.c: Likewise.
13587         * string/test-memcpy-ifunc.c: Likewise.
13588         * string/test-memmem-ifunc.c: Likewise.
13589         * string/test-memmove-ifunc.c: Likewise.
13590         * string/test-mempcpy-ifunc.c: Likewise.
13591         * string/test-memrchr-ifunc.c: Likewise.
13592         * string/test-memset-ifunc.c: Likewise.
13593         * string/test-rawmemchr-ifunc.c: Likewise.
13594         * string/test-stpcpy-ifunc.c: Likewise.
13595         * string/test-stpncpy-ifunc.c: Likewise.
13596         * string/test-strcasecmp-ifunc.c: Likewise.
13597         * string/test-strcasestr-ifunc.c: Likewise.
13598         * string/test-strcat-ifunc.c: Likewise.
13599         * string/test-strchr-ifunc.c: Likewise.
13600         * string/test-strchrnul-ifunc.c: Likewise.
13601         * string/test-strcmp-ifunc.c: Likewise.
13602         * string/test-strcpy-ifunc.c: Likewise.
13603         * string/test-strcspn-ifunc.c: Likewise.
13604         * string/test-strlen-ifunc.c: Likewise.
13605         * string/test-strncasecmp-ifunc.c: Likewise.
13606         * string/test-strncat-ifunc.c: Likewise.
13607         * string/test-strncmp-ifunc.c: Likewise.
13608         * string/test-strncpy-ifunc.c: Likewise.
13609         * string/test-strnlen-ifunc.c: Likewise.
13610         * string/test-strpbrk-ifunc.c: Likewise.
13611         * string/test-strrchr-ifunc.c: Likewise.
13612         * string/test-strspn-ifunc.c: Likewise.
13613         * string/test-strstr-ifunc.c: Likewise.
13614
13615 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13616
13617         * benchtests/Makefile: Remove ifunc tests.
13618         * benchtests/bench-string.h: Define TEST_IFUNC.
13619         * benchtests/bench-bcopy-ifunc.c: Remove.
13620         * benchtests/bench-bzero-ifunc.c: Likewise.
13621         * benchtests/bench-memccpy-ifunc.c: Likewise.
13622         * benchtests/bench-memchr-ifunc.c: Likewise.
13623         * benchtests/bench-memcmp-ifunc.c: Likewise.
13624         * benchtests/bench-memcpy-ifunc.c: Likewise.
13625         * benchtests/bench-memmem-ifunc.c: Likewise.
13626         * benchtests/bench-memmove-ifunc.c: Likewise.
13627         * benchtests/bench-mempcpy-ifunc.c: Likewise.
13628         * benchtests/bench-memrchr-ifunc.c: Likewise.
13629         * benchtests/bench-memset-ifunc.c: Likewise.
13630         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13631         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13632         * benchtests/bench-stpcpy-ifunc.c: Likewise.
13633         * benchtests/bench-stpncpy-ifunc.c: Likewise.
13634         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13635         * benchtests/bench-strcasestr-ifunc.c: Likewise.
13636         * benchtests/bench-strcat-ifunc.c: Likewise.
13637         * benchtests/bench-strchr-ifunc.c: Likewise.
13638         * benchtests/bench-strchrnul-ifunc.c: Likewise.
13639         * benchtests/bench-strcmp-ifunc.c: Likewise.
13640         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13641         * benchtests/bench-strcpy-ifunc.c: Likewise.
13642         * benchtests/bench-strcspn-ifunc.c: Likewise.
13643         * benchtests/bench-strlen-ifunc.c: Likewise.
13644         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13645         * benchtests/bench-strncat-ifunc.c: Likewise.
13646         * benchtests/bench-strncmp-ifunc.c: Likewise.
13647         * benchtests/bench-strncpy-ifunc.c: Likewise.
13648         * benchtests/bench-strnlen-ifunc.c: Likewise.
13649         * benchtests/bench-strpbrk-ifunc.c: Likewise.
13650         * benchtests/bench-strrchr-ifunc.c: Likewise.
13651         * benchtests/bench-strsep-ifunc.c: Likewise.
13652         * benchtests/bench-strspn-ifunc.c: Likewise.
13653         * benchtests/bench-strstr-ifunc.c: Likewise.
13654
13655 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13656
13657         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13658
13659 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13660
13661         * resolv/netdb.h: Use __glibc_reserved instead __unused.
13662         * rt/aio.h: Likewise.
13663         * sysdeps/gnu/bits/utmp.h: Likewise.
13664         * sysdeps/gnu/bits/utmpx.h: Likewise.
13665         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13666         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13667         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13668         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13669         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13670         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13671         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13672         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13673         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13674         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13675         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13676         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13677         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13679         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13680         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13681         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13682         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13683         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13684         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13685         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13686         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13687         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13688         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13689         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13690         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13691         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13692         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13693         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13694         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13695         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13696         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13697         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13698         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13699         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13700         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13701         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13702         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13703         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13704         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13705         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13706         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13707
13708 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
13709
13710         [BZ #16245]
13711         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13712         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13713
13714 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
13715
13716         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13717         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13718         Likewise.
13719
13720 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13721
13722         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13723         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13724         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13725         (__fesetround): Remove define.
13726         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13727         rounding and exceptions handling.
13728         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13729         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13730         (__fe_nomask_env): Likewise.
13731         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13732         __fegetround instead of fegetround.
13733         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13734         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13735
13736 2013-11-21  Roland McGrath  <roland@hack.frob.com>
13737
13738         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13739         it's there.
13740
13741         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13742
13743 2013-11-21  Meador Inge  <meadori@codesourcery.com>
13744
13745         [BZ #11157]
13746         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13747         (encrypt_r): Likewise.
13748         * malloc/obstack.h (obstack_free): Likewise.
13749         * posix/unistd.h (encrypt): Likewise.
13750
13751 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
13752
13753         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13754         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13755         DL_CALL_DT_FINI() that call the functions directly.
13756         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13757         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13758         * elf/dl-fini.c: Likewise.
13759
13760 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
13761
13762         * malloc/hooks.c (memalign_check): Add alignment rounding.
13763         * malloc/malloc.c (_mid_memalign): New function.
13764         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13765         Implement by calling _mid_memalign.
13766         * manual/probes.texi (Memory Allocation Probes): Remove
13767         memory_valloc_retry and memory_pvalloc_retry.
13768
13769 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13770
13771         * locale/programs/locarchive.c (open_archive): Add const
13772         qualifier to ARCHIVEFNAME and copy default fname to
13773         DEFAULT_FNAME.
13774
13775         [BZ #15601]
13776         * libio/tst-widetext.input: Rename Oriya to Odia.
13777         * locale/iso-639.def: Likewise.
13778
13779         * manual/probes.texi (Mathematical Function Probes): Add
13780         documentation for sin, cos, asin and acos probes.
13781         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13782         (__sin32): Add slowasin probe.
13783         (__cos32): Add slowacos probe.
13784         (__mpsin): Add slowsin probe.
13785         (__mpcos): Add slowcos probe.
13786
13787 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
13788
13789         [BZ #15483]
13790         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13791         thread-local __sim_exceptions_thread and global
13792         __sim_exceptions_global.
13793         (__sim_disabled_exceptions): Change to thread-local
13794         __sim_disabled_exceptions_thread and global
13795         __sim_disabled_exceptions_global.
13796         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13797         and global __sim_round_mode_global.
13798         (__simulate_exceptions): Use thread-local floating-point state and
13799         set global state from it as needed.
13800         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13801         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13802         __sim_round_mode_thread.
13803         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13804         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13805         and global __sim_exceptions_global.
13806         (__sim_disabled_exceptions): Change to thread-local
13807         __sim_disabled_exceptions_thread and global
13808         __sim_disabled_exceptions_global.
13809         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13810         and global __sim_round_mode_global.
13811         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13812         (SIM_SET_GLOBAL): Likewise.
13813         * sysdeps/powerpc/soft-fp/sfp-machine.h
13814         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13815         __sim_round_mode_thread.
13816         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13817         __sim_disabled_exceptions_thread.
13818         (__sim_exceptions): Change to __sim_exceptions_thread.
13819         (__sim_disabled_exceptions): Change to
13820         __sim_disabled_exceptions_thread.
13821         (__sim_round_mode): Change to __sim_round_mode_thread.
13822         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13823         thread-local floating-point state and set global state from it as
13824         needed.
13825         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13826         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13827         (__sim_disabled_exceptions): Remove extern declaration.
13828         (feenableexcept): Use thread-local floating-point state and set
13829         global state from it as needed.
13830         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13831         extern declaration.
13832         (__sim_disabled_exceptions): Likewise.
13833         (__sim_round_mode): Likewise.
13834         (__fegetenv): Use thread-local floating-point state.
13835         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13836         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13837         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13838         floating-point state and set global state from it as needed.
13839         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13840         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13841         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13842         Likewise.
13843         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13844         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13845         Likewise.
13846         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13847         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13848         Use __sim_round_mode_thread.
13849         * math/test-fenv-tls.c: New file.
13850         * math/Makefile (tests): Add test-fenv-tls.
13851         ($(objpfx)test-fenv-tls): Depend on
13852         $(common-objpfx)nptl/libpthread.so.
13853
13854 2013-11-19  Andreas Schwab  <schwab@suse.de>
13855
13856         * locale/programs/locale.c (show_info): Decode wordarray elements.
13857         * locale/categories.def (LC_MONETARY): Add element for
13858         _NL_MONETARY_CRNCYSTR.
13859         * locale/C-monetary.c (conversion_rate): New variable.
13860         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13861         element.
13862
13863 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
13864
13865         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13866         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13867
13868 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13869
13870         * elf/Makefile (tst-auxv): New test.
13871         * elf/tst-auxv.c: New
13872         * elf/rtld.c (dl_main): Adjust AT_EXECFN
13873
13874 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
13875
13876         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13877         (hidden_proto): Caller changed.
13878         (hidden_tls_proto): New macro.
13879         (libc_hidden_tls_proto): Likewise.
13880         (rtld_hidden_tls_proto): Likewise.
13881         (libm_hidden_tls_proto): Likewise.
13882         (libresolv_hidden_tls_proto): Likewise.
13883         (librt_hidden_tls_proto): Likewise.
13884         (libdl_hidden_tls_proto): Likewise.
13885         (libnss_files_hidden_tls_proto): Likewise.
13886         (libnsl_hidden_tls_proto): Likewise.
13887         (libnss_nisplus_hidden_tls_proto): Likewise.
13888         (libutil_hidden_tls_proto): Likewise.
13889
13890 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
13891
13892         [BZ #10253]
13893         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13894         (decompose_rpath): Defer expansion to fillin_rpath.
13895         (_dl_init_paths): Pass linkmap to fillin_rpath.
13896
13897 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13898
13899         * benchtests/Makefile: Add strsep.
13900         * benchtests/bench-strsep.c: New file: strsep benchtest.
13901         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13902
13903 2013-11-18  Andreas Schwab  <schwab@suse.de>
13904
13905         * locale/programs/locale.c (show_info) [case byte]: Check for
13906         '\377' instead of '\177'.
13907         * locale/C-monetary.c (not_available): Always use "\377".
13908         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13909         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
13910         detect unavailable sign_posn locale elements.
13911         * locale/localeconv.c (__localeconv): For grouping and
13912         mon_grouping handle "\177" and "\377" like no grouping.
13913         (INT_ELEM): New macro.  Use it to set all numeric members.
13914         * locale/programs/ld-monetary.c (monetary_read)
13915         <tok_mon_grouping>: Normalize single -1 to the empty string.
13916         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13917         Likewise.
13918
13919 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13920
13921         [BZ #16055]
13922         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13923         when we match (nil).
13924         * stdio-common/tst-sscanf.c (struct test): Add testcase.
13925
13926 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
13927
13928         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13929         (NO_TEST_INLINE): Update value.
13930         (ERRNO_UNCHANGED): Likewise.
13931         (ERRNO_EDOM): Likewise.
13932         (ERRNO_ERANGE): Likewise.
13933         (IGNORE_RESULT): Likewise.
13934         (check_float_internal): Check signs of NaN results if
13935         TEST_NAN_SIGN used.
13936         (check_complex): Pass TEST_NAN_SIGN flag through to second
13937         check_float_internal call.
13938         (copysign_test_data): Add tests with quiet NaNs as second
13939         argument.  Use TEST_NAN_SIGN.
13940         (fabs_test_data): Add test of negative quiet NaN argument.  Use
13941         TEST_NAN_SIGN.
13942         (signbit_test_data): Add tests of quiet NaN argument.
13943         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13944
13945         * math/gen-libm-test.pl (show_exceptions): Take extra argument
13946         $ignore_result.
13947         (parse_args): Handle function results specified as IGNORE.
13948         * math/libm-test.inc (IGNORE_RESULT): New macro.
13949         (check_float_internal): Do not check numerical result if flag
13950         IGNORE_RESULT set.
13951         (check_complex): Pass through IGNORE_RESULT to second
13952         check_float_internal call.
13953         (check_int): Do not check numerical result if flag IGNORE_RESULT
13954         set.
13955         (check_long): Likewise.
13956         (check_bool): Likewise.
13957         (check_longlong): Likewise.
13958         (lrint_test_data): Add tests of infinite and NaN arguments.
13959         (lrint_tonearest_test_data): Likewise.
13960         (lrint_towardzero_test_data): Likewise.
13961         (lrint_downward_test_data): Likewise.
13962         (lrint_upward_test_data): Likewise.
13963         (llrint_test_data): Likewise.
13964         (llrint_tonearest_test_data): Likewise.
13965         (llrint_towardzero_test_data): Likewise.
13966         (llrint_downward_test_data): Likewise.
13967         (llrint_upward_test_data): Likewise.
13968         (lround_test_data): Likewise.
13969         (llround_test_data): Likewise.
13970
13971         * math/libm-test.inc (NO_TEST_INLINE): New macro.
13972         (ERRNO_UNCHANGED): Update value.
13973         (ERRNO_EDOM): Likewise.
13974         (ERRNO_ERANGE): Likewise.
13975         (NO_TEST_INLINE_FLOAT): New macro.
13976         (NO_TEST_INLINE_DOUBLE): Likewise.
13977         (enable_test): New function.
13978         (RUN_TEST_f_f): Check enable_test before running test.
13979         (RUN_TEST_2_f): Likewise.
13980         (RUN_TEST_fff_f): Likewise.
13981         (RUN_TEST_c_f): Likewise.
13982         (RUN_TEST_f_f1): Likewise.
13983         (RUN_TEST_fF_f1): Likewise.
13984         (RUN_TEST_fI_f1): Likewise.
13985         (RUN_TEST_ffI_f1): Likewise.
13986         (RUN_TEST_c_c): Likewise.
13987         (RUN_TEST_cc_c): Likewise.
13988         (RUN_TEST_f_i): Likewise.
13989         (RUN_TEST_f_i_tg): Likewise.
13990         (RUN_TEST_ff_i_tg): Likewise.
13991         (RUN_TEST_f_b): Likewise.
13992         (RUN_TEST_f_b_tg): Likewise.
13993         (RUN_TEST_f_l): Likewise.
13994         (RUN_TEST_f_L): Likewise.
13995         (RUN_TEST_fFF_11): Likewise.
13996         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13997         conditionals.
13998         (cosh_test_data): Likewise.
13999         (exp_test_data): Likewise.
14000         (expm1_test_data): Likewise.
14001         (hypot_test_data): Likewise.
14002         (pow_test_data): Likewise.
14003         (sinh_test_data): Likewise.
14004         (tanh_test_data): Likewise.
14005         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14006         flags argument.
14007
14008         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14009         tests with quiet NaN input and output.
14010         (acosh_test_data): Likewise.
14011         (asin_test_data): Likewise.
14012         (asinh_test_data): Likewise.
14013         (atan_test_data): Likewise.
14014         (atanh_test_data): Likewise.
14015         (atan2_test_data): Likewise.
14016         (cbrt_test_data): Likewise.
14017         (cos_test_data): Likewise.
14018         (cosh_test_data): Likewise.
14019         (erf_test_data): Likewise.
14020         (erfc_test_data): Likewise.
14021         (exp_test_data): Likewise.
14022         (exp10_test_data): Likewise.
14023         (exp2_test_data): Likewise.
14024         (expm1_test_data): Likewise.
14025         (hypot_test_data): Likewise.
14026         (j0_test_data): Likewise.
14027         (j1_test_data): Likewise.
14028         (jn_test_data): Likewise.
14029         (lgamma_test_data): Likewise.
14030         (log_test_data): Likewise.
14031         (log10_test_data): Likewise.
14032         (log1p_test_data): Likewise.
14033         (log2_test_data): Likewise.
14034         (pow_test_data): Likewise.
14035         (scalb_test_data): Likewise.
14036         (sin_test_data): Likewise.
14037         (sincos_test_data): Likewise.
14038         (sinh_test_data): Likewise.
14039         (tan_test_data): Likewise.
14040         (tanh_test_data): Likewise.
14041         (tgamma_test_data): Likewise.
14042         (y0_test_data): Likewise.
14043         (y1_test_data): Likewise.
14044         (yn_test_data): Likewise.
14045
14046         [BZ #16167]
14047         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14048         argument being NaN and avoid computations with second argument in
14049         that case.
14050         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14051         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14052         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14053
14054 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
14055
14056         * locale/iso-639.def: Add Chitwani Tharu (the).
14057
14058 2013-11-14  Andreas Schwab  <schwab@suse.de>
14059
14060         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14061         word instead of empty string.
14062
14063 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14064
14065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14066         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14068         (__fe_nomask_env): Likewise.
14069
14070 2013-11-13  Steve Ellcey  <sellcey@mips.com>
14071
14072         * benchtests/bench-timing.h: Include time.h.
14073
14074 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
14075
14076         [BZ #15997]
14077         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14078         to 3.4.0 for x32.
14079         * sysdeps/unix/sysv/linux/configure: Regenerated.
14080
14081 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
14082
14083         [BZ #16151]
14084         * stdlib/strtod_l.c (round_and_return): Do not consider
14085         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14086         exponent one less than half the least subnormal exponent.
14087         * stdlib/test-strtod-round-data: Add more tests.
14088         * stdlib/tst-strtod-round.c (tests): Regenerated.
14089
14090 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14091
14092         [BZ #14143]
14093         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14094         (__fe_mask_env): Likewise.
14095         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14096         libm_hidden_proto and add function prototype.
14097         (__fe_mask_env): Add function prototype.
14098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14099         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14101         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14103         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14104
14105 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14106
14107         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14108         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14109
14110 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14111
14112         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14113         of htab_find_slot().
14114
14115 2013-11-11  David S. Miller  <davem@davemloft.net>
14116
14117         [BZ #16150]
14118         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14119         symbol in the non-vis3 case in static builds.
14120         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14121         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14122         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14123         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14124
14125 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
14126
14127         [BZ #387]
14128         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14129         it is empty.
14130
14131 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14132
14133         * benchtests/Makefile: Add bench-strtod.
14134         * benchtests/bench-strtod.c: New file: strtod benchtest
14135
14136 2013-11-11  Andreas Schwab  <schwab@suse.de>
14137
14138         [BZ #16153]
14139         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14140         terminating NUL in key length.
14141
14142 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14143
14144         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14145         Add artificial ODP entry for vDSO symbol for PPC64.
14146         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14147         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14148
14149 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14150
14151         [BZ #15374]
14152         * nss/getent.c (services_keys): Recognize services starting with digit.
14153
14154 2013-11-06  David S. Miller  <davem@davemloft.net>
14155
14156         [BZ #15985]
14157         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14158         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14159
14160 2013-11-06  Will Newton  <will.newton@linaro.org>
14161
14162         * manual/memory.texi (Malloc Examples): Remove register
14163         keyword from examples.
14164
14165 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
14166
14167         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14168
14169 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
14170
14171         [BZ #6981]
14172         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14173         depending on [__GCC_IEC_559 > 0].
14174         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14175         depending on [__GCC_IEC_559_COMPLEX > 0].
14176
14177 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
14178
14179         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14180         to iso-639.def.
14181
14182 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
14183
14184         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14185
14186 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
14187
14188         [BZ #16112]
14189         * malloc/malloc (malloc_info): Do not handle first bin as
14190         special case.
14191
14192 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
14193
14194         * locale/iso-639.def: Add Central Nahuatl (nhn).
14195
14196 2013-11-01  Bruno Haible  <bruno@clisp.org>
14197
14198         [BZ #7003]
14199         * manual/math.texi (BSD Random): Specify range upper bound as
14200         in POSIX.
14201
14202 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
14203
14204         * locale/iso-639.def: Add Meadow Mari (mhr).
14205
14206 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
14207
14208         [BZ #14752], [BZ #15763]
14209         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14210         Validate name.
14211         * rt/tst_shm.c: Add test for escaping directory.
14212
14213 2013-10-31  Andreas Schwab  <schwab@suse.de>
14214
14215         [BZ #15917]
14216         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14217         followed by 'x' as part of digit sequence.
14218         * stdio-common/tst-sscanf.c (double_tests2): New tests.
14219
14220 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14221
14222         [BZ #16037]
14223         * configure.ac: allow GNU Make 4.0 and greater.
14224         * configure: Regenerated.
14225
14226 2013-10-30  Will Newton  <will.newton@linaro.org>
14227
14228         [BZ #16038]
14229         * malloc/hooks.c (memalign_check): Limit alignment to the
14230         maximum representable power of two.
14231         * malloc/malloc.c (__libc_memalign): Likewise.
14232         * malloc/tst-memalign.c (do_test): Add test for very
14233         large alignment values.
14234         * malloc/tst-posix_memalign.c (do_test): Likewise.
14235
14236 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14237
14238         [BZ #11087]
14239         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14240         (munmap_chunk): Likewise.
14241         (mremap_chunk): Likewise.
14242
14243 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14244
14245         [BZ #15799]
14246         * stdlib/div.c (div): Remove obsolete code.
14247         * stdlib/ldiv.c (ldiv): Likewise.
14248         * stdlib/lldiv.c (lldiv): Likewise.
14249
14250 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14251
14252         [BZ #16071]
14253         * nss/nss_files/files-XXX.c (get_contents_ret): New
14254         enumerator.
14255         (get_contents): New function.
14256         (internal_getent): Use it.  Expand size of LINEBUFLEN.
14257
14258 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
14259
14260         * configure.in: Moved to ...
14261         * configure.ac: ... here. Change reference to configure.in
14262         to configure.ac.
14263         * sysdeps/arm/preconfigure.ac: ... here.
14264         configure.in to configure.ac.
14265         * sysdeps/gnu/configure.in: Moved to ...
14266         * sysdeps/gnu/configure.ac: ... here.
14267         * sysdeps/i386/configure.in: Moved to ...
14268         * sysdeps/i386/configure.ac: ... here.
14269         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14270         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14271         * sysdeps/mach/configure.in: Moved to ...
14272         * sysdeps/mach/configure.ac: ... here.
14273         * sysdeps/mach/hurd/configure.in: Moved to ...
14274         * sysdeps/mach/hurd/configure.ac: ... here.
14275         * sysdeps/powerpc/configure.in: Moved to ...
14276         * sysdeps/powerpc/configure.ac: ... here.
14277         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14278         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14279         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14280         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14281         * sysdeps/s390/s390-32/configure.in: Moved to ...
14282         * sysdeps/s390/s390-32/configure.ac: ... here.
14283         * sysdeps/s390/s390-64/configure.in: Moved to ...
14284         * sysdeps/s390/s390-64/configure.ac: ... here.
14285         * sysdeps/sh/configure.in: Moved to ...
14286         * sysdeps/sh/configure.ac: ... here.
14287         * sysdeps/sparc/configure.in: Moved to ...
14288         * sysdeps/sparc/configure.ac: ... here.
14289         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14290         * sysdeps/unix/sysv/linux/configure.ac: ... here.
14291         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14292         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14293         * sysdeps/x86_64/configure.in: Moved to ...
14294         * sysdeps/x86_64/configure.ac: ... here.
14295         * sysdeps/x86_64/preconfigure.in: Moved to ...
14296         * sysdeps/x86_64/preconfigure.ac: ... here.
14297         * aclocal.m4: Change reference to configure.in to configure.ac.
14298         * config.h.in: Likewise.
14299         * manual/install.texi: Likewise.
14300         * manual/maint.texi: Likewise.
14301         * Makefile: Likewise.
14302         * malloc/Makefile: Likewise.
14303         * nscd/Makefile: Likewise.
14304         * Makeconfig: Change reference to configure.in and
14305         preconfigure.in to configure.ac and preconfigure.ac
14306         respectively.
14307         * INSTALL: Regenerated.
14308         * configure: Likewise.
14309         * sysdeps/gnu/configure: Likewise.
14310         * sysdeps/i386/configure: Likewise.
14311         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14312         * sysdeps/mach/configure: Likewise.
14313         * sysdeps/mach/hurd/configure: Likewise.
14314         * sysdeps/powerpc/configure: Likewise.
14315         * sysdeps/powerpc/powerpc32/configure: Likewise.
14316         * sysdeps/powerpc/powerpc64/configure: Likewise.
14317         * sysdeps/s390/s390-32/configure: Likewise.
14318         * sysdeps/s390/s390-64/configure: Likewise.
14319         * sysdeps/sh/configure: Likewise.
14320         * sysdeps/sparc/configure: Likewise.
14321         * sysdeps/unix/sysv/linux/configure: Likewise.
14322         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14323         * sysdeps/x86_64/configure: Likewise.
14324         * sysdeps/x86_64/preconfigure: Likewise.
14325
14326 2013-10-29  Andreas Schwab  <schwab@suse.de>
14327
14328         * stdio-common/Makefile (tst-swscanf-ENV): Define.
14329
14330 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14331
14332         * benchtests/pow-inputs: Add new inputs.
14333
14334         * benchtests/exp-inputs: Add new inputs.
14335
14336         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14337         conditional check for return value.
14338         (__cos32): Likewise.
14339
14340 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14341
14342         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14343         to provide a boost for large inputs with word alignment.
14344         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14345         implementation based on optimized PPC64 strcpy.
14346         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14347         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14348         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14349         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14350
14351 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14352
14353         [BZ #2801]
14354         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14355
14356 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14357
14358         [BZ #14876]
14359         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14360         * time/tst-strptime.c (day_tests): Add testcase.
14361
14362 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14363
14364         [BZ #14029]
14365         * manual/pattern.texi: Acknowledge that fnmatch can fail.
14366
14367 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
14368
14369         [BZ #16074]
14370         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14371         MAP_FAILED on error.
14372
14373 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14374
14375         [BZ #16072]
14376         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14377         heap for large requests.
14378
14379 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
14380
14381         [BZ #9954]
14382         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14383         result if the result has no associated interface.
14384         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14385         interface for all 127.X.Y.Z addresses.
14386
14387 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
14388
14389         * locale/iso-639.def: Add Ligurian (lij)
14390
14391 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
14392
14393         [BZ #15825]
14394         * sunrpc/rpc_main.c: Document rpcgen -5.
14395
14396 2013-10-19  Michael Stahl  <mstahl@redhat.com>
14397
14398         * elf/rtld.c (do_preload): Print the reason why preloading failed.
14399
14400 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14401
14402         [BZ #10278]
14403         * posix/glob.c: Match only directories when trailing slash is present.
14404         * posix/tst-gnuglob.c (my_opendir): Do not open files.
14405         (main): Add testcase.
14406
14407 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14408
14409         [BZ #15670]
14410         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14411
14412 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
14413
14414         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14415         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14416         AUTH_DES and cindex for FIPS 140-2.
14417         (DES Encryption): Add cindex FIPS 46-3.
14418
14419         * locale/locarchive.h (struct locarhandle): Add fname.
14420         * locale/programs/localedef.c (main): Pass ARGV[remaining]
14421         if an optional argument was specified to --list-archive,
14422         otherwise NULL.
14423         * locale/programs/locarchive.c (show_archive_content): Take new
14424         argument fname and pass it via ah.fname to open_archive.
14425         * locale/programs/localedef.h: Update decl.
14426         (open_archive): If AH->fname is non-null, open that file
14427         rather than the default file name, and don't ignore ENOENT.
14428         (create_archive): Set AH.fname to NULL.
14429         (delete_locales_from_archive): Likewise.
14430         (add_locales_to_archive): Likewise.
14431         * locale/programs/locfile.c (write_all_categories): Likewise.
14432
14433 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
14434             Aldy Hernandez  <aldyh@redhat.com>
14435
14436         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14437         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14438         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14439         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14440         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14441         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14442         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14443         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14444         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14445         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14446         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14447         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14448         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14449         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14450         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14451         Likewise.
14452         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14453         Likewise.
14454         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14455         Likewise.
14456         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14457         Likewise.
14458         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14459         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14460         Likewise.
14461         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14462         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14463         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14464         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14465         Likewise.
14466         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14467         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14468         * sysdeps/powerpc/preconfigure: Likewise.
14469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14470         Likewise.
14471         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14472         Replace contents of file by #include of <fenv_libc.h>.
14473         * sysdeps/powerpc/soft-fp/sfp-machine.h
14474         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14475         and <sys/prctl.h>.
14476         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14477         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14478         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14479         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14480         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14481         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14482         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14483         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14484         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14485         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14486         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14487         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14489         Allow copysignl PLT reference to be missing.
14490
14491 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
14492             Joseph Myers  <joseph@codesourcery.com
14493
14494         [BZ #15948]
14495         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14496         single character.
14497         (add_to_tablewc): Assert sequence of wide characters is nonempty.
14498
14499 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14500
14501         * elf/tst-tls-dlinfo.c: Don't include tls.h.
14502         * elf/tst-tls1.c: Likewise.
14503         * elf/tst-tls10.h: Likewise.
14504         * elf/tst-tls14.c: Likewise.
14505         * elf/tst-tls2.c: Likewise.
14506         * elf/tst-tls3.c: Likewise.
14507         * elf/tst-tls4.c: Likewise.
14508         * elf/tst-tls5.c: Likewise.
14509         * elf/tst-tls6.c: Likewise.
14510         * elf/tst-tls7.c: Likewise.
14511         * elf/tst-tls8.c: Likewise.
14512         * elf/tst-tls9.c: Likewise.
14513         * elf/tst-tlsmod1.c: Likewise.
14514         * elf/tst-tlsmod13.c: Likewise.
14515         * elf/tst-tlsmod13a.c: Likewise.
14516         * elf/tst-tlsmod14a.c: Likewise.
14517         * elf/tst-tlsmod16a.c: Likewise.
14518         * elf/tst-tlsmod16b.c: Likewise.
14519         * elf/tst-tlsmod2.c: Likewise.
14520         * elf/tst-tlsmod3.c: Likewise.
14521         * elf/tst-tlsmod4.c: Likewise.
14522         * elf/tst-tlsmod5.c: Likewise.
14523         * elf/tst-tlsmod6.c: Likewise.
14524
14525 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
14526
14527         [BZ #12486]
14528         * malloc/malloc.c: remove checks for statistics.
14529
14530 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14531
14532         [BZ #15277]
14533         * inet/inet_net.c (inet_network): Detect additional invalid strings.
14534         * inet/tst-network.c: Add testcase.
14535
14536 2013-10-17  Andreas Schwab  <schwab@suse.de>
14537
14538         [BZ #15218]
14539         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14540         to determine canonical name.
14541
14542 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14543
14544         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14545         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14546         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14547         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14548         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14549         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14550         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14551         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14552         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14553         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14554         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14555         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14556         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14557         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14558         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14559         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14560         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14561         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14562         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14563         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14564         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14565         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14566         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14567         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14568         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14569         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14570         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14571         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14572         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14573         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14574         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14575         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14576         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14577         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14578         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14579         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14580         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14581         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14582         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14583         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14584         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14585         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14586         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14587         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14588         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14589         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14590         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14591         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14592         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14593         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14594         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14595         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14596         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14597         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14598         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14599         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14600         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14601         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14602
14603 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
14604
14605         [BZ #16041]
14606         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14607         make result into a quiet NaN.
14608
14609 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
14610
14611         * soft-fp/adddf3.c: Fix horizontal whitespace.
14612         * soft-fp/addsf3.c: Likewise.
14613         * soft-fp/addtf3.c: Likewise.
14614         * soft-fp/divdf3.c: Likewise.
14615         * soft-fp/divsf3.c: Likewise.
14616         * soft-fp/divtf3.c: Likewise.
14617         * soft-fp/double.h: Likewise.
14618         * soft-fp/eqdf2.c: Likewise.
14619         * soft-fp/eqsf2.c: Likewise.
14620         * soft-fp/eqtf2.c: Likewise.
14621         * soft-fp/extenddftf2.c: Likewise.
14622         * soft-fp/extended.h: Likewise.
14623         * soft-fp/extendsfdf2.c: Likewise.
14624         * soft-fp/extendsftf2.c: Likewise.
14625         * soft-fp/extendxftf2.c: Likewise.
14626         * soft-fp/fixdfdi.c: Likewise.
14627         * soft-fp/fixdfsi.c: Likewise.
14628         * soft-fp/fixdfti.c: Likewise.
14629         * soft-fp/fixsfdi.c: Likewise.
14630         * soft-fp/fixsfsi.c: Likewise.
14631         * soft-fp/fixsfti.c: Likewise.
14632         * soft-fp/fixtfdi.c: Likewise.
14633         * soft-fp/fixtfsi.c: Likewise.
14634         * soft-fp/fixtfti.c: Likewise.
14635         * soft-fp/fixunsdfdi.c: Likewise.
14636         * soft-fp/fixunsdfsi.c: Likewise.
14637         * soft-fp/fixunsdfti.c: Likewise.
14638         * soft-fp/fixunssfdi.c: Likewise.
14639         * soft-fp/fixunssfsi.c: Likewise.
14640         * soft-fp/fixunssfti.c: Likewise.
14641         * soft-fp/fixunstfdi.c: Likewise.
14642         * soft-fp/fixunstfsi.c: Likewise.
14643         * soft-fp/fixunstfti.c: Likewise.
14644         * soft-fp/floatdidf.c: Likewise.
14645         * soft-fp/floatdisf.c: Likewise.
14646         * soft-fp/floatditf.c: Likewise.
14647         * soft-fp/floatsidf.c: Likewise.
14648         * soft-fp/floatsisf.c: Likewise.
14649         * soft-fp/floatsitf.c: Likewise.
14650         * soft-fp/floattidf.c: Likewise.
14651         * soft-fp/floattisf.c: Likewise.
14652         * soft-fp/floattitf.c: Likewise.
14653         * soft-fp/floatundidf.c: Likewise.
14654         * soft-fp/floatundisf.c: Likewise.
14655         * soft-fp/floatunditf.c: Likewise.
14656         * soft-fp/floatunsidf.c: Likewise.
14657         * soft-fp/floatunsisf.c: Likewise.
14658         * soft-fp/floatunsitf.c: Likewise.
14659         * soft-fp/floatuntidf.c: Likewise.
14660         * soft-fp/floatuntisf.c: Likewise.
14661         * soft-fp/floatuntitf.c: Likewise.
14662         * soft-fp/fmadf4.c: Likewise.
14663         * soft-fp/fmasf4.c: Likewise.
14664         * soft-fp/fmatf4.c: Likewise.
14665         * soft-fp/gedf2.c: Likewise.
14666         * soft-fp/gesf2.c: Likewise.
14667         * soft-fp/getf2.c: Likewise.
14668         * soft-fp/ledf2.c: Likewise.
14669         * soft-fp/lesf2.c: Likewise.
14670         * soft-fp/letf2.c: Likewise.
14671         * soft-fp/muldf3.c: Likewise.
14672         * soft-fp/mulsf3.c: Likewise.
14673         * soft-fp/multf3.c: Likewise.
14674         * soft-fp/negdf2.c: Likewise.
14675         * soft-fp/negsf2.c: Likewise.
14676         * soft-fp/negtf2.c: Likewise.
14677         * soft-fp/op-1.h: Likewise.
14678         * soft-fp/op-2.h: Likewise.
14679         * soft-fp/op-4.h: Likewise.
14680         * soft-fp/op-8.h: Likewise.
14681         * soft-fp/op-common.h: Likewise.
14682         * soft-fp/quad.h: Likewise.
14683         * soft-fp/single.h: Likewise.
14684         * soft-fp/soft-fp.h: Likewise.
14685         * soft-fp/sqrtdf2.c: Likewise.
14686         * soft-fp/sqrtsf2.c: Likewise.
14687         * soft-fp/sqrttf2.c: Likewise.
14688         * soft-fp/subdf3.c: Likewise.
14689         * soft-fp/subsf3.c: Likewise.
14690         * soft-fp/subtf3.c: Likewise.
14691         * soft-fp/truncdfsf2.c: Likewise.
14692         * soft-fp/trunctfdf2.c: Likewise.
14693         * soft-fp/trunctfsf2.c: Likewise.
14694         * soft-fp/trunctfxf2.c: Likewise.
14695         * soft-fp/unorddf2.c: Likewise.
14696         * soft-fp/unordsf2.c: Likewise.
14697         * soft-fp/unordtf2.c: Likewise.
14698
14699 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
14700
14701         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14702         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14703
14704 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
14705
14706         * elf/dl-libc.c: Clear initfini list after freeing.
14707
14708 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
14709
14710         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14711         * soft-fp/addsf3.c: Likewise.
14712         * soft-fp/addtf3.c: Likewise.
14713         * soft-fp/divdf3.c: Likewise.
14714         * soft-fp/divsf3.c: Likewise.
14715         * soft-fp/divtf3.c: Likewise.
14716         * soft-fp/double.h: Likewise.
14717         * soft-fp/eqdf2.c: Likewise.
14718         * soft-fp/eqsf2.c: Likewise.
14719         * soft-fp/eqtf2.c: Likewise.
14720         * soft-fp/extenddftf2.c: Likewise.
14721         * soft-fp/extended.h: Likewise.
14722         * soft-fp/extendsfdf2.c: Likewise.
14723         * soft-fp/extendsftf2.c: Likewise.
14724         * soft-fp/extendxftf2.c: Likewise.
14725         * soft-fp/fixdfdi.c: Likewise.
14726         * soft-fp/fixdfsi.c: Likewise.
14727         * soft-fp/fixdfti.c: Likewise.
14728         * soft-fp/fixsfdi.c: Likewise.
14729         * soft-fp/fixsfsi.c: Likewise.
14730         * soft-fp/fixsfti.c: Likewise.
14731         * soft-fp/fixtfdi.c: Likewise.
14732         * soft-fp/fixtfsi.c: Likewise.
14733         * soft-fp/fixtfti.c: Likewise.
14734         * soft-fp/fixunsdfdi.c: Likewise.
14735         * soft-fp/fixunsdfsi.c: Likewise.
14736         * soft-fp/fixunsdfti.c: Likewise.
14737         * soft-fp/fixunssfdi.c: Likewise.
14738         * soft-fp/fixunssfsi.c: Likewise.
14739         * soft-fp/fixunssfti.c: Likewise.
14740         * soft-fp/fixunstfdi.c: Likewise.
14741         * soft-fp/fixunstfsi.c: Likewise.
14742         * soft-fp/fixunstfti.c: Likewise.
14743         * soft-fp/floatdidf.c: Likewise.
14744         * soft-fp/floatdisf.c: Likewise.
14745         * soft-fp/floatditf.c: Likewise.
14746         * soft-fp/floatsidf.c: Likewise.
14747         * soft-fp/floatsisf.c: Likewise.
14748         * soft-fp/floatsitf.c: Likewise.
14749         * soft-fp/floattidf.c: Likewise.
14750         * soft-fp/floattisf.c: Likewise.
14751         * soft-fp/floattitf.c: Likewise.
14752         * soft-fp/floatundidf.c: Likewise.
14753         * soft-fp/floatundisf.c: Likewise.
14754         * soft-fp/floatunsidf.c: Likewise.
14755         * soft-fp/floatunsisf.c: Likewise.
14756         * soft-fp/floatuntidf.c: Likewise.
14757         * soft-fp/floatuntisf.c: Likewise.
14758         * soft-fp/floatuntitf.c: Likewise.
14759         * soft-fp/fmadf4.c: Likewise.
14760         * soft-fp/fmasf4.c: Likewise.
14761         * soft-fp/fmatf4.c: Likewise.
14762         * soft-fp/gedf2.c: Likewise.
14763         * soft-fp/gesf2.c: Likewise.
14764         * soft-fp/getf2.c: Likewise.
14765         * soft-fp/ledf2.c: Likewise.
14766         * soft-fp/lesf2.c: Likewise.
14767         * soft-fp/letf2.c: Likewise.
14768         * soft-fp/muldf3.c: Likewise.
14769         * soft-fp/mulsf3.c: Likewise.
14770         * soft-fp/multf3.c: Likewise.
14771         * soft-fp/negdf2.c: Likewise.
14772         * soft-fp/negsf2.c: Likewise.
14773         * soft-fp/negtf2.c: Likewise.
14774         * soft-fp/op-1.h: Likewise.
14775         * soft-fp/op-2.h: Likewise.
14776         * soft-fp/op-4.h: Likewise.
14777         * soft-fp/op-8.h: Likewise.
14778         * soft-fp/op-common.h: Likewise.
14779         * soft-fp/quad.h: Likewise.
14780         * soft-fp/single.h: Likewise.
14781         * soft-fp/soft-fp.h: Likewise.
14782         * soft-fp/sqrtdf2.c: Likewise.
14783         * soft-fp/sqrtsf2.c: Likewise.
14784         * soft-fp/sqrttf2.c: Likewise.
14785         * soft-fp/subdf3.c: Likewise.
14786         * soft-fp/subsf3.c: Likewise.
14787         * soft-fp/subtf3.c: Likewise.
14788         * soft-fp/truncdfsf2.c: Likewise.
14789         * soft-fp/trunctfdf2.c: Likewise.
14790         * soft-fp/trunctfsf2.c: Likewise.
14791         * soft-fp/trunctfxf2.c: Likewise.
14792         * soft-fp/unorddf2.c: Likewise.
14793         * soft-fp/unordsf2.c: Likewise.
14794         * soft-fp/unordtf2.c: Likewise.
14795
14796 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
14797
14798         [BZ #15672]
14799         * misc/error.c (error_tail): Fix possible buffer overflow.
14800
14801 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
14802
14803         [BZ #13028]
14804         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14805         address.
14806
14807 2013-10-14  P. J. McDermott  <pj@pehjota.net>
14808
14809         [BZ #832]
14810         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
14811         testing pipefail option.
14812
14813 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14814
14815         * soft-fp/double.h: Indent preprocessor directives inside #if.
14816         * soft-fp/extended.h: Likewise.
14817         * soft-fp/op-2.h: Likewise.
14818         * soft-fp/op-4.h: Likewise.
14819         * soft-fp/op-common.h: Likewise.
14820         * soft-fp/quad.h: Likewise.
14821         * soft-fp/single.h: Likewise.
14822         * soft-fp/soft-fp.h: Likewise.
14823
14824 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
14825
14826         * iconv/iconv_prog.c: Fix typos.
14827         * stdio-common/psiginfo-data.h: Likewise.
14828
14829 2013-10-12   Reuben Thomas <rrt@sc3d.org>
14830
14831         [BZ #15764]
14832         * locale/setlocale.c: Fix typo.
14833
14834 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14835
14836         [BZ #16036]
14837         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14838         signaling NaN arguments.
14839         * soft-fp/unordsf2.c (__unordsf2): Likewise.
14840         * soft-fp/unordtf2.c (__unordtf2): Likewise.
14841
14842         [BZ #14910]
14843         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14844         unordered operands.
14845         * soft-fp/gesf2.c (__gesf2): Likewise.
14846         * soft-fp/getf2.c (__getf2): Likewise.
14847         * soft-fp/ledf2.c (__ledf2): Likewise.
14848         * soft-fp/lesf2.c (__lesf2): Likewise.
14849         * soft-fp/letf2.c (__letf2): Likewise.
14850
14851         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14852         * soft-fp/eqsf2.c (__eqsf2): Likewise.
14853         * soft-fp/eqtf2.c (__eqtf2): Likewise.
14854         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14855         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14856         * soft-fp/fixdfti.c (__fixdfti): Likewise.
14857         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14858         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14859         * soft-fp/fixsfti.c (__fixsfti): Likewise.
14860         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14861         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14862         * soft-fp/fixtfti.c (__fixtfti): Likewise.
14863         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14864         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14865         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14866         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14867         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14868         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14869         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14870         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14871         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14872         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14873         * soft-fp/floatdisf.c (__floatdisf): Likewise.
14874         * soft-fp/floatsisf.c (__floatsisf): Likewise.
14875         * soft-fp/floattidf.c (__floattidf): Likewise.
14876         * soft-fp/floattisf.c (__floattisf): Likewise.
14877         * soft-fp/floattitf.c (__floattitf): Likewise.
14878         * soft-fp/floatundidf.c (__floatundidf): Likewise.
14879         * soft-fp/floatundisf.c (__floatundisf): Likewise.
14880         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14881         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14882         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14883         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14884         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14885         * soft-fp/gesf2.c (__gesf2): Likewise.
14886         * soft-fp/getf2.c (__getf2): Likewise.
14887         * soft-fp/ledf2.c (__ledf2): Likewise.
14888         * soft-fp/lesf2.c (__lesf2): Likewise.
14889         * soft-fp/letf2.c (__letf2): Likewise.
14890
14891         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14892         Undefine and redefine.
14893         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14894         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14895         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14896         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14897         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14898         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14899         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14900         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14901         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14902         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14903         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14904         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14905         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14906         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14907         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14908
14909         [BZ #16032]
14910         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14911         without decrementing exponent if mantissa >= that for the
14912         denominator, not >.
14913         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14914         denominator, not >.  Decrement exponent in < case instead of
14915         incrementing in >= case.
14916         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14917         without decrementing exponent if mantissa >= that for the
14918         denominator, not >.
14919
14920         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14921         computing saturated result for unsigned overflow.
14922
14923 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14924             Jeff Law  <law@redhat.com>
14925
14926         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14927         (atan2Mp): Add systemtap probe marker.
14928         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14929         (__ieee754_log): Add systemtap probe marker.
14930         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14931         (atanMp): Add systemtap probe marker.
14932         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14933         (tanMp): Add systemtap probe marker.
14934         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14935         (__slowexp): Add systemtap probe marker.
14936         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14937         (__slowpow): Add systemtap probe marker.
14938         * manual/probes.texi: Document probes.
14939
14940 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
14941
14942         [BZ #15362]
14943         * libio/fileops.c (_IO_new_file_write): Return count of bytes
14944         written.
14945         (_IO_new_file_xsputn): Don't return EOF if nothing has been
14946         written.
14947         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14948         written to buffer but not flushed.
14949         * libio/iofwrite_u.c:  Likewise.
14950         * libio/iopadn.c:  Return bytes returned even if EOF was
14951         encountered.
14952         * libio/iowpadn.c:  Likewise.
14953         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14954         if _IO_padn does not write the whole buffer.
14955         [!COMPILE_WPRINTF] (PAD): Likewise.
14956
14957 2013-10-10  David S. Miller  <davem@davemloft.net>
14958
14959         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14960         directory block.
14961
14962 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14963
14964         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
14965         instead of FSF address.
14966         * soft-fp/fixdfti.c: Likewise.
14967         * soft-fp/fixsfti.c: Likewise.
14968         * soft-fp/fixtfti.c: Likewise.
14969         * soft-fp/fixunsdfti.c: Likewise.
14970         * soft-fp/fixunssfti.c: Likewise.
14971         * soft-fp/fixunstfti.c: Likewise.
14972         * soft-fp/floattidf.c: Likewise.
14973         * soft-fp/floattisf.c: Likewise.
14974         * soft-fp/floattitf.c: Likewise.
14975         * soft-fp/floatuntidf.c: Likewise.
14976         * soft-fp/floatuntisf.c: Likewise.
14977         * soft-fp/floatuntitf.c: Likewise.
14978         * soft-fp/trunctfxf2.c: Likewise.
14979
14980         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
14981         * soft-fp/fixdfti.c: Likewise.
14982         * soft-fp/fixsfti.c: Likewise.
14983         * soft-fp/fixtfti.c: Likewise.
14984         * soft-fp/fixunsdfti.c: Likewise.
14985         * soft-fp/fixunssfti.c: Likewise.
14986         * soft-fp/fixunstfti.c: Likewise.
14987         * soft-fp/floattidf.c: Likewise.
14988         * soft-fp/floattisf.c: Likewise.
14989         * soft-fp/floattitf.c: Likewise.
14990         * soft-fp/floatuntidf.c: Likewise.
14991         * soft-fp/floatuntisf.c: Likewise.
14992         * soft-fp/floatuntitf.c: Likewise.
14993         * soft-fp/trunctfxf2.c: Likewise.
14994
14995 2013-10-10  David S. Miller  <davem@davemloft.net>
14996
14997         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14998
14999 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
15000
15001         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15002         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15003         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15004         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15005         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15006         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15007         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15008
15009         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15010         for NaNs before doing comparisons on argument.
15011         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15012         Likewise.
15013
15014 2013-10-10  Will Newton  <will.newton@linaro.org>
15015
15016         * malloc/hooks.c (memalign_check): Ensure the value of bytes
15017         passed to _int_memalign does not overflow.
15018
15019 2013-10-10  Torvald Riegel  <triegel@redhat.com>
15020
15021         * scripts/bench.pl: Add include-sources directive.
15022         * benchtests/README: Update documentation.
15023
15024 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15025
15026         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15027         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15028         instead of FP_INIT_ROUNDMODE.
15029         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15030         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15031
15032         [BZ #16034]
15033         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
15034         copy class of input value.
15035         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
15036         not handle exceptions.
15037         * soft-fp/negsf2.c (__negsf2): Likewise.
15038         * soft-fp/negtf2.c (__negtf2): Likewise.
15039         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15040
15041 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
15042
15043         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15044         semicolon.  From Linux kernel.
15045
15046 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
15047
15048         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15049
15050 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
15051
15052         [BZ #156]
15053         * manual/socket.texi: Added statement about buffer
15054         for gethostbyname2_r.
15055
15056 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
15057
15058         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15059         Use .p2align directive instead, throughout.
15060         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15061         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15062         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15063         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15064         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15065         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15066         * sysdeps/x86_64/strchr.S: Likewise.
15067         * sysdeps/x86_64/strrchr.S: Likewise.
15068
15069 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15070
15071         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15072
15073         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15074
15075         * sysdeps/generic/math_private.h (__mpsin1): Remove
15076         declaration.
15077         (__mpcos1): Likewise.
15078         (__mpsin): New argument __range_reduce.
15079         (__mpcos): Likewise.
15080         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15081         (slow): Use __mpsin and __mpcos.
15082         (slow1): Likewise.
15083         (slow2): Likewise.
15084         (sloww): Likewise.
15085         (sloww1): Likewise.
15086         (sloww2): Likewise.
15087         (bsloww): Likewise.
15088         (bsloww1): Likewise.
15089         (bsloww2): Likewise.
15090         (cslow2): Likewise.
15091         (csloww): Likewise.
15092         (csloww1): Likewise.
15093         (csloww2): Likewise.
15094         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15095         range_reduce.  Merge in __mpsin1.
15096         (__mpcos): Likewise.
15097         (__mpsin1): Remove.
15098         (__mpcos1): Likewise.
15099
15100 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
15101
15102         * locale/loadlocale.c (_nl_intern_locale_data): Use
15103         LOCFILE_ALIGNED_P.
15104         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15105         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15106         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15107         obstack data is appropriately aligned.
15108         (obstack_int32_grow_fast): Likewise.
15109         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15110         * locale/programs/locfile.c (add_locale_uint32): Likewise.
15111         (add_locale_uint32_array): Likewise.
15112
15113 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15114
15115         * benchtests/Makefile: Remove ARGLIST and RET variables.
15116         ($(objpfx)bench-%.c): Pass only function name to the script.
15117         * benchtests/README: Update documentation.
15118         * benchtests/acos-inputs: Add new directives.
15119         * benchtests/acosh-inputs: Likewise.
15120         * benchtests/asin-inputs: Likewise.
15121         * benchtests/asinh-inputs: Likewise.
15122         * benchtests/atan-inputs: Likewise.
15123         * benchtests/atanh-inputs: Likewise.
15124         * benchtests/cos-inputs: Likewise.
15125         * benchtests/cosh-inputs: Likewise.
15126         * benchtests/exp-inputs: Likewise.
15127         * benchtests/log-inputs: Likewise.
15128         * benchtests/pow-inputs: Likewise.
15129         * benchtests/rint-inputs: Likewise.
15130         * benchtests/sin-inputs: Likewise.
15131         * benchtests/sinh-inputs: Likewise.
15132         * benchtests/tan-inputs: Likewise.
15133         * benchtests/tanh-inputs: Likewise.
15134         * scripts/bench.pl: Add support for new directives.
15135
15136 2013-10-07  Alan Modra  <amodra@gmail.com>
15137
15138         * README: Fix careless merge.
15139
15140 2013-10-05  Alan Modra  <amodra@gmail.com>
15141
15142         * NEWS: Mention powerpc64le support and bugs fixed.
15143         * README: Both big-endian and little-endian powerpc64 supported.
15144
15145 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15146
15147         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15148         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15149         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15150         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15151
15152 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
15153
15154         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15155         match prototype.
15156
15157 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
15158
15159         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15160         Move -mhard-float appending from
15161         ports/sysdeps/powerpc/powerpc32/Makefile.
15162         [$(with-fp) = yes] (ASFLAGS): Likewise.
15163         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15164         * sysdeps/powerpc/nofpu: Move directory from
15165         ports/sysdeps/powerpc/nofpu.
15166         * sysdeps/powerpc/soft-fp: Move directory from
15167         ports/sysdeps/powerpc/soft-fp.
15168         * sysdeps/powerpc/powerpc32/405: Move directory from
15169         ports/sysdeps/powerpc/powerpc32/405.
15170         * sysdeps/powerpc/powerpc32/440: Move directory from
15171         ports/sysdeps/powerpc/powerpc32/440.
15172         * sysdeps/powerpc/powerpc32/464: Move directory from
15173         ports/sysdeps/powerpc/powerpc32/464.
15174         * sysdeps/powerpc/powerpc32/476: Move directory from
15175         ports/sysdeps/powerpc/powerpc32/476.
15176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15177         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15179         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15181         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15183         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15185         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15186         * README: Update for powerpc-*-linux-gnu software floating point
15187         support in libc.
15188
15189         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15190         case to powerpc/powerpc32*.
15191         * sysdeps/unix/sysv/linux/configure: Regenerated.
15192
15193         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15194         (_FPU_MASK_OM): Define as 0x04.
15195         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15196         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15197         0x00c10080.
15198         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15199         0x0000003c.
15200         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15201
15202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15203         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15204         getcontext_e500.
15205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15206         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15207         setcontext_e500.
15208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15209         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15210         and setcontext_e500.
15211
15212 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
15213
15214         * locale/iso-3166.def: Update iso-1366.def and related occurrences
15215
15216 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15217
15218         * manual/threads.texi (Default Thread Attributes): Fix typo.
15219
15220 2013-10-04  Will Newton  <will.newton@linaro.org>
15221
15222         * malloc/Makefile: Add tst-memalign.
15223         * malloc/tst-memalign.c: New file.
15224
15225         * malloc/tst-posix_memalign.c: Add comments.
15226         (do_test): Add comments and call free on all potentially
15227         allocated pointers. Add space after cast.
15228
15229         * malloc/tst-pvalloc.c: Add comments.
15230         (do_test): Add comments and call free on all potentially
15231         allocated pointers. Remove duplicate check for NULL pointer.
15232         Add space after cast.
15233
15234         * malloc/tst-valloc.c: Add comments.
15235         (do_test): Add comments and call free on all potentially
15236         allocated pointers. Remove duplicate check for NULL pointer.
15237         Add space after cast.
15238
15239 2013-10-04  Alan Modra  <amodra@gmail.com>
15240
15241         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15242         Use stdint types in rather than __attribute__((mode())).
15243         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15244
15245 2013-10-04  Alan Modra  <amodra@gmail.com>
15246
15247         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15248         Correct handling of unaligned relocs for little-endian.
15249         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15250
15251 2013-10-04  Alan Modra  <amodra@gmail.com>
15252
15253         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15254         * configure: Regenerate.
15255         * nptl/shlib-versions: Powerpc*le starts at 2.18.
15256         * shlib-versions: Likewise.
15257
15258 2013-10-04  Alan Modra  <amodra@gmail.com>
15259
15260         * string/tester.c (test_memrchr): Increment reported test cycle.
15261
15262 2013-10-04  Alan Modra  <amodra@gmail.com>
15263
15264         * string/test-memcpy.c (do_one_test): When reporting errors, print
15265         string address and don't overrun end of string.
15266
15267 2013-10-04  Alan Modra  <amodra@gmail.com>
15268
15269         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15270         insrdi.  Make better use of reg selection to speed exit slightly.
15271         Schedule entry path a little better.  Remove useless "are we done"
15272         checks on entry to main loop.  Handle wrapping around zero address.
15273         Correct main loop count.  Handle single left-over word from main
15274         loop inline rather than by using loop_small.  Remove extra word
15275         case in loop_small caused by wrong loop count.  Add little-endian
15276         support.
15277         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15278         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
15279         cache hint.
15280         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15281         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15282         support.  Avoid rlwimi.
15283         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15284
15285 2013-10-04  Alan Modra  <amodra@gmail.com>
15286
15287         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15288         insrdi.  Formatting.
15289         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15290         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15291         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15292         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15293         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15294         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15295
15296 2013-10-04  Alan Modra  <amodra@gmail.com>
15297
15298         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15299         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15300         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15301         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15302         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15303         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15304         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15305         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15306         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
15307         use of regs.  Use power7 mtocrf.  Tidy function tails.
15308
15309 2013-10-04  Alan Modra  <amodra@gmail.com>
15310
15311         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15312         Formatting.  Consistently use rXXX register defines or rN defines.
15313         Use early exit labels that avoid restoring unused non-volatile regs.
15314         Make cr field use more consistent with rWORDn compares.  Rename
15315         regs used as shift registers for unaligned loop, using rN defines
15316         for short lifetime/multiple use regs.
15317         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15318         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
15319         addi 1,1,64 to pop stack frame.  Simplify return value code.
15320         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15321
15322 2013-10-04  Alan Modra  <amodra@gmail.com>
15323
15324         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15325         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
15326         rather than rlwimi.
15327         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15328         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15329         little-endian support.  Correct typos.
15330         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
15331         rather than rlwimi.
15332         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
15333         in loop and entry code to keep "and." results.
15334         (strchr): Add little-endian support.  Comment.  Move cntlzd
15335         earlier in tail.
15336         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15337
15338 2013-10-04  Alan Modra  <amodra@gmail.com>
15339
15340         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15341         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15342         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15343         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15344
15345 2013-10-04  Alan Modra  <amodra@gmail.com>
15346
15347         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15348         (rTMP): Define as r11.
15349         (strcmp): Add little-endian support.  Optimise tail.
15350         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15351         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15352         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15353         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15354         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15355         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15356         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15357
15358 2013-10-04  Alan Modra  <amodra@gmail.com>
15359
15360         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15361         little-endian support.  Remove unnecessary "are we done" tests.
15362         Handle "s" wrapping around zero and extremely large "size".
15363         Correct main loop count.  Handle single left-over word from main
15364         loop inline rather than by using small_loop.  Correct comments.
15365         Delete "zero" tail, use "end_max" instead.
15366         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15367
15368 2013-10-04  Alan Modra  <amodra@gmail.com>
15369
15370         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15371         support.  Don't branch over align.
15372         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15373         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15374         support.  Rearrange tmp reg use to suit.  Comment.
15375         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15376
15377 2013-10-04  Alan Modra  <amodra@gmail.com>
15378
15379         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15380
15381 2013-10-04  Alan Modra  <amodra@gmail.com>
15382
15383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15384         conditional form of branch and link when obtaining pc.
15385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15386
15387 2013-10-04  Alan Modra  <amodra@gmail.com>
15388
15389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15390         HIWORD/LOWORD.
15391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15393
15394 2013-10-04  Alan Modra  <amodra@gmail.com>
15395
15396         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15397         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15398         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15399         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15400         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15401         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15402         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15403         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15404         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15405         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15406
15407 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15408             Alistair Popple <alistair@ozlabs.au.ibm.com>
15409             Alan Modra <amodra@gmail.com>
15410
15411         [BZ #15723]
15412         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15413         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15414         _dl_hwcap access for little-endian.
15415         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
15416         destroy vmx regs when saving unaligned.
15417         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15418         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
15419         destroy vmx regs when saving unaligned.
15420
15421 2013-10-04  Alan Modra  <amodra@gmail.com>
15422
15423         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15424         Don't use a union to pack hi/low value.
15425
15426 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15427
15428         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15429         for little-endian.
15430         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15431         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15432         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15433         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15434         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15435
15436 2013-10-04  Alan Modra  <amodra@gmail.com>
15437
15438         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15439         constants to usual value for .cst8 section, and remove redundant
15440         high address load.
15441         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15442         constant for 0x1p52.  Load little-endian words of double from
15443         correct stack offsets.
15444
15445 2013-10-04  Alan Modra  <amodra@gmail.com>
15446
15447         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15448         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15449         words of double from correct stack offsets.
15450         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15451         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15452         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15453         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15454         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15455         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15456         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15457         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15458         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15459         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15460         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15461         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15462         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15463         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15464         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15465         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15466         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15467
15468 2013-10-04  Alan Modra  <amodra@gmail.com>
15469
15470         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15471         64-bit int/double union.
15472         (_FPU_SETCW): Likewise.
15473         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15474         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15475
15476 2013-10-04  Alan Modra  <amodra@gmail.com>
15477
15478         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15479         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15480
15481 2013-10-04  Alan Modra  <amodra@gmail.com>
15482
15483         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15484         use vector int constants.
15485         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15486
15487 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15488
15489         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15490         array with long long.
15491         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15492         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15493         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15494         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15495         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15496         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15497         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15498         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15499         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15500         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15501         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15502         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15503         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15504
15505 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15506
15507         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15508         (__signbit): Likewise.  Correct for little-endian.
15509         (__signbitl): Call __signbit.
15510         (lrint): Correct for little-endian.
15511         (lrintf): Call lrint.
15512
15513 2013-10-04  Alan Modra  <amodra@gmail.com>
15514
15515         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15516         union 32-bit int array member with 64-bit int array.
15517         (t515, tm256): Double rather than long double.
15518         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15519
15520 2013-10-04  Alan Modra  <amodra@gmail.com>
15521
15522         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15523         Delete.
15524         (IEEE854_LONG_DOUBLE_BIAS): Delete.
15525         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15526         version of math_ldbl.h.
15527
15528 2013-10-04  Alan Modra  <amodra@gmail.com>
15529
15530         [BZ #15734], [BZ #15735]
15531         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15532         all uses of ieee875 long double macros and unions.  Simplify test
15533         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
15534         ldbl_extract_mantissa value for ix,iy exponents.  Properly
15535         normalize after ldbl_extract_mantissa, and don't add hidden bit
15536         already handled.  Don't treat low word of ieee854 mantissa like
15537         low word of IBM long double and mask off bit when testing for
15538         zero.
15539         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15540         all uses of ieee875 long double macros and unions.  Simplify tests
15541         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
15542         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
15543         two1022, instead use their values.  Recognise that tests for large
15544         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
15545         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15546         Rewrite all uses of ieee875 long double macros and unions.  Simplify
15547         test for 0.0L and nan.  Correct negation.
15548         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15549         ieee875 long double macros and unions.  Correct output for large
15550         magnitude x.  Correct absolute value calculation.
15551         (__erfcl): Likewise.
15552         * math/libm-test.inc: Add tests for errors discovered in IBM long
15553         double versions of fmodl, remainderl, erfl and erfcl.
15554
15555 2013-10-04  Alan Modra  <amodra@gmail.com>
15556
15557         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15558         all uses of ieee854 long double macros and unions.  Simplify tests
15559         for long doubles that are fully specified by the high double.
15560         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15561         Likewise.
15562         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15563         Remove dead code too.
15564         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15565         (__ieee754_ynl): Likewise.
15566         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15567         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15568         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15569         Remove dead code too.
15570         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15571         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15572         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15573         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15574         Simplify.
15575         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15576         Simplify.
15577         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15578         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15579         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15580         Comment on variable precision.
15581         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15582         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15583         Likewise.
15584         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15585         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15586         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15587         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15588         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15589
15590 2013-10-04  Alan Modra  <amodra@gmail.com>
15591
15592         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15593         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15594         all uses of ieee854 long double macros and unions.
15595         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15596         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15597         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15598         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15599         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15600         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15601         Likewise.
15602         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15603         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15604         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15605         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15606         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15607         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15608         Simplify sign and nan test too.
15609         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15610         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15611         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15612         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15613         Likewise.
15614         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15615         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15616         Likewise.
15617         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15618         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15619         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15620         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15621         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15622         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15623
15624 2013-10-04  Alan Modra  <amodra@gmail.com>
15625
15626         * stdio-common/printf_size.c (__printf_size): Don't use
15627         union ieee854_long_double in fpnum union.
15628         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
15629         signbit macro to retrieve sign from long double.
15630         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15631         retrieve sign from long double.
15632         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15633         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15634         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15635         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15636         * math/test-misc.c (main): Don't use union ieee854_long_double.
15637
15638 2013-10-04  Alan Modra  <amodra@gmail.com>
15639
15640         [BZ #15680]
15641         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15642         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15643         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15644         calculation.  Remove unnecessary test for denormal exponent.
15645         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15646         Correct handling of denormals.  Avoid undefined shift behaviour.
15647         Correct normalisation of low mantissa when low double is denormal.
15648         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15649         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
15650         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15651         Correct normalisation of low mantissa.  Test for overflow of high
15652         mantissa and normalise.
15653         (ldbl_nearbyint): Use more readable constant for two52.
15654         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15655         (__mpn_construct_long_double): Fix test for overflow of high
15656         mantissa and correct normalisation.  Avoid undefined shift.
15657
15658 2013-10-04  Alan Modra  <amodra@gmail.com>
15659
15660         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15661         (union ibm_extended_long_double): Define as an array of ieee754_double.
15662         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15663         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15664         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15665         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15666         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15667         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15668         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15669         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15670         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15671         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15672         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15673
15674 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
15675
15676         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15677         page size instead of calling getpagesize.
15678
15679         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15680         (LOCFILE_ALIGN_MASK): Likewise.
15681         (LOCFILE_ALIGN_UP): Likewise.
15682         (LOCFILE_ALIGNED_P): Likewise.
15683         * locale/programs/ld-collate.c (collate_output): Use the new
15684         macros instead of __alignof__ (int32_t).
15685         * locale/weight.h (findidx): Likewise.
15686
15687 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
15688
15689         [BZ #431]
15690         * manual/string.texi: Fix strncat and wcsncat.
15691
15692 2013-10-03  Brooks Moses  <bmoses@google.com>
15693
15694         [BZ #15915]
15695         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15696         * Makerules: ...here, and adjust associated comments.
15697
15698 2013-10-02  Will Newton  <will.newton@linaro.org>
15699
15700         * malloc/Makefile: Add tst-pvalloc.
15701         * malloc/tst-pvalloc.c: New file.
15702
15703 2013-10-02  Will Newton  <will.newton@linaro.org>
15704
15705         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15706         improve test coverage.
15707
15708 2013-10-02  Will Newton  <will.newton@linaro.org>
15709
15710         * malloc/Makefile: Add tst-posix_memalign.
15711         * malloc/tst-posix_memalign.c: New file.
15712
15713 2013-10-01  Eric Blake  <eblake@redhat.com>
15714
15715         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15716         Use __THROWNL rather than __THROW on static functions.
15717
15718 2013-09-30  Petr Machata  <pmachata@redhat.com>
15719
15720         * elf/elf.h (R_AARCH64_ABS16): New macro.
15721         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15722         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15723         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15724         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15725         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15726         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15727         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15728         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15729         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15730         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15731         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15732         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15733         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15734         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15735         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15736         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15737         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15738         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15739         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15740         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15741         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15742         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15743         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15744         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15745         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15746         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15747         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15748         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15749         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15750         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15751         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15752         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15753         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15754         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15755         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15756         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15757         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15758         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15759         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15760         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15761         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15762         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15763         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15764         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15765         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15766         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15767         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15768         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15769         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15770         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15771         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15772         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15773         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15774         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15775         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15776         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15777         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15778         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15779         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15780         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15781         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15782         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15783         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15784         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15785         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15786         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15787         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15788         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15789         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15790         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15791         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15792         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15793         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15794         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15795         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15796         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15797         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15798         (R_AARCH64_TLSDESC_LDR): Likewise.
15799         (R_AARCH64_TLSDESC_ADD): Likewise.
15800         (R_AARCH64_TLSDESC_CALL): Likewise.
15801
15802 2013-09-30  Andreas Schwab  <schwab@suse.de>
15803
15804         [BZ #15048]
15805         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15806         the nss database lookup.
15807         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15808         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15809
15810 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
15811
15812         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15813
15814 2013-09-28  P. J. McDermott  <pj@pehjota.net>
15815
15816         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15817         ${Bash-specific parameter/pattern/string} parameter expansion.
15818         * sysdeps/unix/make-syscalls.sh: Likewise.
15819
15820 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15821
15822         * sysdeps/sh/stackguard-macros.h: New file.
15823
15824 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
15825
15826         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15827         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15828         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15829         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15830         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15831         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15832
15833 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15834
15835         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15836         Fix thread ID register.
15837
15838 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
15839
15840         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15841         [POSIX || UNIX98]: Require rather than permitting all symbols from
15842         <time.h>.
15843         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15844         element of struct sched_param.
15845         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15846         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15847         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15848         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15849         constant.
15850
15851 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
15852
15853         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15854         argument calculation.
15855
15856 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15857
15858         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15859         Expect macro.
15860         [POSIX] (pthread_attr_t): Do not require type.
15861         [POSIX] (pthread_cond_t): Likewise.
15862         [POSIX] (pthread_condattr_t): Likewise.
15863         [POSIX] (pthread_key_t): Likewise.
15864         [POSIX] (pthread_mutex_t): Likewise.
15865         [POSIX] (pthread_mutexattr_t): Likewise.
15866         [POSIX] (pthread_once_t): Likewise.
15867         [POSIX] (pthread_t): Likewise.
15868         [POSIX-based standards] (pthread_atfork): Expect function.
15869
15870 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15871             Richard Sandiford  <richard@codesourcery.com>
15872
15873         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15874         (swap_endianness_p): New extern variable.
15875         (set_big_endian): New inline function.
15876         (maybe_swap_uint32): Likewise.
15877         (maybe_swap_uint32_array): Likewise.
15878         (maybe_swap_uint32_obstack): Likewise.
15879         * locale/programs/locfile.c: Include <stdbool.h>.
15880         (swap_endianness_p): New variable.
15881         (add_locale_uint32): Call maybe_swap_uint32.
15882         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15883         (write_locale_data): Call maybe_swap_uint32_array.
15884         * locale/programs/ld-collate.c (obstack_int32_grow): Call
15885         maybe_swap_uint32.
15886         (obstack_int32_grow_fast): Likewise.
15887         (output_weightwc): Call maybe_swap_uint32_obstack.
15888         (collate_output): Likewise.
15889         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15890         (OPT_LITTLE_ENDIAN): Likewise.
15891         (options): Add --little-endian and --big-endian options.
15892         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15893         * locale/programs/locarchive.c: Include "locfile.h".
15894         (GET): New macro.
15895         (SET): Likewise.
15896         (INC): Likewise.
15897         (create_archive): Use the new macros to access fields of
15898         structures directly mapped from or written to locale archives.
15899         (oldlocrecentcmp): Likewise.
15900         (enlarge_archive): Likewise.
15901         (insert_name): Likewise.
15902         (add_alias): Likewise.
15903         (add_locale): Likewise.
15904         (delete_locales_from_archive): Likewise.
15905         (show_archive_content): Likewise.
15906         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
15907         locale data.
15908
15909 2013-09-24  Roland McGrath  <roland@hack.frob.com>
15910
15911         * manual/freemanuals.texi: Updated from (newly) canonical copy at
15912         http://www.gnu.org/doc/freemanuals.texi.
15913         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15914
15915 2013-09-24  Will Newton  <will.newton@linaro.org>
15916
15917         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15918         macro.
15919
15920 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
15921
15922         * locale/hashval.h (compute_hashval): Interpret bytes of key as
15923         unsigned char.
15924
15925 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
15926
15927         * manual/threads.texi (POSIX Threads): Fix a typo.
15928
15929 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15930
15931         [BZ #14547]
15932         * string/tst-strcoll-overflow.c: New test case.
15933         * string/Makefile (xtests): Add tst-strcoll-overflow.
15934         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15935         cache if string sizes may cause integer overflow.
15936
15937         [BZ #14547]
15938         * string/strcoll_l.c (coll_seq): New members rule, idx,
15939         save_idx and back_us.
15940         (get_next_seq_nocache): New function.
15941         (do_compare_nocache): New function.
15942         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15943         when malloc fails.
15944
15945 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
15946
15947         [BZ #15754]
15948         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15949         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15950         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15951
15952         [BZ #15754]
15953         * elf/Makefile (tests): Add tst-ptrguard1.
15954         (tests-static): Add tst-ptrguard1-static.
15955         (tst-ptrguard1-ARGS): Define.
15956         (tst-ptrguard1-static-ARGS): Define.
15957         * elf/tst-ptrguard1.c: New file.
15958         * elf/tst-ptrguard1-static.c: New file.
15959         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15960         * sysdeps/i386/stackguard-macros.h: Likewise.
15961         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15962         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15963         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15964         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15965         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15966         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15967
15968 2013-09-23  Hector Marco  <hecmargi@upv.es>
15969             Ismael Ripoll  <iripoll@disca.upv.es>
15970             Carlos O'Donell  <carlos@redhat.com>
15971
15972         [BZ #15754]
15973         * sysdeps/generic/stackguard-macros.h: Define
15974         __pointer_chk_guard_local and POINTER_CHK_GUARD.
15975         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15976         Define __pointer_chk_guard_local.
15977         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15978         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15979
15980 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
15981
15982         [BZ #15859]
15983         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15984
15985 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
15986
15987         * include/string.h (__ffs): Declare as hidden.
15988         * string/ffs.c (__ffs): Define as hidden.
15989         * sysdeps/i386/ffs.c (__ffs): Likewise.
15990         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15991         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15992         * sysdeps/s390/ffs.c (__ffs): Likewise.
15993         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15994
15995 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
15996
15997         * NEWS: Mention malloc probes.
15998
15999         * malloc/arena.c (new_heap): New memory_heap_new probe.
16000         (grow_heap): New memory_heap_more probe.
16001         (shrink_heap): New memory_heap_less probe.
16002         (heap_trim): New memory_heap_free probe.
16003         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16004         (systrim): New memory_sbrk_less probe.
16005         * manual/probes.texi: Document them.
16006
16007         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16008         * manual/probes.texi: Document it.
16009
16010         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16011         (__libc_realloc): Add memory_realloc_retry probe.
16012         (__libc_memalign): Add memory_memalign_retry probe.
16013         (__libc_valloc): Add memory_valloc_retry probe.
16014         (__libc_pvalloc): Add memory_pvalloc_retry probe.
16015         (__libc_calloc): Add memory_calloc_retry probe.
16016         * manual/probes.texi: Document them.
16017
16018         * malloc/arena.c (get_free_list): Add probe
16019         memory_arena_reuse_free_list.
16020         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16021         and memory_arena_reuse.
16022         (arena_get2) [!PER_THREAD]: Likewise.
16023         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16024         memory_arena_reuse_realloc.
16025         * manual/probes.texi: Document them.
16026
16027         * malloc/malloc.c (__libc_free): Add
16028         memory_mallopt_free_dyn_thresholds probe.
16029         (__libc_mallopt): Add multiple memory_mallopt probes.
16030         * manual/probes.texi: Document them.
16031
16032         * malloc/malloc.c: Include stap-probe.h.
16033         (__libc_mallopt): Add memory_mallopt probe.
16034         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16035         * manual/probes.texi: New.
16036         * manual/Makefile (chapters): Add probes.
16037         * manual/threads.texi: Set next node.
16038
16039 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
16040
16041         [BZ #15963, #13985]
16042         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16043         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16044         Add `Chinese' to `nan' entry name.
16045
16046 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16047
16048         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16049         (POLYNOMIAL): Likewise.
16050         (TAYLOR_SINCOS): Likewise.
16051         (TAYLOR_SLOW): Likewise.
16052         (__sin): Use TAYLOR_SINCOS.
16053         (__cos): Likewise.
16054         (slow): Use TAYLOR_SLOW.
16055         (sloww): Likewise.
16056         (bsloww): Likewise.
16057         (csloww): Likewise.
16058
16059 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16060
16061         * stdlib/strtod_l.c: Fix buffer overrun.
16062
16063 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16064
16065         * benchtests/Makefile (bench): Add sincos.
16066         * benchtests/bench-sincos.c: New file.
16067
16068         * math/libm-test.inc (cos_test_data): New test inputs.
16069         (sin_test_data): Likewise.
16070
16071         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16072         macro.
16073         (__sin): Use it.
16074         (__cos): Likewise.
16075         (slow1): Likewise.
16076         (slow2): Likewise.
16077         (sloww1): Likewise.
16078         (sloww2): Likewise.
16079         (bsloww1): Likewise.
16080         (bsloww2): Likewise.
16081         (cslow2): Likewise.
16082         (csloww1): Likewise.
16083         (csloww2): Likewise.
16084
16085         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16086         function.
16087         (__sin): Use it.
16088         (__cos): Likewise.
16089
16090         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16091         gotos.
16092         (__cos): Likewise.
16093
16094 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
16095
16096         * config.h.in (HAVE_MIPS_NAN2008): New macro.
16097         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16098         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16099         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16100         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16101         * elf/cache.c (print_entry): Handle the new cache flags.
16102
16103 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16104             Aldy Hernandez  <aldyh@redhat.com>
16105
16106         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16107         Change condition to [_SOFT_FLOAT].
16108         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16109         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16110         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16111         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16112         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16113         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16114         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16115         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16116         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16117         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16118         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16119         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16120         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16121         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16122         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16123         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16124         declaration.
16125
16126 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16127
16128         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16129         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16130         (__longjmp): Use LOAD_GP to load saved GPRs.
16131         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16132         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16133         (__sigsetjmp): Use SAVE_GP to save GPRs.
16134
16135         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16136         Do not append -msoft-float.
16137         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16138
16139 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16140
16141         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16142
16143 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
16144
16145         [BZ #15966]
16146         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16147         (_FPU_GETCW): Use initial "__" on variable and field names but not
16148         on macro parameter name.
16149         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
16150         parentheses around reference to macro parameter.
16151
16152 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
16153
16154         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16155         prototype.
16156         (ctype_startup): Use uint32_t in cast and sizeof for
16157         ctype->charnames.
16158
16159 2013-09-11  Jia Liu  <proljc@gmail.com>
16160
16161         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16162         __daddr_t_defined.
16163         [__FreeBSD__]: Likewise.
16164
16165 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
16166
16167         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16168         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16169         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16170         (strchr): Remove __strchr_sse42 ifunc selection.
16171         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16172         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16173
16174 2013-09-11  Will Newton  <will.newton@linaro.org>
16175
16176         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16177         parameter to RES. Remove hardcoded 1000 value.
16178         * benchtests/bench-skeleton.c (main): Pass RES parameter
16179         to TIMING_INIT and multiply result by 1000.
16180
16181 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16182
16183         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16184
16185 2013-09-11  Andreas Schwab  <schwab@suse.de>
16186
16187         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16188         if not defined.
16189         (O_TMPFILE) [__USE_GNU]: Define.
16190         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16191         Define.
16192
16193 2013-09-11  Will Newton  <will.newton@linaro.org>
16194
16195         [BZ #15857]
16196         * malloc/malloc.c (__libc_memalign): Check the value of bytes
16197         does not overflow.
16198
16199 2013-09-11  Will Newton  <will.newton@linaro.org>
16200
16201         [BZ #15856]
16202         * malloc/malloc.c (__libc_valloc): Check the value of bytes
16203         does not overflow.
16204
16205 2013-09-11  Will Newton  <will.newton@linaro.org>
16206
16207         [BZ #15855]
16208         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16209         does not overflow.
16210
16211 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
16212
16213         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16214         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16215         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16216         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16217         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16218
16219 2013-09-10  Allan McRae  <allan@archlinux.org>
16220
16221         [BZ #15748]
16222         * manual/arith.texi (Parsing of Floats): Clarify
16223         cross-reference.
16224
16225         [BZ #15849]
16226         * manual/install.texi (Running make install): Mention
16227         --enable-pt-chown.
16228         * INSTALL: Regenerated.
16229
16230 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
16231
16232         * csu/init-first.c (_init): Remove the !SHARED condition around
16233         FPU control word initialization.
16234         * elf/dl-support.c (_dl_fpu_control): New variable.
16235         (_dl_aux_init) <AT_FPUCW>: Initialize it.
16236         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16237         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16238         * math/test-fpucw-static.c: New file.
16239         * math/test-fpucw-ieee.c: New file.
16240         * math/test-fpucw-ieee-static.c: New file.
16241         * math/Makefile (tests): Add `test-fpucw-ieee' and
16242         `$(tests-static)'.
16243         (tests-static): New variable.
16244         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16245         dependency to...
16246         [($(build-shared),yes)]
16247         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16248         ... this.
16249         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16250         New dependency.
16251
16252 2013-09-09  Allan McRae  <allan@archlinux.org>
16253
16254         [BZ #15939]
16255         * manual/string.texi (Collation Functions): Fix typo in
16256         strcoll example.
16257         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16258
16259         [BZ #15893]
16260         * stdlib/isomac.c (get_null_defines): Fix memory leak.
16261
16262         [BZ #15892]
16263         * libio/memstream.c (open_memstream): Fix memory leak.
16264         * libio/wmemstream.c (open_wmemstream): Likewise.
16265
16266         [BZ #15895]
16267         * nscd/netgroupcache.c: Fix nesting of ifdefs.
16268
16269 2013-09-09  Will Newton  <will.newton@linaro.org>
16270
16271         * malloc/Makefile: Add tst-realloc to tests.
16272         * malloc/tst-realloc.c: New file.
16273
16274 2013-09-09  Allan McRae  <allan@archlinux.org>
16275
16276         [BZ #15844]
16277         * COPYING: Update from GNU website to fix FSF address.
16278         * COPYING.LIB: Likewise.
16279
16280 2013-09-06  David S. Miller  <davem@davemloft.net>
16281
16282         * po/zh_TW.po: Update Chinese (traditional) translation from
16283         translation project.
16284
16285 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
16286             Joseph Myers  <joseph@codesourcery.com>
16287
16288         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16289         "localeinfo.h".
16290         (obstack_chunk_alloc): New macro.
16291         (obstack_chunk_free): Likewise.
16292         (record_offset): New function.
16293         (init_locale_data): Likewise.
16294         (align_locale_data): Likewise.
16295         (add_locale_empty): Likewise.
16296         (add_locale_raw_data): Likewise.
16297         (add_locale_raw_obstack): Likewise.
16298         (add_locale_string): Likewise.
16299         (add_locale_wstring): Likewise.
16300         (add_locale_uint32): Likewise.
16301         (add_locale_uint32_array): Likewise.
16302         (add_locale_char): Likewise.
16303         (start_locale_structure): Likewise.
16304         (end_locale_structure): Likewise.
16305         (start_locale_prelude): Likewise.
16306         (end_locale_prelude): Likewise.
16307         (write_locale_data): Take locale_file structure rather than an
16308         iovec.
16309         * locale/programs/locfile.h: Include "obstack.h".
16310         (struct locale_file): Change to store locale file contents instead
16311         of header.
16312         (init_locale_data): New prototype.
16313         (align_locale_data): Likewise.
16314         (add_locale_empty): Likewise.
16315         (add_locale_raw_data): Likewise.
16316         (add_locale_raw_obstack): Likewise.
16317         (add_locale_string): Likewise.
16318         (add_locale_wstring): Likewise.
16319         (add_locale_uint32): Likewise.
16320         (add_locale_uint32_array): Likewise.
16321         (add_locale_char): Likewise.
16322         (start_locale_structure): Likewise.
16323         (end_locale_structure): Likewise.
16324         (start_locale_prelude): Likewise.
16325         (end_locale_prelude): Likewise.
16326         (write_locale_data): Update prototype.
16327         * locale/programs/3level.h (struct TABLE): Remove result field.
16328         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16329         Use new locale_file interface.
16330         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16331         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16332         * locale/programs/ld-address.c (address_output): Use new
16333         locale_file interface.
16334         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16335         NO_ADD_LOCALE.
16336         (collate_finish): Don't call collseq_table_finalize.
16337         (collate_output): Use new locale_file interface.
16338         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16339         in file.
16340         (NO_FINALIZE): Change to NO_ADD_LOCALE.
16341         (TABLE): Move defines earlier in file.
16342         (ELEMENT): Likewise.
16343         (DEFAULT): Likewise.
16344         (wctrans_table_add): Move macro and inline function earlier in
16345         file.
16346         (struct wctype_table): Move type earlier in file.
16347         (add_locale_wctype_table): New static prototype.
16348         (struct locale_ctype_t): Use logical types instead of struct iovec
16349         pointers for members.
16350         (ctype_output): Use new locale_file interface.
16351         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
16352         new locale_file interface.
16353         (allocate_arrays): Update for use of new locale_file interface.
16354         * locale/programs/ld-identification.c (identification_output): Use
16355         new locale_file interface.
16356         * locale/programs/ld-measurement.c (measurement_output): Likewise.
16357         * locale/programs/ld-messages.c (messages_output): Likewise.
16358         * locale/programs/ld-monetary.c (monetary_output): Likewise.
16359         * locale/programs/ld-name.c (name_output): Likewise.
16360         * locale/programs/ld-numeric.c (numeric_output): Likewise.
16361         * locale/programs/ld-paper.c (paper_output): Likewise.
16362         * locale/programs/ld-telephone.c (telephone_output): Likewise.
16363         * locale/programs/ld-time.c (time_output): Likewise.
16364
16365 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16366
16367         * benchtests/Makefile: Add memrchr benchmark.
16368         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16369         benchmark as memrchr.
16370         * benchtests/bench-memrchr-ifunc.c: New file.
16371         * benchtests/bench-memrchr.c: New file.
16372
16373 2013-09-06   Will Newton  <will.newton@linaro.org>
16374
16375         * benchtests/Makefile (string-bench): Add memcpy.
16376
16377 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
16378             Cong Wang  <amwang@redhat.com>
16379
16380         [BZ #15850]
16381         * sysdeps/unix/sysv/linux/bits/in.h
16382         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16383         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16384         before __USE_KERNEL_IPV6_DEFS uses.
16385         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16386         IPPROTO_BEETPH.
16387         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16388         sockaddr_in6, or ipv6_mreq.
16389
16390 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16391
16392         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16393         memory access for final bytes in some large inputs.
16394         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16395
16396 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16397
16398         * string/test-memrchr.c: New file.
16399         * string/test-memrchr-ifunc.c: New file.
16400         * string/Makefile: Add new memrchr testcase.
16401
16402 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
16403
16404         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16405         fanotify_init returns EPERM.
16406
16407 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16408
16409         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16410         errors.
16411         (top level): Treat second token from macro or constant entries for
16412         allowed headers as allowed.
16413         * include/complex.h: Condition internal declarations on
16414         [!_ISOMAC].
16415         * include/fenv.h: Condition include of <stdbool.h> and internal
16416         declarations on [!_ISOMAC].
16417
16418 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
16419
16420         [BZ #15923]
16421         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16422
16423 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16424
16425         * configure.in (--enable-versioning): Remove configure option.
16426         (libc_cv_asm_symver_directive): Remove configure test.
16427         (libc_cv_ld_version_script_option): Likewise.
16428         (VERSIONING): Remove variable and AC_SUBST.
16429         (DO_VERSIONING): Remove AC_DEFINE.
16430         * configure: Regenerated.
16431         * config.h.in (DO_VERSIONING): Remove macro.
16432         * Makerules [$(versioning) = yes]: Change conditionals to
16433         [$(build-shared) = yes].
16434         * config.make.in (versioning): Remove variable.
16435         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16436         [$(build-shared) = yes].
16437         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16438         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16439         * elf/Makefile [$(versioning) = yes]: Change conditionals to
16440         [$(build-shared) = yes].
16441         * extra-lib.mk [$(versioning) = yes]: Likewise.
16442         * hurd/Makefile [$(versioning) = yes]: Likewise.
16443         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16444         [SHARED].
16445         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16446         [SHARED].
16447         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16448         [SHARED && !NO_HIDDEN].
16449         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16450         [SHARED].
16451         [SHARED && DO_VERSIONING]: Likewise..
16452         * libio/Makefile [$(versioning) = yes]: Change conditionals to
16453         [$(build-shared) = yes].
16454         * manual/install.texi (--disable-versioning): Remove
16455         documentation.
16456         * INSTALL: Regenerated.
16457         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16458         to [SHARED].
16459         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16460         [$(build-shared) = yes].
16461         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16462         * sysdeps/i386/i686/multiarch/strstr-c.c
16463         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16464         [SHARED && !NO_HIDDEN].
16465         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16466         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16467         * sysdeps/powerpc/powerpc32/dl-machine.c
16468         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16469         * sysdeps/powerpc/powerpc32/sysdep.h
16470         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16471         to [SHARED && PIC && !NO_HIDDEN].
16472         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16473         conditional to [SHARED].
16474
16475 2013-09-04   Will Newton  <will.newton@linaro.org>
16476
16477         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16478         * benchtests/bench-string.h: Include bench-timing.h instead
16479         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16480         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16481         call to HP_TIMING_DIFF_INIT.
16482         * benchtests/bench-memccpy.c: Use bench-timing.h macros
16483         instead of hp-timing.h macros.
16484         * benchtests/bench-memchr.c: Likewise.
16485         * benchtests/bench-memcmp.c: Likewise.
16486         * benchtests/bench-memcpy.c: Likewise.
16487         * benchtests/bench-memmem.c: Likewise.
16488         * benchtests/bench-memmove.c: Likewise.
16489         * benchtests/bench-memset.c: Likewise.
16490         * benchtests/bench-rawmemchr.c: Likewise.
16491         * benchtests/bench-strcasecmp.c: Likewise.
16492         * benchtests/bench-strcasestr.c: Likewise.
16493         * benchtests/bench-strcat.c: Likewise.
16494         * benchtests/bench-strchr.c: Likewise.
16495         * benchtests/bench-strcmp.c: Likewise.
16496         * benchtests/bench-strcpy.c: Likewise.
16497         * benchtests/bench-strcpy_chk.c: Likewise.
16498         * benchtests/bench-strlen.c: Likewise.
16499         * benchtests/bench-strncasecmp.c: Likewise.
16500         * benchtests/bench-strncat.c: Likewise.
16501         * benchtests/bench-strncmp.c: Likewise.
16502         * benchtests/bench-strncpy.c: Likewise.
16503         * benchtests/bench-strnlen.c: Likewise.
16504         * benchtests/bench-strpbrk.c: Likewise.
16505         * benchtests/bench-strrchr.c: Likewise.
16506         * benchtests/bench-strspn.c: Likewise.
16507         * benchtests/bench-strstr.c: Likewise.
16508
16509 2013-09-04  Will Newton  <will.newton@linaro.org>
16510
16511         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16512
16513 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
16514
16515         [BZ #15427]
16516         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16517         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16518         * math/libm-test.inc (lgamma_test_data): Add more tests.
16519         * sysdeps/i386/fpu/libm-test-ulps: Update.
16520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16521
16522 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
16523
16524         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16525         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16526         Add ifunc.
16527         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16528         Add strcmp-sse2-unaligned
16529         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16530
16531 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16532
16533         * Versions.def (libc): Add GLIBC_2.19.
16534
16535 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16536
16537         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16538         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16539
16540 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
16541
16542         [BZ #14155]
16543         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16544         intermediate calculations in recurrence.
16545         (__ieee754_ynf): Likewise.
16546         * math/libm-test.inc (jn_test_data): Do not allow spurious
16547         underflow exception.  Add more tests.
16548         (yn_test_data): Add more tests.
16549         * sysdeps/i386/fpu/libm-test-ulps: Update.
16550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16551
16552 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
16553
16554         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16555
16556 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16557
16558         * csu/init-first.c: Fix then/than typos.
16559         * locale/programs/ld-collate.c: Likewise.
16560         * locale/programs/linereader.h: Likewise.
16561         * manual/charset.texi: Likewise.
16562         * manual/filesys.texi: Likewise.
16563         * manual/stdio.texi: Likewise.
16564         * manual/string.texi: Likewise.
16565         * stdlib/fmtmsg.c: Likewise.
16566         * sysdeps/i386/stpncpy.S: Likewise.
16567         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16568         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16569         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16570         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16571
16572 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16573
16574         * elf/dl-open.c: Fix typos.
16575         * iconvdata/gbbig5.c: Likewise.
16576         * iconvdata/iso-2022-jp.c: Likewise.
16577         * iconv/gconv_int.h: Likewise.
16578         * iconv/loop.c: Likewise.
16579         * nis/rpcsvc/nis.h: Likewise.
16580         * resolv/ns_name.c: Likewise.
16581         * stdio-common/vfscanf.c: Likewise.
16582         * streams/stropts.h: Likewise.
16583         * sunrpc/rpc_thread.c: Likewise.
16584         * sysdeps/i386/strpbrk.S: Likewise.
16585         * sysdeps/ieee754/k_standard.c: Likewise.
16586         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16587         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16588         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16589         * sysdeps/mach/hurd/profil.c: Likewise.
16590         * sysdeps/s390/dl-procinfo.h: Likewise.
16591         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16592         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16593         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16594         * sysdeps/x86_64/dl-trampoline.S: Likewise.
16595         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16596
16597 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
16598
16599         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16600         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16601
16602 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
16603
16604         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16605         aix specific files.
16606         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16607         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16608         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16609         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16610         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16611         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16612         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16613         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16614
16615 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16616             Roland McGrath  <roland@hack.frob.com>
16617
16618         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16619         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16620
16621 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16622
16623         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16624         __executable_start symbol instead of _start.
16625
16626 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16627
16628         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16629         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16630         Move macros to...
16631         * sysdeps/gnu/ldsodefs.h: ... this new file.
16632
16633         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16634         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16635         instead of ELFOSABI_LINUX.
16636
16637         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16638         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16639         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16640         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16641         Likewise.
16642         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16643         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16644         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16645         Likewise.
16646         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16647         (ibm_extended_long_double): Add ieee_nan member.
16648         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16649         (do_test): New function.
16650
16651         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16652         TEST_TRUNC.
16653         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16654         functions, renamed from truncdfsf_test, trunctfsf_test,
16655         trunctfdf_test.
16656         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16657         functions.
16658         (do_test): Run all these.
16659
16660 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
16661
16662         * argp/argp-help.c: Fix typos.
16663         * argp/argp-parse.c: Likewise.
16664         * debug/backtracesyms.c: Likewise.
16665         * elf/elf.h: Likewise.
16666         * malloc/malloc.c: Likewise.
16667         * nis/nis_print.c: Likewise.
16668         * resolv/res_comp.c: Likewise.
16669         * stdlib/stdlib.h: Likewise.
16670         * sunrpc/clnt_tcp.c: Likewise.
16671         * sunrpc/clnt_udp.c: Likewise.
16672         * sunrpc/clnt_unix.c: Likewise.
16673         * sysdeps/unix/bsd/ptsname.c: Likewise.
16674         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16675         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16677         Likewise.
16678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16679         Likewise.
16680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16681         Likewise.
16682         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16683
16684 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16685
16686         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16687         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16688
16689 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
16690
16691         [BZ #15897]
16692         * dlfcn/Makefile (tests): Add bug-dl-leaf.
16693         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16694         ($(objpfx)bug-dl-leaf): New rule.
16695         ($(objpfx)bug-dl-leaf.so): Likewise.
16696         ($(objpfx)bug-dl-leaf.out): Likewise.
16697         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16698         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16699         * dlfcn/bug-dl-leaf.c: New test.
16700         * dlfcn/bug-dl-leaf-lib.c: Likewise.
16701         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16702         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16703         (dlclose): Likewise.
16704         (dlmopen): Likewise.
16705
16706 2013-08-27  Roland McGrath  <roland@hack.frob.com>
16707
16708         * include/netdb.h [!_ISOMAC]:
16709         Don't include <tls.h>.
16710         (h_errno, __libc_h_errno): Move declaration and macros out of
16711         [_LIBC_REENTRANT].
16712
16713         * include/resolv.h [_RESOLV_H_]:
16714         Don't include <tls.h>.
16715         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16716         * resolv/res_libc.c: Don't include <tls.h>.
16717         (_res): Use __attribute__ ((nocommon)) in place of
16718         __attribute__ ((section (".bss"))).
16719
16720         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16721         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16722
16723         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16724
16725         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16726         only under [SIOCGIFCONF && SIOCGIFNETMASK].
16727
16728         * resolv/res_mkquery.c: Include <sys/time.h>.
16729
16730         * inet/ifreq.c: Moved to ...
16731         * sysdeps/unix/ifreq.c: ... here.
16732         * inet/ifreq.c: New file, true stub version.
16733
16734         * socket/sa_len.c: New file.
16735         * socket/Makefile (aux): Add it.
16736         * sysdeps/unix/sysv/linux/Makefile
16737         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16738         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16739         and #include <socket/sa_len.c>.
16740         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16741         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16742
16743         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16744         * bits/socket.h: ... here.
16745
16746         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16747         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16748         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16749
16750 2013-08-27  Andreas Schwab  <schwab@suse.de>
16751
16752         [BZ #15736]
16753         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16754         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16755         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16756         * string/test-strcasecmp.c (test_main): Run tests in several
16757         locales.
16758         * string/test-strncasecmp.c (test_main): Likewise.
16759
16760         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16761         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16762         to __strcasecmp_nonascii and __strncasecmp_nonascii.
16763         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16764         (__strncasecmp_ssse3) [PIC]: Likewise.
16765
16766 2013-08-26  Roland McGrath  <roland@hack.frob.com>
16767
16768         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16769
16770         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16771         instead of explicitly declaring xdecrypt.
16772         * nis/nss_nis/nis-publickey.c: Likewise.
16773
16774 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16775
16776         [BZ #15890]
16777         * nscd/aicache.c: Include res_hconf.h.
16778         (addhstaiX): Initialize res_hconf.
16779
16780 2013-08-26  Andreas Schwab  <schwab@suse.de>
16781
16782         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16783         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16784
16785 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16786
16787         * nscd/aicache.c (addhstaiX): Fix indentation.
16788
16789 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
16790
16791         * configure.ac: Quote $build_pt_chown test.
16792         * configure: Regenerated.
16793
16794 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
16795
16796         [BZ #15532]
16797         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16798         * math/s_cexpf.c (__cexpf): Likewise.
16799         * math/s_cexpl.c (__cexpl): Likewise.
16800         * math/libm-test.inc (cexp_test_data): Correct expected return
16801         value for NaN + i0.  Add another test.
16802
16803 2013-08-22  David S. Miller  <davem@davemloft.net>
16804
16805         * po/ca.po: Update Catalan translation from translation project.
16806         * po/uk.po: Add Ukrainian translations from translation project.
16807
16808 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
16809
16810         [BZ #15797]
16811         * math/s_fdim.c (__fdim): Check for infinite arguments if result
16812         is infinite, not alongside NaN test.
16813         * math/s_fdimf.c (__fdimf): Likewise.
16814         * math/s_fdiml.c (__fdiml): Likewise.
16815         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
16816         errno is unchanged.
16817
16818 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
16819
16820         * argp/argp-help.c: Fix typos.
16821         * crypt/speeds.c: Likewise.
16822         * csu/check_fds.c: Likewise.
16823         * elf/dl-load.c: Likewise.
16824         * elf/dl-open.c: Likewise.
16825         * elf/reldep3.c: Likewise.
16826         * elf/reldep.c: Likewise.
16827         * elf/sprof.c: Likewise.
16828         * iconv/iconv_charmap.c: Likewise.
16829         * iconv/skeleton.c: Likewise.
16830         * iconv/strtab.c: Likewise.
16831         * io/lockf64.c: Likewise.
16832         * libio/libioP.h: Likewise.
16833         * resolv/gai_notify.c: Likewise.
16834         * resolv/ns_name.c: Likewise.
16835         * resolv/ns_samedomain.c: Likewise.
16836         * resolv/res_send.c: Likewise.
16837         * stdlib/random.c: Likewise.
16838         * sunrpc/rpc/xdr.h: Likewise.
16839         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16840         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16841         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16842         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16843         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16844         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16845         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16846         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16847         * sysdeps/mach/hurd/check_fds.c: Likewise.
16848         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16849         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16850         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16851         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16852         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16853         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16854         * sysdeps/pthread/aio_notify.c: Likewise.
16855         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16856         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16857         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16858         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16859         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16860
16861 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16862
16863         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16864         version if bit_Slow_SSE4_2 is set.
16865         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16866         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16867
16868 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16869
16870         [BZ #15867]
16871         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16872         trampoline stack frame information.
16873         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16874         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16875         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16876         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16877         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16878         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16879         (_libc_vdso_platform_setup): Initialize the signal trampolines.
16880         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16881         sa_flags value.
16882         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16883         interrupting a syscall and set with option SA_SIGINFO.
16884
16885 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16886
16887         [BZ #15531]
16888         * math/s_cproj.c (__cproj): Only return an infinity if one part of
16889         argument is infinite.
16890         * math/s_cprojf.c (__cprojf): Likewise.
16891         * math/s_cprojl.c (__cprojl): Likewise.
16892         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16893         * math/libm-test.inc (cproj_test_data): Add more tests.
16894
16895         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16896
16897         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16898         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16899         size.  Use __ffs to determine corresponding shift.
16900
16901 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16902             Roland McGrath  <roland@hack.frob.com>
16903
16904         * Makefile (INSTALL): Remove trailing blank lines from output of
16905         makeinfo.
16906
16907 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16908
16909         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16910         Align 32 bit compat elf_greg to 8 bytes.
16911
16912 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
16913
16914         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16915
16916 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16917
16918         * string/strcoll_l.c (coll_seq): New structure.
16919         (get_next_seq_cached): New function.
16920         (get_next_seq): New function.
16921         (do_compare): New function.
16922         (STRCOLL): Use GNU style definition.  Simplify implementation
16923         by using get_next_seq, get_next_seq_cached and do_compare.
16924
16925 2013-08-16  Florian Weimer  <fweimer@redhat.com>
16926
16927         [BZ #14699]
16928         CVE-2013-4237
16929         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16930         member.
16931         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16932         member.
16933         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16934         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16935         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
16936         conditional.
16937         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16938         GETDENTS_64BIT_ALIGNED.
16939         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16940         * manual/filesys.texi (Reading/Closing Directory): Document
16941         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
16942         strongly.
16943         * manual/conf.texi (Limits for Files): Add portability note to
16944         NAME_MAX, PATH_MAX.
16945         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16946
16947 2013-08-13  Andreas Schwab  <schwab@suse.de>
16948
16949         [BZ #15749]
16950         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16951         of fabs.
16952         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16953         LDBL_MAX_EXP >= 16384]: Add tests for it.
16954
16955 2013-08-12  David S. Miller  <davem@davemloft.net>
16956
16957         * version.h (RELEASE): Set to "development".
16958         (VERSION): Set to "2.18.90".
16959         * NEWS: Add 2.19 section.
16960
16961 2013-08-03  David S. Miller  <davem@davemloft.net>
16962
16963         * po/ko.po: Update Korean translation from translation project.
16964
16965 2013-08-01  David S. Miller  <davem@davemloft.net>
16966
16967         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
16968         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16969         Bilka.
16970
16971 2013-07-30  David S. Miller  <davem@davemloft.net>
16972
16973         * po/fr.po: Update French translation from translation project.
16974
16975 2013-07-28  David S. Miller  <davem@davemloft.net>
16976
16977         * po/cs.po: Update Czech translation from translation project.
16978
16979         * po/sv.po: Update Swedish translation from translation project.
16980
16981 2013-07-27  David S. Miller  <davem@davemloft.net>
16982
16983         * po/eo.po: Update Esperanto translation from translation project.
16984
16985         * po/vi.po: Update Vietnamese translation from translation project.
16986
16987         * po/de.po: Update German translation from translation project.
16988
16989 2013-07-26  David S. Miller  <davem@davemloft.net>
16990
16991         * po/bg.po: Update Bulgarian translation from translation project.
16992
16993         * po/nl.po: Update Dutch translation from translation project.
16994         * po/pl.po: Update Polish translation from translation project.
16995         * po/ru.po: Update Russian translation from translation project.
16996
16997 2013-07-24  David S. Miller  <davem@davemloft.net>
16998
16999         * po/libc.pot: Update.
17000
17001 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17002
17003         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17004         variable page size.
17005         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17006         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17007         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17008
17009 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17010
17011         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17012
17013 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17014             Andreas Schwab  <schwab@suse.de>
17015             Roland McGrath  <roland@hack.frob.com>
17016             Joseph Myers  <joseph@codesourcery.com>
17017             Carlos O'Donell  <carlos@redhat.com>
17018
17019         [BZ #15755]
17020         * config.h.in: Define HAVE_PT_CHOWN.
17021         * config.make.in (build-pt-chown): New variable.
17022         * configure.in (--enable-pt_chown): New configure option.
17023         * configure: Regenerate.
17024         * login/Makefile: Include Makeconfig.  Build pt_chown only if
17025         build-pt-chown is enabled.
17026         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17027         pt_chown to fix pty ownership.
17028         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17029         CLOSE_ALL_FDS.
17030         * manual/install.texi (Configuring and compiling): Mention
17031         --enable-pt_chown. Add @findex for grantpt.
17032         * INSTALL: Regenerate.
17033
17034 2013-07-20  David S. Miller  <davem@davemloft.net>
17035
17036         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17037         difference between 32-bit and 64-bit.
17038
17039 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
17040
17041         [BZ #15711]
17042         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17043         Avoid system header dependency with -ffreestanding.
17044         ($(objpfx)bits/syscall%d): Likewise.
17045
17046 2013-07-13  David S. Miller  <davem@davemloft.net>
17047
17048         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17049         underflows from atanl/atan2l due to bug 15319.
17050         (casinh_test_data): Likewise.
17051
17052 2013-07-07  David S. Miller  <davem@davemloft.net>
17053
17054         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17055
17056 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
17057
17058         * sysdeps/i386/fpu/libm-test-ulps: Update.
17059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17060
17061 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17062
17063         * configure.in (--enable-lock-elision): Fix message text.
17064         * INSTALL: Regenerate.
17065         * configure: Regenerate.
17066
17067 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17068
17069         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17070
17071 2013-07-03  Andreas Jaeger  <aj@suse.de>
17072
17073         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17074         define.
17075         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17076         (ptrace_peeksiginfo_args): Add.
17077         (__ptrace_peeksiginfo_flags): Add.
17078         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17079         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17080         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17081
17082 2013-07-03  Allan McRae  <allan@archlinux.org>
17083
17084         * sysdeps/i386/fpu/libm-test-ulps: Update.
17085
17086 2013-07-02  David S. Miller  <davem@davemloft.net>
17087
17088         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17089
17090 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
17091
17092         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17093
17094 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17095
17096         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17098
17099 2013-07-02  Andi Kleen <ak@linux.intel.com>
17100
17101         * config.h.in (ENABLE_LOCK_ELISION): Add.
17102         * configure.in (--enable-lock-elision): Add option.
17103         * manual/install.texi: Document --enable lock elision.
17104         * configure: Regenerate
17105         * INSTALL: Regenerate.
17106
17107 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
17108
17109         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17110         SSE4.2 strcasecmp for libc.a.
17111         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17112
17113 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17114
17115         [BZ #13304]
17116         * soft-fp/op-common.h (_FP_FMA): New macro.
17117         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17118         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
17119         (_FP_MUL_MEAT_1_imm): ... here.
17120         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
17121         (_FP_MUL_MEAT_1_wide): ... here.
17122         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
17123         (_FP_MUL_MEAT_1_hard): ... here.
17124         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17125         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
17126         (_FP_MUL_MEAT_2_wide): ... here.
17127         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
17128         (_FP_MUL_MEAT_2_wide_3mul): ... here.
17129         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
17130         (_FP_MUL_MEAT_2_gmp): ... here.
17131         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17132         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
17133         (_FP_MUL_MEAT_4_wide): ... here.
17134         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
17135         (_FP_MUL_MEAT_4_gmp): ... here.
17136         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17137         (_FP_WFRACBITS_DW_S): Likewise.
17138         (_FP_WFRACXBITS_DW_S): Likewise.
17139         (_FP_HIGHBIT_DW_S): Likewise.
17140         (FP_FMA_S): Likewise.
17141         (_FP_FRAC_HIGH_DW_S): Likewise.
17142         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17143         (_FP_WFRACBITS_DW_D): Likewise.
17144         (_FP_WFRACXBITS_DW_D): Likewise.
17145         (_FP_HIGHBIT_DW_D): Likewise.
17146         (FP_FMA_D): Likewise.
17147         (_FP_FRAC_HIGH_DW_D): Likewise.
17148         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17149         (_FP_WFRACBITS_DW_E): Likewise.
17150         (_FP_WFRACXBITS_DW_E): Likewise.
17151         (_FP_HIGHBIT_DW_E): Likewise.
17152         (FP_FMA_E): Likewise.
17153         (_FP_FRAC_HIGH_DW_E): Likewise.
17154         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17155         (_FP_WFRACBITS_DW_Q): Likewise.
17156         (_FP_WFRACXBITS_DW_Q): Likewise.
17157         (_FP_HIGHBIT_DW_Q): Likewise.
17158         (FP_FMA_Q): Likewise.
17159         (_FP_FRAC_HIGH_DW_Q): Likewise.
17160         * soft-fp/fmasf4.c: New file.
17161         * soft-fp/fmadf4.c: Likewise.
17162         * soft-fp/fmatf4.c: Likewise.
17163
17164 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17165
17166         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17167         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17168         Silvermont.
17169         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17170         macro.
17171         (index_Slow_SSE4_2): Likewise.
17172         (index_Prefer_PMINUB_for_stringop): Likewise.
17173         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17174         bit_Slow_SSE4_2 is set.
17175         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17176         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17177
17178 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17179
17180         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17181         rtld_global._dl_hwcap2.
17182         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17183         POWER8.
17184         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17185         POWER8 feature descriptions defined in _dl_hwcap2.
17186         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17187         string handling for POWER8 feature bits.
17188         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17189         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17190         _dl_powerpc_cap_flags.
17191         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17192         * sysdeps/powerpc/rtld-global-offsets.sym
17193         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17194         _dl_hwcap2 in the rtld_global_ro structure.
17195
17196 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17197
17198         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17199         hardware capabilities in support of AT_HWCAP2.
17200         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17201         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17202         GLRO(dl_hwcap2).
17203         (_dl_show_auxv): Add support for calling _dl_procinfo to display
17204         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
17205         explicitly the unknown a_type display mechanism is used.
17206         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17207         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17208         struct member.
17209         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17210         to macro prototype for AT_HWCAP2 support.
17211         * sysdeps/i386/dl-procinfo.h: Likewise.
17212         * sysdeps/s390/dl-procinfo.h: Likewise.
17213         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17214         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
17215         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
17216         return -1 for unknown a_type display fallback.
17217         * sysdeps/sparc/dl-procinfo.h: Likewise.
17218         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17219         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17220
17221 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
17222
17223         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17224         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17225
17226 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
17227
17228         [BZ #12492]
17229         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17230         mprotect making __stack_prot writable.
17231
17232 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
17233             Joseph Myers  <joseph@codesourcery.com>
17234
17235         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17236         as being properly aligned.
17237
17238 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
17239
17240         * dlfcn/modstatic5.c: New file.
17241         * dlfcn/tststatic5.c: New file.
17242         * dlfcn/Makefile (tests): Add tststatic5.
17243         (tests-static): Likewise.
17244         (modules-names): Add modstatic5.
17245         (tststatic5-ENV): New variable.
17246         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17247
17248         [BZ #15022]
17249         * elf/dl-support.c (_dl_main_map): New variable.
17250         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17251         (_dl_nns, _dl_load_adds): Set to 1.
17252         (_dl_initial_searchlist): Refer to _dl_main_map.
17253         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17254         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17255         call to _dl_get_origin.
17256         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17257         around call_map.
17258         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17259         * dlfcn/modstatic3.c: New file.
17260         * dlfcn/tststatic3.c: New file.
17261         * dlfcn/tststatic4.c: New file.
17262         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17263         (tests-static): Likewise.
17264         (modules-names): Add modstatic3.
17265         (tststatic3-ENV, tststatic4-ENV): New variables.
17266         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17267         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17268
17269 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
17270
17271         * configure.in (CC): Require GCC version 4.4 or later.
17272         * configure: Regenerated.
17273         * manual/install.texi (Tools for Compilation): Update GCC version
17274         requirement.
17275         * INSTALL: Regenerated.
17276
17277 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17278
17279         [BZ #15674]
17280         * string/test-memcmp.c (check2): New.
17281         (main): Call check2.
17282
17283         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17284
17285 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
17286
17287         [BZ #15022]
17288         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17289         over to...
17290         (dl_open_worker) [!SHARED]: ... here.
17291
17292 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17293
17294         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17295
17296 2013-06-25  Richard Henderson  <rth@redhat.com>
17297
17298         * locale/programs/locarchive.c: Include <libc-internal.h>
17299
17300 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
17301
17302         * manual/texinfo.tex: Update to version 2013-06-21.17, with
17303         trailing whitespace removed.
17304
17305 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17306
17307         [BZ #10283]
17308         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17309         * locale/programs/locarchive.c: Include libc-mmap.h.
17310         (prepare_address_space): Take two new outputs (the mmap base and len).
17311         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
17312         values.
17313         (create_archive): Declare new mmap base and len values for
17314         prepare_address_space, and store the result in ah.
17315         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17316         (enlarge_archive): If ah->mmap_base is not NULL, use that and
17317         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17318         Declare new mmap base and len values for
17319         prepare_address_space, and store the result in new_ah.
17320         (open_archive): Declare new mmap base and len values for
17321         prepare_address_space, and store the result in ah.
17322         (close_archive): If ah->mmap_base is not NULL, use that and
17323         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17324         * sysdeps/generic/libc-mmap.h: New file.
17325
17326 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17327
17328         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17329         (ALIGN_UP): Likewise.
17330         (PTR_ALIGN_DOWN): Likewise.
17331         (PTR_ALIGN_UP): Likewise.
17332
17333 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17334
17335         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17336         entry mapped to PPC_PLATFORM_POWER8.
17337         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17338         POWER8.
17339         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17340         (_dl_string_platform): Add case for exporting platform position for
17341         POWER8.
17342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17343         search path to sysdeps/powerpc/powerpc32/power8 directory.
17344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17345         search path to sysdeps/powerpc/powerpc64/power8 directory.
17346         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17347         power7 directories.
17348         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17349         power7 directories.
17350
17351 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17352
17353         * INSTALL: Regenerate.
17354
17355         * nscd/connections.c (nscd_init): Fix comment.
17356
17357 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
17358
17359         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17360
17361         [BZ #15667]
17362         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17363         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17364
17365 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
17366
17367         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17368         DL_DST_REQ_STATIC.
17369         (DL_DST_REQ_STATIC): Remove macro.
17370
17371 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
17372
17373         [BZ #7006]
17374         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17375         with a shift of 0 bits.
17376
17377 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
17378
17379         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17380         $(tststatic-ENV).
17381
17382 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17383
17384         [BZ #15655]
17385         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17386
17387 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17388
17389         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17390         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17391         accepts -fno-tree-loop-distribute-patterns.
17392         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17393         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17394         recursive call.
17395         * string/memset.c (memset): Likewise.
17396         * string/test-memmove.c (simple_memmove): Disable loop transformation
17397         to library calls.
17398         * string/test-memset.c (simple_memset): Likewise.
17399         * benchtests/bench-memmove.c (simple_memmove): Likewise.
17400         * benchtests/bench-memset.c (simple_memset): Likewise.
17401         * configure: Regenerated.
17402
17403 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
17404
17405         * math/test-misc.c (main): Ignore fesetround failure when failures
17406         of subsequent rounding tests would be ignored.
17407
17408         [BZ #15654]
17409         * math/fedisblxcpt.c (fedisableexcept): Return 0.
17410         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17411         * math/fegetenv.c (__fegetenv): Return 0.
17412         * math/fegetexcept.c (fegetexcept): Return 0.
17413         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17414         FE_TONEAREST.
17415         * math/feholdexcpt.c (feholdexcept): Return 0.
17416         * math/fesetenv.c (__fesetenv): Return 0.
17417         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17418         argument FE_TONEAREST.
17419         * math/feupdateenv.c (__feupdateenv): Return 0.
17420         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17421
17422 2013-06-18  Roland McGrath  <roland@hack.frob.com>
17423
17424         * elf/rtld-Rules (rtld-compile-command.S): New variable.
17425         (rtld-compile-command.s, rtld-compile-command.c): New variables.
17426         ($(objpfx)rtld-%.os rules): Use them.
17427
17428 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17429
17430         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17431         fields.
17432
17433 2013-06-17  Roland McGrath  <roland@hack.frob.com>
17434
17435         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17436         length of target pattern, then descending length of dependency pattern.
17437         * configure.in (AWK): Require gawk 3.1.2 or newer.
17438         * manual/install.texi (Tools for Compilation): Say that we do.
17439         * configure: Regenerated.
17440
17441         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17442         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17443         * scripts/sysd-rules.awk: ... this new script.
17444         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17445         than a glob-style pattern.
17446
17447 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
17448
17449         * math/test-misc.c (main): Do not treat incorrectly rounded
17450         conversions as failure unless ROUNDING_TESTS passes.
17451
17452 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
17453
17454         [BZ #15631]
17455         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17456         restore exception state around main square root computation, then
17457         check for inexactness explicitly.
17458
17459         * math/libm-test.inc (fma_test_data): Add another test.
17460
17461 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17462
17463         * manual/threads.texi (Non-POSIX Extensions): New document
17464         node.  Document pthread_getattr_default_np and
17465         pthread_setattr_default_np.
17466
17467         * Versions.def (libpthread): Add GLIBC_2.18.
17468         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17470         Likewise.
17471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17472         Likewise.
17473         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17474         Likewise.
17475         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17476         Likewise.
17477         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17478         Likewise.
17479         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17480         Likewise.
17481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17482         Likewise.
17483         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17484         Likewise.
17485         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17486         Likewise.
17487
17488 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17489
17490         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17491         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17492
17493 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17494             H.J. Lu  <hjl.tools@gmail.com>
17495
17496         [BZ #15627]
17497         * sysdeps/x86_64/rtld-memset.c: Remove file.
17498         * sysdeps/x86_64/rtld-memset.S: New file.
17499
17500 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
17501
17502         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17503         (test_in_one_mode): Take arguments for whether the rounding mode
17504         is supported for each floating-point type.
17505         (do_test): Pass new arguments to test_in_one_mode using
17506         ROUNDING_TESTS.
17507
17508 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17509
17510         * posix/tst-waitid.c (do_test): Distinguish different instances of
17511         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
17512         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17513         before entering the kernel for waitpid.
17514
17515 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17516
17517         * NEWS: Fix note on clock function precision.  Text by Roland
17518         McGrath.
17519
17520 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17521
17522         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17523         it into place only when and if the sanity check passes.
17524
17525 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
17526
17527         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17528         output for whether conversion result is exact.  Take argument
17529         indicating whether type is IBM long double.
17530         (round_for_all): Change need_exact field to ibm_ld.
17531         * stdlib/tst-strtod-round.c (struct exactness): New type.
17532         (struct test): Change bool ld_ok field to struct exactness exact.
17533         (TEST): Update all definitions for change to field.
17534         (tests): Regenerate array contents.
17535         (test_in_one_mode): Take pointer to new field instead of old ld_ok
17536         field value.  Check for IBM long double here.
17537         (do_test): Update calls to test_in_one_mode.
17538
17539 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17540
17541         [BZ #12515]
17542         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17543         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17544
17545 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17546
17547         [BZ #15605]
17548         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17549         generated by the compiler on loop optimizations.
17550         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17551         general definitions.
17552
17553 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
17554
17555         * math/bug-nextafter.c: Include <math-tests.h>.
17556         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17557         the relevant type.
17558         * math/bug-nexttoward.c: Include <math-tests.h>.
17559         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17560         the relevant type.
17561         * math/test-misc.c: Include <math-tests.h>.
17562         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17563         the relevant type.
17564
17565 2013-06-12  Andreas Jaeger  <aj@suse.de>
17566
17567         * po/ia.po: Update Interlingua translation from translation
17568         project.
17569
17570 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17571
17572         * include/fenv.h: Include stdbool.h.
17573         (struct rm_ctx): New structure.
17574         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17575         Define macro.
17576         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17577         (SET_RESTORE_ROUNDF): Likewise.
17578         (SET_RESTORE_ROUNDL): Likewise.
17579         (SET_RESTORE_ROUND_NOEX): Likewise.
17580         (SET_RESTORE_ROUND_NOEXF): Likewise.
17581         (SET_RESTORE_ROUND_NOEXL): Likewise.
17582         (SET_RESTORE_ROUND_53BIT): Likewise.
17583         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17584         (libc_feresetround_noexf_ctx): Likewise.
17585         (libc_feresetround_noexl_ctx): Likewise.
17586         (libc_feholdsetround_53bit_ctx): Likewise.
17587         (libc_feresetround_53bit_ctx): Likewise.
17588         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17589         (libc_feholdexcept_setround_sse_ctx): New function.
17590         (libc_fesetenv_sse_ctx): Likewise.
17591         (libc_feupdateenv_sse_ctx): Likewise.
17592         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17593         (libc_feholdexcept_setround_387_ctx): Likewise.
17594         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17595         (libc_feholdsetround_387_prec_ctx): Likewise.
17596         (libc_feholdsetround_387_ctx): Likewise.
17597         (libc_feholdsetround_387_53bit_ctx): Likewise.
17598         (libc_feholdsetround_sse_ctx): Likewise.
17599         (libc_feresetround_sse_ctx): Likewise.
17600         (libc_feresetround_387_ctx): Likewise.
17601         (libc_feupdateenv_387_ctx): Likewise.
17602         (libc_feholdexcept_setroundf_ctx): Define macro.
17603         (libc_fesetenvf_ctx): Likewise.
17604         (libc_feupdateenvf_ctx): Likewise.
17605         (libc_feholdsetroundf_ctx): Likewise.
17606         (libc_feresetroundf_ctx): Likewise.
17607         (libc_feholdexcept_setround_ctx): Likewise.
17608         (libc_fesetenv_ctx): Likewise.
17609         (libc_feupdateenv_ctx): Likewise.
17610         (libc_feholdsetround_ctx): Likewise.
17611         (libc_feresetround_ctx): Likewise.
17612         (libc_feholdexcept_setroundl_ctx): Likewise.
17613         (libc_feupdateenvl_ctx): Likewise.
17614         (libc_feholdsetroundl_ctx): Likewise.
17615         (libc_feresetroundl_ctx): Likewise.
17616         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17617         (libc_feresetround_53bit_ctx): Likewise.
17618
17619 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17620
17621         * locale/iso-639.def: Convert to UTF-8.
17622
17623 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
17624
17625         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17626         (EXCEPTION_TESTS_double): Likewise.
17627         (EXCEPTION_TESTS_long_double): Likewise.
17628         (EXCEPTION_TESTS): Likewise.
17629         * math/libm-test.inc (test_exceptions): Only test exceptions if
17630         EXCEPTION_TESTS (FLOAT).
17631
17632 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17633
17634         * benchtests/Makefile (string-bench): Add strcpy_chk and
17635         stpcpy_chk.
17636         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17637         * benchtests/bench-stpcpy_chk.c: New file.
17638         * benchtests/bench-strcpy_chk-ifunc.c: New file.
17639         * benchtests/bench-strcpy_chk.c: New file.
17640         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17641         code.
17642         (do_test): Likewise.
17643
17644 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17645
17646         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17647         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17648         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17649         with tabs where appropriate.
17650         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17651         dl-procinfo.h.
17652         [PPC_PLATFORM_PPC440]: Likewise.
17653         [PPC_PLATFORM_PPC464]: Likewise.
17654         [PPC_PLATFORM_PPC476]: Likewise.
17655         (_dl_string_platform): Add support for detecting ppc405, ppc440,
17656         ppc464, and ppc476 platform strings merging from ports/
17657         dl-procinfo.h.
17658
17659 2013-06-11  Andreas Schwab  <schwab@suse.de>
17660
17661         [BZ #14991]
17662         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17663         (from_ucs4_idx): Regenerate.
17664         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17665         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17666         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17667         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17668         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17669         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17670         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17671         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17672         from FROM_LOOP and TO_LOOP specific macros.
17673         (BODY): Handle combining characters.
17674         * iconvdata/BIG5HKSCS.irreversible: Update.
17675         * iconvdata/BIG5HKSCS.precomposed: New file.
17676         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17677         characters.
17678         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17679
17680 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17681
17682         * include/sys/time.h: Fix indentation and add copyright header.
17683
17684         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17685         (do_test): Likewise.
17686         * string/test-memchr.c (do_one_test): Likewise.
17687         (do_test): Likewise.
17688         * string/test-memcmp.c (do_one_test): Likewise.
17689         (do_test): Likewise.
17690         * string/test-memcpy.c (do_one_test): Likewise.
17691         (do_test): Likewise.
17692         * string/test-memmem.c (do_one_test): Likewise.
17693         (do_test): Likewise.
17694         (do_random_tests): Likewise.
17695         * string/test-memmove.c (do_one_test): Likewise.
17696         (do_test): Likewise.
17697         * string/test-memset.c (do_one_test): Likewise.
17698         (do_test): Likewise.
17699         * string/test-rawmemchr.c (do_one_test): Likewise.
17700         (do_test): Likewise.
17701         * string/test-strcasecmp.c (do_one_test): Likewise.
17702         (do_test): Likewise.
17703         * string/test-strcasestr.c (do_one_test): Likewise.
17704         (do_test): Likewise.
17705         * string/test-strcat.c (do_one_test): Likewise.
17706         (do_test): Likewise.
17707         * string/test-strchr.c (do_one_test): Likewise.
17708         (do_test): Likewise.
17709         * string/test-strcmp.c (do_one_test): Likewise.
17710         (do_test): Likewise.
17711         * string/test-strcpy.c (do_one_test): Likewise.
17712         (do_test): Likewise.
17713         * string/test-string.h: Likewise.
17714         (test_init): Likewise.
17715         * string/test-strlen.c (do_one_test): Likewise.
17716         (do_test): Likewise.
17717         * string/test-strncasecmp.c (do_one_test): Likewise.
17718         (do_test): Likewise.
17719         * string/test-strncat.c (do_one_test): Likewise.
17720         (do_test): Likewise.
17721         * string/test-strncmp.c (do_one_test): Likewise.
17722         (do_test_limit): Likewise.
17723         (do_test): Likewise.
17724         * string/test-strncpy.c (do_one_test): Likewise.
17725         (do_test): Likewise.
17726         * string/test-strnlen.c (do_one_test): Likewise.
17727         (do_test): Likewise.
17728         * string/test-strpbrk.c (do_one_test): Likewise.
17729         (do_test): Likewise.
17730         * string/test-strrchr.c (do_one_test): Likewise.
17731         (do_test): Likewise.
17732         * string/test-strspn.c (do_one_test): Likewise.
17733         (do_test): Likewise.
17734         * string/test-strstr.c (do_one_test): Likewise.
17735         (do_test): Likewise.
17736
17737         * benchtests/Makefile (string-bench): Add string benchmarks.
17738         * benchtests/bench-bcopy-ifunc.c: New file.
17739         * benchtests/bench-bcopy.c: New file.
17740         * benchtests/bench-bzero-ifunc.c: New file.
17741         * benchtests/bench-bzero.c: New file.
17742         * benchtests/bench-memccpy-ifunc.c: New file.
17743         * benchtests/bench-memccpy.c: New file.
17744         * benchtests/bench-memchr-ifunc.c: New file.
17745         * benchtests/bench-memchr.c: New file.
17746         * benchtests/bench-memcmp-ifunc.c: New file.
17747         * benchtests/bench-memcmp.c: New file.
17748         * benchtests/bench-memmem-ifunc.c: New file.
17749         * benchtests/bench-memmem.c: New file.
17750         * benchtests/bench-memmove-ifunc.c: New file.
17751         * benchtests/bench-memmove.c: New file.
17752         * benchtests/bench-mempcpy-ifunc.c: New file.
17753         * benchtests/bench-mempcpy.c: New file.
17754         * benchtests/bench-memset-ifunc.c: New file.
17755         * benchtests/bench-memset.c: New file.
17756         * benchtests/bench-rawmemchr-ifunc.c: New file.
17757         * benchtests/bench-rawmemchr.c: New file.
17758         * benchtests/bench-stpcpy-ifunc.c: New file.
17759         * benchtests/bench-stpcpy.c: New file.
17760         * benchtests/bench-stpncpy-ifunc.c: New file.
17761         * benchtests/bench-stpncpy.c: New file.
17762         * benchtests/bench-strcasecmp-ifunc.c: New file.
17763         * benchtests/bench-strcasecmp.c: New file.
17764         * benchtests/bench-strcasestr-ifunc.c: New file.
17765         * benchtests/bench-strcasestr.c: New file.
17766         * benchtests/bench-strcat-ifunc.c: New file.
17767         * benchtests/bench-strcat.c: New file.
17768         * benchtests/bench-strchr-ifunc.c: New file.
17769         * benchtests/bench-strchr.c: New file.
17770         * benchtests/bench-strchrnul-ifunc.c: New file.
17771         * benchtests/bench-strchrnul.c: New file.
17772         * benchtests/bench-strcmp-ifunc.c: New file.
17773         * benchtests/bench-strcmp.c: New file.
17774         * benchtests/bench-strcpy-ifunc.c: New file.
17775         * benchtests/bench-strcpy.c: New file.
17776         * benchtests/bench-strcspn-ifunc.c: New file.
17777         * benchtests/bench-strcspn.c: New file.
17778         * benchtests/bench-strlen-ifunc.c: New file.
17779         * benchtests/bench-strlen.c: New file.
17780         * benchtests/bench-strncasecmp-ifunc.c: New file.
17781         * benchtests/bench-strncasecmp.c: New file.
17782         * benchtests/bench-strncat-ifunc.c: New file.
17783         * benchtests/bench-strncat.c: New file.
17784         * benchtests/bench-strncmp-ifunc.c: New file.
17785         * benchtests/bench-strncmp.c: New file.
17786         * benchtests/bench-strncpy-ifunc.c: New file.
17787         * benchtests/bench-strncpy.c: New file.
17788         * benchtests/bench-strnlen-ifunc.c: New file.
17789         * benchtests/bench-strnlen.c: New file.
17790         * benchtests/bench-strpbrk-ifunc.c: New file.
17791         * benchtests/bench-strpbrk.c: New file.
17792         * benchtests/bench-strrchr-ifunc.c: New file.
17793         * benchtests/bench-strrchr.c: New file.
17794         * benchtests/bench-strspn-ifunc.c: New file.
17795         * benchtests/bench-strspn.c: New file.
17796         * benchtests/bench-strstr-ifunc.c: New file.
17797         * benchtests/bench-strstr.c: New file.
17798
17799         * benchtests/Makefile: Disable parallel execution of targets.
17800         (string-bench): Add memcpy.
17801         (benchset): New variable to store a list of benchmark sets.
17802         (bench-func): Renamed from bench.
17803         (bench-set): New target.
17804         (bench): Depend on bench-func and bench-set.
17805         * benchtests/README: Add section on benchmark sets.
17806         * benchtests/bench-memcpy-ifunc.c: New file.
17807         * benchtests/bench-memcpy.c: New file.
17808         * benchtests/bench-string.h: New file.
17809
17810 2013-06-11  Andreas Schwab  <schwab@suse.de>
17811
17812         [BZ #15577]
17813         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17814         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17815         values in the triple.
17816         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17817         terminator in the group key.
17818
17819 2013-06-11  Andreas Jaeger  <aj@suse.de>
17820
17821         * po/zh_TW.po: Update Chinese (traditional) translation from
17822         translation project.
17823
17824 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17825
17826         * include/time.h (__clock_gettime): Add libc_hidden_proto.
17827         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17828         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
17829         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17830         (clock_getcpuclockid): Likewise.
17831         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17832         Add weak_alias and libc_hidden_def.
17833         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17834         * rt/clock_gettime.c (clock_gettime): Rename to
17835         __clock_gettime.  Add weak_alias and libc_hidden_def.
17836         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17837         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17838         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
17839         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17840         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17841         Likewise.
17842         * rt/clock_settime.c (clock_settime): Rename to
17843         __clock_settime.  Add weak_alias and libc_hidden_def.
17844         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17845
17846 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
17847
17848         * mach/err_boot.sub: Remove trailing whitespace.
17849         * mach/err_ipc.sub: Likewise.
17850         * mach/err_mach.sub: Likewise.
17851
17852         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17853         (ROUNDING_TESTS_double): Likewise.
17854         (ROUNDING_TESTS_long_double): Likewise.
17855         (ROUNDING_TESTS): Likewise.
17856         * math/libm-test.inc: Include <math-tests.h>.
17857         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17858         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17859         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17860         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17861
17862 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17863
17864         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17865         of assigning.
17866
17867 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
17868
17869         * sysdeps/gnu/errlist.awk: Do not generate space at end of
17870         otherwise empty TRANS lines.
17871         * sysdeps/gnu/errlist.c: Regenerated.
17872
17873         * catgets/gencat.c (error_print): Use (void) in function
17874         definition.
17875         * crypt/crypt_util.c (__init_des): Likewise.
17876         * crypt/speeds.c (Stop): Likewise.
17877         (main): Likewise.
17878         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17879         * inet/ruserpass.c (token): Likewise.
17880         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17881         * intl/localealias.c (extend_alias_table): Likewise.
17882         * intl/plural-exp.c (init_germanic_plural): Likewise.
17883         * libio/fcloseall.c (__fcloseall): Likewise.
17884         * libio/genops.c (_IO_flush_all): Likewise.
17885         (_IO_flush_all_linebuffered): Likewise.
17886         (_IO_cleanup): Likewise.
17887         (_IO_iter_begin): Likewise.
17888         (_IO_iter_end): Likewise.
17889         (_IO_list_lock): Likewise.
17890         (_IO_list_unlock): Likewise.
17891         (_IO_list_resetlock): Likewise.
17892         * libio/getchar.c (getchar): Likewise.
17893         * libio/getchar_u.c (getchar_unlocked): Likewise.
17894         * libio/getwchar.c (getwchar): Likewise.
17895         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17896         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17897         * login/getpt.c (__getpt): Likewise.
17898         * login/tst-utmp.c (main): Likewise.
17899         * malloc/hooks.c (__malloc_check_init): Likewise.
17900         * malloc/malloc.c (__malloc_stats): Likewise.
17901         * malloc/mtrace.c (tr_break): Likewise.
17902         (mtrace): Likewise.
17903         (muntrace): Likewise.
17904         * misc/fstab.c (endfsent): Likewise.
17905         * misc/getclktck.c (__getclktck): Likewise.
17906         * misc/getdtsz.c (__getdtablesize): Likewise.
17907         * misc/gethostid.c (gethostid): Likewise.
17908         * misc/getpagesize.c (__getpagesize): Likewise.
17909         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17910         (__get_nprocs): Likewise.
17911         (__get_phys_pages): Likewise.
17912         (__get_avphys_pages): Likewise.
17913         * misc/getttyent.c (getttyent): Likewise.
17914         (setttyent): Likewise.
17915         (endttyent): Likewise.
17916         * misc/getusershell.c (getusershell): Likewise.
17917         (endusershell): Likewise.
17918         (setusershell): Likewise.
17919         (initshells): Likewise.
17920         * misc/hsearch.c (__hdestroy): Likewise.
17921         * misc/sync.c (sync): Likewise.
17922         * misc/syslog.c (closelog_internal): Likewise.
17923         (closelog): Likewise.
17924         * misc/ttyslot.c (ttyslot): Likewise.
17925         * misc/vhangup.c (vhangup): Likewise.
17926         * posix/fork.c (__fork): Likewise.
17927         * posix/getegid.c (__getegid): Likewise.
17928         * posix/geteuid.c (__geteuid): Likewise.
17929         * posix/getgid.c (__getgid): Likewise.
17930         * posix/getpid.c (__getpid): Likewise.
17931         * posix/getppid.c (__getppid): Likewise.
17932         * posix/getuid.c (__getuid): Likewise.
17933         * posix/pause.c (pause): Likewise.
17934         * posix/setpgrp.c (setpgrp): Likewise.
17935         * posix/setsid.c (__setsid): Likewise.
17936         * posix/test-vfork.c (noop): Likewise.
17937         * resolv/gethnamaddr.c (_endhtent): Likewise.
17938         (_gethtent): Likewise.
17939         (ht_endhostent): Likewise.
17940         (gethostent): Likewise.
17941         (dns_service): Likewise.
17942         * stdlib/drand48.c (drand48): Likewise.
17943         * stdlib/lrand48.c (lrand48): Likewise.
17944         * stdlib/mrand48.c (mrand48): Likewise.
17945         * stdlib/rand.c (rand): Likewise.
17946         * stdlib/random.c (__random): Likewise.
17947         * stdlib/setenv.c (clearenv): Likewise.
17948         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17949         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17950         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17951         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17952         (__get_nprocs): Likewise.
17953         (__get_phys_pages): Likewise.
17954         (__get_avphys_pages): Likewise.
17955         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17956         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17957         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17958         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17959         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17960         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17961         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17962         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17963         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17964         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17965         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17966         * sysdeps/mach/hurd/sync.c (sync): Likewise.
17967         * sysdeps/posix/clock.c (clock): Likewise.
17968         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17969         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17970         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17971         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17972         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17973         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17974         (__get_nprocs_conf): Likewise.
17975         (__get_phys_pages): Likewise.
17976         (__get_avphys_pages): Likewise.
17977         * time/clock.c (clock): Likewise.
17978         * time/tzset.c (__tzname_max): Likewise.
17979
17980 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
17981
17982         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17983         (__bswap_32): Do not use "register".
17984         * crypt/crypt.c (_ufc_doit_r): Likewise.
17985         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17986         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17987         * gmon/gmon.c (__monstartup): Likewise.
17988         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17989         * hurd/hurdmalloc.c (more_memory): Likewise.
17990         (malloc): Likewise.
17991         (free): Likewise.
17992         (realloc): Likewise.
17993         (malloc_fork_prepare): Likewise.
17994         (malloc_fork_parent): Likewise.
17995         (malloc_fork_child): Likewise.
17996         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17997         (_svcauth_des): Likewise.
17998         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17999         * inet/inet_net.c (inet_network): Likewise.
18000         * inet/inet_netof.c (inet_netof): Likewise.
18001         * inet/rcmd.c (__validuser2_sa): Likewise.
18002         * io/fts.c (fts_open): Likewise.
18003         (fts_load): Likewise.
18004         (fts_close): Likewise.
18005         (fts_read): Likewise.
18006         (fts_children): Likewise.
18007         (fts_build): Likewise.
18008         (fts_stat): Likewise.
18009         (fts_sort): Likewise.
18010         (fts_alloc): Likewise.
18011         (fts_lfree): Likewise.
18012         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18013         (_IO_file_xsgetn): Likewise.
18014         (_IO_file_xsgetn_mmap): Likewise.
18015         * libio/iofopncook.c (_IO_cookie_read): Likewise.
18016         (_IO_cookie_write): Likewise.
18017         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18018         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18019         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18020         * malloc/obstack.c (_obstack_begin): Likewise.
18021         (_obstack_begin_1): Likewise.
18022         (_obstack_newchunk): Likewise.
18023         (_obstack_allocated_p): Likewise.
18024         (obstack_free): Likewise.
18025         (_obstack_memory_used): Likewise.
18026         * misc/getttyent.c (getttynam): Likewise.
18027         (getttyent): Likewise.
18028         (skip): Likewise.
18029         (value): Likewise.
18030         * misc/getusershell.c (initshells): Likewise.
18031         * misc/syslog.c (__vsyslog_chk): Likewise.
18032         * misc/ttyslot.c (ttyslot): Likewise.
18033         * nis/nis_hash.c (__nis_hash): Likewise.
18034         * posix/fnmatch_loop.c (FCT): Likewise.
18035         * posix/getconf.c (print_all): Likewise.
18036         (main): Likewise.
18037         * posix/getopt.c (exchange): Likewise.
18038         * posix/glob.c (globfree): Likewise.
18039         (prefix_array): Likewise.
18040         (__glob_pattern_type): Likewise.
18041         * resolv/arpa/nameser.h (NS_GET16): Likewise.
18042         (NS_GET32): Likewise.
18043         (NS_PUT16): Likewise.
18044         (NS_PUT32): Likewise.
18045         * resolv/gethnamaddr.c (getanswer): Likewise.
18046         (gethostbyname2): Likewise.
18047         (gethostbyaddr): Likewise.
18048         (_gethtent): Likewise.
18049         (_gethtbyname2): Likewise.
18050         (_gethtbyaddr): Likewise.
18051         * resolv/ns_print.c (dst_s_get_int16): Likewise.
18052         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18053         * resolv/res_init.c (__res_vinit): Likewise.
18054         (net_mask): Likewise.
18055         * resolv/res_mkquery.c (outchar): Likewise.
18056         (PRINT): Likewise.
18057         * stdio-common/printf_fp.c (outchar): Likewise.
18058         (PRINT): Likewise.
18059         * stdio-common/printf_fphex.c (outchar): Likewise.
18060         (PRINT): Likewise.
18061         * stdio-common/printf_size.c (outchar): Likewise.
18062         (PRINT): Likewise.
18063         * stdio-common/test_rdwr.c (main): Likewise.
18064         * stdio-common/tfformat.c (matches): Likewise.
18065         * stdio-common/vfprintf.c (outchar): Likewise.
18066         (printf_unknown): Likewise.
18067         (buffered_vfprintf): Likewise.
18068         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18069         * stdio-common/xbug.c (AppendToBuffer): Likewise.
18070         (ReadFile): Likewise.
18071         * stdlib/qsort.c (SWAP): Likewise.
18072         (_quicksort): Likewise.
18073         * stdlib/setenv.c (__add_to_environ): Likewise.
18074         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18075         * stdlib/strtol_l.c (__strtol_l): Likewise.
18076         * stdlib/tst-strtod.c (main): Likewise.
18077         * stdlib/tst-strtol.c (main): Likewise.
18078         * stdlib/tst-strtoll.c (main): Likewise.
18079         * string/bits/string2.h (__strcmp_cc): Likewise.
18080         (__strcmp_cg): Likewise.
18081         (__strcspn_c1): Likewise.
18082         (__strcspn_c2): Likewise.
18083         (__strcspn_c3): Likewise.
18084         (__strspn_c1): Likewise.
18085         (__strspn_c2): Likewise.
18086         (__strspn_c3): Likewise.
18087         (__strsep_1c): Likewise.
18088         (__strsep_2c): Likewise.
18089         (__strsep_3c): Likewise.
18090         * string/memccpy.c (__memccpy): Likewise.
18091         * string/stpcpy.c (__stpcpy): Likewise.
18092         * string/strcmp.c (strcmp): Likewise.
18093         * string/strrchr.c (strrchr): Likewise.
18094         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18095         Likewise.
18096         * sysdeps/mach/hurd/getcwd.c
18097         (_hurd_canonicalize_directory_name_internal): Likewise.
18098         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18099         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18100         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18101         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18102         Likewise, in both definitions.
18103         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18104         definitions.
18105         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18106         64] (__bswap_64): Likewise.
18107         * time/test_time.c (main): Likewise.
18108         * time/tzfile.c (__tzfile_read): Likewise.
18109         (__tzfile_compute): Likewise.
18110         * time/tzset.c (__tzset_parse_tz): Likewise.
18111         (tzset_internal): Likewise.
18112         (compute_change): Likewise.
18113         * wcsmbs/wcscat.c (__wcscat): Likewise.
18114         * wcsmbs/wcschr.c (wcschr): Likewise.
18115         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18116         * wcsmbs/wcscspn.c (wcscspn): Likewise.
18117         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18118         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18119         * wcsmbs/wcsspn.c (wcsspn): Likewise.
18120         * wcsmbs/wcsstr.c (wcsstr): Likewise.
18121         * wcsmbs/wmemchr.c (wmemchr): Likewise.
18122         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18123         * wcsmbs/wmemset.c (wmemset): Likewise.
18124
18125 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
18126
18127         * scripts/config.guess: Update to version 2013-05-16.
18128         * scripts/config.sub: Update to version 2013-04-24.
18129         * scripts/install-sh: Update to version 2011-11-20.07.
18130         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18131         * scripts/move-if-change: Update to version 2012-01-06 07:23.
18132
18133 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
18134
18135         * debug/fgetws_u_chk.c: Fix leading whitespaces.
18136         * elf/sln.c: Likewise.
18137         * hurd/hurd/ioctl.h: Likewise.
18138         * hurd/hurdmalloc.c: Likewise.
18139         * hurd/xattr.c: Likewise.
18140         * include/shlib-compat.h: Likewise.
18141         * inet/ruserpass.c: Likewise.
18142         * libio/iofgets_u.c: Likewise.
18143         * libio/iofgetws_u.c: Likewise.
18144         * locale/programs/ld-identification.c: Likewise.
18145         * locale/programs/ld-time.c: Likewise.
18146         * mach/msg-destroy.c: Likewise.
18147         * nss/nss_files/files-netgrp.c: Likewise.
18148         * resolv/res_data.c: Likewise.
18149         * soft-fp/op-1.h: Likewise.
18150         * soft-fp/op-2.h: Likewise.
18151         * soft-fp/op-4.h: Likewise.
18152         * soft-fp/op-common.h: Likewise.
18153         * stdio-common/printf_fphex.c: Likewise.
18154         * stdlib/strtod_l.c: Likewise.
18155         * sunrpc/rpc/clnt.h: Likewise.
18156         * sysdeps/generic/framestate.c: Likewise.
18157         * sysdeps/i386/bsd-_setjmp.S: Likewise.
18158         * sysdeps/i386/bsd-setjmp.S: Likewise.
18159         * sysdeps/i386/__longjmp.S: Likewise.
18160         * sysdeps/i386/setjmp.S: Likewise.
18161         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18162         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18163         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18164         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18165         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18166         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18167         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18168         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18169         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18170         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18171         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18172         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18173         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18174         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18175         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18176         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18177         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18178         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18179         * sysdeps/ieee754/support.c: Likewise.
18180         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18181         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18182         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18183         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18184         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18185         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18186         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18187         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18188         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18189         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18190         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18191         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18192         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18193         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18194         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18195         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18196         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18198
18199 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
18200
18201         * posix/transbug.c: Remove executable mode.
18202
18203 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
18204
18205         * crypt/speeds.c: Remove trailing whitespace.
18206         * dlfcn/default.c: Likewise.
18207         * elf/ifuncdep2.c: Likewise.
18208         * elf/ifuncmain1.c: Likewise.
18209         * elf/ifuncmain1vis.c: Likewise.
18210         * elf/testobj.h: Likewise.
18211         * elf/tst-stackguard1.c: Likewise.
18212         * gmon/sys/gmon.h: Likewise.
18213         * hurd/hurdmsg.c: Likewise.
18214         * hurd/new-fd.c: Likewise.
18215         * hurd/ports-get.c: Likewise.
18216         * iconvdata/ibm1008_420.c: Likewise.
18217         * inet/tst-getni1.c: Likewise.
18218         * inet/tst-getni2.c: Likewise.
18219         * libio/ioungetc.c: Likewise.
18220         * libio/wfiledoalloc.c: Likewise.
18221         * manual/libm-err-tab.pl: Likewise.
18222         * math/w_dremf.c: Likewise.
18223         * misc/ftruncate.c: Likewise.
18224         * posix/bug-glob2.c: Likewise.
18225         * posix/tst-pcre.c: Likewise.
18226         * posix/wait4.c: Likewise.
18227         * resolv/README: Likewise.
18228         * resolv/res_debug.h: Likewise.
18229         * resolv/tst-inet_ntop.c: Likewise.
18230         * setjmp/bug269-setjmp.c: Likewise.
18231         * soft-fp/extended.h: Likewise.
18232         * soft-fp/op-1.h: Likewise.
18233         * soft-fp/op-2.h: Likewise.
18234         * soft-fp/op-4.h: Likewise.
18235         * soft-fp/op-8.h: Likewise.
18236         * soft-fp/testit.c: Likewise.
18237         * stdio-common/bug16.c: Likewise.
18238         * stdlib/random.c: Likewise.
18239         * sunrpc/rpcsvc/rquota.x: Likewise.
18240         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18241         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18242         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18243         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18244         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18245         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18246         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18247         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18248         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18249         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18250         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18251         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18252         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18253         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18254         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18255         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18256         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18257         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18258         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18259         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18260         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18261         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18262         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18263         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18264         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18265         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18266         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18267         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18268         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18269         * sysdeps/ieee754/s_lib_version.c: Likewise.
18270         * sysdeps/mach/hurd/check_fds.c: Likewise.
18271         * sysdeps/mach/hurd/getsockname.c: Likewise.
18272         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18273         * sysdeps/mach/hurd/recvfrom.c: Likewise.
18274         * sysdeps/powerpc/bits/link.h: Likewise.
18275         * sysdeps/powerpc/dl-procinfo.c: Likewise.
18276         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18277         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18278         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18279         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18280         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18281         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18282         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18283         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18284         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18285         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18286         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18287         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18288         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18289         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18290         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18291         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18292         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18293         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18294         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18295         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18296         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18297         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18298         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18299         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18300         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18301         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18302         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18303         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18304         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18305         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18306         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18307         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18308         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18309         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18310         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18311         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18312         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18313         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18314         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18315         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18316         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18317         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18318         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18319         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18320         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18321         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18322         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18323         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18324         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18325         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18326         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18327         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18328         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18329         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18330         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18331         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18332         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18333         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18334         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18335         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18336         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18337         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18338         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18339         * sysdeps/powerpc/sysdep.h: Likewise.
18340         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18341         * sysdeps/s390/s390-64/sub_n.S: Likewise.
18342         * sysdeps/sh/dl-trampoline.S: Likewise.
18343         * sysdeps/sh/memset.S: Likewise.
18344         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18345         * sysdeps/sh/strlen.S: Likewise.
18346         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18347         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18348         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18349         * sysdeps/sparc/sparc32/rem.S: Likewise.
18350         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18351         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18352         * sysdeps/sparc/sparc32/strchr.S: Likewise.
18353         * sysdeps/sparc/sparc32/udiv.S: Likewise.
18354         * sysdeps/sparc/sparc32/urem.S: Likewise.
18355         * sysdeps/sparc/sparc64/add_n.S: Likewise.
18356         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18357         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18358         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18359         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18360         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18361         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18362         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18363         * sysdeps/unix/bsd/times.c: Likewise.
18364         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18365         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18369         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18370         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18371         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18372         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18373         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18374         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18375         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18376         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18377         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18378         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18379         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18380         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18381         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18382         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18383         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18384         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18385         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18386         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18387         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18388         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18389         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18390         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18391         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18392         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18393         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18394         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18395         * sysdeps/x86_64/strcspn.S: Likewise.
18396
18397 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18398
18399         * locale/C-translit.h: Revert #include <stdint.h> because this is a
18400         generated file.  Regenerate properly from gen-translit.pl.
18401         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
18402         locale/C-translit.h.
18403
18404 2013-06-05  Andreas Schwab  <schwab@suse.de>
18405
18406         [BZ #15100]
18407         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18408         week as 6 instead of -1.
18409         * time/tst-strptime.c (day_tests): Add test case.
18410
18411 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18412
18413         * sysdeps/generic/math_private.h
18414         (libc_feholdexcept_setround_53bit): Replace with
18415         libc_feholdsetround_53bit.
18416         (libc_feupdateenv_53bit): Replace with
18417         libc_feresetround_53bit.
18418         (SET_RESTORE_ROUND_53BIT): Adjust.
18419
18420 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18421
18422         * string/test-strchrnul.c: Add copyright header.
18423
18424         * posix/tst-getaddrinfo4.c: Increase test timeout.
18425
18426 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
18427
18428         [BZ #15536]
18429         * math/libm-test.inc (MAX_EXP): Remove
18430         (MIN_EXP): Define.
18431         (ulp): Use MIN_EXP - MANT_DIG.
18432         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18433
18434 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
18435
18436         * po/be.po: Revert last change.
18437         * po/zh_CN.po: Likewise.
18438         * po/header.pot: Likewise.
18439
18440 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
18441
18442         * Makefile ($(common-objpfx)linkobj/libc.so): Define
18443         link-libc-deps to empty as target-specific variable.
18444         * Makerules (link-libc-args): New variable.
18445         (libc-for-link): Likewise.
18446         (link-libc-deps): Likewise.
18447         (lib%.so): Depend on $(link-libc-deps).  Link with
18448         $(link-libc-args).
18449         (build-module): Link with $(link-libc-args).
18450         (build-module-asneeded): Likewise.
18451         (build-module-helper-objlist): Filter out $(link-libc-deps) from
18452         list of objects.
18453         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18454         target-specific variable.
18455         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18456         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18457         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18458         libc.
18459         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18460         libc and ld.so.
18461         ($(objpfx)libpcprofile.so): Likewise.
18462         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18463         libc_nonshared.a.
18464         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18465         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18466         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18467         $(link-libc-deps).
18468         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18469         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18470         * login/Makefile ($(objpfx)libutil.so): Likewise.
18471         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18472         * math/Makefile ($(objpfx)libm.so): Likewise.
18473         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18474         $(objpfx)libnsl.so): Define libc-for-link as target-specific
18475         variable instead of depending directly on libc.
18476         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18477         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18478         $(link-libc-deps).
18479         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18480         libc.
18481         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18482         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18483         ($(objpfx)libanl.so): Likewise.
18484         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18485         ld.so.
18486         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18487         $(link-libc-deps).
18488         * sysdeps/i386/fpu/Makefile: Remove file.
18489         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18490         ($(objpfx)libm.so): Remove dependency on ld.so.
18491
18492 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
18493
18494         [BZ # 15553]
18495         * nis/yp_xdr.c (XDRMAXNAME): Define.
18496         (XDRMAXRECORD): Define.
18497         (xdr_domainname): Use XDRMAXNAME.
18498         (xdr_mapname): Likewise.
18499         (xdr_peername): Likewise.
18500         (xdr_keydat): Use XDRMAXRECORD.
18501         (xdr_valdat): Likewise.
18502
18503 2013-05-30  Jeff Law  <law@redhat.com>
18504
18505         [BZ #14256]
18506         * manual/errno.texi (ESTALE): Update to account for more than
18507         just NFS file systems.
18508         * sysdeps/gnu/errlist.c: Regenerated.
18509
18510 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18511
18512         [BZ #15465]
18513         * elf/Makefile (tests): Add tst-null-argv.
18514         (modules-names):  Add tst-null-argv-lib.
18515         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18516         (tst-null-argv-ENV): Set environment for tst-null-argv.
18517         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18518         (RTLD_PROGNAME): New macro.
18519         * elf/tst-null-argv.c: New test case.
18520         * elf/tst-null-argv-lib.c: Library for test case.
18521         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18522         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18523         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18524         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18525         * elf/dl-init.c (call_init): Likewise.
18526         (_dl_init): Likewise.
18527         * elf/dl-load.c (print_search_path): Likewise.
18528         (_dl_map_object): Likewise.
18529         * elf/dl-lookup.c (do_lookup_x): Likewise.
18530         (add_dependency): Likewise.
18531         (_dl_lookup_symbol_x): Likewise.
18532         (_dl_debug_bindings): Likewise.
18533         * elf/dl-open.c (_dl_show_scope): Likewise.
18534         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18535         * elf/dl-version.c (match_symbol): Likewise.
18536         (_dl_check_map_versions): Likewise.
18537         * elf/rtld.c (dl_main): Likewise.
18538         (print_unresolved): Use RTLD_PROGNAME.
18539         (print_missing_version): Likewise.
18540         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18541         (elf_machine_rela): Likewise.
18542         * sysdeps/powerpc/powerpc32/dl-machine.c
18543         (__process_machine_rela): Likewise.
18544         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18545         Likewise.
18546         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18547         Likewise.
18548         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18549         Likewise.
18550         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18551         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18552         Likewise.
18553         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18554         Likewise.
18555         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18556
18557 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
18558
18559         * po/be.po: Add descriptive title.
18560         * po/zh_CN.po: Likewise.
18561         * po/header.pot: Likewise.
18562
18563 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
18564
18565         * locale/programs/locarchive.c (create_archive): Inlucde fname in
18566         error message.
18567         (enlarge_archive): Likewise.
18568
18569 2013-05-28  Ben North  <ben@redfrontdoor.org>
18570
18571         * manual/arith.texi (frexp): It is the magnitude of the return
18572         value which lies in [0.5, 1), not the return value itself.
18573
18574 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18575
18576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18577
18578 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
18579
18580         * stdio-common/bug26.c (main): Correct fscanf template.
18581
18582         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18583         declare _dl_skip_args.
18584
18585         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18586         Don't declare.
18587
18588         * manual/platform.texi: Add missing @end deftypefun.
18589
18590 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18591
18592         [BZ #15529]
18593         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18594         bit of mantissa of 2^16382.
18595         * math/libm-test.inc (hypot_test_data): Add more tests.
18596
18597         * math/libm-test.inc: Add drem and pow10 to list of tested
18598         functions.
18599         (pow10_test): New function.
18600         (drem_test): Likewise.
18601         (drem_test_tonearest): Likewise.
18602         (drem_test_towardzero): Likewise.
18603         (drem_test_downward): Likewise.
18604         (drem_test_upward): Likewise.
18605         (main): Call the new functions.
18606
18607         * math/libm-test.inc (finite_test_data): Remove.
18608         (finite_test): Run tests from isfinite_test_data.
18609         (gamma_test_data): Remove.
18610         (gamma_test): Run tests from lgamma_test_data.
18611         * sysdeps/i386/fpu/libm-test-ulps: Update.
18612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18613
18614 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18615
18616         * manual/platform.texi: Add PowerPC PPR function set documentation.
18617         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18618         implementation.
18619
18620 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
18621
18622         * math/libm-test.inc (MAX_EXP): Define.
18623         (ULPDIFF): Define.
18624         (ulp): New function.
18625         (check_float_internal): Use ULPDIFF.
18626         (cpow_test): Disable failing test.
18627         (check_ulp): Test ulp() implemetnation.
18628         (main): Call check_ulp before starting tests.
18629
18630 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18631
18632         * math/gen-libm-test.pl (generate_testfile): Do not handle
18633         START_DATA and END_DATA.
18634         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18635         END_DATA.
18636         (acos_tonearest_test_data): Likewise.
18637         (acos_towardzero_test_data): Likewise.
18638         (acos_downward_test_data): Likewise.
18639         (acos_upward_test_data): Likewise.
18640         (acosh_test_data): Likewise.
18641         (asin_test_data): Likewise.
18642         (asin_tonearest_test_data): Likewise.
18643         (asin_towardzero_test_data): Likewise.
18644         (asin_downward_test_data): Likewise.
18645         (asin_upward_test_data): Likewise.
18646         (asinh_test_data): Likewise.
18647         (atan_test_data): Likewise.
18648         (atanh_test_data): Likewise.
18649         (atan2_test_data): Likewise.
18650         (cabs_test_data): Likewise.
18651         (cacos_test_data): Likewise.
18652         (cacosh_test_data): Likewise.
18653         (carg_test_data): Likewise.
18654         (casin_test_data): Likewise.
18655         (casinh_test_data): Likewise.
18656         (catan_test_data): Likewise.
18657         (catanh_test_data): Likewise.
18658         (cbrt_test_data): Likewise.
18659         (ccos_test_data): Likewise.
18660         (ccosh_test_data): Likewise.
18661         (ceil_test_data): Likewise.
18662         (cexp_test_data): Likewise.
18663         (cimag_test_data): Likewise.
18664         (clog_test_data): Likewise.
18665         (clog10_test_data): Likewise.
18666         (conj_test_data): Likewise.
18667         (copysign_test_data): Likewise.
18668         (cos_test_data): Likewise.
18669         (cos_tonearest_test_data): Likewise.
18670         (cos_towardzero_test_data): Likewise.
18671         (cos_downward_test_data): Likewise.
18672         (cos_upward_test_data): Likewise.
18673         (cosh_test_data): Likewise.
18674         (cosh_tonearest_test_data): Likewise.
18675         (cosh_towardzero_test_data): Likewise.
18676         (cosh_downward_test_data): Likewise.
18677         (cosh_upward_test_data): Likewise.
18678         (cpow_test_data): Likewise.
18679         (cproj_test_data): Likewise.
18680         (creal_test_data): Likewise.
18681         (csin_test_data): Likewise.
18682         (csinh_test_data): Likewise.
18683         (csqrt_test_data): Likewise.
18684         (ctan_test_data): Likewise.
18685         (ctan_tonearest_test_data): Likewise.
18686         (ctan_towardzero_test_data): Likewise.
18687         (ctan_downward_test_data): Likewise.
18688         (ctan_upward_test_data): Likewise.
18689         (ctanh_test_data): Likewise.
18690         (ctanh_tonearest_test_data): Likewise.
18691         (ctanh_towardzero_test_data): Likewise.
18692         (ctanh_downward_test_data): Likewise.
18693         (ctanh_upward_test_data): Likewise.
18694         (erf_test_data): Likewise.
18695         (erfc_test_data): Likewise.
18696         (exp_test_data): Likewise.
18697         (exp_tonearest_test_data): Likewise.
18698         (exp_towardzero_test_data): Likewise.
18699         (exp_downward_test_data): Likewise.
18700         (exp_upward_test_data): Likewise.
18701         (exp10_test_data): Likewise.
18702         (exp2_test_data): Likewise.
18703         (expm1_test_data): Likewise.
18704         (fabs_test_data): Likewise.
18705         (fdim_test_data): Likewise.
18706         (finite_test_data): Likewise.
18707         (floor_test_data): Likewise.
18708         (fma_test_data): Likewise.
18709         (fma_towardzero_test_data): Likewise.
18710         (fma_downward_test_data): Likewise.
18711         (fma_upward_test_data): Likewise.
18712         (fmax_test_data): Likewise.
18713         (fmin_test_data): Likewise.
18714         (fmod_test_data): Likewise.
18715         (fpclassify_test_data): Likewise.
18716         (frexp_test_data): Likewise.
18717         (gamma_test_data): Likewise.
18718         (hypot_test_data): Likewise.
18719         (ilogb_test_data): Likewise.
18720         (isfinite_test_data): Likewise.
18721         (isgreater_test_data): Likewise.
18722         (isgreaterequal_test_data): Likewise.
18723         (isinf_test_data): Likewise.
18724         (isless_test_data): Likewise.
18725         (islessequal_test_data): Likewise.
18726         (islessgreater_test_data): Likewise.
18727         (isnan_test_data): Likewise.
18728         (isnormal_test_data): Likewise.
18729         (issignaling_test_data): Likewise.
18730         (isunordered_test_data): Likewise.
18731         (j0_test_data): Likewise.
18732         (j1_test_data): Likewise.
18733         (jn_test_data): Likewise.
18734         (ldexp_test_data): Likewise.
18735         (lgamma_test_data): Likewise.
18736         (lrint_test_data): Likewise.
18737         (lrint_tonearest_test_data): Likewise.
18738         (lrint_towardzero_test_data): Likewise.
18739         (lrint_downward_test_data): Likewise.
18740         (lrint_upward_test_data): Likewise.
18741         (llrint_test_data): Likewise.
18742         (llrint_tonearest_test_data): Likewise.
18743         (llrint_towardzero_test_data): Likewise.
18744         (llrint_downward_test_data): Likewise.
18745         (llrint_upward_test_data): Likewise.
18746         (log_test_data): Likewise.
18747         (log10_test_data): Likewise.
18748         (log1p_test_data): Likewise.
18749         (log2_test_data): Likewise.
18750         (logb_test_data): Likewise.
18751         (logb_downward_test_data): Likewise.
18752         (lround_test_data): Likewise.
18753         (llround_test_data): Likewise.
18754         (modf_test_data): Likewise.
18755         (nearbyint_test_data): Likewise.
18756         (nextafter_test_data): Likewise.
18757         (nexttoward_test_data): Likewise.
18758         (pow_test_data): Likewise.
18759         (pow_tonearest_test_data): Likewise.
18760         (pow_towardzero_test_data): Likewise.
18761         (pow_downward_test_data): Likewise.
18762         (pow_upward_test_data): Likewise.
18763         (remainder_test_data): Likewise.
18764         (remainder_tonearest_test_data): Likewise.
18765         (remainder_towardzero_test_data): Likewise.
18766         (remainder_downward_test_data): Likewise.
18767         (remainder_upward_test_data): Likewise.
18768         (remquo_test_data): Likewise.
18769         (rint_test_data): Likewise.
18770         (rint_tonearest_test_data): Likewise.
18771         (rint_towardzero_test_data): Likewise.
18772         (rint_downward_test_data): Likewise.
18773         (rint_upward_test_data): Likewise.
18774         (round_test_data): Likewise.
18775         (scalb_test_data): Likewise.
18776         (scalbn_test_data): Likewise.
18777         (scalbln_test_data): Likewise.
18778         (signbit_test_data): Likewise.
18779         (sin_test_data): Likewise.
18780         (sin_tonearest_test_data): Likewise.
18781         (sin_towardzero_test_data): Likewise.
18782         (sin_downward_test_data): Likewise.
18783         (sin_upward_test_data): Likewise.
18784         (sincos_test_data): Likewise.
18785         (sinh_test_data): Likewise.
18786         (sinh_tonearest_test_data): Likewise.
18787         (sinh_towardzero_test_data): Likewise.
18788         (sinh_downward_test_data): Likewise.
18789         (sinh_upward_test_data): Likewise.
18790         (sqrt_test_data): Likewise.
18791         (tan_test_data): Likewise.
18792         (tan_tonearest_test_data): Likewise.
18793         (tan_towardzero_test_data): Likewise.
18794         (tan_downward_test_data): Likewise.
18795         (tan_upward_test_data): Likewise.
18796         (tanh_test_data): Likewise.
18797         (tgamma_test_data): Likewise.
18798         (trunc_test_data): Likewise.
18799         (y0_test_data): Likewise.
18800         (y1_test_data): Likewise.
18801         (yn_test_data): Likewise.
18802         (significand_test_data): Likewise.
18803
18804         * math/gen-libm-test.pl (@functions): Remove variable.
18805         (generate_testfile): Don't handle START and END lines.
18806         * math/libm-test.inc (START): New macro.
18807         (END): Likewise.
18808         (END_COMPLEX): Likewise.
18809         (acos_test): Use END macro without arguments.
18810         (acos_test_tonearest): Likewise.
18811         (acos_test_towardzero): Likewise.
18812         (acos_test_downward): Likewise.
18813         (acos_test_upward): Likewise.
18814         (acosh_test): Likewise.
18815         (asin_test): Likewise.
18816         (asin_test_tonearest): Likewise.
18817         (asin_test_towardzero): Likewise.
18818         (asin_test_downward): Likewise.
18819         (asin_test_upward): Likewise.
18820         (asinh_test): Likewise.
18821         (atan_test): Likewise.
18822         (atanh_test): Likewise.
18823         (atan2_test): Likewise.
18824         (cabs_test): Likewise.
18825         (cacos_test): Use END_COMPLEX macro without arguments.
18826         (cacosh_test): Likewise.
18827         (carg_test): Use END macro without arguments.
18828         (casin_test): Use END_COMPLEX macro without arguments.
18829         (casinh_test): Likewise.
18830         (catan_test): Likewise.
18831         (catanh_test): Likewise.
18832         (cbrt_test): Use END macro without arguments.
18833         (ccos_test): Use END_COMPLEX macro without arguments.
18834         (ccosh_test): Likewise.
18835         (ceil_test): Use END macro without arguments.
18836         (cexp_test): Use END_COMPLEX macro without arguments.
18837         (cimag_test): Use END macro without arguments.
18838         (clog_test): Use END_COMPLEX macro without arguments.
18839         (clog10_test): Likewise.
18840         (conj_test): Likewise.
18841         (copysign_test): Use END macro without arguments.
18842         (cos_test): Likewise.
18843         (cos_test_tonearest): Likewise.
18844         (cos_test_towardzero): Likewise.
18845         (cos_test_downward): Likewise.
18846         (cos_test_upward): Likewise.
18847         (cosh_test): Likewise.
18848         (cosh_test_tonearest): Likewise.
18849         (cosh_test_towardzero): Likewise.
18850         (cosh_test_downward): Likewise.
18851         (cosh_test_upward): Likewise.
18852         (cpow_test): Use END_COMPLEX macro without arguments.
18853         (cproj_test): Likewise.
18854         (creal_test): Use END macro without arguments.
18855         (csin_test): Use END_COMPLEX macro without arguments.
18856         (csinh_test): Likewise.
18857         (csqrt_test): Likewise.
18858         (ctan_test): Likewise.
18859         (ctan_test_tonearest): Likewise.
18860         (ctan_test_towardzero): Likewise.
18861         (ctan_test_downward): Likewise.
18862         (ctan_test_upward): Likewise.
18863         (ctanh_test): Likewise.
18864         (ctanh_test_tonearest): Likewise.
18865         (ctanh_test_towardzero): Likewise.
18866         (ctanh_test_downward): Likewise.
18867         (ctanh_test_upward): Likewise.
18868         (erf_test): Use END macro without arguments.
18869         (erfc_test): Likewise.
18870         (exp_test): Likewise.
18871         (exp_test_tonearest): Likewise.
18872         (exp_test_towardzero): Likewise.
18873         (exp_test_downward): Likewise.
18874         (exp_test_upward): Likewise.
18875         (exp10_test): Likewise.
18876         (exp2_test): Likewise.
18877         (expm1_test): Likewise.
18878         (fabs_test): Likewise.
18879         (fdim_test): Likewise.
18880         (finite_test): Likewise.
18881         (floor_test): Likewise.
18882         (fma_test): Likewise.
18883         (fma_test_towardzero): Likewise.
18884         (fma_test_downward): Likewise.
18885         (fma_test_upward): Likewise.
18886         (fmax_test): Likewise.
18887         (fmin_test): Likewise.
18888         (fmod_test): Likewise.
18889         (fpclassify_test): Likewise.
18890         (frexp_test): Likewise.
18891         (gamma_test): Likewise.
18892         (hypot_test): Likewise.
18893         (ilogb_test): Likewise.
18894         (isfinite_test): Likewise.
18895         (isgreater_test): Likewise.
18896         (isgreaterequal_test): Likewise.
18897         (isinf_test): Likewise.
18898         (isless_test): Likewise.
18899         (islessequal_test): Likewise.
18900         (islessgreater_test): Likewise.
18901         (isnan_test): Likewise.
18902         (isnormal_test): Likewise.
18903         (issignaling_test): Likewise.
18904         (isunordered_test): Likewise.
18905         (j0_test): Likewise.
18906         (j1_test): Likewise.
18907         (jn_test): Likewise.
18908         (ldexp_test): Likewise.
18909         (lgamma_test): Likewise.
18910         (lrint_test): Likewise.
18911         (lrint_test_tonearest): Likewise.
18912         (lrint_test_towardzero): Likewise.
18913         (lrint_test_downward): Likewise.
18914         (lrint_test_upward): Likewise.
18915         (llrint_test): Likewise.
18916         (llrint_test_tonearest): Likewise.
18917         (llrint_test_towardzero): Likewise.
18918         (llrint_test_downward): Likewise.
18919         (llrint_test_upward): Likewise.
18920         (log_test): Likewise.
18921         (log10_test): Likewise.
18922         (log1p_test): Likewise.
18923         (log2_test): Likewise.
18924         (logb_test): Likewise.
18925         (logb_test_downward): Likewise.
18926         (lround_test): Likewise.
18927         (llround_test): Likewise.
18928         (modf_test): Likewise.
18929         (nearbyint_test): Likewise.
18930         (nextafter_test): Likewise.
18931         (nexttoward_test): Likewise.
18932         (pow_test): Likewise.
18933         (pow_test_tonearest): Likewise.
18934         (pow_test_towardzero): Likewise.
18935         (pow_test_downward): Likewise.
18936         (pow_test_upward): Likewise.
18937         (remainder_test): Likewise.
18938         (remainder_test_tonearest): Likewise.
18939         (remainder_test_towardzero): Likewise.
18940         (remainder_test_downward): Likewise.
18941         (remainder_test_upward): Likewise.
18942         (remquo_test): Likewise.
18943         (rint_test): Likewise.
18944         (rint_test_tonearest): Likewise.
18945         (rint_test_towardzero): Likewise.
18946         (rint_test_downward): Likewise.
18947         (rint_test_upward): Likewise.
18948         (round_test): Likewise.
18949         (scalb_test): Likewise.
18950         (scalbn_test): Likewise.
18951         (scalbln_test): Likewise.
18952         (signbit_test): Likewise.
18953         (sin_test): Likewise.
18954         (sin_test_tonearest): Likewise.
18955         (sin_test_towardzero): Likewise.
18956         (sin_test_downward): Likewise.
18957         (sin_test_upward): Likewise.
18958         (sincos_test): Likewise.
18959         (sinh_test): Likewise.
18960         (sinh_test_tonearest): Likewise.
18961         (sinh_test_towardzero): Likewise.
18962         (sinh_test_downward): Likewise.
18963         (sinh_test_upward): Likewise.
18964         (sqrt_test): Likewise.
18965         (tan_test): Likewise.
18966         (tan_test_tonearest): Likewise.
18967         (tan_test_towardzero): Likewise.
18968         (tan_test_downward): Likewise.
18969         (tan_test_upward): Likewise.
18970         (tanh_test): Likewise.
18971         (tgamma_test): Likewise.
18972         (trunc_test): Likewise.
18973         (y0_test): Likewise.
18974         (y1_test): Likewise.
18975         (yn_test): Likewise.
18976         (significand_test): Likewise.
18977
18978 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
18979
18980         [BZ #15381]
18981         * libio/genops.c (_IO_no_init): Initialize wide struct info.
18982
18983 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18984
18985         [BZ #14894]
18986         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18987         __ppc_mdoio and __ppc_mdoom.
18988         * manual/platform.texi: Document new functions __ppc_yield,
18989         __ppc_mdoio and __ppc_mdoom.
18990
18991 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
18992
18993         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18994         (main): Mention "tls" pseudo-hwcap is legacy.
18995         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18996
18997 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18998
18999         * math/gen-libm-test.pl (parse_args): Output only string of
19000         arguments as text for test name, not full call or descriptions of
19001         tests for extra outputs.
19002         (generate_testfile): Do not pass function name to parse_args.
19003         Generate this_func variable from START.
19004         * math/libm-test.inc (struct test_f_f_data): Rename test_name
19005         field to arg_str.
19006         (struct test_ff_f_data): Likewise.
19007         (test_ff_f_data_nexttoward): Likewise.
19008         (struct test_fi_f_data): Likewise.
19009         (struct test_fl_f_data): Likewise.
19010         (struct test_if_f_data): Likewise.
19011         (struct test_fff_f_data): Likewise.
19012         (struct test_c_f_data): Likewise.
19013         (struct test_f_f1_data): Likewise.  Remove field extra_name.
19014         (struct test_fF_f1_data): Likewise.
19015         (struct test_ffI_f1_data): Likewise.
19016         (struct test_c_c_data): Rename test_name field to arg_str.
19017         (struct test_cc_c_data): Likewise.
19018         (struct test_f_i_data): Likewise.
19019         (struct test_ff_i_data): Likewise.
19020         (struct test_f_l_data): Likewise.
19021         (struct test_f_L_data): Likewise.
19022         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
19023         and extra2_name.
19024         (COMMON_TEST_SETUP): New macro.
19025         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19026         (COMMON_TEST_CLEANUP): Likewise.
19027         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19028         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
19029         macros.
19030         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19031         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
19032         macros.
19033         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19034         (RUN_TEST_fff_f): Take argument string.  Call new setup and
19035         cleanup macros.
19036         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19037         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
19038         macros.
19039         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19040         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
19041         macros.
19042         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19043         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
19044         cleanup macros.
19045         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19046         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
19047         cleanup macros.
19048         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19049         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
19050         cleanup macros.
19051         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19052         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
19053         macros.
19054         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19055         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
19056         macros.
19057         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19058         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
19059         macros.
19060         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19061         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
19062         cleanup macros.
19063         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19064         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
19065         cleanup macros.
19066         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19067         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
19068         macros.
19069         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19070         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
19071         cleanup macros.
19072         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19073         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
19074         macros.
19075         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19076         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
19077         macros.
19078         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19079         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
19080         cleanup macros.
19081         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19082
19083 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
19084
19085         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19086         to _sifields.sigfault.
19087         (si_addr_lsb): Define new macro.
19088         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19089         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19090         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19091
19092 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
19093
19094         [BZ #15441]
19095         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19096         returns -1.
19097         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19098         null return -1.
19099         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19100         loading the domain.
19101
19102 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19103
19104         * math/gen-libm-test.pl (parse_args): Do not include expected
19105         result in test name.
19106         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19107         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19108         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19109         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19110         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19112
19113 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19114
19115         * benchtests/Makefile: Sort function entries.
19116
19117         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19118         tanh, asinh, acosh, atanh.
19119         * benchtests/acos-inputs: New file.
19120         * benchtests/acosh-inputs: New file.
19121         * benchtests/asin-inputs: New file.
19122         * benchtests/asinh-inputs: New file.
19123         * benchtests/atanh-inputs: New file.
19124         * benchtests/cosh-inputs: New file.
19125         * benchtests/log-inputs: New file.
19126         * benchtests/sinh-inputs: New file.
19127         * benchtests/tanh-inputs: New file.
19128
19129 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
19130
19131         [BZ #15339]
19132         * posix/tst-getaddrinfo4.c: New test.
19133         * posix/Makefile (tests): Add it.
19134
19135 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19136
19137         [BZ #15339]
19138         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19139         when no services were used.
19140         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19141         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19142
19143 2013-05-21  Andreas Schwab  <schwab@suse.de>
19144
19145         [BZ #15014]
19146         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19147         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19148         successful.
19149         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19150         redundant variable declarations and reallocation of buffer when
19151         parsing as IPv6 address.  Always set NSS status when called from
19152         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
19153         buffer too small.  Correct computation of needed size.
19154         * nss/Makefile (tests): Add test-digits-dots.
19155         * nss/test-digits-dots.c: New test.
19156
19157 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19158
19159         * benchtests/Makefile: Remove instructions for adding
19160         benchmark tests.
19161         * benchtests/README: New file to explain how to execute and
19162         enhance the benchmark tests.
19163
19164 2013-05-21  Andreas Schwab  <schwab@suse.de>
19165
19166         [BZ #15493]
19167         * setjmp/Makefile (tests): Add tst-sigsetjmp.
19168         * setjmp/tst-sigsetjmp.c: New test.
19169
19170 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19171
19172         * sysdeps/x86_64/memset.S (memset): New implementation.
19173         (__bzero): Likewise.
19174         (__memset_tail): New function.
19175
19176 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19177
19178         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19179         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19180         __memcpy_sse2_unaligned ifunc selection.
19181         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19182         Add memcpy-sse2-unaligned.S.
19183         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19184         Add: __memcpy_sse2_unaligned.
19185
19186 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
19187
19188         [BZ #15490]
19189         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19190         math_force_eval before restoring floating-point envrionment.
19191         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19192         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19193         Likewise.
19194         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19195         <math_private.h>.
19196         (__nearbyintl): Use math_force_eval before restoring
19197         floating-point environment.
19198         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19199
19200         * math/gen-libm-test.pl (special_functions): Remove.
19201         (parse_args): Don't handle TEST_extra.  Handle functions with no
19202         return value.
19203         * math/libm-test.inc (struct test_sincos_data): Replace with
19204         struct test_fFF_11_data.
19205         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19206         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19207         (sincos_test_data): Change element type to struct
19208         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
19209         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19210         RUN_TEST_LOOP_sincos.
19211         * math/README.libm-test: Don't mention special handling of
19212         individual functions.
19213         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19214         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19215         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19216         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19217         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19219
19220         * math/gen-libm-test.pl (get_variable): Remove function.
19221         (parse_args): Don't show pointer parameters to call in test
19222         names.  Use "extra output N" in test names for extra outputs
19223         rather than naming variables.
19224
19225 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
19226
19227         [BZ #15488]
19228         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19229         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19230         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19231         double tests.
19232         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19233         disable.
19234         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19235         check_long_double.
19236
19237         * math/gen-libm-test.pl (@tests): Remove variable.
19238         ($count): Likewise.
19239         (new_test): Remove function.
19240         (show_exceptions): New function.
19241         (special_functions): Use show_exceptions instead of new_test.
19242         (parse_args): Likewise.
19243         (generate_testfile): Pass only function name in generated call to
19244         print_max_error or print_complex_max_error.
19245         (get_ulps): Do not handle complex tests specially.
19246         (output_test): Rename to ...
19247         (get_all_ulps_for_test): ... this.  Return a string rather than
19248         printing to a file.  Require ulps to be present.
19249         (output_ulps): Generate arrays rather than #defines.
19250         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19251         (struct ulp_data): New type.
19252         (BUILD_COMPLEX_ULP): Remove macro.
19253         (compare_ulp_data): New function.
19254         (find_ulps): Likewise.
19255         (find_test_ulps): Likewise.
19256         (find_function_ulps): Likewise.
19257         (find_complex_function_ulps): Likewise.
19258         (print_max_error): Determine allowed ulps using
19259         find_function_ulps.
19260         (print_complex_max_error): Determine allowed ulps using
19261         find_complex_function_ulps.
19262         (check_float_internal): Determine max ulps using find_test_ulps.
19263         (check_float): Do not take max_ulp parameter.  Update call to
19264         check_float_internal.
19265         (check_complex): Likewise.
19266         (check_int): Do not take max_ulp parameter.
19267         (check_long): Likewise.
19268         (check_bool): Likewise.
19269         (check_longlong): Likewise.
19270         (struct test_f_f_data): Remove max_ulp field.
19271         (struct test_ff_f_data): Likewise.
19272         (struct test_ff_f_data_nexttoward): Likewise.
19273         (struct test_fi_f_data): Likewise.
19274         (struct test_fl_f_data): Likewise.
19275         (struct test_if_f_data): Likewise.
19276         (struct test_fff_f_data): Likewise.
19277         (struct test_c_f_data): Likewise.
19278         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19279         (struct test_fF_f1_data): Likewise.
19280         (struct test_ffI_f1_data): Likewise.
19281         (struct test_c_c_data): Remove max_ulp field.
19282         (struct test_cc_c_data): Likewise.
19283         (struct test_f_i_data): Likewise.
19284         (struct test_ff_i_data): Likewise.
19285         (struct test_f_l_data): Likewise.
19286         (struct test_f_L_data): Likewise.
19287         (struct test_sincos_data): Likewise.
19288         (RUN_TEST_f_f): Do not handle ulps.
19289         (RUN_TEST_LOOP_f_f): Likewise.
19290         (RUN_TEST_2_f): Likewise.
19291         (RUN_TEST_LOOP_2_f): Likewise.
19292         (RUN_TEST_fff_f): Likewise.
19293         (RUN_TEST_LOOP_fff_f): Likewise.
19294         (RUN_TEST_c_f): Likewise.
19295         (RUN_TEST_LOOP_c_f): Likewise.
19296         (RUN_TEST_f_f1): Likewise.
19297         (RUN_TEST_LOOP_f_f1): Likewise.
19298         (RUN_TEST_fF_f1): Likewise.
19299         (RUN_TEST_LOOP_fF_f1): Likewise.
19300         (RUN_TEST_fI_f1): Likewise.
19301         (RUN_TEST_LOOP_fI_f1): Likewise.
19302         (RUN_TEST_ffI_f1): Likewise.
19303         (RUN_TEST_LOOP_ffI_f1): Likewise.
19304         (RUN_TEST_c_c): Likewise.
19305         (RUN_TEST_LOOP_c_c): Likewise.
19306         (RUN_TEST_cc_c): Likewise.
19307         (RUN_TEST_LOOP_cc_c): Likewise.
19308         (RUN_TEST_f_i): Likewise.
19309         (RUN_TEST_LOOP_f_i): Likewise.
19310         (RUN_TEST_f_i_tg): Likewise.
19311         (RUN_TEST_LOOP_f_i_tg): Likewise.
19312         (RUN_TEST_ff_i_tg): Likewise.
19313         (RUN_TEST_LOOP_ff_i_tg): Likewise.
19314         (RUN_TEST_f_b): Likewise.
19315         (RUN_TEST_LOOP_f_b): Likewise.
19316         (RUN_TEST_f_b_tg): Likewise.
19317         (RUN_TEST_LOOP_f_b_tg): Likewise.
19318         (RUN_TEST_f_l): Likewise.
19319         (RUN_TEST_LOOP_f_l): Likewise.
19320         (RUN_TEST_f_L): Likewise.
19321         (RUN_TEST_LOOP_f_L): Likewise.
19322         (RUN_TEST_sincos): Likewise.
19323         (RUN_TEST_LOOP_sincos): Likewise.
19324
19325 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
19326
19327         [BZ #15480]
19328         [BZ #15485]
19329         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19330         main case of finite arguments, set rounding mode to FE_TONEAREST
19331         and discard exceptions.
19332         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19333         exceptions.
19334         (remainder_tonearest_test_data): New variable.
19335         (remainder_test_tonearest): New function.
19336         (remainder_towardzero_test_data): New variable.
19337         (remainder_test_towardzero): New function.
19338         (remainder_downward_test_data): New variable.
19339         (remainder_test_downward): New function.
19340         (remainder_upward_test_data): New variable.
19341         (remainder_test_upward): New function.
19342         (main): Call the new test functions.
19343
19344         * math/libm-test.inc (struct test_f_f1_data): Remove field
19345         extra_init.
19346         (struct test_fF_f1_data): Likewise.
19347         (struct test_ffI_f1_data): Likewise.
19348         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
19349         based on value of EXTRA_EXPECTED.
19350         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19351         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
19352         EXTRA_VAR based on value of EXTRA_EXPECTED.
19353         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19354         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
19355         EXTRA_VAR based on value of EXTRA_EXPECTED.
19356         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19357         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
19358         EXTRA_VAR based on value of EXTRA_EXPECTED.
19359         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19360         * math/gen-libm-test.pl (parse_args): Don't output initializers
19361         for extra output values.
19362
19363         * math/libm-test.inc (check_int): Expect result to be exactly
19364         equal to expected value and do not handle ulps.
19365         (check_long): Likewise.
19366         (check_longlong): Likewise.
19367
19368         * math/libm-test.inc (ceil_test_data): Test for "inexact"
19369         exceptions.
19370         (cimag_test_data): Likewise.
19371         (conj_test_data): Likewise.
19372         (copysign_test_data): Likewise.
19373         (cproj_test_data): Likewise.
19374         (creal_test_data): Likewise.
19375         (fabs_test_data): Likewise.
19376         (fdim_test_data): Likewise.
19377         (finite_test_data): Likewise.
19378         (floor_test_data): Likewise.
19379         (fmax_test_data): Likewise.
19380         (fmin_test_data): Likewise.
19381         (fmod_test_data): Likewise.
19382         (fpclassify_test_data): Likewise.
19383         (frexp_test_data): Likewise.
19384         (ilogb_test_data): Likewise.
19385         (isfinite_test_data): Likewise.
19386         (isgreater_test_data): Likewise.
19387         (isgreaterequal_test_data): Likewise.
19388         (isinf_test_data): Likewise.
19389         (isless_test_data): Likewise.
19390         (islessequal_test_data): Likewise.
19391         (islessgreater_test_data): Likewise.
19392         (isnan_test_data): Likewise.
19393         (isnormal_test_data): Likewise.
19394         (issignaling_test_data): Likewise.
19395         (isunordered_test_data): Likewise.
19396         (ldexp_test_data): Likewise.
19397         (lrint_test_data): Likewise.
19398         (lrint_test_data) [TEST_FLOAT]: Disable one test.
19399         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19400         (lrint_tonearest_test_data): Test for "inexact" exceptions.
19401         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19402         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19403         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19404         test input.
19405         (lrint_towardzero_test_data): Test for "inexact" exceptions.
19406         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19407         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19408         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19409         that test input.
19410         (lrint_downward_test_data): Test for "inexact" exceptions.
19411         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19412         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19413         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19414         test input.
19415         (lrint_upward_test_data): Test for "inexact" exceptions.
19416         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19417         test input.
19418         (llrint_test_data): Test for "inexact" exceptions.
19419         (llrint_test_data) [TEST_FLOAT]: Disable one test.
19420         (llrint_tonearest_test_data): Test for "inexact" exceptions.
19421         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19422         (llrint_towardzero_test_data): Test for "inexact" exceptions.
19423         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19424         (llrint_downward_test_data): Test for "inexact" exceptions.
19425         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19426         (llrint_upward_test_data): Test for "inexact" exceptions.
19427         (logb_test_data): Likewise.
19428         (logb_downward_test_data): Likewise.
19429         (nextafter_test_data): Likewise.
19430         (nexttoward_test_data): Likewise.
19431         (remainder_test_data): Likewise.
19432         (remquo_test_data): Likewise.
19433         (scalbn_test_data): Likewise.
19434         (scalbln_test_data): Likewise.
19435         (signbit_test_data): Likewise.
19436         (sqrt_test_data): Likewise.
19437         (significand_test_data): Likewise.
19438
19439 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19440
19441         [BZ #15424]
19442         * benchtests/bench-modf.c (struct args): Mark arg0 as
19443         volatile.
19444         * scripts/bench.pl: Mark members of struct args as volatile.
19445
19446 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19447
19448         [BZ # 15497]
19449         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19450         negative infinity on POWER6 or lower.
19451         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19452
19453 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19454
19455         [BZ #15442]
19456         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19457         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19458         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19459         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19460         (_FP_SETQNAN): New macro.
19461         (_FP_SETQNAN_SEMIRAW): Likewise.
19462         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19463         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19464         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19465         (FP_EXTEND): Use _FP_FRAC_SNANP.
19466         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19467         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19468         into account.
19469         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19470         New macro.
19471         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19472         Likewise.
19473
19474 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19475
19476         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19477         with DIVIDE_BY_ZERO_EXCEPTION.
19478         (gamma_test_data): Likewise.
19479         (lgamma_test_data): Likewise.
19480         (log_test_data): Likewise.
19481         (log10_test_data): Likewise.
19482         (log2_test_data): Likewise.
19483         (tgamma_test_data): Likewise.
19484
19485         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19486         (acos_test_tonearest): Likewise.
19487         (acos_test_towardzero): Likewise.
19488         (acos_test_downward): Likewise.
19489         (acos_test_upward): Likewise.
19490         (acosh_test): Likewise.
19491         (asin_test): Likewise.
19492         (asin_test_tonearest): Likewise.
19493         (asin_test_towardzero): Likewise.
19494         (asin_test_downward): Likewise.
19495         (asin_test_upward): Likewise.
19496         (asinh_test): Likewise.
19497         (atan_test): Likewise.
19498         (atanh_test): Likewise.
19499         (atan2_test): Likewise.
19500         (cabs_test): Likewise.
19501         (cacos_test): Likewise.
19502         (cacosh_test): Likewise.
19503         (casin_test): Likewise.
19504         (casinh_test): Likewise.
19505         (catan_test): Likewise.
19506         (catanh_test): Likewise.
19507         (cbrt_test): Likewise.
19508         (ccos_test): Likewise.
19509         (ccosh_test): Likewise.
19510         (cexp_test): Likewise.
19511         (clog_test): Likewise.
19512         (clog10_test): Likewise.
19513         (cos_test): Likewise.
19514         (cos_test_tonearest): Likewise.
19515         (cos_test_towardzero): Likewise.
19516         (cos_test_downward): Likewise.
19517         (cos_test_upward): Likewise.
19518         (cosh_test): Likewise.
19519         (cosh_test_tonearest): Likewise.
19520         (cosh_test_towardzero): Likewise.
19521         (cosh_test_downward): Likewise.
19522         (cosh_test_upward): Likewise.
19523         (cpow_test): Likewise.
19524         (csin_test): Likewise.
19525         (csinh_test): Likewise.
19526         (csqrt_test): Likewise.
19527         (ctan_test): Likewise.
19528         (ctan_test_tonearest): Likewise.
19529         (ctan_test_towardzero): Likewise.
19530         (ctan_test_downward): Likewise.
19531         (ctan_test_upward): Likewise.
19532         (ctanh_test): Likewise.
19533         (ctanh_test_tonearest): Likewise.
19534         (ctanh_test_towardzero): Likewise.
19535         (ctanh_test_downward): Likewise.
19536         (ctanh_test_upward): Likewise.
19537         (erf_test): Likewise.
19538         (erfc_test): Likewise.
19539         (exp_test): Likewise.
19540         (exp_test_tonearest): Likewise.
19541         (exp_test_towardzero): Likewise.
19542         (exp_test_downward): Likewise.
19543         (exp_test_upward): Likewise.
19544         (exp10_test): Likewise.
19545         (exp2_test): Likewise.
19546         (expm1_test): Likewise.
19547         (fmod_test): Likewise.
19548         (gamma_test): Likewise.
19549         (hypot_test): Likewise.
19550         (j0_test): Likewise.
19551         (j1_test): Likewise.
19552         (jn_test): Likewise.
19553         (lgamma_test): Likewise.
19554         (log_test): Likewise.
19555         (log10_test): Likewise.
19556         (log1p_test): Likewise.
19557         (log2_test): Likewise.
19558         (logb_test_downward): Likewise.
19559         (pow_test): Likewise.
19560         (pow_test_tonearest): Likewise.
19561         (pow_test_towardzero): Likewise.
19562         (pow_test_downward): Likewise.
19563         (pow_test_upward): Likewise.
19564         (remainder_test): Likewise.
19565         (remquo_test): Likewise.
19566         (sin_test): Likewise.
19567         (sin_test_tonearest): Likewise.
19568         (sin_test_towardzero): Likewise.
19569         (sin_test_downward): Likewise.
19570         (sin_test_upward): Likewise.
19571         (sincos_test): Likewise.
19572         (sinh_test): Likewise.
19573         (sinh_test_tonearest): Likewise.
19574         (sinh_test_towardzero): Likewise.
19575         (sinh_test_downward): Likewise.
19576         (sinh_test_upward): Likewise.
19577         (sqrt_test): Likewise.
19578         (tan_test): Likewise.
19579         (tan_test_tonearest): Likewise.
19580         (tan_test_towardzero): Likewise.
19581         (tan_test_downward): Likewise.
19582         (tan_test_upward): Likewise.
19583         (tanh_test): Likewise.
19584         (tgamma_test): Likewise.
19585         (y0_test): Likewise.
19586         (y1_test): Likewise.
19587         (yn_test): Likewise.
19588
19589         * math/gen-libm-test.pl (adjust_arg): Remove function.
19590         (special_function): Remove argument $in_func.  Only handle
19591         generating output for tables of tests, not inside functions.
19592         (parse_args): Likewise.
19593         (generate_testfile): Remove variable $in_func.  Update call to
19594         parse_args.
19595         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19596         (MINUS_ZERO_INIT): Rename macro to minus_zero.
19597         (PLUS_INFTY_INIT): Rename macro to plus_infty.
19598         (MINUS_INFTY_INIT): Rename macro to minus_infty.
19599         (QNAN_VALUE_INIT): Rename macro to qnan_value.
19600         (MAX_VALUE_INIT): Rename macro to max_value.
19601         (MIN_VALUE_INIT): Rename macro to min_value.
19602         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19603         (plus_zero): Remove variable.
19604         (minus_zero): Likewise.
19605         (plus_infty): Likewise.
19606         (minus_infty): Likewise.
19607         (qnan_value): Likewise.
19608         (max_value): Likewise.
19609         (min_value): Likewise.
19610         (min_subnorm_value): Likewise.
19611
19612 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19613
19614         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19615         uint64_t or uint32_t usage.
19616         * crypt/sha256-block.c: Likewise.
19617         * crypt/sha256-crypt.c: Likewise.
19618         * crypt/sha256.c: Likewise.
19619         * crypt/sha512-block.c: Likewise.
19620         * crypt/sha512-crypt.c: Likewise.
19621         * crypt/sha512.c: Likewise.
19622         * debug/backtrace-tst.c: Likewise.
19623         * debug/pcprofiledump.c: Likewise.
19624         * elf/cache.c: Likewise.
19625         * elf/dl-cache.c: Likewise.
19626         * elf/dl-misc.c: Likewise.
19627         * elf/dl-profile.c: Likewise.
19628         * elf/dl-support.c: Likewise.
19629         * elf/ldconfig.c: Likewise.
19630         * elf/sprof.c: Likewise.
19631         * iconv/dummy-repertoire.c: Likewise.
19632         * iconv/iconv_charmap.c: Likewise.
19633         * iconv/skeleton.c: Likewise.
19634         * iconvdata/8bit-generic.c: Likewise.
19635         * iconvdata/cp737.h: Likewise.
19636         * iconvdata/cp775.h: Likewise.
19637         * iconvdata/ibm1008.h: Likewise.
19638         * iconvdata/ibm1025.h: Likewise.
19639         * iconvdata/ibm1046.h: Likewise.
19640         * iconvdata/ibm1097.h: Likewise.
19641         * iconvdata/ibm1112.h: Likewise.
19642         * iconvdata/ibm1122.h: Likewise.
19643         * iconvdata/ibm1123.h: Likewise.
19644         * iconvdata/ibm1124.h: Likewise.
19645         * iconvdata/ibm1129.h: Likewise.
19646         * iconvdata/ibm1130.h: Likewise.
19647         * iconvdata/ibm1132.h: Likewise.
19648         * iconvdata/ibm1133.h: Likewise.
19649         * iconvdata/ibm1137.h: Likewise.
19650         * iconvdata/ibm1140.h: Likewise.
19651         * iconvdata/ibm1141.h: Likewise.
19652         * iconvdata/ibm1142.h: Likewise.
19653         * iconvdata/ibm1143.h: Likewise.
19654         * iconvdata/ibm1144.h: Likewise.
19655         * iconvdata/ibm1145.h: Likewise.
19656         * iconvdata/ibm1146.h: Likewise.
19657         * iconvdata/ibm1147.h: Likewise.
19658         * iconvdata/ibm1148.h: Likewise.
19659         * iconvdata/ibm1149.h: Likewise.
19660         * iconvdata/ibm1153.h: Likewise.
19661         * iconvdata/ibm1154.h: Likewise.
19662         * iconvdata/ibm1155.h: Likewise.
19663         * iconvdata/ibm1156.h: Likewise.
19664         * iconvdata/ibm1157.h: Likewise.
19665         * iconvdata/ibm1158.h: Likewise.
19666         * iconvdata/ibm1160.h: Likewise.
19667         * iconvdata/ibm1161.h: Likewise.
19668         * iconvdata/ibm1162.h: Likewise.
19669         * iconvdata/ibm1163.h: Likewise.
19670         * iconvdata/ibm1164.h: Likewise.
19671         * iconvdata/ibm1166.h: Likewise.
19672         * iconvdata/ibm1167.h: Likewise.
19673         * iconvdata/ibm12712.h: Likewise.
19674         * iconvdata/ibm1390.h: Likewise.
19675         * iconvdata/ibm1399.h: Likewise.
19676         * iconvdata/ibm16804.h: Likewise.
19677         * iconvdata/ibm4517.h: Likewise.
19678         * iconvdata/ibm4899.h: Likewise.
19679         * iconvdata/ibm4909.h: Likewise.
19680         * iconvdata/ibm4971.h: Likewise.
19681         * iconvdata/ibm5347.h: Likewise.
19682         * iconvdata/ibm803.h: Likewise.
19683         * iconvdata/ibm856.h: Likewise.
19684         * iconvdata/ibm901.h: Likewise.
19685         * iconvdata/ibm902.h: Likewise.
19686         * iconvdata/ibm9030.h: Likewise.
19687         * iconvdata/ibm9066.h: Likewise.
19688         * iconvdata/ibm921.h: Likewise.
19689         * iconvdata/ibm922.h: Likewise.
19690         * iconvdata/ibm9448.h: Likewise.
19691         * iconvdata/isiri-3342.h: Likewise.
19692         * iconvdata/jis0201.h: Likewise.
19693         * include/link.h: Likewise.
19694         * include/netdb.h: Likewise.
19695         * inet/check_native.c: Likewise.
19696         * inet/check_pf.c: Likewise.
19697         * inet/getipv4sourcefilter.c: Likewise.
19698         * inet/getnameinfo.c: Likewise.
19699         * inet/getsourcefilter.c: Likewise.
19700         * inet/htonl.c: Likewise.
19701         * inet/setipv4sourcefilter.c: Likewise.
19702         * inet/setsourcefilter.c: Likewise.
19703         * inet/test-inet6_opt.c: Likewise.
19704         * inet/tst-network.c: Likewise.
19705         * locale/C-collate.c: Likewise.
19706         * locale/C-ctype.c: Likewise.
19707         * locale/C-time.c: Likewise.
19708         * locale/C-translit.h: Likewise.
19709         * locale/loadarchive.c: Likewise.
19710         * locale/programs/3level.h: Likewise.
19711         * locale/programs/charmap.c: Likewise.
19712         * locale/programs/charmap.h: Likewise.
19713         * locale/programs/ld-address.c: Likewise.
19714         * locale/programs/ld-collate.c: Likewise.
19715         * locale/programs/ld-ctype.c: Likewise.
19716         * locale/programs/ld-identification.c: Likewise.
19717         * locale/programs/ld-measurement.c: Likewise.
19718         * locale/programs/ld-messages.c: Likewise.
19719         * locale/programs/ld-monetary.c: Likewise.
19720         * locale/programs/ld-name.c: Likewise.
19721         * locale/programs/ld-numeric.c: Likewise.
19722         * locale/programs/ld-paper.c: Likewise.
19723         * locale/programs/ld-telephone.c: Likewise.
19724         * locale/programs/ld-time.c: Likewise.
19725         * locale/programs/linereader.c: Likewise.
19726         * locale/programs/locale.c: Likewise.
19727         * locale/programs/locarchive.c: Likewise.
19728         * locale/programs/locfile.h: Likewise.
19729         * locale/programs/repertoire.c: Likewise.
19730         * locale/programs/simple-hash.c: Likewise.
19731         * locale/programs/simple-hash.h: Likewise.
19732         * malloc/memusage.c: Likewise.
19733         * malloc/memusagestat.c: Likewise.
19734         * nis/nis_defaults.c: Likewise.
19735         * nis/nis_hash.c: Likewise.
19736         * nis/nis_print.c: Likewise.
19737         * nis/nis_xdr.c: Likewise.
19738         * nscd/connections.c: Likewise.
19739         * nscd/hstcache.c: Likewise.
19740         * nscd/nscd_gethst_r.c: Likewise.
19741         * nscd/nscd_getserv_r.c: Likewise.
19742         * nscd/nscd_helper.c: Likewise.
19743         * nscd/servicescache.c: Likewise.
19744         * nss/makedb.c: Likewise.
19745         * nss/nss_db/db-XXX.c: Likewise.
19746         * nss/nss_db/db-initgroups.c: Likewise.
19747         * nss/nss_db/db-netgrp.c: Likewise.
19748         * nss/nss_files/files-network.c: Likewise.
19749         * nss/nss_files/files-parse.c: Likewise.
19750         * posix/bug-regex5.c: Likewise.
19751         * posix/fnmatch_loop.c: Likewise.
19752         * posix/regcomp.c: Likewise.
19753         * posix/regexec.c: Likewise.
19754         * posix/tst-rfc3484-2.c: Likewise.
19755         * posix/tst-rfc3484-3.c: Likewise.
19756         * posix/tst-rfc3484.c: Likewise.
19757         * resolv/nss_dns/dns-canon.c: Likewise.
19758         * resolv/nss_dns/dns-network.c: Likewise.
19759         * resolv/res_init.c: Likewise.
19760         * resolv/res_mkquery.c: Likewise.
19761         * resolv/tst-aton.c: Likewise.
19762         * stdlib/cxa_atexit.c: Likewise.
19763         * stdlib/cxa_finalize.c: Likewise.
19764         * stdlib/gen-fpioconst.c: Likewise.
19765         * stdlib/strtol_l.c: Likewise.
19766         * string/tst-endian.c: Likewise.
19767         * sunrpc/auth_des.c: Likewise.
19768         * sunrpc/clnt_udp.c: Likewise.
19769         * sunrpc/rtime.c: Likewise.
19770         * sunrpc/svcauth_des.c: Likewise.
19771         * sunrpc/xdr.c: Likewise.
19772         * sunrpc/xdr_intXX_t.c: Likewise.
19773         * sunrpc/xdr_rec.c: Likewise.
19774         * sysdeps/generic/ldconfig.h: Likewise.
19775         * sysdeps/generic/ldsodefs.h: Likewise.
19776         * sysdeps/generic/memusage.h: Likewise.
19777         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19778         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19779         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19780         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19781         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19782         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19783         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19784         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19785         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19786         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19787         * sysdeps/posix/getaddrinfo.c: Likewise.
19788         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19789         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19790         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19791         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19792         * sysdeps/powerpc/test-gettimebase.c: Likewise.
19793         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19794         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19795         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19796         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19797         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19798         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19799         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19800         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19801         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19802         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19803         * sysdeps/x86_64/dl-tls.h: Likewise.
19804         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19805         * time/alt_digit.c: Likewise.
19806         * time/era.c: Likewise.
19807         * wcsmbs/tst-c16c32-1.c: Likewise.
19808
19809 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19810
19811         * math/libm-test.inc (struct test_sincos_data): New type.
19812         (RUN_TEST_LOOP_sincos): New macro.
19813         (sincos_test_data): New variable.
19814         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19815
19816 2013-05-16  Richard Henderson  <rth@redhat.com>
19817
19818         * math/atest-exp2.c (LIMB64): New macro.
19819         (CONSTSZ): New macro.
19820         (mp_exp1, mp_exp_m1, mp_log2): New variables.
19821         (hexdig): Move ...
19822         (print_mpn_fp): ... to function scope.
19823         (read_mpn_hex): Remove.
19824         (get_log2): Remove.
19825         (exp2_mpn): Use mp_log2.
19826         (main): Use mp_exp1.
19827
19828 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19829
19830         * math/libm-test.inc: Remove comment about not testing "inexact"
19831         exceptions.
19832         (INEXACT_EXCEPTION): New macro.
19833         (NO_INEXACT_EXCEPTION): Likewise.
19834         (INVALID_EXCEPTION_OK): Update value.
19835         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19836         (OVERFLOW_EXCEPTION_OK): Likewise.
19837         (UNDERFLOW_EXCEPTION_OK): Likewise.
19838         (IGNORE_ZERO_INF_SIGN): Likewise.
19839         (ERRNO_UNCHANGED): Likewise.
19840         (ERRNO_EDOM): Likewise.
19841         (ERRNO_ERANGE): Likewise.
19842         (test_exceptions): Handle testing "inexact" exceptions.
19843         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19844         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19845         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19846         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19847         INEXACT_EXCEPTION.
19848         (rint_towardzero_test_data): Likewise.
19849         (rint_downward_test_data): Likewise.
19850         (rint_upward_test_data): Likewise.
19851
19852         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19853         with OVERFLOW_EXCEPTION.
19854         (exp10_test_data): Likewise.
19855         (exp2_test_data): Likewise.
19856         (expm1_test_data): Likewise.
19857         (lgamma_test_data): Likewise.
19858         (pow_test_data): Likewise.
19859         (tgamma_test_data): Likewise.
19860         (yn_test_data): Remove duplicate test of overflow.
19861
19862         * math/libm-test.inc (struct test_cc_c_data): New type.
19863         (RUN_TEST_LOOP_cc_c): New macro.
19864         (cpow_test_data): New variable.
19865         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19866
19867         * math/libm-test.inc (struct test_f_L_data): New type.
19868         (RUN_TEST_LOOP_f_L): New macro.
19869         (llrint_test_data): New variable.
19870         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19871         (llrint_tonearest_test_data): New variable.
19872         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19873         (llrint_towardzero_test_data): New variable.
19874         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19875         (llrint_downward_test_data): New variable.
19876         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19877         (llrint_upward_test_data): New variable.
19878         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19879         (llround_test_data): New variable.
19880         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19881
19882 2013-05-13  Peter Collingbourne  <pcc@google.com>
19883
19884         * math/atest-exp2.c (get_log2): Remove const attribute.
19885
19886 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19887
19888         * math/libm-test.inc (struct test_f_l_data): New type.
19889         (RUN_TEST_LOOP_f_l): New macro.
19890         (lrint_test_data): New variable.
19891         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19892         (lrint_tonearest_test_data): New variable.
19893         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19894         (lrint_towardzero_test_data): New variable.
19895         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19896         (lrint_downward_test_data): New variable.
19897         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19898         (lrint_upward_test_data): New variable.
19899         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19900         (lround_test_data): New variable.
19901         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19902
19903 2013-05-15  Peter Collingbourne  <pcc@google.com>
19904
19905         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19906         (EXTRACT_WORDS64) Use where appropriate.
19907         (INSERT_WORDS64) Likewise.
19908
19909         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19910         constraints with x constraints.
19911         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19912
19913         * malloc/obstack.c (_obstack_compat): Add initializer.
19914
19915 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19916
19917         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19918         si_trapno and add si_addr_lsb to _sifields.sigfault.
19919         (si_trapno): Remove macro.
19920         (si_addr_lsb): Define new macro.
19921         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19922
19923 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19924
19925         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19926         instead of TEST_f_l.
19927         (llrint_test_tonearest): Likewise.
19928         (llrint_test_towardzero): Likewise.
19929         (llrint_test_downward): Likewise.
19930         (llrint_test_upward): Likewise.
19931         (llround_test): Likewise.
19932
19933         * math/libm-test.inc (struct test_f_i_data): Add comment.
19934         (RUN_TEST_LOOP_f_b): New macro.
19935         (RUN_TEST_LOOP_f_b_tg): Likewise.
19936         (finite_test_data): New variable.
19937         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19938         (isfinite_test_data): New variable.
19939         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19940         (isinf_test_data): New variable.
19941         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19942         (isnan_test_data): New variable.
19943         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19944         (isnormal_test_data): New variable.
19945         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19946         (issignaling_test_data): New variable.
19947         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19948         (signbit_test_data): New variable.
19949         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19950
19951         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19952         with INVALID_EXCEPTION.
19953         (acosh_test_data): Likewise.
19954         (asin_test_data): Likewise.
19955         (atanh_test_data): Likewise.
19956         (fmod_test_data): Likewise.
19957         (log_test_data): Likewise.
19958         (log10_test_data): Likewise.
19959         (log2_test_data): Likewise.
19960         (pow_test_data): Likewise.
19961         (sqrt_test_data): Likewise.
19962         (y0_test_data): Likewise.
19963         (y1_test_data): Likewise.
19964         (yn_test_data): Likewise.
19965
19966         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19967         function contents.
19968
19969         * math/libm-test.inc (struct test_ff_i_data): New type.
19970         (RUN_TEST_LOOP_ff_i_tg): New macro.
19971         (isgreater_test_data): New variable.
19972         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19973         (isgreaterequal_test_data): New variable.
19974         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19975         (isless_test_data): New variable.
19976         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19977         (islessequal_test_data): New variable.
19978         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19979         (islessgreater_test_data): New variable.
19980         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19981         (isunordered_test_data): New variable.
19982         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19983
19984 2013-05-14  David S. Miller  <davem@davemloft.net>
19985
19986         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19987
19988 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
19989
19990         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19991
19992         * math/libm-test.inc (struct test_fF_f1_data): Change type of
19993         extra_test to int.
19994         (struct test_f_i_data): Change type of max_ulp to int.
19995
19996         * math/libm-test.inc (test_ffI_f1_data): New type.
19997         (RUN_TEST_LOOP_ffI_f1): New macro.
19998         (remquo_test_data): New variable.
19999         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20000
20001         * setjmp/tst-setjmp-fp.c: New file.
20002         * setjmp/Makefile (tests): Add tst-setjmp-fp.
20003         (link-libm): New variable.
20004         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20005
20006         * math/libm-test.inc (struct test_f_i_data): New type.
20007         (RUN_TEST_LOOP_f_i): New macro.
20008         (RUN_TEST_LOOP_f_i_tg): Likewise.
20009         (fpclassify_test_data): New variable.
20010         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20011         (ilogb_test_data): New variable.
20012         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20013
20014         * math/libm-test.inc (scalbln_test): Correct function name in END
20015         call.
20016
20017         * math/libm-test.inc (struct test_f_f1_data): Add comment.
20018         (RUN_TEST_LOOP_fI_f1): New macro.
20019         (frexp_test_data): New variable.
20020         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20021
20022         * math/libm-test.inc (struct test_fF_f1_data): New type.
20023         (RUN_TEST_LOOP_fF_f1): New macro.
20024         (modf_test_data): New variable.
20025         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20026
20027         * math/libm-test.inc (struct test_f_f1_data): New type.
20028         (RUN_TEST_LOOP_f_f1): New macro.
20029         (gamma_test_data): New variable.
20030         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20031         (lgamma_test_data): New variable.
20032         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20033
20034 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
20035
20036         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20037         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20038         (main): Comment "tls" pseudo-hwcap.
20039
20040 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
20041
20042         * math/libm-test.inc (struct test_fl_f_data): New type.
20043         (RUN_TEST_LOOP_fl_f): New variable.
20044         (scalbln_test_data): New variable.
20045         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20046
20047         * math/libm-test.inc (struct test_fi_f_data): New type.
20048         (RUN_TEST_LOOP_fi_f): New macro.
20049         (ldexp_test_data): New variable.
20050         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20051         (scalbn_test_data): New variable.
20052         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20053
20054         * math/libm-test.inc (struct test_c_f_data): New type.
20055         (RUN_TEST_LOOP_c_f): New macro.
20056         (cabs_test_data): New variable.
20057         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20058         (carg_test_data): New variable.
20059         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20060         (cimag_test_data): New variable.
20061         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20062         (creal_test_data): New variable.
20063         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20064
20065         * math/libm-test.inc (struct test_if_f_data): New type.
20066         (RUN_TEST_LOOP_if_f): New macro.
20067         (jn_test_data): New variable.
20068         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20069         (yn_test_data): New variable.
20070         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20071
20072         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20073
20074 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20075
20076         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20077         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20078
20079 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20080
20081         * benchtests/Makefile (CPPFLAGS-nonlib): Add
20082         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20083         (bench-deps): Add bench-timing.h.
20084         * benchtests-bench-skeleton.c: Include bench-timing.h.
20085         (main): Use TIMING_* macros instead of clock_gettime.
20086         * benchtests/bench-timing.h: New file.
20087
20088         [BZ #14582]
20089         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20090         Renamed from _LIB_VERSION.
20091         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20092
20093 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
20094
20095         * math/libm-test.inc (struct test_fff_f_data): New type.
20096         (RUN_TEST_LOOP_fff_f): New macro.
20097         (fma_test_data): New variable.
20098         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20099         (fma_towardzero_test_data): New variable.
20100         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20101         (fma_downward_test_data): New variable.
20102         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20103         (fma_upward_test_data): New variable.
20104         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20105
20106         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20107         (struct test_c_c_data): New type.
20108         (RUN_TEST_LOOP_c_c): New macro.
20109         (cacos_test_data): New variable.
20110         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20111         (cacosh_test_data): New variable.
20112         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20113         (casin_test_data): New variable.
20114         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20115         (casinh_test_data): New variable.
20116         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20117         (catan_test_data): New variable.
20118         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20119         (catanh_test_data): New variable.
20120         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20121         (ccos_test_data): New variable.
20122         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20123         (ccosh_test_data): New variable.
20124         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20125         (cexp_test_data): New variable.
20126         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20127         (clog_test_data): New variable.
20128         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20129         (clog10_test_data): New variable.
20130         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20131         (conj_test_data): New variable.
20132         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20133         (cproj_test_data): New variable.
20134         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20135         (csin_test_data): New variable.
20136         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20137         (csinh_test_data): New variable.
20138         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20139         (csqrt_test_data): New variable.
20140         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20141         (ctan_test_data): New variable.
20142         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20143         (ctan_tonearest_test_data): New variable.
20144         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20145         (ctan_towardzero_test_data): New variable.
20146         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20147         (ctan_downward_test_data): New variable.
20148         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20149         (ctan_upward_test_data): New variable.
20150         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20151         (ctanh_test_data): New variable.
20152         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20153         (ctanh_tonearest_test_data): New variable.
20154         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20155         (ctanh_towardzero_test_data): New variable.
20156         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20157         (ctanh_downward_test_data): New variable.
20158         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20159         (ctanh_upward_test_data): New variable.
20160         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20161         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20162         of BUILD_COMPLEX.
20163
20164         * math/libm-test.inc (struct test_ff_f_data): New type.
20165         (struct test_ff_f_data_nexttoward): Likewise.
20166         (RUN_TEST_LOOP_2_f): New macro.
20167         (RUN_TEST_LOOP_ff_f): Likewise.
20168         (atan2_test_data): New variable.
20169         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20170         (copysign_test_data): New variable.
20171         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20172         (fdim_test_data): New variable.
20173         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20174         (fmax_test_data): New variable.
20175         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20176         (fmin_test_data): New variable.
20177         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20178         (fmod_test_data): New variable.
20179         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20180         (hypot_test_data): New variable.
20181         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20182         (nextafter_test_data): New variable.
20183         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20184         (nexttoward_test_data): New variable.
20185         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20186         (pow_test_data): New variable.
20187         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20188         (pow_tonearest_test_data): New variable.
20189         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20190         (pow_towardzero_test_data): New variable.
20191         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20192         (pow_downward_test_data): New variable.
20193         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20194         (pow_upward_test_data): New variable.
20195         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20196         (remainder_test_data): New variable.
20197         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20198         (scalb_test_data): New variable.
20199         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20200         * sysdeps/i386/fpu/libm-test-ulps: Update.
20201
20202 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
20203
20204         * math/libm-test.inc (fma_test): Use max_value instead of local
20205         variable fltmax.
20206         (nextafter_test): Likewise.
20207
20208         * math/libm-test.inc (acos_towardzero_test_data): New variable.
20209         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20210         (acos_downward_test_data): New variable.
20211         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20212         (acos_upward_test_data): New variable.
20213         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20214         (acosh_test_data): New variable.
20215         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20216         (asin_test_data): New variable.
20217         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20218         (asin_tonearest_test_data): New variable.
20219         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20220         (asin_towardzero_test_data): New variable.
20221         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20222         (asin_downward_test_data): New variable.
20223         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20224         (asin_upward_test_data): New variable.
20225         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20226         (asinh_test_data): New variable.
20227         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20228         (atan_test_data): New variable.
20229         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20230         (atanh_test_data): New variable.
20231         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20232         (cbrt_test_data): New variable.
20233         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20234         (ceil_test_data): New variable.
20235         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20236         (cos_test_data): New variable.
20237         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20238         (cos_tonearest_test_data): New variable.
20239         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20240         (cos_towardzero_test_data): New variable.
20241         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20242         (cos_downward_test_data): New variable.
20243         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20244         (cos_upward_test_data): New variable.
20245         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20246         (cosh_test_data): New variable.
20247         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20248         (cosh_tonearest_test_data): New variable.
20249         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20250         (cosh_towardzero_test_data): New variable.
20251         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20252         (cosh_downward_test_data): New variable.
20253         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20254         (cosh_upward_test_data): New variable.
20255         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20256         (erf_test_data): New variable.
20257         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20258         (erfc_test_data): New variable.
20259         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20260         (exp_test_data): New variable.
20261         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20262         (exp_tonearest_test_data): New variable.
20263         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20264         (exp_towardzero_test_data): New variable.
20265         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20266         (exp_downward_test_data): New variable.
20267         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20268         (exp_upward_test_data): New variable.
20269         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20270         (exp10_test_data): New variable.
20271         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20272         (exp2_test_data): New variable.
20273         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20274         (expm1_test_data): New variable.
20275         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20276         (fabs_test_data): New variable.
20277         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20278         (floor_test_data): New variable.
20279         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20280         (j0_test_data): New variable.
20281         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20282         (j1_test_data): New variable.
20283         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20284         (log_test_data): New variable.
20285         (log_test): Run tests with RUN_TEST_LOOP_f_f.
20286         (log10_test_data): New variable.
20287         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20288         (log1p_test_data): New variable.
20289         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20290         (log2_test_data): New variable.
20291         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20292         (logb_test_data): New variable.
20293         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20294         (logb_downward_test_data): New variable.
20295         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20296         (nearbyint_test_data): New variable.
20297         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20298         (rint_test_data): New variable.
20299         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20300         (rint_tonearest_test_data): New variable.
20301         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20302         (rint_towardzero_test_data): New variable.
20303         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20304         (rint_downward_test_data): New variable.
20305         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20306         (rint_upward_test_data): New variable.
20307         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20308         (round_test_data): New variable.
20309         (round_test): Run tests with RUN_TEST_LOOP_f_f.
20310         (sin_test_data): New variable.
20311         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20312         (sin_tonearest_test_data): New variable.
20313         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20314         (sin_towardzero_test_data): New variable.
20315         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20316         (sin_downward_test_data): New variable.
20317         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20318         (sin_upward_test_data): New variable.
20319         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20320         (sinh_test_data): New variable.
20321         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20322         (sinh_tonearest_test_data): New variable.
20323         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20324         (sinh_towardzero_test_data): New variable.
20325         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20326         (sinh_downward_test_data): New variable.
20327         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20328         (sinh_upward_test_data): New variable.
20329         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20330         (sqrt_test_data): New variable.
20331         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20332         (tan_test_data): New variable.
20333         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20334         (tan_tonearest_test_data): New variable.
20335         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20336         (tan_towardzero_test_data): New variable.
20337         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20338         (tan_downward_test_data): New variable.
20339         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20340         (tan_upward_test_data): New variable.
20341         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20342         (tanh_test_data): New variable.
20343         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20344         (tgamma_test_data): New variable.
20345         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20346         (trunc_test_data): New variable.
20347         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20348         (y0_test_data): New variable.
20349         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20350         (y1_test_data): New variable.
20351         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20352         (significand_test_data): New variable.
20353         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20354
20355 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
20356
20357         [BZ #12387]
20358         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20359
20360 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20361
20362         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20363
20364 2013-05-10  Andreas Jaeger  <aj@suse.de>
20365
20366         [BZ #15448]
20367         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20368         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20369
20370 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
20371
20372         * math/gen-libm-test.pl (adjust_arg): New function.
20373         (special_functions): Handle generating output in both functions
20374         and arrays.
20375         (parse_args): Likewise.
20376         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
20377         $in_func argument to parse_args.
20378         * math/libm-test.inc (struct test_f_f_data): New type.
20379         (IF_ROUND_INIT_): New macro.
20380         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20381         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20382         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20383         (IF_ROUND_INIT_FE_UPWARD): Likewise.
20384         (ROUND_RESTORE_): Likewise.
20385         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20386         (ROUND_RESTORE_FE_TONEAREST): Likewise.
20387         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20388         (ROUND_RESTORE_FE_UPWARD): Likewise.
20389         (RUN_TEST_LOOP_f_f): New macro.
20390         (acos_test_data): New variable.
20391         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20392         (acos_tonearest_test_data): New variable.
20393         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20394
20395 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20396
20397         * benchtests/bench-skeleton.c (startup): Fix coding style.
20398
20399 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
20400
20401         [BZ #6809]
20402         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20403         negative infinity argument.
20404         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20405         negative infinity argument.
20406         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20407         negative infinity argument.
20408         * math/libm-test.inc (tgamma_test): Expect errno to be set for
20409         domain errors.
20410
20411 2013-05-10  Florian Weimer  <fweimer@redhat.com>
20412
20413         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20414         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20415         * iconv/iconv_prog.c (main): Likewise.
20416         * locale/programs/charmap-dir.c (charmap_readdir)
20417         (fopen_uncompressed): Likewise.
20418         * locale/programs/locfile.c (siblings_uncached)
20419         (write_locale_data): Use lstat64 instead of lstat.
20420         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20421         stat.
20422
20423 2013-05-10  Andreas Jaeger  <aj@suse.de>
20424
20425         [BZ #15395]
20426         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20427         localization.
20428         Include <locale.h>.
20429
20430 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
20431
20432         * elf/dl-close.c (_dl_close_worker): Add comments.
20433
20434 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
20435
20436         [BZ #15359]
20437         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20438         high part of pi/2.
20439         (__ieee754_rem_pio2l): Update comments.
20440
20441         [BZ #15429]
20442         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20443         high part of pi/2.
20444         (__ieee754_rem_pio2l): Update comments.
20445
20446         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20447         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20448
20449         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20450         M_PI_4l.
20451
20452         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20453         (M_PI_34_LOG10El): Likewise.
20454         (M_PI2_LOG10El): Likewise.
20455         (M_PI4_LOG10El): Likewise.
20456         (M_PI_LOG10El): Likewise.
20457
20458 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20459
20460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20461
20462 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
20463
20464         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20465         (MINUS_ZERO_INIT): Likewise.
20466         (PLUS_INFTY_INIT): Likewise.
20467         (MINUS_INFTY_INIT): Likewise.
20468         (QNAN_VALUE_INIT): Likewise.
20469         (MAX_VALUE_INIT): Likewise.
20470         (MIN_VALUE_INIT): Likewise.
20471         (MIN_SUBNORM_VALUE_INIT): Likewise.
20472         (plus_zero): Initialize with PLUS_ZERO_INIT.
20473         (minus_zero): Initialize with MINUS_ZERO_INIT.
20474         (plus_infty): Initialize with PLUS_INFTY_INIT.
20475         (minus_infty): Initialize with MINUS_INFTY_INIT.
20476         (qnan_value): Initialize with QNAN_VALUE_INIT.
20477         (max_value): Initialize with MAX_VALUE_INIT.
20478         (min_value): Initialize with MIN_VALUE_INIT.
20479         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20480
20481         * math/libm-test.inc (RUN_TEST_if_f): New macro.
20482         (jn_test): Use TEST_if_f instead of TEST_ff_f.
20483         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20484         (yn_test): Use TEST_if_f instead of TEST_ff_f.
20485
20486         * math/libm-test.inc (RUN_TEST_f_f): New macro.
20487         (RUN_TEST_2_f): Likewise.
20488         (RUN_TEST_ff_f): Likewise.
20489         (RUN_TEST_fi_f): Likewise.
20490         (RUN_TEST_fl_f): Likewise.
20491         (RUN_TEST_fff_f): Likewise.
20492         (RUN_TEST_c_f): Likewise.
20493         (RUN_TEST_f_f1): Likewise.
20494         (RUN_TEST_fF_f1): Likewise.
20495         (RUN_TEST_fI_f1): Likewise.
20496         (RUN_TEST_ffI_f1): Likewise.
20497         (RUN_TEST_c_c): Likewise.
20498         (RUN_TEST_cc_c): Likewise.
20499         (RUN_TEST_f_i): Likewise.
20500         (RUN_TEST_f_i_tg): Likewise.
20501         (RUN_TEST_ff_i_tg): Likewise.
20502         (RUN_TEST_f_b): Likewise.
20503         (RUN_TEST_f_b_tg): Likewise.
20504         (RUN_TEST_f_l): Likewise.
20505         (RUN_TEST_f_L): Likewise.
20506         (RUN_TEST_sincos): Likewise.
20507         * math/gen-libm-test.pl (new_test): Take new argument to indicate
20508         whether to show exceptions.  Do not include ");\n" in return
20509         value.
20510         (special_functions): Output call to RUN_TEST_sincos instead of
20511         check_float calls.  Update calls to new_test.
20512         (parse_args): Output call to single RUN_TEST_* macro instead of
20513         check_* calls and other assignments.  Update calls to new_test.
20514
20515         [BZ #2546]
20516         [BZ #2560]
20517         [BZ #5159]
20518         [BZ #15426]
20519         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20520         input to result for tgamma overflow.
20521         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20522         (gamma_coeff): New variable.
20523         (NCOEFF): New macro.
20524         (gamma_positive): New function.
20525         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20526         underflow here.  Use gamma_positive instead of exp (lgamma) for
20527         other arguments.
20528         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20529         (gamma_coeff): New variable.
20530         (NCOEFF): New macro.
20531         (gammaf_positive): New function.
20532         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20533         underflow here.  Use gamma_positive instead of exp (lgamma) for
20534         other arguments.
20535         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20536         (gamma_coeff): New variable.
20537         (NCOEFF): New macro.
20538         (gammal_positive): New function.
20539         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20540         underflow here.  Use gamma_positive instead of exp (lgamma) for
20541         other arguments.
20542         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20543         (gamma_coeff): New variable.
20544         (NCOEFF): New macro.
20545         (gammal_positive): New function.
20546         (__ieee754_gammal_r): Handle positive infinity, overflow and
20547         underflow here.  Handle NaN the same as positive infinity.  Remove
20548         check x < 0xffffffff for negative integers.  Use gamma_positive
20549         instead of exp (lgamma) for other arguments.
20550         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20551         (gamma_coeff): New variable.
20552         (NCOEFF): New macro.
20553         (gammal_positive): New function.
20554         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20555         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20556         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20557         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20558         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20559         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20560         * sysdeps/generic/math_private.h (__gamma_productf): New
20561         prototype.
20562         (__gamma_product): Likewise.
20563         (__gamma_productl): Likewise.
20564         * math/Makefile (libm-calls): Add gamma_product.
20565         * math/libm-test.inc (tgamma_test): Add more tests.
20566         * sysdeps/i386/fpu/libm-test-ulps: Update.
20567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20568
20569 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
20570
20571         * benchtests/bench-skeleton.c (main): Preheat CPU.
20572
20573 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
20574
20575         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20576
20577 2013-05-07  Roland McGrath  <roland@hack.frob.com>
20578
20579         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20580         and _dl_skip_args_internal.
20581
20582 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
20583
20584         * manual/message.texi (Message Translation): Talk about users.
20585         Message to key mapping impacts design.
20586
20587 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20588
20589         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20590
20591         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20592
20593         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20594         * sysdeps/wordsize-64/glob64.c: ... here.
20595
20596         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20597         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20598         New macros.
20599
20600         * debug/getlogin_r_chk.c: Moved to ...
20601         * login/getlogin_r_chk.c: ... here.
20602         * debug/Makefile (routines): Move getlogin_r_chk to ...
20603         * login/Makefile (routines): ... here.
20604         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20605         * login/Versions (libc: GLIBC_2.4): ... here.
20606
20607         * io/poll.c (__poll): Renamed from poll.
20608         Add libc_hidden_def.
20609         (poll): Define as weak alias.
20610
20611         * debug/ptsname_r_chk.c: Moved to ...
20612         * login/ptsname_r_chk.c: ... here.
20613         * debug/Makefile (routines): Move ptsname_r_chk to ...
20614         * login/Makefile (routines): ... here.
20615         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20616         * login/Versions (libc: GLIBC_2.4): ... here.
20617
20618         * posix/getlogin.c: Moved to ...
20619         * login/getlogin.c: ... here.
20620         * posix/getlogin_r.c: Moved to ...
20621         * login/getlogin_r.c: ... here.
20622         * posix/getlogin_r.c: Moved to ...
20623         * login/getlogin_r.c: ... here.
20624         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20625         * login/Makefile (routines): ... here.
20626         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20627         * login/Versions (libc: GLIBC_2.0): ... here.
20628
20629         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20630         (setrlimit): Define as weak alias.
20631
20632         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20633         Call __ names for open, ftruncate, and close.
20634         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20635         (truncate): Define as weak alias.
20636
20637 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
20638
20639         * math/gen-libm-test.pl (parse_args): Initialize x before each
20640         test of frexp, modf and remquo.
20641
20642         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20643         test signgam value.
20644
20645 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20646
20647         [BZ #15418]
20648         [BZ #15419]
20649         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20650         internal tests.
20651         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20652
20653 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20654
20655         * elf/dl-writev.h: New file.
20656         * elf/dl-misc.c: Include it.
20657         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20658         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20659
20660 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
20661
20662         * math/libm-test.inc (noXFails): Remove variable.
20663         (noXPasses): Likewise.
20664         (BUILD_COMPLEX_INT): Remove macro.
20665         (print_screen): Remove xfail argument.
20666         (print_screen_max_error): Likewise.
20667         (update_stats): Likewise.
20668         (print_max_error): Likewise.  Update calls to other affected
20669         functions.
20670         (print_complex_max_error): Likewise.
20671         (test_single_exception): Update calls to print_screen.
20672         (test_single_errno): Likewise.
20673         (check_float_internal): Remove xfail argument.  Update calls to
20674         other affected functions.
20675         (check_float): Likewise.
20676         (check_complex): Likewise.
20677         (check_int): Likewise.
20678         (check_long): Likewise.
20679         (check_bool): Likewise.
20680         (check_longlong): Likewise.
20681         (main): Don't print noXFails and noXPasses.
20682         * math/gen-libm-test.pl (top level): Don't mention expected
20683         failure handling in comment.
20684         (new_test): Don't handle expected failures.
20685         (parse_args): Don't mention expected failure handling in comment.
20686         (generate_testfile): Don't handle expected failures.
20687         (parse_ulps): Likewise.
20688         (print_ulps_file): Likewise.
20689         (get_failure): Remove function.
20690         (output_test): Don't handle expected failures.
20691         * make/README.libm-test: Don't mention expected failure handling.
20692
20693         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
20694         (minus_zero): Likewise.
20695         (plus_infty): Likewise.
20696         (minus_infty): Likewise.
20697         (qnan_value): Likewise.
20698         (max_value): Likewise.
20699         (min_value): Likewise.
20700         (min_subnorm_value): Likewise.
20701         (initialize): Do not initialize those variables dynamically.
20702
20703 2013-05-03  Roland McGrath  <roland@hack.frob.com>
20704
20705         * io/open.c (__open_2): Moved to ...
20706         * io/open_2.c: ... this new file.
20707         * io/open64.c (__open64_2): Moved to ...
20708         * io/open64_2.c: ... this new file.
20709         * io/openat.c (__openat_2): Moved to ...
20710         * io/openat_2.c: ... this new file.
20711         * io/openat64.c (__openat64_2): Moved to ...
20712         * io/openat64_2.c: ... this new file.
20713         * io/Makefile (routines): Add them.
20714         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20715         * sysdeps/unix/sysv/linux/open_2.c: File removed.
20716         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20717         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20718         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20719         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20720         (__openat64): Add hidden_ver.
20721         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20722         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20723
20724         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20725         Separately conditionalize setting of GLRO(dl_sysinfo) so
20726         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20727         as well, but the actual setting is only under [NEED_DL_SYSINFO].
20728
20729 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20730
20731         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20732         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20733         definition.
20734         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20735         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20736         (_libc_vdso_platform_setup): Add __vdso_time initialization.
20737         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20738         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20739
20740 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
20741
20742         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20743         test signgam value.
20744
20745         * math/libm-test.inc (hypot_test): Do not use
20746         IGNORE_ZERO_INF_SIGN.
20747
20748 2013-05-03  Andreas Jaeger  <aj@suse.de>
20749
20750         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20751         Linux 3.9.
20752         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20753         (PF_MAX): Adjust for VSOCK change.
20754
20755 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20756
20757         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20758
20759 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
20760
20761         [BZ #15264]
20762         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20763         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20764         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20765
20766 2013-05-02  David S. Miller  <davem@davemloft.net>
20767
20768         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20769
20770 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
20771
20772         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20773
20774 2013-05-01  Roland McGrath  <roland@hack.frob.com>
20775
20776         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20777
20778 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
20779
20780         [BZ #14952]
20781         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20782         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20783         Use __attribute__ ((__gnu_inline__)).
20784         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20785         Don't use __attribute__ ((__gnu_inline__)).
20786
20787 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
20788
20789         [BZ #15423]
20790         * math/s_catan.c (__catan): Handle small real or imaginary part of
20791         input specially to avoid spurious underflow.
20792         * math/s_catanf.c (__catanf): Likewise.
20793         * math/s_catanh.c (__catanh): Likewise.
20794         * math/s_catanhf.c (__catanhf): Likewise.
20795         * math/s_catanhl.c (__catanhl): Likewise.
20796         * math/s_catanl.c (__catanl): Likewise.
20797         * math/libm-test.inc (catan_test): Add more tests.
20798         (catanh_test): Likewise.
20799         * sysdeps/i386/fpu/libm-test-ulps: Update.
20800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20801
20802 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20803
20804         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20805
20806 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
20807
20808         [BZ #15416]
20809         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20810         accurately for denominator in atan2.
20811         * math/s_catanf.c (__catanf): Likewise.
20812         * math/s_catanh.c (__catanh): Likewise.
20813         * math/s_catanhf.c (__catanhf): Likewise.
20814         * math/s_catanhl.c (__catanhl): Likewise.
20815         * math/s_catanl.c (__catanl): Likewise.
20816         * math/libm-test.inc (catan_test): Add more tests.
20817         (catanh_test): Likewise.
20818         * sysdeps/i386/fpu/libm-test-ulps: Update.
20819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20820
20821 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20822
20823         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20824
20825         * benchtests/Makefile (bench): Remove slow benchmarks.
20826         * benchtests/atan-inputs: Add slow benchmark inputs.
20827         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20828         (BENCH_FUNC): Accept variant offset.
20829         (VARIANT): Define.
20830         * benchtests/bench-skeleton.c (main): Run benchmark for each
20831         variant.
20832         * benchtests/cos-inputs: Add slow benchmark inputs.
20833         * benchtests/exp-inputs: Likewise.
20834         * benchtests/pow-inputs: Likewise.
20835         * benchtests/sin-inputs: Likewise.
20836         * benchtests/slowatan-inputs: Remove.
20837         * benchtests/slowatan.c: Remove.
20838         * benchtests/slowcos-inputs: Remove.
20839         * benchtests/slowcos.c: Remove.
20840         * benchtests/slowexp-inputs: Remove.
20841         * benchtests/slowexp.c: Remove.
20842         * benchtests/slowpow-inputs: Remove.
20843         * benchtests/slowpow.c: Remove.
20844         * benchtests/slowsin-inputs: Remove.
20845         * benchtests/slowsin.c: Remove.
20846         * benchtests/slowtan-inputs: Remove.
20847         * benchtests/slowtan.c: Remove.
20848         * benchtests/tan-inputs: Add slow benchmark inputs.
20849         * scripts/bench.pl: Parse comments and directives.
20850
20851         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
20852         in CPPFLAGS.
20853         ($(objpfx)bench-%.c): Remove *-ITER.
20854         * benchtests/bench-modf.c: Remove definition of ITER.
20855         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20856         (main): Loop for DURATION seconds instead of fixed number of
20857         iterations.
20858         * scripts/bench.pl: Don't expect iterations in parameters.
20859
20860 2013-04-29  Roland McGrath  <roland@hack.frob.com>
20861
20862         * io/fchdir.c (__fchdir): Renamed from fchdir.
20863         (fchdir): Define as weak alias.
20864
20865 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20866
20867         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20868         (ERRNO_EDOM): Likewise.
20869         (ERRNO_ERANGE): Likewise.
20870         (noErrnoTests): New variable.
20871         (init_max_error): Set errno to 0.
20872         (test_single_errno): New function.
20873         (test_errno): Likewise.
20874         (check_float_internal): Call test_errno.  Set errno to 0.
20875         (check_complex): Refer to errno tests in comment.
20876         (check_int): Call test_errno.  Set errno to 0.
20877         (check_long): Likewise.
20878         (check_bool): Likewise.
20879         (check_longlong): Likewise.
20880         (cos_test): Use ERRNO_* flags for errno tests instead of
20881         check_int.
20882         (expm1_test): Likewise.
20883         (fmod_test): Likewise.
20884         (ilogb_test): Likewise.
20885         (lgamma_test): Likewise.
20886         (pow_test): Likewise.
20887         (remainder_test): Likewise.
20888         (sin_test): Likewise.
20889         (tan_test): Likewise.
20890         (yn_test): Likewise.
20891         (initialize): Set errno to 0.
20892         (main): Print number of errno tests.
20893         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20894
20895 2013-04-29  Andreas Jaeger  <aj@suse.de>
20896
20897         [BZ #15084]
20898         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20899         and RES_USEVC.
20900
20901         [BZ #15085]
20902         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20903         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20904         unimplemented.
20905
20906         [BZ #15380]
20907         * stdlib/random.c (__initstate): Return NULL if
20908         __initstate fails.
20909
20910         [BZ #15086]
20911         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20912         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20913         RES_SNGLKUPREOP.
20914
20915 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20916
20917         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20918
20919 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20920
20921         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20922         of individual tests.
20923         (casin_test): Likewise.
20924         (casinh_test): Likewise.
20925
20926 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
20927
20928         [BZ #15409]
20929         * math/s_catan.c (__catan): Handle arguments with large real or
20930         imaginary part separately without squaring.
20931         * math/s_catanf.c (__catanf): Likewise.
20932         * math/s_catanh.c (__catanh): Likewise.
20933         * math/s_catanhf.c (__catanhf): Likewise.
20934         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20935         and redefine.
20936         (__catanhl): Handle arguments with large real or imaginary part
20937         separately without squaring.
20938         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20939         and redefine.
20940         (__catanl): Handle arguments with large real or imaginary part
20941         separately without squaring.
20942         * math/libm-test.inc (catan_test): Add more tests.
20943         (catanh_test): Likewise.
20944         * sysdeps/i386/fpu/libm-test-ulps: Update.
20945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20946
20947 2013-04-27  Andreas Jaeger  <aj@suse.de>
20948
20949         [BZ #15007]
20950         * stdlib/stdlib.h: Update guards for qecvt.
20951         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20952         <stdlib.h>.
20953
20954 2013-04-27  Allan McRae  <allan@archlinux.org>
20955
20956         * sysdeps/i386/fpu/libm-test-ulps: Update.
20957
20958 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
20959
20960         [BZ #15406]
20961         * math/s_catan.c: Include <float.h>.
20962         (__catan): Ensure underflow exception occurs for underflowed
20963         result.
20964         * math/s_catanf.c: Include <float.h>.
20965         (__catanf): Ensure underflow exception occurs for underflowed
20966         result.
20967         * math/s_catanh.c: Include <float.h>.
20968         (__catanh): Ensure underflow exception occurs for underflowed
20969         result.
20970         * math/s_catanhf.c: Include <float.h>.
20971         (__catanhf): Ensure underflow exception occurs for underflowed
20972         result.
20973         * math/s_catanhl.c: Include <float.h>.
20974         (__catanhl): Ensure underflow exception occurs for underflowed
20975         result.
20976         * math/s_catanl.c: Include <float.h>.
20977         (__catanl): Ensure underflow exception occurs for underflowed
20978         result.
20979         * math/libm-test.inc (catan_test): Add more tests.
20980         (catanh_test): Likewise.
20981
20982         [BZ #15405]
20983         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20984         underflowed result.
20985         * math/s_ccoshf.c (__ccoshf): Likewise.
20986         * math/s_ccoshl.c (__ccoshl): Likewise.
20987         * math/s_csin.c (__csin): Likewise.
20988         * math/s_csinf.c (__csinf): Likewise.
20989         * math/s_csinh.c (__csinh): Likewise.
20990         * math/s_csinhf.c (__csinhf): Likewise.
20991         * math/s_csinhl.c (__csinhl): Likewise.
20992         * math/s_csinl.c (__csinl): Likewise.
20993         * math/libm-test.inc (ccos_test): Add more tests.
20994         (ccosh_test): Likewise.
20995         (csin_test): Likewise.
20996         (csinh_test): Likewise.
20997
20998 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20999
21000         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21001         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21002         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21003         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21004         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21005         powerpc/power5+/fpu folders.
21006         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21007
21008
21009 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
21010
21011         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21012
21013 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
21014
21015         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21016         additions to variable.
21017         [$(config-machine) = x86_64] (modules-names): Likewise.
21018         ($(objpfx)tst-audit3): Remove dependency.
21019         ($(objpfx)tst-audit3.out): Likewise.
21020         ($(objpfx)tst-audit4): Likewise.
21021         ($(objpfx)tst-audit4.out): Likewise.
21022         ($(objpfx)tst-audit5): Likewise.
21023         ($(objpfx)tst-audit5.out): Likewise.
21024         ($(objpfx)tst-audit6): Likewise.
21025         ($(objpfx)tst-audit6.out): Likewise.
21026         ($(objpfx)tst-audit7): Likewise.
21027         ($(objpfx)tst-audit7.out): Likewise.
21028         (tst-audit3-ENV): Remove variable.
21029         (tst-audit4-ENV): Likewise.
21030         (tst-audit5-ENV): Likewise.
21031         (tst-audit6-ENV): Likewise.
21032         (tst-audit7-ENV): Likewise.
21033         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21034         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21035         addition to variable.
21036         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21037         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21038         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21039         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21040         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21041         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21042         tst-audit3, tst-audit4 and tst-audit5.
21043         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21044         tst-audit6 and tst-audit7.
21045         [$(subdir) = elf] (modules-names): Add audit modules for those
21046         tests.
21047         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21048         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21049         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21050         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21051         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21052         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21053         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21054         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21055         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21056         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21057         [$(subdir) = elf] (tst-audit3-ENV): New variable.
21058         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21059         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21060         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21061         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21062         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21063         Likewise.
21064         [$(subdir) = elf && $(config-cflags-avx) = yes]
21065         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21066         [$(subdir) = elf && $(config-cflags-avx) = yes]
21067         (CFLAGS-tst-auditmod4a.c): Likewise.
21068         [$(subdir) = elf && $(config-cflags-avx) = yes]
21069         (CFLAGS-tst-auditmod4b.c): Likewise.
21070         [$(subdir) = elf && $(config-cflags-avx) = yes]
21071         (CFLAGS-tst-auditmod6b.c): Likewise.
21072         [$(subdir) = elf && $(config-cflags-avx) = yes]
21073         (CFLAGS-tst-auditmod6c.c): Likewise.
21074         [$(subdir) = elf && $(config-cflags-avx) = yes]
21075         (CFLAGS-tst-auditmod7b.c): Likewise.
21076         * elf/tst-audit3.c: Move to ...
21077         * sysdeps/x86_64/tst-audit3.c: ... here.
21078         * elf/tst-audit4.c: Move to ...
21079         * sysdeps/x86_64/tst-audit4.c: ... here.
21080         * elf/tst-audit5.c: Move to ...
21081         * sysdeps/x86_64/tst-audit5.c: ... here.
21082         * elf/tst-audit6.c: Move to ...
21083         * sysdeps/x86_64/tst-audit6.c: ... here.
21084         * elf/tst-audit7.c: Move to ...
21085         * sysdeps/x86_64/tst-audit7.c: ... here.
21086         * elf/tst-auditmod3a.c: Move to ...
21087         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21088         * elf/tst-auditmod3b.c: Move to ...
21089         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21090         * elf/tst-auditmod4a.c: Move to ...
21091         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21092         * elf/tst-auditmod4b.c: Move to ...
21093         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21094         * elf/tst-auditmod5a.c: Move to ...
21095         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21096         * elf/tst-auditmod5b.c: Move to ...
21097         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21098         * elf/tst-auditmod6a.c: Move to ...
21099         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21100         * elf/tst-auditmod6b.c: Move to ...
21101         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21102         * elf/tst-auditmod6c.c: Move to ...
21103         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21104         * elf/tst-auditmod7a.c: Move to ...
21105         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21106         * elf/tst-auditmod7b.c: Move to ...
21107         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21108
21109 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
21110
21111         [BZ #15366]
21112         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21113         define unconditionally.
21114         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21115         define unconditionally.
21116         (INT8_C, INT16_C, etc.): Likewise.
21117
21118 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
21119
21120         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21121         __ehdr_start with hidden visibility.
21122
21123         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21124
21125 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
21126
21127         * math/libm-test.inc (cos_test): Use accurate hex constants.
21128         (sincost_test): Likewise.
21129
21130 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
21131
21132         * math/libm-test.inc (catan_test): Add more tests.
21133         (catanh_test): Likewise.
21134
21135         * math/s_catanf.c (__catanf): Use suffixed floating-point
21136         constants.
21137         * math/s_catanhf.c (__catanhf): Likewise.
21138         * math/s_catanhl.c (__catanhl): Likewise.
21139         * math/s_catanl.c (__catanl): Likewise.
21140
21141         [BZ #15394]
21142         * math/s_catan.c (__catan): Calculate imaginary part of result
21143         with log1p not log unless computing log of number close to 0.
21144         * math/s_catanf.c (__catanf): Likewise.
21145         * math/s_catanl.c (__catanl): Likewise.
21146         * math/s_catanh.c (__catanh): Calculate real part of result with
21147         log1p not log unless computing log of number close to 0.
21148         * math/s_catanhf.c (__catanhf): Likewise.
21149         * math/s_catanhl.c (__catanhl): Likewise.
21150         * math/libm-test.inc (catan_test): Add more tests.
21151         (catanh_test): Likewise.
21152         * sysdeps/i386/fpu/libm-test-ulps: Update.
21153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21154
21155 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21156
21157         * benchtests/Makefile: Mention files in which fast and slow
21158         paths of math functions are implemented.
21159
21160 2013-04-23  Roland McGrath  <roland@hack.frob.com>
21161
21162         * sysdeps/posix/timespec_get.c: New file.
21163
21164 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21165
21166         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21167         POWER.
21168         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21169         for POWER.
21170         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21171         powerpc/power5/fpu folders.
21172         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21173         * benchtests/Makefile: Add modf testcase.
21174         * benchtests/bench-modf.c: New file: Benchmark test for mo
21175
21176 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21177
21178         [BZ #14888]
21179         * time/Makefile (tests): Add tst-strptime-whitespace.
21180         * time/strptime_l.c (get_number): Use ISSPACE.
21181         (__strptime_internal): Likewise.
21182         * time/tst-strptime-whitespace.c: New test case.
21183
21184 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
21185
21186         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21187         member.
21188         (_nss_files_init): Set it here.
21189
21190 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
21191
21192         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21193         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21194         unsigned.
21195
21196 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
21197
21198         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21199
21200 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21201
21202         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21203         size just once.
21204
21205 2013-04-21  David S. Miller  <davem@davemloft.net>
21206
21207         * po/ru.po: Update Russion translation from translation project.
21208
21209 2013-04-17  Adam Conrad  <adconrad@0c3.net>
21210
21211         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21212         and setfsgid.
21213
21214 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
21215
21216         * configure.in: Remove i386 configure warning. Remove i386 case.
21217         * configure: Regenerate.
21218         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21219         Add example to error message.
21220         * sysdeps/i386/configure: Regenerate.
21221
21222 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21223
21224         * benchtests/Makefile (bench): Add cos, tan, slowcos and
21225         slowtan.
21226         * benchtests/cos-inputs: New file.
21227         * benchtests/slowcos-inputs: New file.
21228         * benchtests/slowcos.c: New file.
21229         * benchtests/slowtan-inputs: New file.
21230         * benchtests/slowtan.c: New file.
21231         * benchtests/tan-inputs: New file.
21232
21233 2013-04-16  Roland McGrath  <roland@hack.frob.com>
21234
21235         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21236         considered kosher.
21237
21238 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21239
21240         * benchtests/Makefile: Include cppflags-iterator.mk to add
21241         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21242
21243         * Makefile.in (bench-clean): New target.
21244         * benchtests/Makefile (bench-clean): Likewise.
21245
21246 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
21247
21248         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21249
21250 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
21251
21252         * stdio-common/tstdiomisc.c: Fix coding-style violation.
21253
21254 2013-04-15  Andreas Schwab  <schwab@suse.de>
21255
21256         * nscd/grpcache.c (cache_addgr): Properly check for short write.
21257         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21258         * nscd/pwdcache.c (cache_addpw): Likewise.
21259         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
21260         more than recsize.
21261
21262 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21263
21264         * benchtests/Makefile (bench): Write all output to
21265         bench-out.tmp together.
21266
21267 2013-04-15  Andreas Schwab  <schwab@suse.de>
21268
21269         * nscd/nscd.c (main): Don't fork again after closing files.
21270
21271 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21272
21273         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21274
21275         * benchtests/Rules (bench-deps): Collect dependencies into a
21276         single variable.  Add Makefile to dependencies.
21277         ($(objpfx)bench-%.c): Depend on bench-deps.
21278
21279 2013-04-12  Roland McGrath  <roland@hack.frob.com>
21280             Xavier Roche  <roche+kml2@exalead.com>
21281
21282         [BZ #15361]
21283         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21284         just that it's a file descriptor.
21285         * manual/llio.texi (Synchronizing AIO Operations): Update description
21286         for EBADF error from aio_fsync.
21287
21288 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21289
21290         * Rules (bench): Move target definition...
21291         * benchtests/Makefile: ... here.
21292
21293 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
21294
21295         * math/libm-test.inc (cos_test): Fix PI/2 test.
21296         (sincos_test): Likewise.
21297         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21298         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21299
21300 2013-04-11  Andreas Schwab  <schwab@suse.de>
21301
21302         [BZ #13988]
21303         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21304         accept exponent character only when digits were seen.
21305         * stdio-common/Makefile (tests): Add bug26.
21306         * stdio-common/bug26.c: New file.
21307
21308         [BZ #14293]
21309         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21310         non-freeable.
21311
21312 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21313
21314         * Makeconfig (rtld-prefix): Define built linker prefix.
21315         * Rules (run-bench): Use it.
21316         * math/Makefile (run-regen-ulps): Likewise.
21317
21318         * Rules (bench): Remove eval.
21319
21320 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21321             Roland McGrath  <roland@hack.frob.com>
21322             Ondrej Bilka  <neleai@seznam.cz>
21323
21324         [BZ #15346]
21325         * time/getdate.c: Include ctype.h and alloca.h.
21326         (__getdate_r): Trim leading and trailing spaces of input.
21327         * time/tst-getdate.c (tests): Add tests with leading and
21328         trailing spaces.
21329
21330 2013-04-08  Roland McGrath  <roland@hack.frob.com>
21331
21332         [BZ #14280]
21333         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21334         when computing value.
21335
21336 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21337
21338         * math/README.libm-test (How can I generate "libm-test-ulps"?):
21339         Use testrun.sh to run libm tests.
21340
21341         [BZ #15309]
21342         * elf/dl-open.c (dl_open_worker): memset all of seen array.
21343
21344 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
21345
21346         [BZ #15264]
21347         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21348
21349 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21350
21351         * Makefile.in (regen-ulps): New target.
21352         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21353         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21354         [ifneq (no,$(PERL)] (regen-ulps): New target.
21355         [ifeq (no,$(PERL)] (regen-ulps): New target.
21356         * math/libm-test.inc (ulps_file_name): Define.
21357         (output_dir): New variable.
21358         (options): Add "output-dir" option.
21359         (parse_opt): Handle 'o' case.
21360         (main): If output_dir is non-NULL use it as a prefix
21361         otherwise use "".
21362         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21363
21364 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21365
21366         [BZ #10060, #10062]
21367         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21368         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21369         fail configure if __sync_val_compare_and_swap is not inlined.
21370         * sysdeps/i386/configure: Regenerate.
21371         * configure.in: Build for i686 when configured for i386.
21372         * configure: Regenerate.
21373         * README: Remove i386 reference.
21374
21375 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21376
21377         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21378         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21379
21380 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
21381
21382         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21383         (lmsnanval): New variables.
21384         (F): Add conversion tests.
21385         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21386         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21387
21388         * stdio-common/tstdiomisc.c (F): Properly collect individual
21389         tests' results.
21390
21391         [BZ #14686, #15336]
21392         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21393         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21394         Instead, use input NaN values or generate a qNaN by arithmetic
21395         operation.  Also fix bugs to comply with the standard.
21396         * math/libm-test.inc (remainder_test): Add more tests.
21397
21398         [BZ #15335, #15342]
21399         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21400         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21401         input NaN values or generate a qNaN by arithmetic operation.
21402
21403         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21404         unreachable code.
21405
21406         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21407         definitions.
21408
21409 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
21410
21411         [BZ #14478]
21412         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21413         underflowed result.
21414         * math/s_cexpf.c (__cexpf): Likewise.
21415         * math/s_cexpl.c (__cexpl): Likewise.
21416         * math/libm-test.inc (cexp_test): Add more tests.
21417
21418 2013-04-03  Andreas Schwab  <schwab@suse.de>
21419
21420         [BZ #15330]
21421         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21422         order arrays from heap if bigger than alloca cutoff.
21423
21424 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
21425
21426         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21427         (SNAN_TESTS_double): Refer to GCC PR56831.
21428         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21429         GCC PR56828.
21430
21431 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21432
21433         * Rules (bench): Move bench.out after the run is complete.
21434
21435         * Rules (bench): Echo currently running benchmark.
21436
21437         * benchtests/Makefile (bench): Add atan and slowatan.
21438         * benchtests/atan-inputs: New file.
21439         * benchtests/slowatan-inputs: New file.
21440         * benchtests/slowatan.c: New file.
21441
21442         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21443         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21444         its value.
21445
21446         [BZ #15305]
21447         * sysdeps/unix/sysv/linux/kernel-features.h
21448         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21449         __ASSUME_XFS_RESTRICTED_CHOWN.
21450         * sysdeps/unix/sysv/linux/pathconf.c
21451         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21452         Save and restore errno.
21453
21454 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
21455
21456         [BZ #15327]
21457         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21458         arguments using __kernel_casinh.
21459         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21460         arguments using __kernel_casinhf.
21461         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21462         arguments using __kernel_casinhl.
21463         * math/libm-test.inc (cacosh_test): Add more tests.
21464         * sysdeps/i386/fpu/libm-test-ulps: Update.
21465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21466
21467 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21468
21469         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21470         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21471
21472         * bench/Makefile (bench): Add sin and slowsin.
21473         * benchtests/sin-inputs: New file.
21474         * benchtests/slowsin-inputs: New file.
21475         * benchtests/slowsin.c: New file.
21476
21477         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21478         (bench): Add slowexp and slowpow.
21479         (exp-ITER): Increase iterations.
21480         (pow-ITER): Likewise.
21481         * benchtests/exp-inputs: Change input.
21482         * benchtests/pow-inputs: Likewise.
21483         * benchtests/slowexp-inputs: New file.
21484         * benchtests/slowexp.c: New file.
21485         * benchtests/slowpow-inputs: New file.
21486         * benchtests/slowpow.c: New file.
21487
21488 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21489
21490         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21491         instructions.
21492         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21493         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21494         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21495         * benchtests/Makefile: Add rint benchtest.
21496         * benchtests/rint-inputs: Input for rint benchtest.
21497
21498 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
21499
21500         * Versions.def (libm): Add GLIBC_2.18.
21501         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21502         hidden libm prototypes.
21503         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21504         * math/Makefile (libm-calls): Add s_issignaling.
21505         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21506         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
21507         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21508         declaration.
21509         * math/math.h [__USE_GNU] (issignaling): New macro.
21510         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21511         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21512         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21513         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21514         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21515         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21516         * manual/arith.texi (issignaling): New section.
21517         * manual/libm-err-tab.pl (@all_functions): Update comment.
21518         * math/gen-libm-test.pl (parse_args): Apply special handling for
21519         issignaling.
21520         * math/libm-test.inc (print_float, issignaling_test): New
21521         functions.
21522         (check_float_internal): Add issignaling checks.
21523         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21524         default definition.
21525         * sysdeps/powerpc/math-tests.h: New file.
21526         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21527         tests.
21528         * math/test-snan.c (TEST_FUNC): Likewise.
21529
21530 2013-03-30  David S. Miller  <davem@davemloft.net>
21531
21532         * po/de.po: Update from translation team.
21533
21534 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
21535
21536         [BZ #10357]
21537         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21538         imaginary part less than 1.0 and real part less than 0.5
21539         specially.
21540         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21541         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21542         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21543         (cacos_test): Add more tests.
21544         (casin_test): Likewise.
21545         (casinh_test): Likewise.
21546         * sysdeps/i386/fpu/libm-test-ulps: Update.
21547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21548
21549 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21550
21551         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21552         ONE with its value.
21553
21554         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21555         (__pow_mp): Replace ONE and MONE with their values.
21556         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21557         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21558         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21559         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21560         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21561         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21562
21563         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21564
21565         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21566         (__pow_mp): Replace ZERO and MZERO with their values.
21567         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21568         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21569         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21570         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21571         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21572         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21573         (__sqr): Likewise.
21574
21575         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21576
21577         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21578
21579 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21580
21581         * include/stdlib.h [!SHARED] (__call_tls_dtors):
21582         Declare with __attribute__ ((weak)).
21583         * stdlib/exit.c (__libc_atexit) [!SHARED]:
21584         Call __call_tls_dtors only if it's not NULL.
21585
21586 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21587
21588         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21589         didn't do it already, then set _dl_phdr and _dl_phnum based on the
21590         magic __ehdr_start linker symbol if it's defined.
21591         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21592         them up here if it was already done.
21593
21594         * elf/dl-support.c (_dl_phdr): Make pointer to const.
21595         (_dl_aux_init): Use const in cast when setting it.
21596         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21597         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21598         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21599
21600         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21601         Declare them here.
21602         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21603         * csu/libc-tls.c: Nor here.
21604         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21605
21606         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21607         (__libc_message): Never call vsyslog.
21608
21609 2013-03-28  Alan Modra  <amodra@gmail.com>
21610
21611         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21612         Define as empty.
21613         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21614         Likewise.
21615
21616 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21617
21618         [BZ #15214]
21619         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21620         underflow.
21621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21622
21623 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21624
21625         [BZ #15304]
21626         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21627         Don't add gid passed as argument.
21628
21629         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21630
21631 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
21632
21633         [BZ #15307]
21634         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21635         imaginary part between 1.0 and 1.5 and real part less than 0.5
21636         specially.
21637         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21638         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21639         * math/libm-test.inc (cacos_test): Add more tests.
21640         (casin_test): Likewise.
21641         (casinh_test): Likewise.
21642         * sysdeps/i386/fpu/libm-test-ulps: Update.
21643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21644
21645 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21646
21647         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21648         constants.
21649         (norm): Likewise.
21650         (denorm): Likewise.
21651         (__dbl_mp): Likewise.
21652         (add_magnitudes): Likewise.
21653         (sub_magnitudes): Likewise.
21654         (__add): Likewise.
21655         (__sub): Likewise.
21656         (__mul): Likewise.
21657         (__sqr): Likewise.
21658         (__inv): Likewise.
21659         (__dvd): Likewise.
21660
21661         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21662         commented code.
21663         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21664         (__dubcos): Likewise.
21665         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21666         (__ieee754_acos): Likewise.
21667         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21668         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21669         (__exp1): Likewise.
21670         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21671         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21672         (log1): Likewise.
21673         (my_log2): Likewise.
21674         (checkint): Likewise.
21675         * sysdeps/ieee754/dbl-64/e_remainder.c
21676         (__ieee754_remainder): Likewise.
21677         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21678         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21679         (bsloww): Likewise.
21680         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21681
21682         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21683         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21684         MANTISSA_STORE_T to store computations on mantissa.  Use
21685         macros for rounding and division.
21686         (denorm): Likewise.
21687         (__dbl_mp): Likewise.
21688         (add_magnitudes): Likewise.
21689         (sub_magnitudes): Likewise.
21690         (__mul): Likewise.
21691         (__sqr): Likewise.
21692         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21693         powers of two in terms of TWOPOW macro.
21694         (mp_no): Make type of mantissa as MANTISSA_T.
21695         [!RADIXI]: Define RADIXI.
21696         [!TWO52]: Define TWO52.
21697         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21698
21699 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21700
21701         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21702         llroundl symbol when building for PPC32.
21703
21704 2013-03-24  Mark H Weaver  <mhw@netris.org>
21705
21706         * manual/arith.texi (Normalization Functions): Fix prototypes for
21707         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21708
21709 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21710
21711         [BZ #13889]
21712         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21713         high value to check if expl overflow.
21714         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21715         to check for underflow and overflow.
21716         * math/libm-test.inc: Add exp test.
21717
21718 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
21719
21720         [BZ #11120]
21721         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21722         with NOT_IN_libc.
21723
21724 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21725
21726         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21727         symbol.
21728
21729 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21730
21731         * math/gen-libm-test.pl (parse_args, special_functions): Properly
21732         wrap blocks consisting of several statements.
21733
21734         * sysdeps/generic/math-tests.h: New file.
21735         * sysdeps/i386/fpu/math-tests.h: Likewise.
21736         * math/test-snan.c: Include it.
21737         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21738
21739 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21740
21741         [BZ #15285]
21742         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21743         (__ieee754_j0l): Do not improve calculations using cos of twice
21744         input for inputs above LDBL_MAX / 2.0L.
21745         (__ieee754_y0l): Likewise.
21746         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21747         (__ieee754_j1l): Do not improve calculations using cos of twice
21748         input for inputs above LDBL_MAX / 2.0L.
21749         (__ieee754_y1l): Likewise.
21750         * math/libm-test.inc (j0_test): Add another test.
21751         (j1_test): Likewise.
21752         (y0_test): Likewise.
21753         (y1_test): Likewise.
21754         * sysdeps/i386/fpu/libm-test-ulps: Update.
21755
21756 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21757
21758         * Rules ($(objpfx)bench-%.c): Include code from a C source
21759         file.
21760
21761 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21762
21763         [BZ #15287]
21764         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21765         imaginary part 1.0 and real part less than 0.5 specially.
21766         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21767         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21768         * math/libm-test.inc (cacos_test): Add more tests.
21769         (casin_test): Likewise.
21770         (casinh_test): Likewise.
21771         * sysdeps/i386/fpu/libm-test-ulps: Update.
21772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21773
21774 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21775
21776         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21777         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21778
21779 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
21780
21781         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21782         * config.make.in (config-cflags-sse4): Remove variable.
21783         (config-cflags-avx): Likewise.
21784         (config-cflags-sse2avx): Likewise.
21785         (config-cflags-novzeroupper): Likewise.
21786         (config-asflags-i686): Likewise.
21787         (have-mfma4): Likewise.
21788         (have-as-vis3): Likewise.
21789         (MIG): Likewise.
21790         * configure.in (MIG): Do not AC_SUBST.
21791         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21792         (libc_cv_cc_sse4): Do not AC_SUBST.
21793         (libc_cv_cc_avx): Likewise.
21794         (libc_cv_cc_sse2avx): Likewise.
21795         (libc_cv_cc_novzeroupper): Likewise.
21796         (libc_cv_cc_fma4): Likewise.
21797         (libc_cv_as_i686): Likewise.
21798         (libc_cv_sparc_as_vis3): Likewise.
21799         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21800         LIBC_CONFIG_VAR.
21801         (config-asflags-i686): Likewise.
21802         (config-cflags-avx): Likewise.
21803         (config-cflags-sse2avx): Likewise.
21804         (have-mfma4): Likewise.
21805         (config-cflags-novzeroupper): Likewise.
21806         * sysdeps/mach/configure.in (MIG): Likewise.
21807         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21808         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21809         LIBC_CONFIG_VAR.
21810         (config-cflags-avx): Likewise.
21811         (config-cflags-sse2avx): Likewise.
21812         (have-mfma4): Likewise.
21813         (config-cflags-novzeroupper): Likewise.
21814         * configure: Regenerated.
21815         * sysdeps/i386/configure: Likewise.
21816         * sysdeps/mach/configure: Likewise.
21817         * sysdeps/sparc/configure: Likewise.
21818         * sysdeps/x86_64/configure: Likewise.
21819
21820 2013-03-20  Roland McGrath  <roland@hack.frob.com>
21821
21822         [BZ #14812]
21823         * locale/programs/localedef.c (options): Put N_ translation marker
21824         on argument names, not just descriptions.
21825
21826 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21827
21828         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21829
21830 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
21831
21832         [BZ #14176]
21833         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21834
21835 2013-03-19  Roland McGrath  <roland@hack.frob.com>
21836
21837         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21838         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21839         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21840         [!BEFORE_ABORT] (before_abort): New function.
21841         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21842         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21843         (writev_for_fatal): New function.
21844         (WRITEV_FOR_FATAL): New macro; call that.
21845         (backtrace_and_maps): New function.
21846         (BEFORE_ABORT): New macro; call that.
21847         (struct str_list): Type removed.
21848         (__libc_message, __libc_fatal): Functions removed.
21849         Include <sysdeps/posix/libc_fatal.c> instead.
21850
21851 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
21852
21853         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21854         constants.
21855         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21856         double constants.
21857
21858 2013-03-19  Andreas Schwab  <schwab@suse.de>
21859
21860         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21861         * sysdeps/gnu/configure: Regenerate.
21862
21863         * configure.in: Substitute libc_cv_rtlddir.
21864         * configure: Regenerate.
21865         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21866         * Makeconfig (rtlddir, inst_rtlddir): New variables.
21867         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21868         * elf/Makefile (install-others, CFLAGS-interp.c)
21869         (ldso_install, common-ldd-rewrite): Likewise.
21870         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21871         $(inst_slibdir)/$(rtld-installed-name).
21872         * scripts/rellns-sh: Add -p option.
21873         * Makerules (make-shlib-link): Use rellns-sh to get relative name
21874         for source.
21875
21876 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21877
21878         * manual/nptl.texi: Renamed to ...
21879         * manual/threads.texi: ... this.
21880         * manual/Makefile (chapters): Update.
21881
21882 2013-03-18  Roland McGrath  <roland@hack.frob.com>
21883
21884         [BZ #14812]
21885         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21886         on argument names, not just descriptions.
21887         * malloc/memusagestat.c (options): Likewise.
21888         * nss/getent.c (options): Likewise.
21889
21890 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
21891
21892         [BZ #14812]
21893         * iconv/iconv_prog.c (options): Put N_ translation marker
21894         on argument names, not just descriptions.
21895         * iconv/iconvconfig.c (options): Likewise.
21896
21897 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
21898
21899         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21900         implementation which is faster on all x86_64 architectures.
21901         Tested on AMD, Intel Nehalem, SNB, IVB.
21902         * sysdeps/x86_64/strnlen.S: Likewise.
21903
21904         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21905         Remove all multiarch strlen and strnlen versions.
21906         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21907         Remove strlen and strnlen related parts.
21908
21909         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21910         Inline strlen part.
21911         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21912
21913         * sysdeps/x86_64/multiarch/strlen.S: Remove.
21914         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21915         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21916         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21917         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21918         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21919
21920 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
21921
21922         * manual/memory.texi (Malloc Tunable Parameters):
21923         Sort parameters alphabetically. Add comments for missing entries.
21924
21925 2013-03-17  David S. Miller  <davem@davemloft.net>
21926
21927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21928
21929 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
21930
21931         [BZ #15283]
21932         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21933         for arguments at most half maximum finite value.
21934         * math/libm-test.inc (j0_test): Add more tests.
21935         (j1_test): Likewise.
21936         (y0_test): Likewise.
21937         (y1_test): Likewise.
21938         * sysdeps/i386/fpu/libm-test-ulps: Update.
21939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21940
21941         [BZ #14155]
21942         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21943         1 / x and functions P and Q for arguments above 0x1p256L.
21944         (__ieee754_y0l): Likewise.
21945         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21946         (__ieee754_y1l): Likewise.
21947         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21948         (j1_test): Likewise.
21949         (y0_test): Likewise.
21950         (y1_test): Likewise.
21951
21952 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
21953
21954         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21955         variable.
21956
21957 2013-03-15  Roland McGrath  <roland@hack.frob.com>
21958
21959         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21960         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21961         zero since it's initialized to EXEC_PAGESIZE.
21962
21963         * sysdeps/unix/sysv/linux/ldsodefs.h
21964         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21965         * sysdeps/generic/ldsodefs.h: ... here.
21966
21967 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
21968
21969         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21970
21971         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21972         math/test-snan.c.
21973         * math/test-snan.c: Renamed from
21974         sysdeps/powerpc/fpu/test-powerpc-snan.c.
21975         * math/Makefile (tests): Add test-snan.
21976         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21977         test-powerpc-snan.
21978
21979         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21980         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
21981         functions.
21982         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
21983         __builtin_nan family of functions.
21984         * math/libm-test.inc (initialize): Initialize qnan_value with
21985         __builtin_nan family of functions.
21986         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21987         Remove variables.
21988         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21989         Remove functions.
21990         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
21991         storage class.  Initialize qNaN_var and sNaN_var with
21992         __builtin_nan and __builtin_nans families of functions,
21993         respectively.
21994
21995         * math/libm-test.inc (acosh_test): Also test with qNaN input.
21996         (sqrt_test): Remove duplicate test with qNaN input.
21997         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21998         (round_test, signbit_test, significand_test): Note missing +/-Inf
21999         as well as qNaN tests.
22000
22001         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22002         qNaN_var.  Fix a few strings, too.
22003         * math/libm-test.inc (nan_value): Rename to qnan_value.
22004         * math/gen-libm-test.pl (%beautify): Adjust to that.
22005         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22006         * math/test-misc.c (main): Likewise.
22007         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22008         to __qnan_bytes, and __qnan_union, respectively.
22009         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22010         Likewise.
22011         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22012         and lqnanval, respectively.
22013         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22014         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22015         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22016         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22017
22018         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22019         * math/test-misc.c (main) [__x86_64__]: Enable test for long
22020         doubles.
22021
22022         * math/test-misc.c (main): Fix copy'n'pastos.
22023         * misc/tst-efgcvt.c (special): Likewise.
22024
22025         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22026         Remove declarations.
22027
22028 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22029
22030         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22031         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22032         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22033         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22034
22035 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22036
22037         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22038         macro to return vdso values correctly in IFUNC implementations.
22039         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22040         Optimization by using IFUNC.
22041
22042 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22043             Richard Henderson  <rth@redhat.com>
22044             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22045
22046         * Makefile.in (bench): New target.
22047         * NEWS: Mention the benchmark framework.
22048         * Rules (bench): Likewise.
22049         (binaries-bench): Generate binaries for functions to
22050         benchmark.
22051         * benchtests/Makefile: New makefile for benchmark tests.
22052         * benchtests/bench-skeleton.c: New skeleton file for benchmark
22053         programs.
22054         * benchtests/exp-inputs: New input file for EXP function.
22055         * benchtests/pow-inputs: New input file for POW function.
22056         * scripts/bench.pl: New script to generate source files for
22057         benchmark programs.
22058
22059 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22060
22061         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22062         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22063         computations on mantissa.  Use macros for rounding and
22064         division.
22065         (denorm): Likewise.
22066         (__dbl_mp): Likewise.
22067         (add_magnitudes): Likewise.
22068         (sub_magnitudes): Likewise.
22069         (__mul): Likewise.
22070         (__sqr): Likewise.
22071         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22072         powers of two in terms of TWOPOW macro.
22073         (mp_no): Make type of mantissa as MANTISSA_T.
22074         [!RADIXI]: Define RADIXI.
22075         [!TWO52]: Define TWO52.
22076         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22077
22078         * manual/nptl.texi (cindex): Modify threads to pthreads.
22079
22080 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
22081
22082         * sysdeps/x86_64/preconfigure: Regenerated.
22083
22084 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
22085
22086         [BZ #14155]
22087         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22088         0x1p28 and above.
22089         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22090         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22091         0x1p28 and above.
22092         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22093         * math/libm-test.inc (j0_test): Do not allow one spurious
22094         underflow exception.
22095         (y1_test): Likewise.
22096
22097 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22098
22099         * manual/Makefile (chapters): Add nptl.
22100         * manual/debug.texi (Debugging Support): Add link to Threads
22101         chapter.
22102         * manual/nptl.texi: New file.
22103
22104         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22105
22106 2013-03-14  Petr Baudis  <pasky@ucw.cz>
22107
22108         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22109         for non-NULL pointer before the memory validity test. Pointed
22110         out by Holger Brunck <holger.brunck@keymile.com>.
22111
22112 2013-03-13  Andreas Schwab  <schwab@suse.de>
22113
22114         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22115         instead of .os.
22116
22117 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
22118
22119         * timezone/zic.c: Update from tzcode 2013b.
22120
22121 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
22122
22123         * manual/install.texi (Configuring and compiling):
22124         Mention i686 and i586.
22125         * INSTALL: Regenerate.
22126
22127 2013-03-12  Roland McGrath  <roland@hack.frob.com>
22128
22129         * sysdeps/init_array/elf-init.c: New file.
22130         * csu/elf-init.c
22131         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22132         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22133
22134         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22135         __gmon_start__ as global, but as static with a .preinit_array pointer.
22136         * sysdeps/init_array/gmon-start.c: New file.  Use that.
22137         * sysdeps/init_array/crti.S: New file, empty except for comments.
22138         * sysdeps/init_array/crtn.S: Likewise.
22139
22140 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
22141
22142         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22143         definining bcopy.
22144         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22145         Remove Prefer_SSE_for_memop.
22146         * sysdeps/x86_64/multiarch/init-arch.h: Remove
22147         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22148         HAS_PREFER_SSE_FOR_MEMOP.
22149         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22150         memset-x86-64.
22151         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22152         Remove bzero, memset ifunc support.
22153         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22154         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22155         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22156         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22157
22158 2013-03-11  Andreas Schwab  <schwab@suse.de>
22159
22160         [BZ #15234]
22161         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22162         by SHLIB_COMPAT.
22163         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22164         (GLIBC_2.16): Remove pthread_atfork.
22165
22166 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22167
22168         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22169         (ptestcases.h): Likewise.
22170
22171 2013-03-08  Roland McGrath  <roland@hack.frob.com>
22172
22173         * Makeconfig ($(common-objpfx)config.status): Depend on
22174         sysdeps/*/preconfigure{,.in} too.
22175
22176 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
22177
22178         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22179         (__free_hook): Use void * instead of __malloc_ptr_t.
22180         (__malloc_hook): Likewise.
22181         (__realloc_hook): Likewise.
22182         (__memalign_hook): Likewise.
22183         (__after_morecore_hook): Likewise.
22184         * malloc/arena.c (save_malloc_hook): Likewise.
22185         (save_free_hook): Likewise.
22186         * malloc/hooks.c (malloc_hook_ini): Likewise.
22187         (realloc_hook_ini): Likewise.
22188         (memalign_hook_ini): Likewise.
22189         * malloc/malloc.c (malloc_hook_ini): Likewise.
22190         (realloc_hook_ini): Likewise.
22191         (memalign_hook_ini): Likewise.
22192         (__free_hook): Likewise.
22193         (__malloc_hook): Likewise.
22194         (__realloc_hook): Likewise.
22195         (__memalign_hook): Likewise.
22196         (__libc_malloc): Likewise.
22197         (__libc_free): Likewise.
22198         (__libc_realloc): Likewise.
22199         (__libc_memalign): Likewise.
22200         (__libc_valloc): Likewise.
22201         (__libc_pvalloc): Likewise.
22202         (__libc_calloc): Likewise.
22203         (__posix_memalign): Likewise.
22204         * malloc/morecore.c (__sbrk): Likewise.
22205         (__default_morecore): Likewise.
22206
22207         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22208
22209         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22210         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22211         __malloc_ptrdiff_t.
22212
22213         * malloc/malloc.h (__malloc_size_t): Remove macro.
22214         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22215         __malloc_size_t.
22216         (old_memalign_hook): Likewise.
22217         (old_realloc_hook): Likewise.
22218         (struct hdr): Likewise.
22219         (flood): Likewise.
22220         (mallochook): Likewise.
22221         (memalignhook): Likewise.
22222         (reallochook): Likewise.
22223         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22224         (tr_old_realloc_hook): Likewise.
22225         (tr_old_memalign_hook): Likewise.
22226         (tr_mallochook): Likewise.
22227         (tr_reallochook): Likewise.
22228         (tr_memalignhook): Likewise.
22229
22230 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22231
22232         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22233         default_ldbl_pack and using as default implementation.
22234         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22235         implementation.
22236         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22237         redundant definition.
22238         (ldbl_insert_mantissa): Likewise.
22239         (ldbl_canonicalize): Likewise.
22240         (ldbl_nearbyint): Likewise.
22241         (ldbl_pack): Rename to ldbl_pack_ppc.
22242         (ldbl_unpack): Rename to ldbl_unpack_ppc.
22243         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22244         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22245
22246 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22247
22248         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22249         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22250         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22251         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22252         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22253         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22254         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22255         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22256
22257 2013-03-07  Andreas Jaeger  <aj@suse.de>
22258
22259         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22260         bits/mman-linux.h.
22261
22262 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22263
22264         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22265         Include mpa.h and declare __MPEXP.
22266         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22267         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22268         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22269         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22270         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22271         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22272         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22273
22274         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22275         (__slowpow): Use long double EXPL and LOGL functions to
22276         compute POW.
22277         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22278         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22279         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22280         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22281         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22282         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22283
22284         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22285         intermediate variable to calculate exponent.
22286         (__sqr): Likewise.
22287         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22288         Likewise.
22289         (__sqr): Likewise.
22290
22291         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22292         [!NO__SQR]: Define __sqr.
22293         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22294         and NO__SQR.  Remove all code except __mul and __sqr.  Include
22295         sysdeps/ieee754/dbl-64/mpa.c.
22296         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22297
22298         [BZ #12723]
22299         * posix/Makefile (tests): Add tst-pathconf.
22300         * posix/tst-pathconf.c: New test case.
22301         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22302         _PC_PIPE_BUF.
22303         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22304
22305 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
22306
22307         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22308
22309 2013-03-06  Andreas Jaeger  <aj@suse.de>
22310
22311         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22312         definition via __MAP_ANONYMOUS.
22313
22314         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22315         it's not part of Linux headers.
22316
22317         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22318         (MAP_HUGE_MASK): Define.
22319
22320         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22321         Define.
22322         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22323         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22324         Define.
22325         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22326         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22327         Define.
22328         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22329         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22330         Define.
22331         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22332
22333         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22334         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22335         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22336         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22337         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22338         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22339
22340         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22341         Handle f2fs.
22342
22343         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22344         Handle f2fs and efivarfs.
22345
22346         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22347         f2fs.
22348
22349         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22350         (EFIVARFS_MAGIC): Add.
22351         (F2FS_LINK_MAX): Add.
22352
22353 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22354
22355         * stdio-common/vfprintf.c: Replace __builtin_expect with
22356         __glibc_unlikely.
22357
22358 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
22359
22360         [BZ #13550]
22361         * sysdeps/generic/bp-sym.h: Remove file.
22362         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22363         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22364         <bp-sym.h> and <bp-asm.h>.
22365         (__longjmp): Don't use BP_SYM.
22366         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22367         and <bp-asm.h>.
22368         (memcpy): Don't use BP_SYM.
22369         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22370         <bp-sym.h> and <bp-asm.h>.
22371         (memcpy): Don't use BP_SYM.
22372         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22373         <bp-asm.h>.
22374         (memcpy): Don't use BP_SYM.
22375         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22376         <bp-asm.h>.
22377         (memset): Don't use BP_SYM.
22378         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22379         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22380         (__bzero): Don't use BP_SYM.
22381         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22382         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22383         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22384         <bp-sym.h> and <bp-asm.h>.
22385         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22386         pointers.
22387         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22388         <bp-sym.h> and <bp-asm.h>.
22389         (memcpy): Don't use BP_SYM.
22390         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22391         <bp-sym.h> and <bp-asm.h>.
22392         (memset): Don't use BP_SYM.
22393         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22394         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22395         (__bzero): Don't use BP_SYM.
22396         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22397         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22398         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22399         <bp-sym.h> and <bp-asm.h>.
22400         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22401         pointers.
22402         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22403         <bp-sym.h> and <bp-asm.h>.
22404         (memcpy): Don't use BP_SYM.
22405         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22406         <bp-sym.h> and <bp-asm.h>.
22407         (memset): Don't use BP_SYM.
22408         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22409         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22410         (__bzero): Don't use BP_SYM.
22411         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22412         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22413         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22414         <bp-sym.h> and <bp-asm.h>.
22415         (__memchr): Don't use BP_SYM.
22416         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22417         <bp-sym.h> and <bp-asm.h>.
22418         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22419         pointers.
22420         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22421         <bp-sym.h> and <bp-asm.h>.
22422         (memcpy): Don't use BP_SYM.
22423         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22424         <bp-sym.h> and <bp-asm.h>.
22425         (__mempcpy): Don't use BP_SYM.
22426         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22427         <bp-sym.h> and <bp-asm.h>.
22428         (__memrchr): Don't use BP_SYM.
22429         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22430         <bp-sym.h> and <bp-asm.h>.
22431         (memset): Don't use BP_SYM.
22432         (__bzero): Likewise.
22433         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22434         <bp-sym.h> and <bp-asm.h>.
22435         (__rawmemchr): Don't use BP_SYM.
22436         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22437         <bp-sym.h> and <bp-asm.h>.
22438         (__STRCMP): Don't use BP_SYM.
22439         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22440         <bp-sym.h> and <bp-asm.h>.
22441         (strchr): Don't use BP_SYM.
22442         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22443         <bp-sym.h> and <bp-asm.h>.
22444         (__strchrnul): Don't use BP_SYM.
22445         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22446         <bp-sym.h> and <bp-asm.h>.
22447         (strlen): Don't use BP_SYM.
22448         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22449         <bp-sym.h> and <bp-asm.h>.
22450         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22451         pointers.
22452         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22453         <bp-sym.h> and <bp-asm.h>.
22454         (__strnlen): Don't use BP_SYM.
22455         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22456         <bp-sym.h> and <bp-asm.h>.
22457         (__GI__setjmp): Don't use BP_SYM.
22458         (_setjmp): Likewise.
22459         (__sigsetjmp): Likewise.
22460         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22461         (L(start_addresses)): Don't use BP_SYM.
22462         (_start): Likewise.
22463         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22464         <bp-asm.h>.
22465         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22466         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22467         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22468         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22469         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22470         <bp-asm.h>.
22471         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22472         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
22473         about bounded pointers.
22474         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22475         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22476         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22477         <bp-asm.h>.
22478         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22479         about bounded pointers.  Remove GKM FIXME comments.
22480         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22481         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22482         <bp-asm.h>.
22483         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22484         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
22485         Remove GKM FIXME comments.
22486         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22487         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22488         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22489         <bp-asm.h>.
22490         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22491         about bounded pointers.  Remove GKM FIXME comment.
22492         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22493         and <bp-asm.h>.
22494         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22495         pointers.
22496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22497         <bp-sym.h> and <bp-asm.h>.
22498         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22500         <bp-sym.h> and <bp-asm.h>.
22501         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22502         comment.
22503
22504 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22505
22506         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22507         call free(NULL).
22508
22509 2013-03-05  David S. Miller  <davem@davemloft.net>
22510
22511         * po/es.po: Update from translation team.
22512
22513 2013-03-05  Andreas Jaeger  <aj@suse.de>
22514
22515         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22516         <bits/mman-linux.h>.
22517         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22518         is fine.
22519         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22520         <bits/mman-linux.h> to end of file.
22521         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22522         is fine.
22523         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22524         <bits/mman-linux.h> to end of file.
22525         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22526         is fine.
22527         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22528         <bits/mman-linux.h> to end of file.
22529
22530         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22531         (MCL_CURRENT, MCL_FUTURE): Define here.
22532
22533 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22534
22535         [BZ #15232]
22536         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22537         attribute_hidden.
22538         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22539
22540 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22541
22542         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22543         fourth parameter needed for rt_sigprocmask syscall.
22544         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22545         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22546         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22547         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22548         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22549         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22550
22551 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
22552
22553         [BZ #13550]
22554         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22555         comment about bounded pointers.
22556         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22557         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22558
22559 2013-03-04  Andreas Jaeger  <aj@suse.de>
22560
22561         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22562         common definitions.
22563
22564         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22565         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22566         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22567         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22568         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22569         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22570
22571 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22572
22573         [BZ #15055]
22574         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22575         __ieee754_sqrl instead of __sqrl.
22576
22577 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
22578
22579         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22580         * sysdeps/powerpc/fpu_control.h: ... here.
22581         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22582         * sysdeps/powerpc/bits/fenvinline.h: ... here.
22583         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22584         * sysdeps/powerpc/bits/mathinline.h: ... here.
22585
22586 2013-03-01  Roland McGrath  <roland@hack.frob.com>
22587
22588         * elf/dl-hwcaps.c (_dl_important_hwcaps):
22589         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22590         to just [NEED_DL_SYSINFO_DSO].
22591         * elf/dl-support.c: Likewise.
22592         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22593         * elf/rtld.c (dl_main): Likewise.
22594         * elf/setup-vdso.h (setup_vdso): Likewise.
22595         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22596         * sysdeps/unix/sysv/linux/dl-sysdep.c
22597         (_dl_discover_osversion): Likewise.
22598
22599 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
22600
22601         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22602         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22603
22604 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22605
22606         * NEWS: Mention libm performance improvements and non-x86 PI
22607         futex support.
22608
22609         * csu/libc-start.c (__pthread_initialize_minimal): Change
22610         function arguments.
22611         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22612
22613 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
22614
22615         [BZ #13550]
22616         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22617         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22618         <bp-sym.h> and <bp-asm.h>.
22619         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22620         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22621         and <bp-asm.h>.
22622         (memcpy): Don't use BP_SYM.
22623         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22624         <bp-asm.h>.
22625         (__mpn_add_n): Don't use BP_SYM.
22626         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22627         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22628         and <bp-asm.h>.
22629         (__mpn_addmul_1): Don't use BP_SYM.
22630         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22631         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22632         <bp-sym.h>.
22633         (_setjmp): Don't use BP_SYM.
22634         (__novmx_setjmp): Likewise.
22635         (__GI__setjmp): Likewise.
22636         (__vmx_setjmp): Likewise.
22637         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22638         <bp-sym.h>.
22639         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22640         (__bzero): Don't use BP_SYM.
22641         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22642         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22643         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22644         <bp-sym.h> and <bp-asm.h>.
22645         (memcpy): Don't use BP_SYM.
22646         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22647         <bp-sym.h> and <bp-asm.h>.
22648         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22649         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22650         <bp-sym.h> and <bp-asm.h>.
22651         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22652         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22653         <bp-asm.h>.
22654         (__mpn_lshift): Don't use BP_SYM.
22655         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22656         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22657         <bp-asm.h>.
22658         (memset): Don't use BP_SYM.
22659         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22660         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22661         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22662         <bp-asm.h>.
22663         (__mpn_mul_1): Don't use BP_SYM.
22664         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22665         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22666         <bp-sym.h> and <bp-asm.h>.
22667         (memcmp): Don't use BP_SYM.
22668         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22669         <bp-sym.h> and <bp-asm.h>.
22670         (memcpy): Don't use BP_SYM.
22671         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22672         <bp-sym.h> and <bp-asm.h>.
22673         (memset): Don't use BP_SYM.
22674         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22675         <bp-sym.h> and <bp-asm.h>.
22676         (strncmp): Don't use BP_SYM.
22677         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22678         <bp-sym.h> and <bp-asm.h>.
22679         (memcpy): Don't use BP_SYM.
22680         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22681         <bp-sym.h> and <bp-asm.h>.
22682         (memset): Don't use BP_SYM.
22683         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22684         <bp-sym.h> and <bp-asm.h>.
22685         (__memchr): Don't use BP_SYM.
22686         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22687         <bp-sym.h> and <bp-asm.h>.
22688         (memcmp): Don't use BP_SYM.
22689         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22690         <bp-sym.h> and <bp-asm.h>.
22691         (memcpy): Don't use BP_SYM.
22692         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22693         <bp-sym.h> and <bp-asm.h>.
22694         (__mempcpy): Don't use BP_SYM.
22695         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22696         <bp-sym.h> and <bp-asm.h>.
22697         (__memrchr): Don't use BP_SYM.
22698         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22699         <bp-sym.h> and <bp-asm.h>.
22700         (memset): Don't use BP_SYM.
22701         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22702         <bp-sym.h> and <bp-asm.h>.
22703         (__rawmemchr): Don't use BP_SYM.
22704         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22705         <bp-sym.h> and <bp-asm.h>.
22706         (__STRCMP): Don't use BP_SYM.
22707         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22708         <bp-sym.h> and <bp-asm.h>.
22709         (strchr): Don't use BP_SYM.
22710         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22711         <bp-sym.h> and <bp-asm.h>.
22712         (__strchrnul): Don't use BP_SYM.
22713         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22714         <bp-sym.h> and <bp-asm.h>.
22715         (strlen): Don't use BP_SYM.
22716         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22717         <bp-sym.h> and <bp-asm.h>.
22718         (strncmp): Don't use BP_SYM.
22719         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22720         <bp-sym.h> and <bp-asm.h>.
22721         (__strnlen): Don't use BP_SYM.
22722         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22723         <bp-asm.h>.
22724         (__mpn_rshift): Don't use BP_SYM.
22725         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22726         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22727         <bp-sym.h> and <bp-asm.h>.
22728         (__sigsetjmp): Don't use BP_SYM.
22729         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22730         (L(start_addresses)): Don't use BP_SYM.
22731         (_start): Likewise.
22732         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22733         <bp-asm.h>.
22734         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22735         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22736         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22737         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22738         <bp-asm.h>.
22739         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22740         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22741         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22742         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22743         <bp-asm.h>.
22744         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22745         comments.
22746         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22747         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22748         <bp-asm.h>.
22749         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
22750         FIXME comments.
22751         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22752         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22753         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22754         <bp-asm.h>.
22755         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22756         comment.
22757         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22758         and <bp-asm.h>.
22759         (strncmp): Don't use BP_SYM,
22760         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22761         <bp-asm.h>.
22762         (__mpn_sub_n): Don't use BP_SYM.
22763         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22764         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22765         and <bp-asm.h>.
22766         (__mpn_submul_1): Don't use BP_SYM.
22767         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22769         <bp-sym.h> and <bp-asm.h>.
22770         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22772         <bp-sym.h> and <bp-asm.h>.
22773         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22774         comment.
22775
22776 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22777
22778         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22779         Use ZK to minimize writes to Z.
22780         (sub_magnitudes): Simplify code a bit.
22781         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22782         Use ZK to minimize writes to Z.
22783         (sub_magnitudes): Simplify code a bit.
22784
22785 2013-02-27  Roland McGrath  <roland@hack.frob.com>
22786
22787         * csu/gmon-start.c: Add special exception to license text.
22788
22789 2013-02-27  Richard Henderson  <rth@redhat.com>
22790
22791         * scripts/config.guess: Update from config.git.
22792         * scripts/config.sub: Likewise.
22793
22794 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22795
22796         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22797
22798         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22799
22800         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22801
22802         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22803
22804         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22805
22806 2013-02-26  Roland McGrath  <roland@hack.frob.com>
22807
22808         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22809         [$(build-shared = yes].
22810
22811 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22812
22813         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22814         (__mul): Reduce iterations for calculating mantissa.
22815
22816         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22817         MPTWO.
22818         (__mpranred): Likewise.
22819
22820         [BZ #15160]
22821         * malloc/memusagestat.c (main): Draw graphs for heap and stack
22822         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22823
22824 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
22825
22826         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22827         Define __attribute__.
22828
22829 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22830
22831         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22832         unused.
22833         * posix/regex_internal.h (__attribute): Remove.
22834         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22835         (re_string_context_at): Likewise.
22836         (bitset_not): Use __attribute__ and mark function as possibly
22837         unused.
22838         (bitset_merge): Likewise.
22839         (bitset_mask): Likewise.
22840         (re_string_char_size_at): Likewise.
22841         (re_string_wchar_at): Likewise.
22842         (re_string_elem_size_at): Likewise.
22843
22844 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22845
22846         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22847         code.
22848         (cc32): Likewise.
22849
22850         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22851         (__acr): Likewise.
22852         (__cpy): Likewise.
22853         (norm): Likewise.
22854         (denorm): Likewise.
22855         (__dbl_mp): Likewise.
22856         (add_magnitudes): Likewise.
22857         (sub_magnitudes): Likewise.
22858         (__mul): Likewise.
22859         (__inv): Likewise.
22860
22861         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22862         style.
22863
22864         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22865         style.
22866
22867         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22868         code.
22869
22870         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22871         up changes with default code.
22872         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22873         Likewise.
22874
22875 2013-02-24  Allan McRae  <allan@archlinux.org>
22876
22877         * manual/socket.texi (The Internet Namespace): Order menu items
22878         to match that in the file.
22879
22880         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22881         node listing of the info page menu.
22882
22883 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
22884
22885         [BZ #13550]
22886         * sysdeps/i386/bp-asm.h: Remove file.
22887         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22888         (PARMS): Do not use macros from bp-asm.h.
22889         (S1): Likewise.
22890         (S2): Likewise.
22891         (SIZE): Likewise.
22892         (__mpn_add_n): Do not use BP_SYM
22893         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22894         "bp-asm.h".
22895         (PARMS): Do not use macros from bp-asm.h.
22896         (S1): Likewise.
22897         (SIZE): Likewise.
22898         (__mpn_addmul_1): Do not use BP_SYM
22899         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22900         "bp-asm.h".
22901         (PARMS): Do not use macros from bp-asm.h.
22902         (SIGMSK): Likewise.
22903         (_setjmp): Likewise.  Do not use BP_SYM.
22904         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22905         "bp-asm.h".
22906         (PARMS): Do not use macros from bp-asm.h.
22907         (SIGMSK): Likewise.
22908         (setjmp): Likewise.  Do not use BP_SYM.
22909         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22910         "bp-asm.h".
22911         (PARMS): Do not use macros from bp-asm.h.
22912         (__frexp): Do not use BP_SYM.
22913         (frexp): Likewise.
22914         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22915         "bp-asm.h".
22916         (PARMS): Do not use macros from bp-asm.h.
22917         (__frexpf): Do not use BP_SYM.
22918         (frexpf): Likewise.
22919         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22920         "bp-asm.h".
22921         (PARMS): Do not use macros from bp-asm.h.
22922         (__frexpl): Do not use BP_SYM.
22923         (frexpl): Likewise.
22924         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22925         "bp-asm.h".
22926         (PARMS): Do not use macros from bp-asm.h.
22927         (__remquo): Do not use BP_SYM.
22928         (remquo): Likewise.
22929         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22930         "bp-asm.h".
22931         (PARMS): Do not use macros from bp-asm.h.
22932         (__remquof): Do not use BP_SYM.
22933         (remquof): Likewise.
22934         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22935         "bp-asm.h".
22936         (PARMS): Do not use macros from bp-asm.h.
22937         (__remquol): Do not use BP_SYM.
22938         (remquol): Likewise.
22939         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22940         "bp-asm.h".
22941         (PARMS): Do not use macros from bp-asm.h.
22942         (DEST): Likewise.
22943         (SRC): Likewise.
22944         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
22945         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22946         "bp-asm.h".
22947         (PARMS): Do not use macros from bp-asm.h.
22948         (strlen): Do not use BP_SYM.
22949         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22950         "bp-asm.h".
22951         (PARMS): Do not use macros from bp-asm.h.
22952         (S1): Likewise.
22953         (S2): Likewise.
22954         (SIZE): Likewise.
22955         (__mpn_add_n): Do not use BP_SYM.
22956         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22957         "bp-asm.h".
22958         (PARMS): Do not use macros from bp-asm.h.
22959         (S1): Likewise.
22960         (SIZE): Likewise.
22961         (__mpn_addmul_1): Do not use BP_SYM.
22962         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22963         weak_alias.
22964         (bzero): Likewise.
22965         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22966         "bp-asm.h".
22967         (PARMS): Do not use macros from bp-asm.h.
22968         (S): Likewise.
22969         (SIZE): Likewise.
22970         (__mpn_lshift): Do not use BP_SYM.
22971         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22972         "bp-asm.h".
22973         (PARMS): Do not use macros from bp-asm.h.
22974         (DEST): Likewise.
22975         (SRC): Likewise.
22976         (LEN): Likewise.
22977         (memcpy): Likewise.  Do not use BP_SYM.
22978         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22979         libc_hidden_def and weak_alias.
22980         (mempcpy): Do not use BP_SYM in weak_alias.
22981         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22982         "bp-asm.h".
22983         (PARMS): Do not use macros from bp-asm.h.
22984         (DEST): Likewise.
22985         (LEN): Likewise.
22986         [!BZERO_P] (CHR): Likewise.
22987         (memset): Likewise.  Do not use BP_SYM.
22988         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22989         "bp-asm.h".
22990         (PARMS): Do not use macros from bp-asm.h.
22991         (S1): Likewise.
22992         (SIZE): Likewise.
22993         (__mpn_mul_1): Do not use BP_SYM.
22994         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22995         "bp-asm.h".
22996         (PARMS): Do not use macros from bp-asm.h.
22997         (S): Likewise.
22998         (SIZE): Likewise.
22999         (__mpn_rshift): Do not use BP_SYM.
23000         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23001         "bp-asm.h".
23002         (PARMS): Do not use macros from bp-asm.h.
23003         (STR): Likewise.
23004         (CHR): Likewise.
23005         (strchr): Likewise.  Do not use BP_SYM.
23006         (index): Do not use BP_SYM in weak_alias.
23007         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23008         "bp-asm.h".
23009         (PARMS): Do not use macros from bp-asm.h.
23010         (DEST): Likewise.
23011         (SRC): Likewise.
23012         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
23013         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23014         "bp-asm.h".
23015         (PARMS): Do not use macros from bp-asm.h.
23016         (strlen): Do not use BP_SYM.
23017         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23018         "bp-asm.h".
23019         (PARMS): Do not use macros from bp-asm.h.
23020         (S1): Likewise.
23021         (S2): Likewise.
23022         (SIZE): Likewise.
23023         (__mpn_sub_n): Do not use BP_SYM.
23024         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23025         "bp-asm.h".
23026         (PARMS): Do not use macros from bp-asm.h.
23027         (S1): Likewise.
23028         (SIZE): Likewise.
23029         (__mpn_submul_1): Do not use BP_SYM.
23030         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23031         "bp-asm.h".
23032         (PARMS): Do not use macros from bp-asm.h.
23033         (S1): Likewise.
23034         (S2): Likewise.
23035         (SIZE): Likewise.
23036         (__mpn_add_n): Do not use BP_SYM.
23037         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23038         weak_alias.
23039         (bzero): Likewise.
23040         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23041         "bp-asm.h".
23042         (PARMS): Do not use macros from bp-asm.h.
23043         (BLK2): Likewise.
23044         (LEN): Likewise.
23045         (memcmp): Do not use BP_SYM.
23046         (bcmp): Do not use BP_SYM in weak_alias.
23047         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23048         "bp-asm.h".
23049         (PARMS): Do not use macros from bp-asm.h.
23050         (DEST): Likewise.
23051         (SRC): Likewise.
23052         (LEN): Likewise.
23053         (memcpy): Likewise.  Do not use BP_SYM.
23054         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23055         "bp-asm.h".
23056         (PARMS): Do not use macros from bp-asm.h.
23057         (DEST): Likewise.
23058         (SRC): Likewise.
23059         (LEN): Likewise.
23060         (memmove): Likewise.  Do not use BP_SYM.
23061         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23062         "bp-asm.h".
23063         (PARMS): Do not use macros from bp-asm.h.
23064         (DEST): Likewise.
23065         (SRC): Likewise.
23066         (LEN): Likewise.
23067         (__mempcpy): Likewise.  Do not use BP_SYM.
23068         (mempcpy): Do not use BP_SYM in weak_alias.
23069         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23070         "bp-asm.h".
23071         (PARMS): Do not use macros from bp-asm.h.
23072         (DEST): Likewise.
23073         (LEN): Likewise.
23074         [!BZERO_P] (CHR): Likewise.
23075         (memset): Likewise.  Do not use BP_SYM.
23076         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23077         "bp-asm.h".
23078         (PARMS): Do not use macros from bp-asm.h.
23079         (STR2): Likewise.
23080         (strcmp): Do not use BP_SYM.
23081         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23082         "bp-asm.h".
23083         (PARMS): Do not use macros from bp-asm.h.
23084         (STR): Likewise.
23085         (DELIM): Likewise.
23086         [USE_AS_STRTOK_R] (SAVE): Likewise.
23087         (FUNCTION): Likewise.  Do not use BP_SYM.
23088         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23089         aliases.
23090         (strtok_r): Likewise.
23091         (__GI___strtok_r): Likewise.
23092         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23093         (PARMS): Do not use macros from bp-asm.h.
23094         (S): Likewise.
23095         (SIZE): Likewise.
23096         (__mpn_lshift): Do not use BP_SYM.
23097         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23098         (PARMS): Do not use macros from bp-asm.h.
23099         (STR): Likewise.
23100         (CHR): Likewise.
23101         (__memchr): Do not use BP_SYM.
23102         (memchr): Do not use BP_SYM in weak_alias.
23103         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23104         (PARMS): Do not use macros from bp-asm.h.
23105         (BLK2): Likewise.
23106         (LEN): Likewise.
23107         (memcmp): Do not use BP_SYM.
23108         (bcmp): Do not use BP_SYM in weak_alias.
23109         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23110         (PARMS): Do not use macros from bp-asm.h.
23111         (S1): Likewise.
23112         (SIZE): Likewise.
23113         (__mpn_mul_1): Do not use BP_SYM.
23114         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23115         "bp-asm.h".
23116         (PARMS): Do not use macros from bp-asm.h.
23117         (STR): Likewise.
23118         (CHR): Likewise.
23119         (__rawmemchr): Do not use BP_SYM.
23120         (rawmemchr): Do not use BP_SYM in weak_alias.
23121         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23122         (PARMS): Do not use macros from bp-asm.h.
23123         (S): Likewise.
23124         (SIZE): Likewise.
23125         (__mpn_rshift): Do not use BP_SYM.
23126         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23127         (PARMS): Do not use macros from bp-asm.h.
23128         (SIGMSK): Likewise.
23129         (__sigsetjmp): Likewise.  Do not use BP_SYM.
23130         * sysdeps/i386/start.S: Do not include "bp-sym.h".
23131         (_start): Do not use BP_SYM.
23132         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23133         (PARMS): Do not use macros from bp-asm.h.
23134         (DEST): Likewise.
23135         (SRC): Likewise.
23136         (__stpcpy): Likewise.  Do not use BP_SYM.
23137         (stpcpy): Do not use BP_SYM in weak_alias.
23138         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23139         "bp-asm.h".
23140         (PARMS): Do not use macros from bp-asm.h.
23141         (DEST): Likewise.
23142         (SRC): Likewise.
23143         (LEN): Likewise.
23144         (__stpncpy): Likewise.  Do not use BP_SYM.
23145         (stpncpy): Do not use BP_SYM in weak_alias.
23146         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23147         (PARMS): Do not use macros from bp-asm.h.
23148         (STR): Likewise.
23149         (CHR): Likewise.
23150         (strchr): Likewise.  Do not use BP_SYM.
23151         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23152         "bp-asm.h".
23153         (PARMS): Do not use macros from bp-asm.h.
23154         (STR): Likewise.
23155         (CHR): Likewise.
23156         (__strchrnul): Likewise.  Do not use BP_SYM.
23157         (strchrnul): Do not use BP_SYM in weak_alias.
23158         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23159         "bp-asm.h".
23160         (PARMS): Do not use macros from bp-asm.h.
23161         (STOP): Likewise.
23162         (strcspn): Do not use BP_SYM.
23163         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23164         "bp-asm.h".
23165         (PARMS): Do not use macros from bp-asm.h.
23166         (STR): Likewise.
23167         (STOP): Likewise.
23168         (strpbrk): Likewise.  Do not use BP_SYM.
23169         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23170         "bp-asm.h".
23171         (PARMS): Do not use macros from bp-asm.h.
23172         (STR): Likewise.
23173         (CHR): Likewise.
23174         (strrchr): Likewise.  Do not use BP_SYM.
23175         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23176         (PARMS): Do not use macros from bp-asm.h.
23177         (SKIP): Likewise.
23178         (strspn): Do not use BP_SYM.
23179         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23180         (PARMS): Do not use macros from bp-asm.h.
23181         (STR): Likewise.
23182         (DELIM): Likewise.
23183         (SAVE): Likewise.
23184         (FUNCTION): Likewise.  Do not use BP_SYM.
23185         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23186         aliases.
23187         (strtok_r): Likewise.
23188         (__GI___strtok_r): Likewise.
23189         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23190         (PARMS): Do not use macros from bp-asm.h.
23191         (S1): Likewise.
23192         (S2): Likewise.
23193         (SIZE): Likewise.
23194         (__mpn_sub_n): Do not use BP_SYM.
23195         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23196         "bp-asm.h".
23197         (PARMS): Do not use macros from bp-asm.h.
23198         (S1): Likewise.
23199         (SIZE): Likewise.
23200         (__mpn_submul_1): Do not use BP_SYM.
23201         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23202         <bp-sym.h>.
23203         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23204         and <bp-asm.h>.
23205         (PARMS): Do not use macros from bp-asm.h.
23206         (FLAGS): Likewise.
23207         (PTID): Likewise.
23208         (TLS): Likewise.
23209         (CTID): Likewise.
23210         (__clone): Do not use BP_SYM.
23211         (clone): Do not use BP_SYM in weak_alias.
23212         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23213         and <bp-asm.h>.
23214         (PARMS): Do not use macros from bp-asm.h.
23215         (LEN): Likewise.
23216         (__mmap64): Do not use BP_SYM.
23217         (mmap64): Do not use BP_SYM in weak_alias.
23218         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23219         <bp-sym.h> and <bp-asm.h>.
23220         (PARMS): Do not use macros from bp-asm.h.
23221         (__posix_fadvise64_l64): Do not use BP_SYM.
23222         * sysdeps/unix/sysv/linux/i386/semtimedop.S
23223         (PARMS): Do not use macros from bp-asm.h.
23224         (NSOPS): Likewise.
23225         (semtimedop): Do not use BP_SYM.
23226         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23227         and <bp-asm.h>.
23228
23229 2013-02-21  Allan McRae  <allan@archlinux.org>
23230
23231         * manual/message.texi (Charset conversion in gettext):
23232         Move @end statement to beginning of line.
23233
23234 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23235
23236         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23237         static.
23238         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23239         Likewise.
23240
23241         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23242         (denorm): Likewise.
23243         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23244         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23245
23246 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23247
23248         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23249         tail-call to the resolved function if pltexit isn't needed.
23250
23251 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23252
23253         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23254         or Y being zero as being unlikely.
23255         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23256         Likewise.
23257
23258 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
23259
23260         * manual/nss.texi (System Databases and Name Service Switch):
23261         Remove frobnicate @pxref.
23262
23263 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23264
23265         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23266         __attribute__ ((unused)) to __attribute__ ((__unused__)).
23267
23268 2013-02-20  Petr Machata  <pmachata@redhat.com>
23269
23270         * elf/elf.h (R_ARM_TARGET1): New macro.
23271         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23272         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23273         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23274         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23275         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23276         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23277         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23278         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23279         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23280         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23281         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23282         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23283         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23284         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23285         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23286         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23287         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23288         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23289         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23290         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23291         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23292         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23293         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23294         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23295         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23296         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23297         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23298         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23299         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23300         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23301         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23302         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23303         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23304         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23305         (R_ARM_THM_GOT_BREL12): Likewise.
23306         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23307         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23308         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23309         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23310         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23311         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23312         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23313         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23314         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23315
23316 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23317
23318         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23319         __attribute_used__ to __attribute__ ((unused)).
23320
23321 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23322
23323         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23324         powerpc mpa.c.
23325         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23326         comment formatting.
23327         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23328
23329 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
23330
23331         [BZ #13550]
23332         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23333         Remove macro.
23334         (ENTER): Remove both macro definitions.
23335         (LEAVE): Likewise.
23336         (CHECK_BOUNDS_LOW): Likewise.
23337         (CHECK_BOUNDS_HIGH): Likewise.
23338         (CHECK_BOUNDS_BOTH): Likewise.
23339         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23340         (RETURN_BOUNDED_POINTER): Likewise.
23341         (RETURN_NULL_BOUNDED_POINTER): Likewise.
23342         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23343         (POP_ERRNO_LOCATION_RETURN): Likewise.
23344         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23345         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23346         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23347         macros.
23348         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23349         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23350         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23351         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23352         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23353         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23354         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23355         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23356         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23357         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23358         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23359         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23360         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23361         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23362         removed macros.
23363         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23364         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23365         macros.
23366         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23367         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23368         * sysdeps/i386/i586/memset.S (memset): Likewise.
23369         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23370         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23371         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23372         macros.
23373         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23374         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23375         Change uses of L(2) to L(out).
23376         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23377         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23378         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23379         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23380         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23381         removed macros.
23382         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23383         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23384         macros.
23385         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23386         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23387         (RETURN): Do not use macro LEAVE.
23388         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23389         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23390         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23391         * sysdeps/i386/i686/memset.S (memset): Likewise.
23392         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23393         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23394         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23395         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23396         Likewise.
23397         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23398         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
23399         L(1_2) and L(1_3) into L(1).
23400         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23401         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23402         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23403         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23404         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23405         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23406         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23407         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23408         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23409         macros.
23410         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23411         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23412         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23413         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23414         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23415         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23416         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23417         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23418         * sysdeps/i386/strcspn.S (strcspn): Likewise.
23419         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23420         * sysdeps/i386/strrchr.S (strrchr): Likewise.
23421         * sysdeps/i386/strspn.S (strspn): Likewise.
23422         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23423         conditional code.
23424         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23425         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23426         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23427         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
23428         L(1_3) into L(1_1).
23429         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23430         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23431         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23432         macros.
23433         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23434
23435 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
23436
23437         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23438         macro.
23439
23440 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23441
23442         * math/atest-exp.c (exp_mpn): Remove ROUND.
23443         * math/atest-exp2.c (exp_mpn): Likewise.
23444         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23445
23446         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23447         * stdlib/tst-tls-atexit-lib.c: Likewise.
23448         * stdlib/tst-tls-atexit.c: Likewise.
23449
23450 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23451
23452         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23453         and __attribute_alloc_size__.
23454
23455 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23456
23457         * include/programs/xmalloc.h: Change __attribute_alloc_size to
23458         __attribute_alloc_size__.
23459         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23460         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23461
23462 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23463
23464         * include/programs/xmalloc.h: New file.
23465         * catgets/gencat.c: Include it.
23466         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23467         * elf/pldd.c: Likewise.
23468         * iconv/iconv_charmap.c: Likewise.
23469         * iconv/iconvconfig.c: Likewise.
23470         * iconv/strtab.c: Likewise.
23471         * locale/programs/locale.c: Likewise.
23472         * locale/programs/localedef.h: Likewise.
23473         * locale/programs/simple-hash.c: Likewise.
23474         * nscd/nscd.h: Likewise.
23475         * nss/makedb.c: Likewise.
23476         * sysdeps/generic/ldconfig.h: Likewise.
23477
23478 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23479
23480         * Versions.def: Add GLIBC_2.18.
23481         * include/link.h (struct link_map): New member l_tls_dtor_count.
23482         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23483         (__call_tls_dtors): Likewise.
23484         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23485         __cxa_thread_atexit_impl.
23486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23487         Likewise.
23488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23489         Likewise.
23490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23491         Likewise.
23492         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23493         Likewise.
23494         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23495         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23496         Likewise.
23497         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23498         Likewise.
23499         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23500         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23501         Likewise.
23502         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23503         (tests): Add test case tst-tls-atexit.
23504         (modules-names): Add shared library for tst-tls-atexit.
23505         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23506         (GLIBC_PRIVATE): Add __call_tls_dtors.
23507         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23508         for libstdc++.
23509         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23510         * stdlib/tst-tls-atexit.c: New test case.
23511         * stdlib/tst-tls-atexit-lib.c: New test case.
23512
23513         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23514
23515         * elf/Versions (ld): Add _dl_find_dso_for_object.
23516         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23517         * elf/dl-open.c (_dl_find_dso_for_object): New function.
23518         (dl_open_worker): Use _dl_find_dso_for_object.
23519         * elf/dl-sym.c (do_sym): Likewise.
23520         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23521
23522 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23523
23524         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23525         Syntactic changes only.
23526         (_dl_runtime_profile): Do a tail-call to the resolved function.
23527
23528 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
23529
23530         [BZ #13550]
23531         * sysdeps/x86_64/bp-asm.h: Remove file.
23532         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23533         <bp-sym.h> and <bp-asm.h>.
23534         (__clone): Do not use BP_SYM.
23535         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23536         <bp-sym.h> and <bp-asm.h>.
23537         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23538         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23539         "bp-asm.h".
23540         (_setjmp): Do not use BP_SYM.
23541         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23542         "bp-asm.h".
23543         (setjmp): Do not use BP_SYM.
23544         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23545         libc_hidden_def.
23546         (mempcpy): Do not use BP_SYM in weak_alias.
23547         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23548         "bp-asm.h".
23549         (strchr): Do not use BP_SYM.
23550         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23551         "bp-asm.h".
23552         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23553         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23554         (_start): Do not use BP_SYM.
23555         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23556         "bp-asm.h".
23557         (strcat): Do not use BP_SYM.
23558         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23559         "bp-asm.h".
23560         (STRCMP): Do not use BP_SYM.
23561         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23562         "bp-asm.h".
23563         (STRCPY): Do not use BP_SYM.
23564         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23565         "bp-asm.h".
23566         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23567         "bp-asm.h".
23568         (FUNCTION): Do not use BP_SYM.
23569         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23570         weak_alias.
23571         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23572
23573 2013-02-17  Andreas Jaeger  <aj@suse.de>
23574
23575         * time/Versions: Sort entries.
23576         * string/Versions: Likewise.
23577         * resolv/Versions: Likewise.
23578         * posix/Versions: Likewise.
23579         * iconv/Versions: Likewise.
23580         * elf/Versions: Likewise.
23581         * wcsmbs/Versions: Likewise.
23582
23583 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23584
23585         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23586         loop termination condition.
23587
23588         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23589         variable to calculate EZ.
23590         (__sqr): Likewise.
23591
23592         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23593         the lower precision input.
23594
23595 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
23596
23597         [BZ #13550]
23598         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23599         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23600         (run-via-rtld-prefix): Do not handle %-bp tests.
23601         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23602         (all-object-suffixes): Remove .ob.
23603         (bppfx): Remove variable.
23604         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23605         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23606         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23607         [$(build-bounded) = yes] (libtype.ob): Likewise.
23608         * Makerules (elide-routines.ob): Remove variable.
23609         (do-tests-clean): Do not handle *-bp.out.
23610         (common-mostlyclean): Do not handle *-bp and *-bp.out.
23611         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23612         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23613         (tests): Do not include $(tests-bp.out).
23614         (xtests): Do not include $(xtests-bp.out).
23615         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23616         [$(build-bounded) = yes] ($(addprefix
23617         $(objpfx),$(binaries-bounded))): Remove rule.
23618         ($(objpfx)%-bp.out): Remove rule.
23619         * config.make.in (build-bounded): Remove variable.
23620         * crypt/Makefile [$(build-bounded) = yes]
23621         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23622         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23623         append to variable.
23624         [$(build-bounded) = yes] (install-lib): Likewise.
23625         [$(build-bounded) = yes] (generated): Likewise.
23626         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23627         Remove rule.
23628         * intl/Makefile [$(build-bounded) = yes]
23629         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23630         * math/Makefile [$(build-bounded) = yes]
23631         ($(tests:%=$(objpfx)%-bp): Likewise.
23632         * misc/Makefile [$(build-bounded) = yes]
23633         ($(objpfx)tst-tsearch-bp): Likewise.
23634         * nptl/Makeconfig (bounded-thread-library): Remove variable.
23635         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23636         Remove dependency.
23637         * string/Makefile (o-objects.ob): Remove variable.
23638         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23639         (CFLAGS-.ob): Remove variable.
23640         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23641         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23642         both definitions of variable.
23643         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23644         (ASFLAGS-.ob): Remove variable.
23645
23646 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
23647
23648         [BZ #13550]
23649         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23650         Remove __BOUNDED_POINTERS__ from condition.
23651         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23652         * string/bits/string2.h [!__NO_STRING_INLINES &&
23653         !__BOUNDED_POINTERS__]: Likewise.
23654         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23655         Likewise.
23656         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23657         Remove conditional code.
23658         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23659         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23660         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23661         condition.
23662
23663         [BZ #13550]
23664         * csu/libc-start.c: Do not include <bp-sym.h>.
23665         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23666         * elf/dl-open.c: Do not include <bp-sym.h>.
23667         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23668         * math/fegetenv.c: Do not include <bp-sym.h>.
23669         (fegetenv): Do not use BP_SYM in versioned symbols.
23670         * nptl/sysdeps/pthread/bits/libc-lockP.h
23671         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23672         <bp-sym.h>.
23673         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23674         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23675         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23676         (__pthread_mutex_destroy): Likewise.
23677         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23678         (__pthread_mutex_lock): Likewise.
23679         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23680         (__pthread_mutex_trylock): Likewise.
23681         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23682         (__pthread_mutex_unlock): Likewise.
23683         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23684         (__pthread_mutexattr_init): Likewise.
23685         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23686         (__pthread_mutexattr_destroy): Likewise.
23687         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23688         (__pthread_mutexattr_settype): Likewise.
23689         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23690         (__pthread_rwlock_init): Likewise.
23691         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23692         (__pthread_rwlock_destroy): Likewise.
23693         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23694         (__pthread_rwlock_rdlock): Likewise.
23695         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23696         (__pthread_rwlock_tryrdlock): Likewise.
23697         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23698         (__pthread_rwlock_wrlock): Likewise.
23699         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23700         (__pthread_rwlock_trywrlock): Likewise.
23701         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23702         (__pthread_rwlock_unlock): Likewise.
23703         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23704         (__pthread_key_create): Likewise.
23705         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23706         (__pthread_setspecific): Likewise.
23707         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23708         (__pthread_getspecific): Likewise.
23709         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23710         Likewise.
23711         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23712         (_pthread_cleanup_push_defer): Likewise.
23713         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23714         (_pthread_cleanup_pop_restore): Likewise.
23715         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23716         (pthread_setcancelstate): Likewise.
23717         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23718         <bp-sym.h>.
23719         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23720         (memchr): Do not use BP_SYM in weak_alias.
23721         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23722         (fegetenv): Do not use BP_SYM in versioned symbols.
23723         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23724         (fesetenv): Do not use BP_SYM in versioned symbols.
23725         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23726         (feupdateenv): Do not use BP_SYM in versioned symbols.
23727         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23728         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23729         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23730         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23731         (open64): Do not use BP_SYM in weak_alias.
23732         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23733         (fegetenv): Do not use BP_SYM in versioned symbols.
23734         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23735         (fesetenv): Do not use BP_SYM in versioned symbols.
23736         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23737         (feupdateenv): Do not use BP_SYM in versioned symbols.
23738         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23739         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23740         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23741         (feraiseexcept): Do not use BP_SYM in versioned symbols.
23742         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23743         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23744         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23745         <bp-sym.h>.
23746         (__libc_start_main): Do not use BP_SYM.
23747
23748 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23749
23750         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23751         redundant return line.
23752         (norm): Likewise.
23753         (denorm): Likewise.
23754         (dbl_mp): Likewise.
23755         (sub_magnitudes): Likewise.
23756         (__add): Likewise.
23757         (__sub): Likewise.
23758         (__mul): Likewise.
23759         (__inv): Likewise.
23760         (__dvd): Likewise.
23761         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23762         (norm): Likewise.
23763         (denorm): Likewise.
23764         (dbl_mp): Likewise.
23765         (sub_magnitudes): Likewise.
23766         (__add): Likewise.
23767         (__sub): Likewise.
23768         (__mul): Likewise.
23769         (__inv): Likewise.
23770         (__dvd): Likewise.
23771
23772         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23773         instead of __mul.
23774         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23775         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23776         (cc32): Likewise.
23777
23778         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23779         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23780         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23781         of __mul for squares.
23782         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23783         function
23784         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23785         Likewise.
23786         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23787         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23788
23789 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
23790
23791         [BZ #13550]
23792         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23793         code.
23794         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23795         prototype or function definition.  Rename ubp_* variables and
23796         parameters.  Remove argv definitions conditional on
23797         [__BOUNDED_POINTERS__].
23798         * debug/backtrace.c (__backtrace): Do not use __unbounded.
23799         * elf/dl-runtime.c (_dl_fixup): Likewise.
23800         * include/set-hooks.h (RUN_HOOK): Likewise.
23801         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23802         definition.
23803         * string/strcpy.c (strcpy): Do not use __unbounded.
23804         * sysdeps/generic/frame.h (struct layout): Likewise.
23805         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23806         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23807         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23808         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23809         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23810         (__backtrace): Likewise.
23811         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23812         use __ptrvalue.
23813         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23814         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23815         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23816         Likewise.
23817         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23818         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23819         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23820         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23821         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23822         Do not use __unbounded.
23823         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23824         Rename __unboundedrlimits parameter to rlimits in prototype.
23825         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23826         Do not use __unbounded.
23827         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23828         not use __ptrvalue.
23829         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23830         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23831         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23832         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23833         __ptrvalue or __unbounded.
23834         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23835         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23836         use __unbounded.
23837         (__new_msgctl): Do not use __ptrvalue.
23838         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23839         __unbounded.
23840         (__libc_msgrcv): Do not use __ptrvalue.
23841         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23842         startup_info): Do not use __unbounded.
23843         (__libc_start_main): Likewise.  Rename ubp_* variables and
23844         parameters.  Remove argv definitions conditional on
23845         [__BOUNDED_POINTERS__].
23846         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23847         __ptrvalue.
23848         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23849         use __unbounded.
23850         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23851         or __ptrvalue.
23852         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23853         use __unbounded.
23854         (__new_shmctl): Do not use __ptrvalue.
23855         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23856         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23857         Likewise.
23858         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23859         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23860         (__libc_sigaction): Likewise.
23861         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23862         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23863         Likewise.
23864         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23865
23866 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
23867
23868         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23869
23870         * string/mempcpy.c: Implement by calling memcpy.
23871
23872 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23873
23874         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23875
23876         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23877         evaluation.
23878
23879         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23880         values in the mantissa.
23881
23882         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23883         minimize writes to Z.
23884         (sub_magnitudes): Simplify code a bit.
23885
23886 2013-02-12  Roland McGrath  <roland@hack.frob.com>
23887
23888         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23889         from the message.  The linker prefixes all warnings with that already.
23890
23891 2013-02-12  Andreas Schwab  <schwab@suse.de>
23892
23893         [BZ #15078]
23894         * posix/regexec.c (extend_buffers): Add parameter min_len.
23895         (check_matching): Pass minimum needed length.
23896         (clean_state_log_if_needed): Likewise.
23897         (get_subexp): Likewise.
23898         * posix/Makefile (tests): Add bug-regex34.
23899         (bug-regex34-ENV): Define.
23900         * posix/bug-regex34.c: New file.
23901
23902         [BZ #11561]
23903         * posix/regcomp.c (parse_bracket_exp): When looking up collating
23904         elements compare against the byte sequence of it, not its name.
23905         * posix/Makefile (tests): Add bug-regex35.
23906         (bug-regex35-ENV): Define.
23907         * posix/bug-regex35.c: New file.
23908
23909 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23910
23911         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
23912         comment.
23913         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23914         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23915         (CHECK_EOL): Add undef.
23916
23917 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
23918
23919         * bits/stdlib-bsearch.h: New file.
23920         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23921         * stdlib/stdlib.h: Likewise.
23922
23923 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23924
23925         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23926         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23927         declaration.
23928         * manual/search.texi (Array Search Function): Add missing const in
23929         lfind prototype.
23930         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23931         declaration to use rlim_t.
23932         (Basic Scheduling Functions): Remove erroneous const from
23933         sched_getparam prototype.  Remove erroneous * from
23934         sched_get_priority_max and sched_get_priority_min prototypes.
23935         (Resource Usage): Fix summary @comment on vtimes to refer to
23936         sys/vtimes.h rather than vtimes.h.
23937         Add missing *s in vtimes prototype.
23938         (Limits on Resources): Fix ulimit prototype to return long int.
23939         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23940         prototypes to use long int rather than double.
23941         (BSD Random): Fix initstate and setstate to use char *, not void *.
23942         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23943         prototype to make second argument 'struct aiocb64 *const[]'.
23944         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23945         (Status of AIO Operations): Remove erroneous const in aio_return and
23946         aio_return64 prototypes.
23947         (Synchronizing I/O): Fix sync prototype to return void.
23948         * manual/startup.texi (Suboptions): Remove an erroneous const in
23949         getsubopt prototype.
23950         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23951         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23952         use size_t rather than int.
23953         (Scanning All Users): Likewise for getpwent_r.
23954         (Setting Groups): Add missing const to setgroups prototype.
23955         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23956         * manual/socket.texi (Host Names): Fix gethostbyaddr and
23957         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23958         'const void *' rather than 'const char *'.
23959         (Host Address Functions): Likewise for inet_ntop.
23960         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23961         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23962         ssize_t for return value.
23963         (Sending Data): Likewise for send, sendto, sendmsg.
23964         (Socket Option Functions): Add a missing const in setsockopt prototype.
23965         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23966         use wchar_t for the argument.
23967         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23968         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23969         take no arguments.
23970         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23971         double/float/long double for second argument.
23972         Fix return types of significand, significandf, significandl.
23973         * manual/filesys.texi (Setting Permissions): Use mode_t for second
23974         argument in fchmod prototype.
23975         (File Owner): Use uid_t and gid_t in fchown prototype.
23976         (File Times): Add const to utimes, futimes, and lutimes prototypes.
23977         (Making Special Files): Use mode_t and dev_t in mknod prototype.
23978         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23979         use 'const struct dirent **' as argument types to CMP function pointer
23980         argument.
23981         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23982         (File Times): Fix summary magic @comment for struct utimbuf and utime
23983         to refer to utime.h, not time.h.
23984         * manual/string.texi (Argz Functions): Add missing const in
23985         argz_extract and argz_next prototypes.
23986         (Finding Tokens in a String): Likewise for basename.
23987         (String/Array Comparison): Fix typo in wcscasecmp prototype.
23988         (Copying and Concatenation): Fix typo in wmemmove prototype.
23989         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23990         (Signal Stack): Remove erroneous const in sigstack prototype.
23991         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23992         prototype.
23993         (Simple Calendar Time): Likewise for stime.
23994         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23995         prototype.
23996         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23997         say sys/sysctl.h instead.
23998         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23999         and vsyslog prototypes.
24000
24001 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24002
24003         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24004         Remove.
24005
24006 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24007
24008         * misc/sys/mman.h: Fix typo in mremap comment.
24009
24010 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24011
24012         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24013         the '\0' terminator.
24014
24015 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24016
24017         [BZ #13550]
24018         * debug/segfault.c: Don't include <bp-checks.h>.
24019         * sysdeps/generic/bp-checks.h: Remove file.
24020         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24021         (__GETDENTS): Don't use CHECK_N.
24022         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24023         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24024         (__getgroups): Don't use CHECK_N.
24025         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24026         (setgroups): Don't use CHECK_N.
24027         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24028         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24029         (__libc_msgrcv): Don't use CHECK_N.
24030         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24031         (__libc_msgsnd): Don't use CHECK_N.
24032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24033         <bp-checks.h>.
24034         (__libc_pread): Don't use CHECK_N.
24035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24036         include <bp-checks.h>.
24037         (__libc_pread64): Don't use CHECK_N.
24038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24039         include <bp-checks.h>.
24040         (__libc_pwrite): Don't use CHECK_N.
24041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24042         include <bp-checks.h>.
24043         (__libc_pwrite64): Don't use CHECK_N.
24044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24045         <bp-checks.h>.
24046         (__libc_pread): Don't use CHECK_N.
24047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24048         include <bp-checks.h>.
24049         (__libc_pread64): Don't use CHECK_N.
24050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24051         include <bp-checks.h>.
24052         (__libc_pwrite): Don't use CHECK_N.
24053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24054         include <bp-checks.h>.
24055         (__libc_pwrite64): Don't use CHECK_N.
24056         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24057         (do_pread): Don't use CHECK_N.
24058         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24059         (do_pread64): Don't use CHECK_N.
24060         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24061         (do_pwrite): Don't use CHECK_N.
24062         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24063         (do_pwrite64): Don't use CHECK_N.
24064         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24065         (__libc_readv): Don't use CHECK_N.
24066         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24067         (semop): Don't use CHECK_N.
24068         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24069         <bp-checks.h>.
24070         (semtimedop): Don't use CHECK_N.
24071         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24072         (__libc_pread): Don't use CHECK_N.
24073         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24074         <bp-checks.h>.
24075         (__libc_pread64): Don't use CHECK_N.
24076         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24077         <bp-checks.h>.
24078         (__libc_pwrite): Don't use CHECK_N.
24079         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24080         <bp-checks.h>.
24081         (__libc_pwrite64): Don't use CHECK_N.
24082         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24083         <bp-checks.h>.
24084         (__libc_msgrcv): Don't use CHECK_N.
24085         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24086         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
24087         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24088         (__libc_writev): Don't use CHECK_N.
24089
24090 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24091
24092         * string/strcpy.c: Removed unused variable.
24093
24094         * Makeconfig (+sysdep-includes): Define with := rather than =.
24095         Use an existing include/ subdir of each sysdeps dir before it.
24096
24097 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24098
24099         * nscd/connection.c (register_traced_file): Comment function.
24100         [HAVE_INOTIFY] (union __inev): Define.
24101         [HAVE_INOTIFY] (inotify_check_files): New function.
24102         [HAVE_INOTIFY] (clear_db_cache): Likewise.
24103         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24104         clear_db_cache.
24105         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24106
24107 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24108
24109         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24110         loaded if not already and that a failure is permanent.
24111
24112 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24113
24114         [BZ #15006]
24115         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24116         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24117
24118 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24119
24120         [BZ #13550]
24121         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24122         (CHECK_1_NULL_OK): Likewise.
24123         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24124         (__fxstat): Do not use CHECK_1.
24125         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24126         <bp-checks.h>.
24127         (___fxstat64): Do not use CHECK_1.
24128         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24129         <bp-checks.h>.
24130         (__fxstatat): Do not use CHECK_1.
24131         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24132         <bp-checks.h>.
24133         (__fxstatat64): Do not use CHECK_1.
24134         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24135         <bp-checks.h>.
24136         (__fxstat): Do not use CHECK_1.
24137         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24138         <bp-checks.h>.
24139         (__fxstatat): Do not use CHECK_1.
24140         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24141         <bp-checks.h>.
24142         (__getresgid): Do not use CHECK_1.
24143         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24144         <bp-checks.h>.
24145         (__getresuid): Do not use CHECK_1.
24146         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24147         <bp-checks.h>.
24148         (__lxstat): Do not use CHECK_1.
24149         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24150         <bp-checks.h>.
24151         (__old_msgctl): Do not use CHECK_1.
24152         (__new_msgctl): Likewise.
24153         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24154         <bp-checks.h>.
24155         (__new_setrlimit): Do not use CHECK_1.
24156         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24157         <bp-checks.h>.
24158         (__old_shmctl): Do not use CHECK_1.
24159         (__new_shmctl): Likewise.
24160         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24161         <bp-checks.h>.
24162         (__xstat): Do not use CHECK_1.
24163         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24164         (__lxstat): Do not use CHECK_1.
24165         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24166         <bp-checks.h>.
24167         (___lxstat64): Do not use CHECK_1.
24168         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24169         (__old_msgctl): Do not use CHECK_1.
24170         (__new_msgctl): Likewise.
24171         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24172         <bp-checks.h>.
24173         (__gettimeofday): Do not use CHECK_1.
24174         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24175         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24176         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24177         <bp-checks.h>.
24178         (__gettimeofday): Do not use CHECK_1.
24179         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24180         (__old_shmctl): Do not use CHECK_1_NULL_OK.
24181         (__new_shmctl): Do not use CHECK_1.
24182         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24183         <bp-checks.h>.
24184         (do_sigtimedwait): Do not use CHECK_1.
24185         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24186         <bp-checks.h>.
24187         (do_sigwaitinfo): Do not use CHECK_1.
24188         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24189         <bp-checks.h>.
24190         (msgctl): Do not use CHECK_1.
24191         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24192         <bp-checks.h>.
24193         (shmctl): Do not use CHECK_1.
24194         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24195         (ustat): Do not use CHECK_1.
24196         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24197         <bp-checks.h>.
24198         (__fxstat): Do not use CHECK_1.
24199         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24200         <bp-checks.h>.
24201         (__fxstatat): Do not use CHECK_1.
24202         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24203         <bp-checks.h>.
24204         (__lxstat): Do not use CHECK_1.
24205         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24206         <bp-checks.h>.
24207         (__xstat): Do not use CHECK_1.
24208         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24209         (__xstat): Do not use CHECK_1.
24210         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24211         (___xstat64): Do not use CHECK_1.
24212
24213         [BZ #13550]
24214         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24215         definitions.
24216         (CHECK_BOUNDS_HIGH): Likewise.
24217         * string/strcpy.c: Do not include <bp-checks.h>.
24218         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24219
24220 2013-02-07  Roland McGrath  <roland@hack.frob.com>
24221
24222         * nscd/nscd-client.h (__nscd_drop_map_ref):
24223         Add __attribute__ ((unused)).
24224         * nis/nss-nisplus.h (niserr2nss): Likewise.
24225
24226         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24227         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24228
24229         * csu/libc-tls.c (init_static_tls, init_slotinfo):
24230         Remove inline keyword.
24231         * include/rounding-mode.h (round_away): Likewise.
24232         * libio/wfileops.c (adjust_wide_data): Likewise.
24233         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24234         (__m128i_strloadu_tolower): Likewise.
24235         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24236         (__m128i_strloadu_tolower): Likewise.
24237         * time/mktime.c (ydhms_diff): Likewise.
24238         * locale/elem-hash.h (elem_hash): Likewise.
24239         * locale/setlocale.c (setdata): Likewise.
24240         * posix/regex_internal.h (re_string_char_size_at): Likewise.
24241         (re_string_wchar_at): Likewise.
24242         (bitset_not, bitset_merge, bitset_mask): Likewise.
24243         [!(__GNUC__ > 3)] (inline): Remove macro.
24244         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24245         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24246         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24247         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24248         * string/memcmp.c (memcmp_bytes): Likewise.
24249         * locale/programs/locarchive.c (compute_hashval): Likewise.
24250         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24251         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24252         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24253         * nss/getent.c (print_rpc, print_protocols): Likewise.
24254         (print_passwd, print_group, print_aliases): Likewise.
24255         * nis/nss-nisplus.h (niserr2nss): Likewise.
24256         * nscd/connections.c (restart_p): Likewise.
24257         Change return type to bool.
24258
24259 2013-02-05  Roland McGrath  <roland@hack.frob.com>
24260
24261         * Makeconfig (all-Depend-files): Add existing
24262         $(sorted-subdirs:=/Depend) files.
24263         (all-subdirs): Remove nss.
24264         * sysdeps/unix/inet/Subdirs: Add it here instead.
24265         * hesiod/Depend: New file.
24266
24267         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24268         instead of calling alloca.
24269
24270         * io/lseek.c (__lseek): Rename to __libc_lseek.
24271         Define __lseek as an alias.
24272
24273         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24274
24275 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
24276
24277         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24278         else clause and remove check for non-standard endianness.
24279
24280 2013-02-04  David S. Miller  <davem@davemloft.net>
24281
24282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24283
24284 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
24285
24286         [BZ #13550]
24287         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24288         (__ubp_memchr): Remove prototype.
24289         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24290         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24291         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24292         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24293         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24294         Remove alias.
24295         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24296         (__ubp_memchr): Likewise.
24297         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24298         (__ubp_memchr): Likewise.
24299         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24300         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24301         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24302         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24303         CHECK_STRING.
24304         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24305         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24306         (__getcwd): Do not use CHECK_STRING.
24307         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24308         <bp-checks.h>.
24309         (__real_chown): Do not use CHECK_STRING.
24310         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24311         <bp-checks.h>.
24312         (fchownat): Do not use CHECK_STRING.
24313         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24314         CHECK_STRING.
24315         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24316         <bp-checks.h>.
24317         (__lchown): Do not use CHECK_STRING.
24318         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24319         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24320         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24321         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24323         include <bp-checks.h>.
24324         (truncate64): Do not use CHECK_STRING.
24325         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24326         <bp-checks.h>.
24327         (__real_chown): Do not use CHECK_STRING.
24328         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24329         <bp-checks.h>.
24330         (__lchown): Do not use CHECK_STRING.
24331         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24332         <bp-checks.h>.
24333         (__chown): Do not use CHECK_STRING.
24334         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24335         <bp-checks.h>.
24336         (truncate64): Do not use CHECK_STRING.
24337         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24338         Likewise.
24339         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24340         (__xmknod): Do not use CHECK_STRING.
24341         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24342         <bp-checks.h>.
24343         (__xmknodat): Do not use CHECK_STRING.
24344         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24345         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24346
24347 2013-02-04  Andreas Schwab  <schwab@suse.de>
24348
24349         [BZ #14142]
24350         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24351         * include/netdb.h: Likewise for h_errno.
24352         * elf/tst-stackguard1.c: Include <tls.h>.
24353
24354 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
24355
24356         * elf/link.h (struct link_map): Extend the l_addr comment.
24357         * include/link.h (struct link_map): Likewise.
24358
24359 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
24360
24361         [BZ #13550]
24362         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24363         (BOUNDED_1): Remove macro.
24364         * debug/backtrace.c: Don't include <bp-checks.h>.
24365         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24366         (__backtrace): Likewise.
24367         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24368         <bp-checks.h>.
24369         (__backtrace): Don't use BOUNDED_1.
24370         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24371         <bp-checks.h>.
24372         (__backtrace): Don't use BOUNDED_1.
24373         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24374         (__backtrace): Don't use BOUNDED_1.
24375         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24376         (shmat): Don't use BOUNDED_N.
24377
24378 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
24379
24380         [BZ #13550]
24381         * sysdeps/generic/bp-start.h: Remove file.
24382         * csu/libc-start.c: Don't include <bp-start.h>.
24383         (LIBC_START_MAIN): Set up __environ directly instead of using
24384         INIT_ARGV_and_ENVIRON.
24385         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24386         <bp-start.h>.
24387
24388         [BZ #13550]
24389         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24390         definitions.
24391         (CHECK_FCNTL): Likewise.
24392         (CHECK_N_PAGES): Likewise.
24393
24394         [BZ #13550]
24395         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24396         definitions.
24397         (CHECK_SIGSET_NULL_OK): Likewise.
24398         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24399         <bp-checks.h>.
24400         (sigpending): Don't use CHECK_SIGSET.
24401         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24402         <bp-checks.h>.
24403         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24404         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24405         <bp-checks.h>.
24406         (do_sigsuspend): Don't use CHECK_SIGSET.
24407         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24408         use CHECK_SIGSET.
24409         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24410         (do_sigwait): Don't use CHECK_SIGSET.
24411         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24412         use CHECK_SIGSET.
24413         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24414         include <bp-checks.h>.
24415         (sigpending): Don't use CHECK_SIGSET.
24416         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24417         include <bp-checks.h>.
24418         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24419         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24420         <bp-checks.h>.
24421         (sigpending): Don't use CHECK_SIGSET.
24422         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24423         <bp-checks.h>.
24424         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24425
24426         [BZ #13550]
24427         * sysdeps/generic/bp-semctl.h: Remove file.
24428         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24429         <bp-checks.h> and <bp-semctl.h>.
24430         (__old_semctl): Don't use CHECK_SEMCTL.
24431         (__new_semctl): Likewise.
24432         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24433         and <bp-semctl.h>.
24434         (__old_semctl): Don't use CHECK_SEMCTL.
24435         (__new_semctl): Likewise.
24436         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24437         <bp-checks.h> and <bp-semctl.h>.
24438         (__old_semctl): Don't use CHECK_SEMCTL.
24439         (__new_semctl): Likewise.
24440         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24441         <bp-checks.h> and <bp-semctl.h>.
24442         (semctl): Don't use CHECK_SEMCTL.
24443
24444         [BZ #13550]
24445         * Makerules (elide-bp-thunks): Remove variable.
24446         (elide-routines.oS): Don't use $(elide-bp-thunks).
24447         (elide-routines.os): Likewise.
24448         (elide-routines.o): Likewise.
24449         (elide-routines.op): Likewise.
24450         (elide-routines.og): Likewise.
24451         (objects): Don't use $(bp-thunks).
24452         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24453         include.
24454         (common-generated): Do not add s-proto-bp.d.
24455         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24456         (int): Likewise.
24457         (typ): Likewise.
24458         Do not generate makefile rules for bounded-pointer thunks.
24459         * sysdeps/generic/bp-thunks.h: Remove file.
24460         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24461         * sysdeps/unix/s-proto-bp.S: Likewise.
24462
24463         [BZ #15062]
24464         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24465         parts of result separately when argument is not close to line from
24466         -i to i and one part of argument is small.
24467         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24468         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24469         * math/libm-test.inc (cacos_test): Add more tests.
24470         (casin_test): Likewise.
24471         (casinh_test): Likewise.
24472         * sysdeps/i386/fpu/libm-test-ulps: Update.
24473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24474
24475 2013-01-31  David S. Miller  <davem@davemloft.net>
24476
24477         * po/de.po: Update from translation team.
24478
24479 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
24480
24481         * time/tzfile.c: Include stdint.h for SIZE_MAX.
24482
24483 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
24484
24485         * configure.in (_AC_PROG_CC_C89): New definition.
24486         * configure: Regenerate.
24487
24488         * configure.in (AC_PROG_CPP): New definition.
24489         * configure: Regenerate.
24490
24491 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24492
24493         * debug/tst-backtrace.h: New file.
24494         * debug/tst-backtrace2.c: Include tst-backtrace.h.
24495         (ret): Remove variable.
24496         (x): Likewise.
24497         (FAIL): Remove macro.
24498         (NO_INLINE): Likewise.
24499         (fn1): Use match function instead of strstr.
24500         * debug/tst-backtrace3.c: Include tst-backtrace.h.
24501         (ret): Remove variable.
24502         (x): Likewise.
24503         (FAIL): Remove macro.
24504         (NO_INLINE): Likewise.
24505         (fn): Use match function instead of strstr.
24506         * debug/tst-backtrace4.c: Include tst-backtrace.h.
24507         (ret): Remove variable.
24508         (x): Likewise.
24509         (FAIL): Remove macro.
24510         (NO_INLINE): Likewise.
24511         (handle_signal): Use match function instead of strstr.
24512         * debug/tst-backtrace5.c: Include tst-backtrace.h.
24513         (ret): Remove variable.
24514         (x): Likewise.
24515         (FAIL): Remove macro.
24516         (NO_INLINE): Likewise.
24517         (handle_signal): Use match function instead of strstr.
24518
24519 2013-01-23  Roland McGrath  <roland@hack.frob.com>
24520
24521         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24522
24523 2013-01-23  David S. Miller  <davem@davemloft.net>
24524
24525         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24526         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24527         argument of CAS if possible.
24528         * sysdeps/sparc/sparc64/bits/atomic.h
24529         (__arch_compare_and_exchange_val_32_acq): Likewise.
24530         (__arch_compare_and_exchange_val_64_acq): Likewise.
24531
24532 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
24533
24534         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24535         * sysdeps/posix/ulimit.c: ... this.
24536         Include <limits.h>.
24537         * sysdeps/unix/bsd/ulimit.c: Remove file.
24538
24539 2013-01-23  Adam Conrad  <adconrad@0c3.net>
24540
24541         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24542         (LDFLAGS-tst-array5): Likewise.
24543
24544 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24545
24546         [BZ #15036]
24547         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24548         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24549         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24550         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24551
24552 2013-01-21  David S. Miller  <davem@davemloft.net>
24553
24554         * sysdeps/sparc/backtrace.c: New file.
24555         * sysdeps/sparc/sparc32/backtrace.h: New file.
24556         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24557         * sysdeps/sparc/sparc64/backtrace.h: New file.
24558         * sysdeps/sparc/sparc64/backtrace.c: Delete.
24559         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24560         -funwind-tables.
24561
24562 2013-01-21  Andreas Schwab  <schwab@suse.de>
24563
24564         [BZ #15020]
24565         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24566         closed its stdout.
24567
24568 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
24569
24570         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24571         "mpa2.h".
24572         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24573
24574 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
24575             Mark Mitchell  <mark@codesourcery.com>
24576             Tom de Vries  <tom@codesourcery.com>
24577             Paul Pluzhnikov  <ppluzhnikov@google.com>
24578
24579         * debug/tst-backtrace2.c: New file.
24580         * debug/tst-backtrace3.c: Likewise.
24581         * debug/tst-backtrace4.c: Likewise.
24582         * debug/tst-backtrace5.c: Likewise.
24583         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24584         (CFLAGS-tst-backtrace3.c): Likewise.
24585         (CFLAGS-tst-backtrace4.c): Likewise.
24586         (CFLAGS-tst-backtrace5.c): Likewise.
24587         (LDFLAGS-tst-backtrace2): Likewise.
24588         (LDFLAGS-tst-backtrace3): Likewise.
24589         (LDFLAGS-tst-backtrace4): Likewise.
24590         (LDFLAGS-tst-backtrace5): Likewise.
24591         (tests): Add new tests tst-backtrace2, tst-backtrace3,
24592         tst-backtrace4 and tst-backtrace5.
24593
24594 2013-01-18  Anton Blanchard  <anton@samba.org>
24595             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24596
24597         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24598         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24599         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24600         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24602         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24603         "+r" and remove output regs list as redundant.  Add explicit inline
24604         asm to specify register of return val to work around compiler codegen
24605         bug.  Remove (int) cast on return value.  Add return type parameter to
24606         use in macro so that this macro does not truncate return value for
24607         64-bit values.
24608         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24609         pass to INTERNAL_VSYSCALL_NCS.
24610         (INLINE_VSYSCALL): Add 'long int' as return type to
24611         INTERNAL_VSYSCALL_NCS macro invocation.
24612         (INTERNAL_VSYSCALL): Add 'long int' as return type to
24613         INTERNAL_VSYSCALL_NCS macro invocation.
24614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24615
24616 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24617
24618         [BZ #14496]
24619         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24620         Fix application of SIMD FP exception mask.
24621
24622         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24623         mp_no from a power of two.
24624         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24625         __mpexp_twomm1.  Use __pow_mp.
24626
24627         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24628         multiplication.
24629
24630 2013-01-17  David S. Miller  <davem@davemloft.net>
24631
24632         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24633
24634 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24635
24636         [BZ #15023]
24637         * include/complex.h: Condition contents on [!_COMPLEX_H].
24638         (__kernel_casinhf): New prototype.
24639         (__kernel_casinh): Likewise.
24640         (__kernel_casinhl): Likewise.
24641         * math/Makefile (libm_calls): Add k_casinh.
24642         * math/k_casinh.c: New file.
24643         * math/k_casinhf.c: Likewise.
24644         * math/k_casinhl.c: Likewise.
24645         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24646         finite nonzero arguments.
24647         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24648         finite nonzero arguments.
24649         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24650         finite nonzero arguments.
24651         * math/s_casinh.c: Do not include <float.h>.
24652         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24653         * math/s_casinhf.c: Do not include <float.h>.
24654         (__casinhf): Move code for finite nonzero arguments to
24655         k_casinhf.c.
24656         * math/s_casinhl.c: Do not include <float.h>.
24657         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24658         redefine.
24659         (__casinhl): Move code for finite nonzero arguments to
24660         k_casinhl.c.
24661         * math/libm-test.inc (cacos_test): Add more tests.
24662         * sysdeps/i386/fpu/libm-test-ulps: Update.
24663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24664
24665 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
24666
24667         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24668         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24669         [!HAVE_MREMAP]: Remove [defined linux] case.
24670         * malloc/arena.c: Do not include <malloc-sysdep.h>.
24671
24672 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24673
24674         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24675
24676 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
24677
24678         * elf/elf.h (R_386_SIZE32): New relocation.
24679         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24680         R_386_SIZE32.
24681         (elf_machine_rela): Likewise.
24682         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24683         R_X86_64_SIZE64 and R_X86_64_SIZE32.
24684
24685 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24686
24687         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24688         (FP_FAST_FMA): Do not define.
24689         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24690         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24691         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24692         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24693         !_SOFT_FLOAT]: Likewise.
24694         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24695         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24696         value.
24697         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24698         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24699         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24700         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24701         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24702         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24703         file.
24704
24705 2013-01-16  Andreas Schwab  <schwab@suse.de>
24706
24707         [BZ #14327]
24708         * include/stdlib.h (__mktemp): Add declaration.
24709         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24710         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24711
24712 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24713
24714         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24715         definitions.
24716         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24717         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24718         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24719         definitions here.
24720         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24721         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24722         definitions.
24723         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24724         and ONE.
24725         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24726         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24727         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24728         definitions.
24729         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24730         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24731         definitions.
24732         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24733
24734         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24735
24736 2013-01-15  David S. Miller  <davem@davemloft.net>
24737
24738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24739         trunc{,f} to libm-sysdep_routes.
24740         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24742         file.
24743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24745         file.
24746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24747         file.
24748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24750         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24751         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24752         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24753         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24754         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24755         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24756
24757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24758         nearbyint{,f} to libm-sysdep_routes.
24759         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24761         New file.
24762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24763         file.
24764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24765         New file.
24766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24767         file.
24768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24770         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24771         file.
24772         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24773         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24774         file.
24775         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24776         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24777         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24778
24779         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24780         libc_feholdexcept and libc_fesetenv.
24781
24782 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
24783
24784         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24785
24786 2013-01-14  David S. Miller  <davem@davemloft.net>
24787
24788         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24789         (SPARC_ASM_VIS2_IFUNC): Likewise.
24790         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24792         use of 'siam' instruction.
24793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24794         Likewise.
24795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24796         Likewise.
24797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24798         Likewise.
24799         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24800         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24801         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24802         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24804         file.
24805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24806         file.
24807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24808         file.
24809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24810         file.
24811         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24812         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24813         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24814         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24816         new VIS2 routines.
24817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24820         Likewise.
24821         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24822         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24823         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24824         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24826         routines to libm-sysdep_routines.
24827         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24828
24829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24830         fdim/fdimf to libm-sysdep_routines.
24831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24832         file.
24833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24835         file.
24836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24837         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24838         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24839         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24840         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24841         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24842         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24843
24844 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24845
24846         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24847         to optimize copies.
24848
24849         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24850         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24851         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24852
24853         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24854         local variable MPTWO.
24855         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24856         Likewise.
24857
24858 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24859
24860         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24861         GLOB_NOESCAPE.
24862
24863 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24864
24865         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24866
24867 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24868
24869         * manual/pattern.texi (glob_t): Document gl_flags.
24870         (glob64_t): Likewise.
24871
24872 2013-01-11  David S. Miller  <davem@davemloft.net>
24873
24874         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24875         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24876         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
24877         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24878         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24879         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24880         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24881         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24882         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24883         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24884         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24885         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24886         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24887
24888         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24889         sparc V9 rather than using V8 code.
24890         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24891         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24892
24893         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24894         Move to...
24895         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24896         Here.
24897
24898 2013-01-11  Roland McGrath  <roland@hack.frob.com>
24899
24900         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24901         not in the main loop.
24902         * configure: Regenerated.
24903
24904 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
24905
24906         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24907         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24908         to just #else.
24909         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
24910         [!__GLIBC_HAVE_LONG_LONG] case.
24911         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24912         condition to just #else.
24913         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24914         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24915         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24916         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24917         unconditional.
24918         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24919         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24920         #elif condition to just #else.
24921         * sysdeps/unix/sysv/linux/sys/sysmacros.h
24922         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24923         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24924         #elif condition to just #else.
24925
24926 2013-01-11  Steve Ellcey  <sellcey@mips.com>
24927
24928         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24929         (EF_MIPS_ARCH_64): Fix value.
24930         (EF_MIPS_ARCH_32R2): New.
24931         (EF_MIPS_ARCH_64R2): New.
24932
24933 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
24934
24935         * Makeconfig (+link-pie-before-libc): New.
24936         (+link-pie-after-libc): Likewise.
24937         (+link-pie-tests): Likewise.
24938         (+link-pie): Rewritten.
24939         (link-before-libc): Remove $(config-LDFLAGS).
24940         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24941         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24942         (config-LDFLAGS): Renamed to ...
24943         (rtld-LDFLAGS): This.
24944         (rtld-tests-LDFLAGS): New macro.
24945         (link-libc-rpath-link): Likewise.
24946         (link-libc-tests-rpath-link): Likewise.
24947         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24948         (link-libc): Prepand $(link-libc-rpath-link).
24949         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24950         (test-program-prefix): New macro.
24951         (test-via-rtld-prefix): Likewise.
24952         (test-program-cmd): Likewise.
24953         (host-test-program-cmd): Likewise.
24954         * Makefile ($(common-objpfx)testrun.sh): Replace
24955         $(run-program-prefix) with $(test-program-prefix).
24956         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24957         $(rtld-LDFLAGS).
24958         ($(common-objpfx)shlib.lds): Likewise.
24959         (build-module-helper): Likewise.
24960         ($(common-objpfx)format.lds): Likewise.
24961         * Rules (binaries-pie-tests): New.
24962         (binaries-pie-notests): Likewise.
24963         (binaries-pie): Rewritten.
24964         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24965         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24966         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24967         (make-test-out): Replace $(host-built-program-cmd) with
24968         $(host-test-program-cmd).
24969         * config.make.in (build-hardcoded-path-in-tests): New variable.
24970         * configure.in (--enable-hardcoded-path-in-tests): New configure
24971         option.
24972         (hardcoded_path_in_tests): New AC_SUBST.
24973         * configure: Regenerated.
24974         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24975         $(built-program-cmd) with $(test-program-cmd).
24976         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24977         (test_program_cmd): This.
24978         * elf/Makefile ($(objpfx)order.out): Run test with
24979         $(test-program-prefix).
24980         ($(objpfx)order2.out): Likewise.
24981         ($(objpfx)tst-initorder.out): Likewise.
24982         ($(objpfx)tst-initorder2.out): Likewise.
24983         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24984         $(test-program-cmd).
24985         ($(objpfx)tst-array1-static.out): Likewise.
24986         ($(objpfx)tst-array2.out): Likewise.
24987         ($(objpfx)tst-array3.out): Likewise.
24988         ($(objpfx)tst-array4.out): Likewise.
24989         ($(objpfx)tst-array5.out): Likewise.
24990         ($(objpfx)tst-array5-static.out): Likewise.
24991         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24992         $(test-program-cmd).
24993         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24994         $(run-program-prefix) with $(test-program-prefix).
24995         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24996         (test_program_prefix): This.
24997         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24998         $(run-program-prefix) with $(test-program-prefix).
24999         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25000         (test_program_prefix): This.
25001         * iconvdata/tst-tables.sh: Likewise.
25002         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25003         $(run-program-prefix) with $(test-program-prefix).
25004         ($(objpfx)tst-translit.out): Likewise.
25005         ($(objpfx)tst-gettext2.out): Likewise.
25006         ($(objpfx)tst-gettext4.out): Likewise.
25007         ($(objpfx)tst-gettext6.out): Likewise.
25008         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25009         (test_program_prefix): This.
25010         * intl/tst-gettext2.sh: Likewise.
25011         * intl/tst-gettext4.sh  Likewise.
25012         * intl/tst-gettext6.sh: Likewise.
25013         * intl/tst-translit.sh: Likewise.
25014         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25015         with $(test-program-cmd).
25016         * libio/Makefile ($(objpfx)test-freopen.out): Replace
25017         $(run-program-prefix) with $(test-program-prefix).
25018         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25019         (test_program_prefix): This.
25020         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25021         $(run-program-prefix) with $(test-program-prefix).
25022         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25023         (test_program_prefix): This.
25024         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25025         * posix/Makefile ($(objpfx)globtest.out): Replace
25026         $(run-via-rtld-prefix) and $(test-wrapper) with
25027         $(test-program-prefix) and $(test-via-rtld-prefix).
25028         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25029         $(test-program-prefix).
25030         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25031         $(host-test-program-cmd).
25032         (tst-spawn-ARGS): Likewise.
25033         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25034         $(test-program-prefix).
25035         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25036         (test_via_rtld_prefix): This.
25037         (test_wrapper): Renamed to ...
25038         (test_program_prefix): This.
25039         (run_program_prefix): Replaced by test_program_prefix.
25040         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25041         (test_program_prefix): This.
25042         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25043         with $(host-test-program-cmd).
25044         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25045         $(run-program-prefix) with $(test-program-prefix).
25046         ($(objpfx)tst-printf.out): Likewise.
25047         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25048         $(test-program-cmd).
25049         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25050         (test_program_prefix): This.
25051         * stdio-common/tst-unbputc.sh: Likewise.
25052         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25053         $(run-program-prefix) with $(test-program-prefix).
25054         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25055         (test_program_prefix): This.
25056         * string/Makefile ($(objpfx)tst-svc.out):  Replace
25057         $(built-program-cmd) with $(test-program-cmd).
25058
25059 2013-01-11  Andreas Jaeger  <aj@suse.de>
25060
25061         [BZ #15003]
25062         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25063         value. Sync with Linux 3.7.
25064
25065 2013-01-10  David S. Miller  <davem@davemloft.net>
25066
25067         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25068         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25069         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25070
25071 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25072
25073         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25074         never set.
25075         * configure: Regenerated.
25076
25077 2013-01-10  David S. Miller  <davem@davemloft.net>
25078
25079         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25080         sparc V9 rather than using V8 code.
25081         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25082         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25083
25084 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25085
25086         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25087         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25088         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25089         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25090         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25091         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25092         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25093         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25094         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25095         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25096         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25097         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25098         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25099         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25100         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25101         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25102         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25103         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25104         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25105         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25106         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25107         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25108         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25109         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25110         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25111         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25112         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25113
25114 2013-01-10  David S. Miller  <davem@davemloft.net>
25115
25116         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25117
25118 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25119
25120         * posix/Makefile (tests-static): New variable.
25121         (tests): Add $(tests-static).
25122         (tst-exec-static-ARGS): New variable.
25123         (tst-spawn-static-ARGS): Likewise.
25124         * posix/tst-exec-static.c: New file.
25125         * posix/tst-spawn-static.c: Likewise.
25126         * posix/tst-exec.c: Support run directly.
25127         * posix/tst-spawn.c: Likewise.
25128
25129 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
25130
25131         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25132         long.
25133         * math/bits/mathcalls.h (llrint): Likewise.
25134         (llround): Likewise.
25135         * stdlib/stdlib.h (struct drand48_data): Likewise.
25136         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25137         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25138         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25139         Likewise.
25140         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25141         Likewise.
25142         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25143         (elf_greg_t): Likewise.
25144         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25145         (__jmp_buf): Likewise.
25146         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25147         definitions.
25148         (llrint): Likewise, for all definitions.
25149         (llrintl): Likewise.
25150
25151         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25152         Remove [__GNUC__] condition.
25153         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25154         condition to just [__USE_ISOC99].
25155         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25156
25157 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25158
25159         [BZ #14200]
25160         * sysdeps/unix/sysv/linux/x86/bits/environments.h
25161         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25162         defined.
25163         (_POSIX_V6_ILP32_OFF32): Likewise.
25164         (_XBS5_ILP32_OFF32): Likewise.
25165         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25166         (__ILP32_OFFBIG_LDFLAGS): Likewise.
25167
25168 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25169
25170         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25171
25172         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25173         doubles __mpexp_twomm1.  Adjust usage.
25174         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25175         Remove.
25176
25177 2013-01-10  Andreas Schwab  <schwab@suse.de>
25178
25179         [BZ #14964]
25180         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25181         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25182
25183 2013-01-09  David S. Miller  <davem@davemloft.net>
25184
25185         [BZ #15003]
25186         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25187         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25188         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25189         (TCP_FASTOPEN): Define.
25190         (tcp_repair_opt): New structure.
25191         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25192         enum values.
25193         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25194         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25195         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25196         (tcp_cookie_transactions): New structure.
25197
25198 2013-01-09  Anton Blanchard  <anton@samba.org>
25199
25200         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25201         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25202         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25203         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25204
25205 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
25206
25207         * include/features.h (__USE_ANSI): Remove.
25208
25209 2013-01-09  Roland McGrath  <roland@hack.frob.com>
25210
25211         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25212
25213         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25214
25215 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
25216
25217         * sysdeps/s390/fpu/libm-test-ulps: Update.
25218
25219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25220
25221         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25222         (__acr): Likewise.
25223         (__cpy): Likewise.
25224         (norm): Likewise.
25225         (denorm): Likewise.
25226         (__mp_dbl): Likewise.
25227         (__dbl_mp): Likewise.
25228         (add_magnitudes): Likewise.
25229         (sub_magnitudes): Likewise.
25230         (__add): Likewise.
25231         (__sub): Likewise.
25232         (__mul): Likewise.
25233         (__inv): Likewise.
25234         (__dvd): Likewise.
25235         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25236         (__acr): Likewise.
25237         (__cpy): Likewise.
25238         (norm): Likewise.
25239         (denorm): Likewise.
25240         (__mp_dbl): Likewise.
25241         (__dbl_mp): Likewise.
25242         (add_magnitudes): Likewise.
25243         (sub_magnitudes): Likewise.
25244         (__add): Likewise.
25245         (__sub): Likewise.
25246         (__mul): Likewise.
25247         (__inv): Likewise.
25248         (__dvd): Likewise.
25249         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25250         (__acr): Likewise.
25251         (__cpy): Likewise.
25252         (norm): Likewise.
25253         (denorm): Likewise.
25254         (__mp_dbl): Likewise.
25255         (__dbl_mp): Likewise.
25256         (add_magnitudes): Likewise.
25257         (sub_magnitudes): Likewise.
25258         (__add): Likewise.
25259         (__sub): Likewise.
25260         (__mul): Likewise.
25261         (__inv): Likewise.
25262         (__dvd): Likewise.
25263
25264 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
25265
25266         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25267         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25268         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25269         2 && __USE_EXTERN_INLINES]: Likewise.
25270
25271 2013-01-08  Andreas Jaeger  <aj@suse.de>
25272
25273         [BZ# 14985]
25274         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25275         Remove.
25276         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25277         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25278
25279 2013-01-07  Anton Blanchard  <anton@samba.org>
25280
25281         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25282         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25283         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25284         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25285         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25286         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25287         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25288         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25289         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25290         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25291         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25292         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25293         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25294         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25295         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25296         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25297         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25298         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25299         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25300         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25301         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25302         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25303         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25304         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25305         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25306         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25307         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25308         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25309         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25310         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25311         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25312         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25313         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25314         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25315         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25316         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25317         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25318         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25319         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25320         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25321         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25322         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25323         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25324
25325 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
25326
25327         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25328         (__MALLOC_PMT): Likewise.
25329         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25330         [__GNUC__], only on [_LIBC].
25331         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25332         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25333         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25334         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25335         forward declaration.
25336         (realloc_hook_ini): Likewise.
25337         (memalign_hook_ini): Likewise.
25338         (__libc_memalign): Do not use __MALLOC_PMT in variable
25339         declaration.
25340         (__libc_valloc): Likewise.
25341         (__libc_pvalloc): Likewise.
25342         (__libc_calloc): Likewise.
25343         (__posix_memalign): Likewise.
25344
25345         [BZ #14996]
25346         * math/s_casinh.c: Include <float.h>.
25347         (__casinh): Do not do computation with squaring and square root
25348         for large arguments.
25349         * math/s_casinhf.c: Include <float.h>.
25350         (__casinhf): Do not do computation with squaring and square root
25351         for large arguments.
25352         * math/s_casinhl.c: Include <float.h>.
25353         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25354         (__casinhl): Do not do computation with squaring and square root
25355         for large arguments.
25356         * math/libm-test.inc (casin_test): Add more tests.
25357         (casinh_test): Likewise.
25358         * sysdeps/i386/fpu/libm-test-ulps: Update.
25359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25360
25361 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
25362
25363         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25364         (__x86_64_raw_data_cache_size): Likewise.
25365         (__x86_64_data_cache_size_half): Likewise.
25366         (__x86_64_raw_data_cache_size_half): Likewise.
25367         (__x86_64_shared_cache_size): Likewise.
25368         (__x86_64_raw_shared_cache_size): Likewise.
25369         (__x86_64_shared_cache_size_half): Likewise.
25370         (__x86_64_raw_shared_cache_size_half): Likewise.
25371         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25372         to ...
25373         (__x86_data_cache_size): This.
25374         (__x86_64_raw_data_cache_size): Renamed to ...
25375         (__x86_raw_data_cache_size): This.
25376         (__x86_64_data_cache_size_half): Renamed to ...
25377         (__x86_data_cache_size_half): This.
25378         (__x86_64_raw_data_cache_size_half): Renamed to ...
25379         (__x86_raw_data_cache_size_half): This.
25380         (__x86_64_shared_cache_size): Renamed to ...
25381         (__x86_shared_cache_size): This.
25382         (__x86_64_raw_shared_cache_size): Renamed to ...
25383         (__x86_raw_shared_cache_size): This.
25384         (__x86_64_shared_cache_size_half): Renamed to ...
25385         (__x86_shared_cache_size_half): This.
25386         (__x86_64_raw_shared_cache_size_half): Renamed to ...
25387         (__x86_raw_shared_cache_size_half): This.
25388         * sysdeps/x86_64/memcpy.S: Updated.
25389         * sysdeps/x86_64/memset.S: Likewise.
25390         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25391         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25392         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25393
25394 2013-01-04  David S. Miller  <davem@davemloft.net>
25395
25396         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25397
25398 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
25399
25400         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25401         1 to avoid redefinition warning.
25402         (__USE_GNU): Don't define.
25403         (init_signaling_nan): Protoize.
25404
25405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25406
25407 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25408
25409         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25410         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25411         (__cpymn): Likewise.
25412         (norm): Remove commented code.
25413         (denorm): Likewise.
25414         (__mp_dbl): Likewise.
25415         (__inv): Likewise.
25416         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25417         (__cpymn): Likewise.
25418         (norm): Remove commented code.
25419         (denorm): Likewise.
25420         (__mp_dbl): Likewise.
25421         (__inv): Likewise.
25422
25423         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25424         mp_no value for 1.0 and 2.0.
25425         (norm): Use RADIXI instead of radixi.d.
25426         (denorm): Likewise.
25427         (__mul): Use 0.0 instead of zero.d.
25428         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25429         mp_no value for 1.0 and 2.0.
25430         (norm): Use RADIXI instead of radixi.d.
25431         (denorm): Likewise.
25432         (__mul): Use 0.0 instead of zero.d.
25433
25434 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
25435
25436         [BZ #14994]
25437         * math/s_casinh.c (__casinh): Reduce finite argument to first
25438         quadrant then set signs of results at the end.
25439         * math/s_casinhf.c (__casinhf): Likewise.
25440         * math/s_casinhl.c (__casinhl): Likewise.
25441         * math/libm-test.inc (casin_test): Add more tests.
25442         (casinh_test): Likewise.
25443         * sysdeps/i386/fpu/libm-test-ulps: Update.
25444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25445
25446 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25447
25448         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25449
25450         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25451
25452         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25453         declarations.
25454         (denorm): Likewise.
25455         (__mp_dbl): Likewise.
25456         (__inv): Likewise.
25457
25458         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25459         and adjust the header comment.
25460
25461         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25462         variable name from declaration.
25463
25464 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
25465
25466         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25467         Initialize COMMON_CPUID_INDEX_7 element.
25468         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25469         (CPUID_RTM): Likewise.
25470         (HAS_RTM): Likewise.
25471         (COMMON_CPUID_INDEX_7): New enum.
25472
25473 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
25474
25475         [BZ #14981]
25476         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25477         size is zero, record memory as freed.
25478
25479 2013-01-03  Andreas Jaeger  <aj@suse.de>
25480
25481         * po/ia.po: Add new Interlingua translation.
25482
25483 2012-01-03  Allan McRae  <allan@archlinux.org>
25484
25485         * locale/programs/localedef.c: Fix description of '--posix' flag.
25486
25487 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
25488
25489         * NEWS: Update dates in second copyright notice.
25490         * README: Update copyright dates in example.
25491         * manual/libc.texinfo: Update copyright dates.
25492         * scripts/test-installation.pl: Update copyright date in --version
25493         output.
25494
25495         * hurd/ctty-input.c: Fix copyright notice formatting.
25496         * hurd/ctty-output.c: Likewise.
25497         * hurd/dtable.c: Likewise.
25498         * hurd/hurd-raise.c: Likewise.
25499         * hurd/hurdprio.c: Likewise.
25500         * hurd/msgportdemux.c: Likewise.
25501         * misc/sys/file.h: Likewise.
25502         * misc/sys/ioctl.h: Likewise.
25503         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25504         * sysdeps/mach/hurd/chdir.c: Likewise.
25505         * sysdeps/mach/hurd/fchdir.c: Likewise.
25506         * sysdeps/mach/hurd/rename.c: Likewise.
25507         * sysdeps/mach/hurd/rmdir.c: Likewise.
25508         * sysdeps/mach/hurd/seekdir.c: Likewise.
25509         * sysdeps/mach/hurd/setsid.c: Likewise.
25510         * sysdeps/posix/wait3.c: Likewise.
25511
25512         * All files with FSF copyright notices: Update copyright dates
25513         using scripts/update-copyrights.
25514         * intl/plural.c: Regenerated.
25515         * locale/programs/charmap-kw.h: Likewise.
25516         * locale/programs/locfile-kw.h: Likewise.
25517
25518 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25519
25520         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25521         four values.
25522
25523         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25524         calculation loop and add branch prediction.
25525
25526         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25527         check access beyond bounds of m1np.
25528
25529         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25530         MPTWO.
25531         (__inv): Remove local variable MPTWO to use the global
25532         constant.
25533         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25534         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25535         variable MPTWO.
25536         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25537         MP3HALFS static const.
25538
25539 2013-01-01  David S. Miller  <davem@davemloft.net>
25540
25541         * po/ca.po: Update from translation team.
25542
25543 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
25544
25545         * scripts/update-copyrights: New file.
25546         * Makeconfig: Reformat copyright notice.
25547         * ctype/ctype.h: Likewise.
25548         * debug/swprintf_chk.c: Likewise.
25549         * elf/dl-cache.c: Likewise.
25550         * elf/dl-debug.c: Likewise.
25551         * elf/dl-object.c: Likewise.
25552         * grp/initgroups.c: Likewise.
25553         * hurd/Makefile: Likewise.
25554         * hurd/hurd/signal.h: Likewise.
25555         * hurd/hurdfault.c: Likewise.
25556         * hurd/hurdioctl.c: Likewise.
25557         * hurd/hurdlookup.c: Likewise.
25558         * hurd/intr-msg.c: Likewise.
25559         * iconv/gconv_open.c: Likewise.
25560         * libio/swprintf.c: Likewise.
25561         * locale/lc-ctype.c: Likewise.
25562         * locale/nl_langinfo.c: Likewise.
25563         * mach/Machrules: Likewise.
25564         * mach/Makefile: Likewise.
25565         * malloc/obstack.h: Likewise.
25566         * manual/Makefile: Likewise.
25567         * manual/tsort.awk: Likewise.
25568         * misc/bits/stab.def: Likewise.
25569         * nis/nis_print_group_entry.c: Likewise.
25570         * nis/nis_table.c: Likewise.
25571         * nis/nss_compat/compat-pwd.c: Likewise.
25572         * nis/nss_compat/compat-spwd.c: Likewise.
25573         * po/Makefile: Likewise.
25574         * posix/fnmatch.c: Likewise.
25575         * posix/regex.h: Likewise.
25576         * resolv/Makefile: Likewise.
25577         * resolv/nss_dns/dns-network.c: Likewise.
25578         * resolv/res_hconf.c: Likewise.
25579         * scripts/gen-sorted.awk: Likewise.
25580         * soft-fp/soft-fp.h: Likewise.
25581         * stdio-common/printf.h: Likewise.
25582         * stdlib/monetary.h: Likewise.
25583         * stdlib/random.c: Likewise.
25584         * stdlib/random_r.c: Likewise.
25585         * sysdeps/generic/Makefile: Likewise.
25586         * sysdeps/gnu/Makefile: Likewise.
25587         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25588         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25589         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25590         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25591         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25592         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25593         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25594         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25595         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25596         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25597         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25598         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25599         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25600         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25601         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25602         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25603         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25604         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25605         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25606         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25607         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25608         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25609         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25610         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25611         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25612         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25613         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25614         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25615         * sysdeps/mach/hurd/errnos.awk: Likewise.
25616         * sysdeps/mach/hurd/fork.c: Likewise.
25617         * sysdeps/mach/hurd/getcwd.c: Likewise.
25618         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25619         * sysdeps/mach/hurd/mmap.c: Likewise.
25620         * sysdeps/mach/hurd/utimes.c: Likewise.
25621         * sysdeps/mach/hurd/xmknod.c: Likewise.
25622         * sysdeps/posix/profil.c: Likewise.
25623         * sysdeps/posix/readdir_r.c: Likewise.
25624         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25625         * sysdeps/powerpc/bits/setjmp.h: Likewise.
25626         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25627         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25628         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25629         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25630         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25631         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25632         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25633         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25634         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25635         * sysdeps/pthread/lio_listio.c: Likewise.
25636         * sysdeps/sparc/dl-procinfo.h: Likewise.
25637         * sysdeps/unix/i386/sysdep.S: Likewise.
25638         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25639         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25640         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25641         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25643         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25644         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25645         * sysdeps/unix/sysv/linux/speed.c: Likewise.
25646         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25647         * sysdeps/wordsize-32/divdi3.c: Likewise.
25648         * time/sys/time.h: Likewise.
25649         * wcsmbs/Makefile: Likewise.
25650
25651 2013-01-01  David S. Miller  <davem@davemloft.net>
25652
25653         * po/fr.po: Update from translation team.
25654
25655         * catgets/gencat.c: Update copyright year.
25656         * csu/version.c: Likewise.
25657         * debug/catchsegv.sh: Likewise.
25658         * debug/pcprofiledump.c: Likewise.
25659         * debug/xtrace.sh: Likewise.
25660         * elf/ldconfig.c: Likewise.
25661         * elf/ldd.bash.in: Likewise.
25662         * elf/pldd.c: Likewise.
25663         * elf/sotruss.ksh: Likewise.
25664         * elf/sprof.c: Likewise.
25665         * iconv/iconv_prog.c: Likewise.
25666         * iconv/iconvconfig.c: Likewise.
25667         * locale/programs/locale.c: Likewise.
25668         * locale/programs/localedef.c: Likewise.
25669         * login/programs/pt_chown.c: Likewise.
25670         * malloc/memusage.sh: Likewise.
25671         * malloc/memusagestat.c: Likewise.
25672         * malloc/mtrace.pl: Likewise.
25673         * nscd/nscd.c: Likewise.
25674         * nss/getent.c: Likewise.
25675         * nss/makedb.c: Likewise.
25676         * posix/getconf.c: Likewise.
25677
25678 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25679
25680         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25681         numbers.
25682
25683 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
25684
25685         * math/bits/mathcalls.h (modf): Use __nonnull.
25686
25687 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25688
25689         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25690         (split): Use macro CN instead of the bare value.
25691         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25692         could be used.
25693         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25694         instead of the bare value.
25695         (power1): Likewise.
25696
25697 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25698
25699         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25700         __ATAN_TWOM.
25701         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25702
25703         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25704         their values.
25705         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25706         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25707         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25708         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25709
25710 2012-12-28  Andreas Jaeger  <aj@suse.de>
25711
25712         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
25713         values are from Linux 3.7.
25714
25715         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25716         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
25717
25718 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25719
25720         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25721         TRUE case.
25722
25723         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25724         (norm): Likewise.
25725         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25726         variables with preprocessor constants.
25727         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25728         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25729         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25730
25731 2012-12-27  Bruno Haible  <bruno@clisp.org>
25732
25733         [BZ #14317]
25734         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25735         only if needed.
25736
25737 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25738
25739         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25740         and use variable directly.
25741         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25742
25743         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25744         MPONE.
25745         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25746         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25747         variable MPONE.
25748         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25749         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25750         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25751         include directive.  Remove local variable MPONE.
25752         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25753         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25754         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25755
25756 2012-12-25  David S. Miller  <davem@davemloft.net>
25757
25758         * version.h (RELEASE): Set to "development".
25759         (VERSION): Set to "2.17.90".
25760         * NEWS: Add 2.18 section.
25761
25762 2012-12-21  David S. Miller  <davem@davemloft.net>
25763
25764         * po/hr.po: Update from translation team.
25765
25766 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25767
25768         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25769
25770 2012-12-19  Steve Ellcey  <sellcey@mips.com>
25771
25772         * NEWS:  Mention new memcpy for MIPS.
25773
25774 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25775
25776         * manual/contrib.texi (Contributors): Spelling correction.
25777
25778 2012-12-15  David S. Miller  <davem@davemloft.net>
25779
25780         * po/ru.po: Update from translation team.
25781
25782 2012-12-13  David S. Miller  <davem@davemloft.net>
25783
25784         * NEWS: Mention IFUNC testsuite enhancements.
25785
25786         * po/pl.po: Update from translation team.
25787         * po/bg.po: Likewise.
25788
25789         * manual/contrib.texi (Contributors): Update entries for Hongjiu
25790         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
25791
25792 2012-12-11  David S. Miller  <davem@davemloft.net>
25793
25794         * po/sv.po: Update from translation team.
25795
25796         * po/vi.po: Update from translation team.
25797
25798         * po/cs.po: Update from translation team.
25799
25800         * po/de.po: Update from translation team.
25801         * po/eo.po: Likewise.
25802         * po/nl.po: Likewise.
25803
25804 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25805
25806         [BZ #14246]
25807         * manual/argp.texi (Argp Helper Functions): Move node to follow
25808         Argp Parsing State.
25809
25810         [BZ #14872]
25811         * manual/conf.texi (Limits on File System Capacity): Mention if
25812         terminating null is included in the max size.
25813
25814 2012-12-10  Andreas Jaeger  <aj@suse.de>
25815
25816         * po/cs.po: Update from translation team.
25817
25818 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25819
25820         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25821         void pointer and cast to uintptr_t.
25822         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25823         path.
25824         * sysdeps/s390/s390-64/memcpy.S: Likewise.
25825         * sysdeps/s390/s390-64/memset.S: Likewise.
25826
25827 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
25828
25829         [BZ #14833]
25830         * menual/message.texi (Message Translation): Fix typos.
25831         (Helper programs for gettext): Likewise.
25832
25833 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
25834
25835         [BZ #14898]
25836         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25837         Change to -1.
25838
25839 2012-12-07  David S. Miller  <davem@davemloft.net>
25840
25841         * po/libc.pot: Update.
25842
25843 2012-12-07  Richard Henderson  <rth@redhat.com>
25844
25845         [BZ #10114]
25846         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25847         normal/normal case to before the switch.
25848         (_FP_DIV): Likewise.
25849
25850 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
25851             Mike Frysinger  <vapier@gentoo.org>
25852
25853         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25854         check for __NR_fadvise64_64.
25855
25856 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
25857
25858         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25859         0, not just to plain "0" as a statement.
25860         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25861         with cw.
25862
25863 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
25864
25865         * NEWS: Use sourceware.org in Bugzilla URL.
25866
25867 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25868
25869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25870         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25871
25872         * stdio-common/tst-put-error.c (do_test): Add newline to the
25873         padded test to ensure flush.
25874
25875 2012-12-05  Jeff Law  <law@redhat.com>
25876
25877         * sunrpc/etc.rpc (fedfs_admin): Add entry.
25878
25879 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
25880
25881         * README: Don't refer to ports add-on as distributed separately.
25882         Mention AArch64 in list of systems supported in the ports add-on.
25883
25884         * LICENSES: Add more non-FSF copyright and license notices.
25885
25886         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25887         ((unused)).
25888
25889         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25890
25891         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25892         10000 as width of padded output.
25893
25894 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25895
25896         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25897
25898         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25899         variable LX with __attribute__ ((unused)).
25900         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25901         Likewise.
25902         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25903         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25904         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25905         with __attribute__ ((unused)).
25906
25907 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
25908
25909         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25910
25911 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25912
25913         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25914         (CFLAGS-nldbl-acos.c): New variable.
25915         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25916         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25917         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25918         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25919         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25920         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25921         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25922         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25923         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25924         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25925         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25926         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25927         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25928         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25929         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25930         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25931         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25932         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25933         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25934         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25935         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25936         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25937         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25938         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25939         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25940         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25941         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25942         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25943         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25944         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25945         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25946         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25947         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25948         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25949         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25950         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25951         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25952         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25953         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25954         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25955         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25956         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25957         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25958         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25959         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25960         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25961         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25962         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25963         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25964         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25965         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25966         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25967         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25968         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25969         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25970         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25971         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25972         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25973         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25974         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25975         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25976         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25977         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25978         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25979         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25980         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25981         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25982         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25983         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25984         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25985         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25986         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25987         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25988         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25989         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25990         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25991         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25992         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25993         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25994         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25995         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25996         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25997         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25998         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25999         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26000         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26001         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26002         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26003         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26004         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26005         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26006         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26007         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26008         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26009         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26010         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26011         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26012
26013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26014         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26015
26016         [BZ #14914]
26017         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26018         whole low double instead of just low 47 bits when splitting values
26019         into two parts.
26020
26021 2012-12-03  Allan McRae  <allan@archlinux.org>
26022
26023         * manual/stdio.texi (Predefined Printf Handlers): Remove
26024         @hsep and @vsep usage.
26025
26026 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
26027
26028         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26029         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26030
26031 2012-12-03  Jeff Law  <law@redhat.com>
26032
26033         * time/sys/time.h (settimeofday): Do not mark TV argument
26034         as __nonnull.
26035
26036 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
26037
26038         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26039         when currently writing and seek to current position when not.
26040         * libio/Makefile (tests): Remove bug-fclose1.
26041         * libio/bug-fclose1.c: Delete.
26042
26043 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
26044
26045         * manual/arith.texi (feenableexcept): Fix typo.
26046         (fedisableexcept): Likewise.
26047
26048 2012-11-30  Roland McGrath  <roland@hack.frob.com>
26049
26050         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26051         second, differently-typed declaration, rather than a cast.
26052
26053 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26054
26055         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26056         * include/rpc/svc.h: ... here.
26057
26058 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
26059
26060         [BZ #13013]
26061         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26062         depending n and resplen2 to catch cases where answer
26063         equals answerp2.
26064
26065 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
26066
26067         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26068         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26069
26070 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
26071
26072         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26073
26074 2012-11-29  Roland McGrath  <roland@hack.frob.com>
26075
26076         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26077
26078 2012-11-28  Jeff Law  <law@redhat.com>
26079
26080         [BZ #13761]
26081         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26082         dataset_temporary.  Track alloca usage into alloca_used.
26083         If dataset is large allocate and release it via malloc/free.
26084
26085 2012-06-04  Florian Weimer  <fweimer@redhat.com>
26086
26087         [BZ #14197]
26088         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26089
26090 2012-11-28  David S. Miller  <davem@davemloft.net>
26091
26092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26093
26094 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26095
26096         [BZ #14803]
26097         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26098         of pi/2 rounded to nearest to 64 bits.
26099         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26100         nearest to 64 bits.
26101         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26102         bits.
26103
26104 2012-11-28  Jeff Law <law@redhat.com>
26105             Martin Osvald <mosvald@redhat.com>
26106
26107         [BZ #14889]
26108         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26109         * sunrpc/svc.c: Include time.h.
26110         (__svc_accept_failed): New function.
26111         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26112         any reason other than EINTR, call __svc_accept_failed.
26113         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26114         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26115
26116 2012-11-28  Andreas Schwab  <schwab@suse.de>
26117
26118         * scripts/abilist.awk: Also handle indirect functions in .opd
26119         section.
26120
26121 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26122
26123         [BZ #13881]
26124         * sysdeps/x86/fpu/powl_helper.c: New file.
26125         * sysdeps/x86/fpu/Makefile: Likewise.
26126         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26127         (p3): New object.
26128         (__ieee754_powl): Use __powl_helper for finite arguments except
26129         integer exponents below 8.
26130         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26131         (p3): New object.
26132         (__ieee754_powl): Use __powl_helper for finite arguments except
26133         integer exponents below 8.
26134         * math/libm-test.inc (pow_test): Add more tests and enable some
26135         previously disabled tests.
26136         * sysdeps/i386/fpu/libm-test-ulps: Update.
26137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26138
26139 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26140             Carlos O'Donell  <carlos_odonell@mentor.com>
26141
26142         * nss/makedb.c (is_prime): Assert that input is odd and greater
26143         than 4.  Note that fact in a comment too.
26144         (next_prime): Add 4 to input.
26145
26146 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26147
26148         [BZ #11741]
26149         * libio/Makefile (tests): Add test case tst-fwrite-error.
26150         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26151         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26152         * libio/tst-fwrite-error.c: New test case.
26153
26154 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
26155
26156         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26157         before casting to void *.
26158         * include/libc-internal.h (__pointer_type): New macro.
26159         (__integer_if_pointer_type_sub): Likewise.
26160         (__integer_if_pointer_type): Likewise.
26161         (cast_to_integer): Likewise.
26162         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26163         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26164         before casting to atomic64_t.
26165         (atomic_exchange_acq): Likewise.
26166         (__arch_exchange_and_add_body): Likewise.
26167         (__arch_add_body): Likewise.
26168         (atomic_add_negative): Likewise.
26169         (atomic_add_zero): Likewise.
26170
26171 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
26172
26173         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26174         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26175         (add_fdes): Likewise.
26176         (linear_search_fdes): Likewise.
26177         (binary_search_unencoded_fdes): Likewise.
26178
26179 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
26180
26181         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26182
26183 2012-11-24  Adam Conrad  <adconrad@0c3.net>
26184
26185         * configure.in: Autodetect C++ header directories.
26186         * configure: Regenerated.
26187
26188 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
26189
26190         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26191
26192 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
26193
26194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26195
26196 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
26197
26198         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26199         LDBL_MANT_DIG == 106]: Disable some tests.
26200         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26201         Likewise.
26202         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26203         Likewise.
26204
26205         [BZ #14871]
26206         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26207         input for small inputs.  Return +/- pi/2 for large inputs.
26208         * math/libm-test.inc (atan_test): Add more tests.
26209
26210         * sysdeps/generic/unwind-dw2-fde-glibc.c
26211         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26212         __attribute__ ((unused)).
26213
26214         [BZ #14645]
26215         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26216         x * y if x and y are nonzero and z is zero.
26217
26218         [BZ #14811]
26219         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26220         nonzero exponents with absolute value below 0x1p-117 to +/-
26221         0x1p-117.
26222
26223         [BZ #14869]
26224         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26225         up arguments below 2**-450, not just those below 2**-500.
26226         * math/libm-test.inc (hypot_test): Add another test.
26227
26228         [BZ #14868]
26229         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26230         Return a+b for ratio over 2**120, not 2**60.
26231         * math/libm-test.inc (hypot_test): Add another test.
26232
26233         * math/libm-test.inc (clog_test): Use
26234         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26235         (clog10_test): Likewise.
26236
26237         [BZ #6778]
26238         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26239
26240 2012-11-22  Andreas Schwab  <schwab@suse.de>
26241
26242         * sysdeps/i386/fpu/libm-test-ulps: Update.
26243
26244 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
26245
26246         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26247         printf output with newline.
26248
26249 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
26250
26251         [BZ #14865]
26252         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26253         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26254         -z nodlopen, -z initfirst and -z execstack support.
26255         * configure: Regenerated.
26256
26257         * elf/elf.h (DF_1_NODIRECT): New macro.
26258         (DF_1_IGNMULDEF): Likewise.
26259         (DF_1_NOKSYMS): Likewise.
26260         (DF_1_NOHDR): Likewise.
26261         (DF_1_EDITED): Likewise.
26262         (DF_1_NORELOC): Likewise.
26263         (DF_1_SYMINTPOSE): Likewise.
26264         (DF_1_GLOBAUDIT): Likewise.
26265         (DF_1_SINGLETON): Likewise.
26266         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26267         DT_1_SUPPORTED_MASK bits.
26268         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26269
26270 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
26271
26272         * sysdeps/unix/make-syscalls.sh: Document prefixes.
26273
26274 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
26275
26276         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26277         macro.
26278
26279         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26280         (sendmmsg): Move declarations...
26281         * socket/sys/socket.h: ... here.
26282         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26283         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26284         include it from...
26285         * socket/recvmmsg.c: ... this new file.
26286         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26287         (sendmmsg): Rename to __sendmmsg, create weak alias and make
26288         definition of __sendmmsg hidden.
26289         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26290         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26291         Move ENOSYS stub into and include it from...
26292         * socket/sendmmsg.c: ... this new file.
26293         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26294         (sysdep_routines): Move recvmmsg and sendmmsg...
26295         * socket/Makefile (routines): ... here.
26296         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26297         (GLIBC_PRIVATE): Add __sendmmsg.
26298         * include/sys/socket.h (__sendmmsg): Add declarations.
26299         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26300         sendmmsg.
26301
26302 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
26303
26304         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26305         variable I1 with __attribute__ ((unused)).
26306         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26307
26308 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26309
26310         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26311         DUMMY variables with __attribute__ ((unused)).
26312
26313         * bits/byteswap.h: Include <bits/types.h>.
26314         (__bswap_64): Use __uint64_t instead of unsigned long long int.
26315
26316 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26317
26318         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26319         string_t.  Do not manually set errno.
26320         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26321         length with __strnlen.  Make sure to both set errno and return it on
26322         failure.
26323
26324 2012-11-19  David S. Miller  <davem@davemloft.net>
26325
26326         With help from Joseph Myers.
26327         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26328         very large arguments properly.
26329         * math/libm-test.inc (atan_test): New tests.
26330         (atan2_test): New tests.
26331         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26332         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26333
26334 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26335
26336         [BZ #14856]
26337         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26338         Define to 3.
26339
26340         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26341         [POSIX] (EADDRNOTAVAIL): Likewise.
26342         [POSIX] (EAFNOSUPPORT): Likewise.
26343         [POSIX] (EALREADY): Likewise.
26344         [POSIX] (ECONNABORTED): Likewise.
26345         [POSIX] (ECONNREFUSED): Likewise.
26346         [POSIX] (ECONNRESET): Likewise.
26347         [POSIX] (EDESTADDRREQ): Likewise.
26348         [POSIX] (EDQUOT): Likewise.
26349         [POSIX] (EHOSTUNREACH): Likewise.
26350         [POSIX] (EIDRM): Likewise.
26351         [POSIX] (EISCONN): Likewise.
26352         [POSIX] (ELOOP): Likewise.
26353         [POSIX] (EMULTIHOP): Likewise.
26354         [POSIX] (ENETDOWN): Likewise.
26355         [POSIX] (ENETUNREACH): Likewise.
26356         [POSIX] (ENOBUFS): Likewise.
26357         [POSIX] (ENODATA): Likewise.
26358         [POSIX] (ENOLINK): Likewise.
26359         [POSIX] (ENOMSG): Likewise.
26360         [POSIX] (ENOPROTOOPT): Likewise.
26361         [POSIX] (ENOSR): Likewise.
26362         [POSIX] (ENOSTR): Likewise.
26363         [POSIX] (ENOTCONN): Likewise.
26364         [POSIX] (ENOTSOCK): Likewise.
26365         [POSIX] (EOPNOTSUPP): Likewise.
26366         [POSIX] (EOVERFLOW): Likewise.
26367         [POSIX] (EPROTO): Likewise.
26368         [POSIX] (EPROTONOSUPPORT): Likewise.
26369         [POSIX] (EPROTOTYPE): Likewise.
26370         [POSIX] (ESTALE): Likewise.
26371         [POSIX] (ETIME): Likewise.
26372         [POSIX] (ETXTBSY): Likewise.
26373         [POSIX] (EWOULDBLOCK): Likewise.
26374         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26375         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26376         [POSIX] (SEEK_CUR): Likewise.
26377         [POSIX] (SEEK_END): Likewise.
26378         [POSIX || UNIX98] (mode_t): Do not require.
26379         [POSIX] (off_t): Likewise.
26380         [POSIX] (pid_t): Likewise.
26381         [POSIX] (sys/stat.h): Do not allow header.
26382         [POSIX] (unistd.h): Likewise.
26383         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26384         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26385         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26386         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26387         require.
26388         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26389         sigevent): Specify elements.
26390         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26391         entry.
26392         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26393         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26394
26395         * conform/data/cpio.h-data [POSIX]: Disable whole file.
26396         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26397         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26398         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26399         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26400         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26401         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26402         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26403         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26404         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26405         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26406         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26407         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26408         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26409         Likewise.
26410         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26411         Likewise.
26412         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26413         Likewise.
26414         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26415         Likewise.
26416         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26417         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26418         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26419         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26420         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26421         Specify lower bound on value.
26422         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26423         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26424         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26425         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26426         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26427         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26428         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26429         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26430         value.
26431         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26432         as optional.
26433         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26434         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26435         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26436         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26437         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26438         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26439         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26440         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26441         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26442         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26443         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26444         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26445         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26446         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26447         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26448         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26449         entry.
26450         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26451         optional.
26452         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26453         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26454         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26455         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26456         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26457         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26458         Likewise.
26459         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26460         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26461         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26462         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26463         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
26464         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26465         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26466         as optional.
26467         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26468         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26469         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26470         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26471         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26472         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26473         specify as optional.
26474         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26475         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26476         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26477         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26478         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26479         [XPG3] (NL_LANGMAX): Likewise.
26480         [POSIX || XPG3] (NL_MSGMAX): Likewise.
26481         [POSIX || XPG3] (NL_NMAX): Likewise.
26482         [POSIX || XPG3] (NL_SETMAX): Likewise.
26483         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26484         [XPG3] (NZERO): Likewise.
26485         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26486         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26487         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26488         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26489         (REG_ERANGE): Expect.
26490         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26491         optional-constant.
26492         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26493         Use (void) in prototype.
26494         [POSIX] (*_t): Allow.
26495         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26496         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26497         (WRDE_BADVAL): Expect.
26498
26499         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26500         expect.
26501         [XPG3 || XPG4] (O_RSYNC): Likewise.
26502         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26503         Likewise.
26504         [XPG3 || XPG4] (pthread_sigmask): Likewise.
26505         [XPG3 || XPG4] (sigqueue): Likewise.
26506         [XPG3 || XPG4] (sigtimedwait): Likewise.
26507         [XPG3 || XPG4] (sigwaitinfo): Likewise.
26508         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26509         [XPG3 || XPG4] (vsnprintf): Likewise.
26510         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26511         Likewise.
26512         [XPG3 || XPG4] (blksize_t): Likewise.
26513         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26514         Likewise.
26515         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26516         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26517         [XPG3 || XPG4] (struct itimerspec): Likewise.
26518         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26519         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26520         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26521         [XPG3 || XPG4] (clockid_t): Likewise.
26522         [XPG3 || XPG4] (timer_t): Likewise.
26523         [XPG3 || XPG4] (clock_getres): Likewise.
26524         [XPG3 || XPG4] (clock_gettime): Likewise.
26525         [XPG3 || XPG4] (clock_settime): Likewise.
26526         [XPG3 || XPG4] (nanosleep): Likewise.
26527         [XPG3 || XPG4] (timer_create): Likewise.
26528         [XPG3 || XPG4] (timer_delete): Likewise.
26529         [XPG3 || XPG4] (timer_gettime): Likewise.
26530         [XPG3 || XPG4] (timer_getoverrun): Likewise.
26531         [XPG3 || XPG4] (timer_settime): Likewise.
26532         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26533         [XPG3 || XPG4] (getlogin_r): Likewise.
26534         [XPG3 || XPG4] (pread): Likewise.
26535         [XPG3 || XPG4] (pthread_atfork): Likewise.
26536         [XPG3 || XPG4] (pwrite): Likewise.
26537
26538         [BZ #14835]
26539         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26540         <bits/siginfo.h>.
26541
26542 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26543
26544         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26545         finalizing MALLSTREAM.
26546
26547         * sysdeps/mach/hurd/syncfs.c: New file.
26548
26549 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26550
26551         [BZ #14719]
26552         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26553         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26554         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26555         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26556         (_nss_dns_gethostbyname4_r): Likewise.
26557         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26558         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26559
26560 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
26561
26562         [BZ #13763]
26563         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26564
26565 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
26566
26567         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26568         * elf/cache.c (print_entry): Print ",AArch64" for
26569         FLAG_AARCH64_LIB64
26570
26571         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26572         * elf/cache.c (print_entry): Print ",hard-float" for
26573         FLAG_ARM_LIBHF.
26574
26575 2012-11-18  David S. Miller  <davem@davemloft.net>
26576
26577         With help from Joseph Myers.
26578         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26579         cutoff to 2**-13.
26580         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26581         cutoff to 2**-25.
26582         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26583         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26584         small.
26585         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26586         * math/libm-test.inc (y0_test): New tests.
26587         (y1_test): New tests.
26588         * sysdeps/i386/fpu/libm-test-ulps: Update.
26589         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26590         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26591
26592 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
26593
26594         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26595         64-bit targets.
26596         * configure: Regenerated.
26597
26598 2012-11-17  David S. Miller  <davem@davemloft.net>
26599
26600         [BZ #14811]
26601         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26602         nonzero exponents with absolute value below 0x1p-128 to +/-
26603         0x1p-128.
26604
26605 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
26606
26607         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26608
26609         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26610
26611         * posix/getconf-speclist.c: New file.
26612         * posix/posix-envs.def: Likewise.
26613         * posix/confstr.c (START_ENV_GROUP): New macro.
26614         (END_ENV_GROUP): Likewise.
26615         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26616         (KNOWN_PRESENT_ENV_STRING): Likewise.
26617         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26618         (UNKNOWN_ENVIRONMENT): Likewise.
26619         (confstr): Include posix-envs.def instead of handling
26620         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26621         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26622         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26623         (END_ENV_GROUP): Likewise.
26624         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26625         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26626         (UNKNOWN_ENVIRONMENT): Likewise.
26627         (__sysconf): Include posix-envs.def instead of handling associated
26628         cases directly here.
26629         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26630         preprocessing getconf-speclist.c rather than running getconf or
26631         generating empty file.
26632
26633 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
26634
26635         * scripts/check-local-headers.sh: Ignore 'mach' headers.
26636
26637 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
26638
26639         [BZ #14672]
26640         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26641
26642 2012-11-16  David S. Miller  <davem@davemloft.net>
26643
26644         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26645         smaller than LDBL_EPSILON/2.0L, just return xm1.
26646
26647 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
26648
26649         * elf/tst-array1.c (init): Set constructor priority to 1000.
26650         (fini): Set destructor priority to 1000.
26651         * elf/tst-array2dep.c: Likewise.
26652
26653 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26654
26655         [BZ #11741]
26656         * libio/fileops.c (_IO_new_file_write): Correctly return error.
26657         (_IO_new_file_xsputn): Also return EOF if none of the input
26658         data was written when overflow failed.
26659         * libio/iopadn.c (_IO_padn): Likewise.
26660         * libio/iowpadn.c (_IO_wpadn): Likewise.
26661         * stdio-common/tst-put-error.c: Add copyright notice.
26662         (do_test): Add case for printing padded string.
26663         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26664         _IO_padn returned error.
26665         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26666         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26667         return EOF.
26668
26669 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26670
26671         * libio/libioP.h: Add comment note that the references to C++
26672         bits are now obsolete.
26673
26674 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26675
26676         * math/libm-test.inc (check_complex): Use asprintf.
26677
26678 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
26679
26680         * debug/pcprofiledump.c (print_version): Update copyright year.
26681         * malloc/memusagestat.c (print_version): Likewise.
26682
26683 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26684
26685         [BZ #14831]
26686         * elf/Makefile (tests): Add tst-audit8.
26687         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26688         ($(objpfx)tst-audit8.out): New target.
26689         (tst-audit8-ENV): New variable.
26690         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26691         audit if l_reloc_result is NULL.
26692         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26693         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26694         * elf/tst-audit8.c: New file.
26695
26696 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26697
26698         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26699         * misc/Makefile (CFLAGS-select.c): Define.
26700         * posix/Makefile (CFLAGS-pause.c): Define.
26701
26702 2012-11-13  David S. Miller  <davem@davemloft.net>
26703
26704         * crypt/Makefile: Move test targets after toplevel Rules
26705         inclusion.  Grab any necessary sysdep routines when linking.
26706         * crypt/md5.c (md5_process_block): Remove define, we will always
26707         name it __md5_process_block.
26708         (md5_finish_ctx): Update md5_process_block call.
26709         (md5_stream): Likewise.
26710         (md5_process_bytes): Likewise.
26711         (md5_process_block): Rename to __md5_process_block and move to ...
26712         * crypt/md5-block.c: ... here.
26713         * crypt/sha256.c (sha256_process_block): Move to ...
26714         * crypt/sha256-block.c: ... here.
26715         * crypt/sha512.c (sha512_process_block): Move to ...
26716         * crypt/sha512-block.c: ... here.
26717         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26718         path.
26719         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26720         * sysdeps/sparc/sparc64/multiarch/Makefile
26721         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26722         crypt subdir.
26723         (localedef-aux): Add md5 crypto assembler when in locale subdir.
26724         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26725         multiarch changes.
26726         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26727         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26728         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26729         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26730         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26731         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26732         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26733         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26734         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26735         file.
26736         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26737         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26738         file.
26739         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26740
26741 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
26742
26743         * timezone/tzselect.ksh: Update from tzcode git revision
26744         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26745         * timezone/zdump.c: Likewise.
26746         * timezone/zic.c: Likewise.
26747         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26748         in TZVERSION setting, not $(PKGVERSION).
26749         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
26750         REPORT_BUGS_TO settings.
26751
26752         [BZ #14838]
26753         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26754         macro.
26755
26756 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26757
26758         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26759         detection to immediately after _FP_ROUND().
26760         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26761         bits are 0.
26762
26763 2012-11-11  David S. Miller  <davem@davemloft.net>
26764
26765         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26766         inttypes.h
26767         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26768         __close rather than their public counterparts.
26769
26770 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
26771
26772         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26773         file.
26774         [UNIX98] (sem_timedwait): Do not expect.
26775         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26776         [XPG4 || UNIX98] (sockatmark): Do not expect.
26777         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26778         (clock_getcpuclockid): Do not expect.
26779         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26780         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26781         Do not expect.
26782         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26783         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26784         [UNIX98] (vwscanf): Likewise.
26785         [UNIX98] (vswscanf): Likewise.
26786
26787 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
26788
26789         * timezone/version.h: Remove file.
26790         * timezone/README: Do not refer to version.h.
26791         * timezone/Makefile ($(objpfx)zic.o): New dependency on
26792         $(objpfx)version.h.
26793         ($(objpfx)zdump.o): Likewise.
26794         ($(objpfx)version.h): New target.
26795
26796         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26797         2012i.
26798         * timezone/README: Don't mention modification to tzselect.ksh.
26799         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26800         work on unmodified tzselect.ksh.  Substitute version numbers in
26801         tzselect.ksh.
26802
26803         * Makefile (format-me): Remove.
26804         (INSTALL): Adjust indentation.  Use commands directly instead of
26805         using $(format-me).
26806
26807         * aclocal.m4 (ACX_PKGVERSION): New macro.
26808         (ACX_BUGURL): Likewise.
26809         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26810         (PKGVERSION): New AC_DEFINE_UNQUOTED.
26811         (REPORT_BUGS_TO): Likewise.
26812         * configure: Regenerated.
26813         * config.h.in (PKGVERSION): New macro.
26814         (REPORT_BUGS_TO): Likewise.
26815         * config.make.in (PKGVERSION): New variable.
26816         (PKGVERSION_TEXI): Likewise.
26817         (REPORT_BUGS_TO): Likewise.
26818         (REPORT_BUGS_TEXI): Likewise.
26819         * Makefile (format-me): Use -I$(common-objpfx)manual.
26820         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26821         ($(common-objpfx)manual/%): New target.
26822         (manual/%): Remove target.
26823         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26824         (print_version): Use PKGVERSION.
26825         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26826         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26827         and REPORT_BUGS_TO.
26828         ($(objpfx)xtrace): Likewise.
26829         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26830         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26831         (print_version): Use PKGVERSION.
26832         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26833         (do_version): Use PKGVERSION.
26834         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26835         REPORT_BUGS_TO.
26836         (common-ldd-rewrite): Likewise.
26837         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26838         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26839         (print_version): Use PKGVERSION.
26840         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26841         * elf/pldd.c (argp_program_bug_address): Remove variable.
26842         (more_help): New function.
26843         (argp): Use more_help.
26844         (print_version): Use PKGVERSION.
26845         * elf/sln.c (main): Use PKGVERSION.
26846         (usage): Use REPORT_BUGS_TO.
26847         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26848         (top level): Use PKGVERSION.
26849         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26850         (print_version): Use PKGVERSION.
26851         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26852         (print_version): Use PKGVERSION.
26853         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26854         (print_version): Use PKGVERSION.
26855         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26856         (print_version): Use PKGVERSION.
26857         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26858         (print_version): Use PKGVERSION.
26859         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26860         (print_version): Use PKGVERSION.
26861         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26862         and BUGURL.
26863         ($(objpfx)memusage): Likewise.
26864         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26865         (do_version): Use PKGVERSION.
26866         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26867         (print_version): Use PKGVERSION.
26868         * malloc/mtrace.pl ($PACKAGE): Remove variable.
26869         ($PKGVERSION): New variable.
26870         ($REPORT_BUGS_TO): Likewise.
26871         (usage): Use $REPORT_BUGS_TO.
26872         (top level): Use $PKGVERSION.
26873         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26874         ($(objpfx)pkgvers.texi): New rule.
26875         ($(objpfx)stamp-pkgvers): Likewise.
26876         * manual/install.texi: Include pkgvers.texi.
26877         (--with-pkgversion): Document new configure option.
26878         (--with-bugurl): Likewise.
26879         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26880         than necessarily for this particular distribution.  Use
26881         REPORT_BUGS_TO for where to report bugs.
26882         * INSTALL: Regenerated.
26883         * manual/libc.texinfo: Include pkgvers.texi.
26884         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26885         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26886         (print_version): Use PKGVERSION.
26887         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26888         (print_version): Use PKGVERSION.
26889         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26890         (print_version): Use PKGVERSION.
26891         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26892         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26893         macro.
26894         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26895         (print_version): Use PKGVERSION.
26896         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26897         (print_version): Use PKGVERSION.
26898         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26899         and PKGVERSION.
26900
26901         * timezone/checktab.awk: Update from tzcode 2012i.
26902         * timezone/ialloc.c: Likewise.
26903         * timezone/private.h: Likewise.
26904         * timezone/scheck.c: Likewise.
26905         * timezone/tzfile.h: Likewise.
26906         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26907         (TZVERSION): Hardcode tzcode version number.
26908         * timezone/zdump.c: Update from tzcode 2012i.
26909         * timezone/zic.c: Likewise.
26910         * timezone/version.h: New file.
26911         * timezone/README: Describe version.h.  Update upstream location.
26912
26913         [BZ #14824]
26914         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26915         (mktemp): Enable declaration.
26916         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26917         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26918         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26919         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26920         Likewise.
26921         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26922         Likewise.
26923         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26924         Likewise.
26925         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26926         Likewise.
26927         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26928         Likewise.
26929         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26930         Likewise.
26931
26932         [BZ #14821]
26933         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26934         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
26935         for copies of such integer values.
26936         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26937         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26938
26939 2012-11-09  Andreas Jaeger  <aj@suse.de>
26940
26941         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26942         definitions and declarations that are provided by
26943         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26944
26945 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26946
26947         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26948         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26949         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26950         definition.
26951
26952 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26953
26954         * elf/elf.h: Update comment before AArch64 relocations.
26955
26956 2012-11-07  David S. Miller  <davem@davemloft.net>
26957
26958         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26959         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26960         (__start_context): Declare.
26961         (__makecontext_ret): Delete.
26962         (__makecontext): Hook up __start_context instead of
26963         __makecontext_ret.
26964         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26965         (sysdep_routines): Add __start_context when in stdlib.
26966
26967 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26968
26969         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26970         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26971         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
26972         hardcoded "nm".
26973         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
26974         (READELF): New variable.  Use it instead of hardcoded "readelf".
26975
26976 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26977
26978         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26979         * sysdeps/x86/Makefile: Here.
26980         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26981         * sysdeps/x86/tst-xmmymm.sh: This.
26982
26983 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26984
26985         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26986         expectations.
26987         [UNIX98] (pthread_barrier_t): Do not expect.
26988         [UNIX98] (pthread_barrierattr_t): Likewise.
26989         [UNIX98] (pthread_spinlock_t): Likewise.
26990         [UNIX98] (pthread_barrier_destroy): Likewise.
26991         [UNIX98] (pthread_barrier_init): Likewise.
26992         [UNIX98] (pthread_barrier_wait): Likewise.
26993         [UNIX98] (pthread_barrierattr_destroy): Likewise.
26994         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26995         [UNIX98] (pthread_barrierattr_init): Likewise.
26996         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26997         [UNIX98] (pthread_getcpuclockid): Likewise.
26998         [UNIX98] (pthread_mutex_timedlock): Likewise.
26999         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27000         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27001         [UNIX98] (pthread_sigmask): Likewise.
27002         [UNIX98] (pthread_spin_destroy): Likewise.
27003         [UNIX98] (pthread_spin_init): Likewise.
27004         [UNIX98] (pthread_spin_lock): Likewise.
27005         [UNIX98] (pthread_spin_trylock): Likewise.
27006         [UNIX98] (pthread_spin_unlock): Likewise.
27007         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27008         Do not expect.
27009         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27010         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27011         [XPG3 || XPG4] (pthread_cond_t): Likewise.
27012         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27013         [XPG3 || XPG4] (pthread_key_t): Likewise.
27014         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27015         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27016         [XPG3 || XPG4] (pthread_once_t): Likewise.
27017         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27018         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27019         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27020         [XPG3 || XPG4] (pthread_t): Likewise.
27021
27022         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27023         not expect.
27024         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27025
27026         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27027         Change function return type to int.
27028
27029         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27030         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27031         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27032         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27033         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27034         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27035         [!POSIX] (posix_madvise): Likewise.
27036         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27037         && !UNIX98].
27038         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27039         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27040         (mode_t): Likewise.
27041         (posix_mem_offset): Likewise.
27042         (posix_typed_mem_get_info): Likewise.
27043         (posix_typed_mem_open): Likewise.
27044
27045         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27046         Change condition to [XOPEN2K8].
27047
27048         * conform/conformtest.pl: Preprocess allow-header data with -x c
27049         instead of from stdin.
27050         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27051         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27052         [C99-based standards] (cerfc): Likewise.
27053         [C99-based standards] (cexp2): Likewise.
27054         [C99-based standards] (cexpm1): Likewise.
27055         [C99-based standards] (clog10): Likewise.
27056         [C99-based standards] (clog1p): Likewise.
27057         [C99-based standards] (clog2): Likewise.
27058         [C99-based standards] (clgamma): Likewise.
27059         [C99-based standards] (ctgamma): Likewise.
27060         [C99-based standards] (cerff): Likewise.
27061         [C99-based standards] (cerfcf): Likewise.
27062         [C99-based standards] (cexp2f): Likewise.
27063         [C99-based standards] (cexpm1f): Likewise.
27064         [C99-based standards] (clog10f): Likewise.
27065         [C99-based standards] (clog1pf): Likewise.
27066         [C99-based standards] (clog2f): Likewise.
27067         [C99-based standards] (clgammaf): Likewise.
27068         [C99-based standards] (ctgammaf): Likewise.
27069         [C99-based standards] (cerfl): Likewise.
27070         [C99-based standards] (cerfcl): Likewise.
27071         [C99-based standards] (cexp2l): Likewise.
27072         [C99-based standards] (cexpm1l): Likewise.
27073         [C99-based standards] (clog10l): Likewise.
27074         [C99-based standards] (clog1pl): Likewise.
27075         [C99-based standards] (clog2l): Likewise.
27076         [C99-based standards] (clgammal): Likewise.
27077         [C99-based standards] (ctgammal): Likewise.
27078         * conform/data/inttypes.h-data [C99-based standards]: Include
27079         stdint.h-data.  Remove all expectations for stdint.h contents.
27080         [C99-based standards] (PRI*): Do not allow.
27081         [C99-based standards] (SCN*): Likewise.
27082         [C99-based standards] (*_t): Likewise.
27083         [C99-based-standards] (PRId8): Expect macro.
27084         [C99-based-standards] (PRIi8): Likewise.
27085         [C99-based-standards] (PRIo8): Likewise.
27086         [C99-based-standards] (PRIu8): Likewise.
27087         [C99-based-standards] (PRIx8): Likewise.
27088         [C99-based-standards] (PRIX8): Likewise.
27089         [C99-based-standards] (SCNd8): Likewise.
27090         [C99-based-standards] (SCNi8): Likewise.
27091         [C99-based-standards] (SCNo8): Likewise.
27092         [C99-based-standards] (SCNu8): Likewise.
27093         [C99-based-standards] (SCNx8): Likewise.
27094         [C99-based-standards] (PRIdLEAST8): Likewise.
27095         [C99-based-standards] (PRIiLEAST8): Likewise.
27096         [C99-based-standards] (PRIoLEAST8): Likewise.
27097         [C99-based-standards] (PRIuLEAST8): Likewise.
27098         [C99-based-standards] (PRIxLEAST8): Likewise.
27099         [C99-based-standards] (PRIXLEAST8): Likewise.
27100         [C99-based-standards] (SCNdLEAST8): Likewise.
27101         [C99-based-standards] (SCNiLEAST8): Likewise.
27102         [C99-based-standards] (SCNoLEAST8): Likewise.
27103         [C99-based-standards] (SCNuLEAST8): Likewise.
27104         [C99-based-standards] (SCNxLEAST8): Likewise.
27105         [C99-based-standards] (PRIdFAST8): Likewise.
27106         [C99-based-standards] (PRIiFAST8): Likewise.
27107         [C99-based-standards] (PRIoFAST8): Likewise.
27108         [C99-based-standards] (PRIuFAST8): Likewise.
27109         [C99-based-standards] (PRIxFAST8): Likewise.
27110         [C99-based-standards] (PRIXFAST8): Likewise.
27111         [C99-based-standards] (SCNdFAST8): Likewise.
27112         [C99-based-standards] (SCNiFAST8): Likewise.
27113         [C99-based-standards] (SCNoFAST8): Likewise.
27114         [C99-based-standards] (SCNuFAST8): Likewise.
27115         [C99-based-standards] (SCNxFAST8): Likewise.
27116         [C99-based-standards] (PRId16): Likewise.
27117         [C99-based-standards] (PRIi16): Likewise.
27118         [C99-based-standards] (PRIo16): Likewise.
27119         [C99-based-standards] (PRIu16): Likewise.
27120         [C99-based-standards] (PRIx16): Likewise.
27121         [C99-based-standards] (PRIX16): Likewise.
27122         [C99-based-standards] (SCNd16): Likewise.
27123         [C99-based-standards] (SCNi16): Likewise.
27124         [C99-based-standards] (SCNo16): Likewise.
27125         [C99-based-standards] (SCNu16): Likewise.
27126         [C99-based-standards] (SCNx16): Likewise.
27127         [C99-based-standards] (PRIdLEAST16): Likewise.
27128         [C99-based-standards] (PRIiLEAST16): Likewise.
27129         [C99-based-standards] (PRIoLEAST16): Likewise.
27130         [C99-based-standards] (PRIuLEAST16): Likewise.
27131         [C99-based-standards] (PRIxLEAST16): Likewise.
27132         [C99-based-standards] (PRIXLEAST16): Likewise.
27133         [C99-based-standards] (SCNdLEAST16): Likewise.
27134         [C99-based-standards] (SCNiLEAST16): Likewise.
27135         [C99-based-standards] (SCNoLEAST16): Likewise.
27136         [C99-based-standards] (SCNuLEAST16): Likewise.
27137         [C99-based-standards] (SCNxLEAST16): Likewise.
27138         [C99-based-standards] (PRIdFAST16): Likewise.
27139         [C99-based-standards] (PRIiFAST16): Likewise.
27140         [C99-based-standards] (PRIoFAST16): Likewise.
27141         [C99-based-standards] (PRIuFAST16): Likewise.
27142         [C99-based-standards] (PRIxFAST16): Likewise.
27143         [C99-based-standards] (PRIXFAST16): Likewise.
27144         [C99-based-standards] (SCNdFAST16): Likewise.
27145         [C99-based-standards] (SCNiFAST16): Likewise.
27146         [C99-based-standards] (SCNoFAST16): Likewise.
27147         [C99-based-standards] (SCNuFAST16): Likewise.
27148         [C99-based-standards] (SCNxFAST16): Likewise.
27149         [C99-based-standards] (PRId32): Likewise.
27150         [C99-based-standards] (PRIi32): Likewise.
27151         [C99-based-standards] (PRIo32): Likewise.
27152         [C99-based-standards] (PRIu32): Likewise.
27153         [C99-based-standards] (PRIx32): Likewise.
27154         [C99-based-standards] (PRIX32): Likewise.
27155         [C99-based-standards] (SCNd32): Likewise.
27156         [C99-based-standards] (SCNi32): Likewise.
27157         [C99-based-standards] (SCNo32): Likewise.
27158         [C99-based-standards] (SCNu32): Likewise.
27159         [C99-based-standards] (SCNx32): Likewise.
27160         [C99-based-standards] (PRIdLEAST32): Likewise.
27161         [C99-based-standards] (PRIiLEAST32): Likewise.
27162         [C99-based-standards] (PRIoLEAST32): Likewise.
27163         [C99-based-standards] (PRIuLEAST32): Likewise.
27164         [C99-based-standards] (PRIxLEAST32): Likewise.
27165         [C99-based-standards] (PRIXLEAST32): Likewise.
27166         [C99-based-standards] (SCNdLEAST32): Likewise.
27167         [C99-based-standards] (SCNiLEAST32): Likewise.
27168         [C99-based-standards] (SCNoLEAST32): Likewise.
27169         [C99-based-standards] (SCNuLEAST32): Likewise.
27170         [C99-based-standards] (SCNxLEAST32): Likewise.
27171         [C99-based-standards] (PRIdFAST32): Likewise.
27172         [C99-based-standards] (PRIiFAST32): Likewise.
27173         [C99-based-standards] (PRIoFAST32): Likewise.
27174         [C99-based-standards] (PRIuFAST32): Likewise.
27175         [C99-based-standards] (PRIxFAST32): Likewise.
27176         [C99-based-standards] (PRIXFAST32): Likewise.
27177         [C99-based-standards] (SCNdFAST32): Likewise.
27178         [C99-based-standards] (SCNiFAST32): Likewise.
27179         [C99-based-standards] (SCNoFAST32): Likewise.
27180         [C99-based-standards] (SCNuFAST32): Likewise.
27181         [C99-based-standards] (SCNxFAST32): Likewise.
27182         [C99-based-standards] (PRId64): Likewise.
27183         [C99-based-standards] (PRIi64): Likewise.
27184         [C99-based-standards] (PRIo64): Likewise.
27185         [C99-based-standards] (PRIu64): Likewise.
27186         [C99-based-standards] (PRIx64): Likewise.
27187         [C99-based-standards] (PRIX64): Likewise.
27188         [C99-based-standards] (SCNd64): Likewise.
27189         [C99-based-standards] (SCNi64): Likewise.
27190         [C99-based-standards] (SCNo64): Likewise.
27191         [C99-based-standards] (SCNu64): Likewise.
27192         [C99-based-standards] (SCNx64): Likewise.
27193         [C99-based-standards] (PRIdLEAST64): Likewise.
27194         [C99-based-standards] (PRIiLEAST64): Likewise.
27195         [C99-based-standards] (PRIoLEAST64): Likewise.
27196         [C99-based-standards] (PRIuLEAST64): Likewise.
27197         [C99-based-standards] (PRIxLEAST64): Likewise.
27198         [C99-based-standards] (PRIXLEAST64): Likewise.
27199         [C99-based-standards] (SCNdLEAST64): Likewise.
27200         [C99-based-standards] (SCNiLEAST64): Likewise.
27201         [C99-based-standards] (SCNoLEAST64): Likewise.
27202         [C99-based-standards] (SCNuLEAST64): Likewise.
27203         [C99-based-standards] (SCNxLEAST64): Likewise.
27204         [C99-based-standards] (PRIdFAST64): Likewise.
27205         [C99-based-standards] (PRIiFAST64): Likewise.
27206         [C99-based-standards] (PRIoFAST64): Likewise.
27207         [C99-based-standards] (PRIuFAST64): Likewise.
27208         [C99-based-standards] (PRIxFAST64): Likewise.
27209         [C99-based-standards] (PRIXFAST64): Likewise.
27210         [C99-based-standards] (SCNdFAST64): Likewise.
27211         [C99-based-standards] (SCNiFAST64): Likewise.
27212         [C99-based-standards] (SCNoFAST64): Likewise.
27213         [C99-based-standards] (SCNuFAST64): Likewise.
27214         [C99-based-standards] (SCNxFAST64): Likewise.
27215         [C99-based-standards] (PRIdMAX): Likewise.
27216         [C99-based-standards] (PRIiMAX): Likewise.
27217         [C99-based-standards] (PRIoMAX): Likewise.
27218         [C99-based-standards] (PRIuMAX): Likewise.
27219         [C99-based-standards] (PRIxMAX): Likewise.
27220         [C99-based-standards] (PRIXMAX): Likewise.
27221         [C99-based-standards] (SCNdMAX): Likewise.
27222         [C99-based-standards] (SCNiMAX): Likewise.
27223         [C99-based-standards] (SCNoMAX): Likewise.
27224         [C99-based-standards] (SCNuMAX): Likewise.
27225         [C99-based-standards] (SCNxMAX): Likewise.
27226         [C99-based-standards] (PRIdPTR): Likewise.
27227         [C99-based-standards] (PRIiPTR): Likewise.
27228         [C99-based-standards] (PRIoPTR): Likewise.
27229         [C99-based-standards] (PRIuPTR): Likewise.
27230         [C99-based-standards] (PRIxPTR): Likewise.
27231         [C99-based-standards] (PRIXPTR): Likewise.
27232         [C99-based-standards] (SCNdPTR): Likewise.
27233         [C99-based-standards] (SCNiPTR): Likewise.
27234         [C99-based-standards] (SCNoPTR): Likewise.
27235         [C99-based-standards] (SCNuPTR): Likewise.
27236         [C99-based-standards] (SCNxPTR): Likewise.
27237         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27238         allow.
27239         * conform/data/stdint.h-data: Update comments to clarify
27240         requirements.
27241         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
27242         type.
27243         [C99-based standards] (INT8_MAX): Likewise.
27244         [C99-based standards] (INT16_MIN): Likewise.
27245         [C99-based standards] (INT16_MAX): Likewise.
27246         [C99-based standards] (INT32_MIN): Likewise.
27247         [C99-based standards] (INT32_MAX): Likewise.
27248         [C99-based standards] (INT64_MIN): Likewise.
27249         [C99-based standards] (INT64_MAX): Likewise.
27250         [C99-based standards] (UINT8_MAX): Likewise.
27251         [C99-based standards] (UINT16_MAX): Likewise.
27252         [C99-based standards] (UINT32_MAX): Likewise.
27253         [C99-based standards] (UINT64_MAX): Likewise.
27254         [C99-based standards] (INT_LEAST8_MIN): Likewise.
27255         [C99-based standards] (INT_LEAST8_MAX): Likewise.
27256         [C99-based standards] (INT_LEAST16_MIN): Likewise.
27257         [C99-based standards] (INT_LEAST16_MAX): Likewise.
27258         [C99-based standards] (INT_LEAST32_MIN): Likewise.
27259         [C99-based standards] (INT_LEAST32_MAX): Likewise.
27260         [C99-based standards] (INT_LEAST64_MIN): Likewise.
27261         [C99-based standards] (INT_LEAST64_MAX): Likewise.
27262         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27263         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27264         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27265         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27266         [C99-based standards] (INT_FAST8_MIN): Likewise.
27267         [C99-based standards] (INT_FAST8_MAX): Likewise.
27268         [C99-based standards] (INT_FAST16_MIN): Likewise.
27269         [C99-based standards] (INT_FAST16_MAX): Likewise.
27270         [C99-based standards] (INT_FAST32_MIN): Likewise.
27271         [C99-based standards] (INT_FAST32_MAX): Likewise.
27272         [C99-based standards] (INT_FAST64_MIN): Likewise.
27273         [C99-based standards] (INT_FAST64_MAX): Likewise.
27274         [C99-based standards] (UINT_FAST8_MAX): Likewise.
27275         [C99-based standards] (UINT_FAST16_MAX): Likewise.
27276         [C99-based standards] (UINT_FAST32_MAX): Likewise.
27277         [C99-based standards] (UINT_FAST64_MAX): Likewise.
27278         [C99-based standards] (INTPTR_MIN): Likewise.
27279         [C99-based standards] (INTPTR_MAX): Likewise.
27280         [C99-based standards] (UINTPTR_MAX): Likewise.
27281         [C99-based standards] (INTMAX_MIN): Likewise.
27282         [C99-based standards] (INTMAX_MAX): Likewise.
27283         [C99-based standards] (UINTMAX_MAX): Likewise.
27284         [C99-based standards] (PTRDIFF_MIN): Likewise.
27285         [C99-based standards] (PTRDIFF_MAX): Likewise.
27286         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27287         [C99-based standards] (SIZE_MAX): Likewise.
27288         [C99-based standards] (WCHAR_MAX): Likewise.
27289         [C99-based standards] (WINT_MAX): Likewise.
27290         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
27291         constraint on value.
27292         [C99-based standards] (WCHAR_MIN): Likewise.
27293         [C99-based standards] (WINT_MIN): Likewise.
27294         [C99-based standards] (*_t): Allow.
27295         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27296         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27297         Include math.h-data and complex.h-data.  Remove all expectations
27298         of math.h and complex.h contents.
27299         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27300         at end of line.
27301         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27302         (struct tm): Expect tag.
27303         [C99-based-standards] (wcstof): Expect function.
27304         [C99-based-standards] (wcstold): Likewise.
27305         [C99-based-standards] (wcstoll): Likewise.
27306         [C99-based-standards] (wcstoull): Likewise.
27307         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27308         macro-int-constant.  Specify type.
27309         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
27310         constraint on value.
27311         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27312         Specify type.
27313         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27314         Specify value.
27315         [ISO C standards]: Do not allow headers.
27316         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27317         wcs[abcdefghijklmnopqrstuvwxyz]*.
27318         [ISO C standards] (*_t): Do not allow.
27319         * conform/data/wctype.h-data [C99-based standards] (iswblank):
27320         Expect function.
27321         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27322         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27323         Specify type.
27324         [ISO C standards]: Do not allow headers.
27325         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27326         is[abcdefghijklmnopqrstuvwxyz]*.
27327         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27328         to[abcdefghijklmnopqrstuvwxyz]*.
27329         [ISO C standards] (*_t): Do not allow.
27330         * conform/data/stdalign.h-data: New file.
27331         * conform/data/stdbool.h-data: Likewise.
27332         * conform/data/stdnoreturn.h-data: Likewise.
27333
27334 2012-11-07  Roland McGrath  <roland@hack.frob.com>
27335
27336         [BZ #14815]
27337         * manual/filesys.texi (Directory Entries): Typo fix.
27338         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27339
27340 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27341
27342         * elf/elf.h (EM_AARCH64): New macro.
27343         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27344         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27345         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27346         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27347         (R_AARCH64_TLSDESC): Likewise.
27348         (NT_ARM_TLS): Likewise.
27349         (NT_ARM_HW_BREAK): Likewise.
27350         (NT_ARM_HW_WATCH): Likewise.
27351
27352 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27353
27354         [BZ #14811]
27355         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27356         (__ieee754_powl): Saturate nonzero exponents with absolute value
27357         below 0x1p-79 to +/- 0x1p-79.
27358         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27359         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27360         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27361         nonzero exponents with absolute value below 0x1p-32 to +/-
27362         0x1p-32.
27363         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27364         (__ieee754_powl): Saturate nonzero exponents with absolute value
27365         below 0x1p-79 to +/- 0x1p-79.
27366         * math/libm-test.inc (pow_test): Add more tests.
27367
27368 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27369
27370         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27371         _dl_s390_cap_flags with kernel. Increase string length.
27372         (_dl_s390_platforms): Add z196 and zEC12.
27373
27374 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27375
27376         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27377         Change XOPEN21K to XOPEN2K.
27378
27379 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
27380
27381         * string/memmove.c: Use memcpy when possible.
27382
27383 2012-11-06  Andreas Jaeger  <aj@suse.de>
27384
27385         * po/eo.po: Update from translation team.
27386
27387 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
27388
27389         [BZ #14793]
27390         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27391         exponent and small x and y exponents, scale x or y up.  Increase
27392         by 2 the exponent used in scaling up.
27393         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27394         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27395         * math/libm-test.inc (fma_test): Add more tests.
27396         (fma_test_towardzero): Likewise.
27397         (fma_test_downward): Likewise.
27398         (fma_test_upward): Likewise.
27399
27400 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
27401
27402         [BZ #14805]
27403         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27404         fenv_t *.
27405
27406         [BZ #14801]
27407         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27408         namespace for names of struct fields.
27409         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27410         fenv_t fields.
27411         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27412         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27413
27414 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27415
27416         [BZ #3665]
27417         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27418
27419 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27420
27421         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27422         PTR_DEMANGLE.
27423
27424         [BZ #5246]
27425         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27426         PTR_DEMANGLE.
27427
27428 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
27429
27430         [BZ #14797]
27431         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27432         definitely overflow as x * y not x * y + z.
27433         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27434         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27435         * math/libm-test.inc (fma_test): Add more tests.
27436         (fma_test_towardzero): Likewise.
27437         (fma_test_downward): Likewise.
27438         (fma_test_upward): Likewise.
27439
27440 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27441
27442         [BZ #157]
27443
27444         * include/stub-tag.h: Remove file.
27445         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27446         '#include' of it.
27447         * manual/maint.texi (Porting): Don't reference it.
27448         * Makerules ($(objpfx)stubs): Likewise.
27449         * dirent/closedir.c: Don't include <stub-tag.h>.
27450         * dirent/dirfd.c: Likewise.
27451         * dirent/fdopendir.c: Likewise.
27452         * dirent/getdents.c: Likewise.
27453         * dirent/getdents64.c: Likewise.
27454         * dirent/opendir.c: Likewise.
27455         * dirent/readdir.c: Likewise.
27456         * dirent/readdir64.c: Likewise.
27457         * dirent/readdir64_r.c: Likewise.
27458         * dirent/readdir_r.c: Likewise.
27459         * dirent/rewinddir.c: Likewise.
27460         * dirent/seekdir.c: Likewise.
27461         * dirent/telldir.c: Likewise.
27462         * gmon/profil.c: Likewise.
27463         * grp/setgroups.c: Likewise.
27464         * inet/if_index.c: Likewise.
27465         * io/access.c: Likewise.
27466         * io/chdir.c: Likewise.
27467         * io/chmod.c: Likewise.
27468         * io/chown.c: Likewise.
27469         * io/close.c: Likewise.
27470         * io/dup.c: Likewise.
27471         * io/dup2.c: Likewise.
27472         * io/dup3.c: Likewise.
27473         * io/euidaccess.c: Likewise.
27474         * io/faccessat.c: Likewise.
27475         * io/fchdir.c: Likewise.
27476         * io/fchmod.c: Likewise.
27477         * io/fchmodat.c: Likewise.
27478         * io/fchown.c: Likewise.
27479         * io/fchownat.c: Likewise.
27480         * io/fcntl.c: Likewise.
27481         * io/flock.c: Likewise.
27482         * io/fstatfs.c: Likewise.
27483         * io/fstatfs64.c: Likewise.
27484         * io/fstatvfs.c: Likewise.
27485         * io/fstatvfs64.c: Likewise.
27486         * io/futimens.c: Likewise.
27487         * io/fxstat.c: Likewise.
27488         * io/fxstat64.c: Likewise.
27489         * io/fxstatat.c: Likewise.
27490         * io/fxstatat64.c: Likewise.
27491         * io/getcwd.c: Likewise.
27492         * io/isatty.c: Likewise.
27493         * io/lchmod.c: Likewise.
27494         * io/lchown.c: Likewise.
27495         * io/link.c: Likewise.
27496         * io/linkat.c: Likewise.
27497         * io/lseek.c: Likewise.
27498         * io/lseek64.c: Likewise.
27499         * io/lxstat64.c: Likewise.
27500         * io/mkdir.c: Likewise.
27501         * io/mkdirat.c: Likewise.
27502         * io/mkfifo.c: Likewise.
27503         * io/mkfifoat.c: Likewise.
27504         * io/open.c: Likewise.
27505         * io/open64.c: Likewise.
27506         * io/openat.c: Likewise.
27507         * io/openat64.c: Likewise.
27508         * io/pipe.c: Likewise.
27509         * io/pipe2.c: Likewise.
27510         * io/poll.c: Likewise.
27511         * io/posix_fadvise.c: Likewise.
27512         * io/posix_fadvise64.c: Likewise.
27513         * io/posix_fallocate.c: Likewise.
27514         * io/posix_fallocate64.c: Likewise.
27515         * io/read.c: Likewise.
27516         * io/readlink.c: Likewise.
27517         * io/readlinkat.c: Likewise.
27518         * io/rmdir.c: Likewise.
27519         * io/sendfile.c: Likewise.
27520         * io/sendfile64.c: Likewise.
27521         * io/statfs.c: Likewise.
27522         * io/statfs64.c: Likewise.
27523         * io/statvfs.c: Likewise.
27524         * io/statvfs64.c: Likewise.
27525         * io/symlink.c: Likewise.
27526         * io/symlinkat.c: Likewise.
27527         * io/ttyname.c: Likewise.
27528         * io/ttyname_r.c: Likewise.
27529         * io/umask.c: Likewise.
27530         * io/unlink.c: Likewise.
27531         * io/unlinkat.c: Likewise.
27532         * io/utime.c: Likewise.
27533         * io/utimensat.c: Likewise.
27534         * io/write.c: Likewise.
27535         * io/xmknod.c: Likewise.
27536         * io/xmknodat.c: Likewise.
27537         * io/xstat.c: Likewise.
27538         * io/xstat64.c: Likewise.
27539         * login/getpt.c: Likewise.
27540         * login/grantpt.c: Likewise.
27541         * login/unlockpt.c: Likewise.
27542         * math/e_acoshl.c: Likewise.
27543         * math/e_acosl.c: Likewise.
27544         * math/e_asinl.c: Likewise.
27545         * math/e_atan2l.c: Likewise.
27546         * math/e_atanhl.c: Likewise.
27547         * math/e_coshl.c: Likewise.
27548         * math/e_expl.c: Likewise.
27549         * math/e_fmodl.c: Likewise.
27550         * math/e_gammal_r.c: Likewise.
27551         * math/e_hypotl.c: Likewise.
27552         * math/e_j0l.c: Likewise.
27553         * math/e_j1l.c: Likewise.
27554         * math/e_jnl.c: Likewise.
27555         * math/e_lgammal_r.c: Likewise.
27556         * math/e_log10l.c: Likewise.
27557         * math/e_log2l.c: Likewise.
27558         * math/e_logl.c: Likewise.
27559         * math/e_powl.c: Likewise.
27560         * math/e_rem_pio2l.c: Likewise.
27561         * math/e_sinhl.c: Likewise.
27562         * math/e_sqrtl.c: Likewise.
27563         * math/fclrexcpt.c: Likewise.
27564         * math/fedisblxcpt.c: Likewise.
27565         * math/feenablxcpt.c: Likewise.
27566         * math/fegetenv.c: Likewise.
27567         * math/fegetexcept.c: Likewise.
27568         * math/fegetround.c: Likewise.
27569         * math/feholdexcpt.c: Likewise.
27570         * math/fesetenv.c: Likewise.
27571         * math/fesetround.c: Likewise.
27572         * math/feupdateenv.c: Likewise.
27573         * math/fgetexcptflg.c: Likewise.
27574         * math/fraiseexcpt.c: Likewise.
27575         * math/fsetexcptflg.c: Likewise.
27576         * math/ftestexcept.c: Likewise.
27577         * math/k_cosl.c: Likewise.
27578         * math/k_rem_pio2l.c: Likewise.
27579         * math/k_sinl.c: Likewise.
27580         * math/k_tanl.c: Likewise.
27581         * math/s_asinhl.c: Likewise.
27582         * math/s_atanl.c: Likewise.
27583         * math/s_cbrtl.c: Likewise.
27584         * math/s_erfl.c: Likewise.
27585         * math/s_expm1l.c: Likewise.
27586         * math/s_log1pl.c: Likewise.
27587         * math/s_tanhl.c: Likewise.
27588         * misc/acct.c: Likewise.
27589         * misc/brk.c: Likewise.
27590         * misc/chflags.c: Likewise.
27591         * misc/chroot.c: Likewise.
27592         * misc/fchflags.c: Likewise.
27593         * misc/fgetxattr.c: Likewise.
27594         * misc/flistxattr.c: Likewise.
27595         * misc/fremovexattr.c: Likewise.
27596         * misc/fsetxattr.c: Likewise.
27597         * misc/fsync.c: Likewise.
27598         * misc/ftruncate.c: Likewise.
27599         * misc/futimes.c: Likewise.
27600         * misc/futimesat.c: Likewise.
27601         * misc/getdomain.c: Likewise.
27602         * misc/getdtsz.c: Likewise.
27603         * misc/gethostid.c: Likewise.
27604         * misc/gethostname.c: Likewise.
27605         * misc/getloadavg.c: Likewise.
27606         * misc/getpagesize.c: Likewise.
27607         * misc/getsysstats.c: Likewise.
27608         * misc/getxattr.c: Likewise.
27609         * misc/gtty.c: Likewise.
27610         * misc/ioctl.c: Likewise.
27611         * misc/lgetxattr.c: Likewise.
27612         * misc/listxattr.c: Likewise.
27613         * misc/llistxattr.c: Likewise.
27614         * misc/lremovexattr.c: Likewise.
27615         * misc/lsetxattr.c: Likewise.
27616         * misc/lutimes.c: Likewise.
27617         * misc/madvise.c: Likewise.
27618         * misc/mincore.c: Likewise.
27619         * misc/mlock.c: Likewise.
27620         * misc/mlockall.c: Likewise.
27621         * misc/mmap.c: Likewise.
27622         * misc/mprotect.c: Likewise.
27623         * misc/msync.c: Likewise.
27624         * misc/munlock.c: Likewise.
27625         * misc/munlockall.c: Likewise.
27626         * misc/munmap.c: Likewise.
27627         * misc/preadv.c: Likewise.
27628         * misc/preadv64.c: Likewise.
27629         * misc/ptrace.c: Likewise.
27630         * misc/pwritev.c: Likewise.
27631         * misc/pwritev64.c: Likewise.
27632         * misc/readv.c: Likewise.
27633         * misc/reboot.c: Likewise.
27634         * misc/remap_file_pages.c: Likewise.
27635         * misc/removexattr.c: Likewise.
27636         * misc/revoke.c: Likewise.
27637         * misc/select.c: Likewise.
27638         * misc/setdomain.c: Likewise.
27639         * misc/setegid.c: Likewise.
27640         * misc/seteuid.c: Likewise.
27641         * misc/sethostid.c: Likewise.
27642         * misc/sethostname.c: Likewise.
27643         * misc/setregid.c: Likewise.
27644         * misc/setreuid.c: Likewise.
27645         * misc/setxattr.c: Likewise.
27646         * misc/sstk.c: Likewise.
27647         * misc/stty.c: Likewise.
27648         * misc/swapoff.c: Likewise.
27649         * misc/swapon.c: Likewise.
27650         * misc/sync.c: Likewise.
27651         * misc/syncfs.c: Likewise.
27652         * misc/syscall.c: Likewise.
27653         * misc/truncate.c: Likewise.
27654         * misc/ualarm.c: Likewise.
27655         * misc/usleep.c: Likewise.
27656         * misc/ustat.c: Likewise.
27657         * misc/utimes.c: Likewise.
27658         * misc/vhangup.c: Likewise.
27659         * misc/writev.c: Likewise.
27660         * posix/_exit.c: Likewise.
27661         * posix/alarm.c: Likewise.
27662         * posix/execve.c: Likewise.
27663         * posix/fexecve.c: Likewise.
27664         * posix/fork.c: Likewise.
27665         * posix/fpathconf.c: Likewise.
27666         * posix/getaddrinfo.c: Likewise.
27667         * posix/getegid.c: Likewise.
27668         * posix/geteuid.c: Likewise.
27669         * posix/getgid.c: Likewise.
27670         * posix/getgroups.c: Likewise.
27671         * posix/getlogin.c: Likewise.
27672         * posix/getlogin_r.c: Likewise.
27673         * posix/getpgid.c: Likewise.
27674         * posix/getpid.c: Likewise.
27675         * posix/getppid.c: Likewise.
27676         * posix/getresgid.c: Likewise.
27677         * posix/getresuid.c: Likewise.
27678         * posix/getsid.c: Likewise.
27679         * posix/getuid.c: Likewise.
27680         * posix/glob64.c: Likewise.
27681         * posix/nanosleep.c: Likewise.
27682         * posix/pathconf.c: Likewise.
27683         * posix/pause.c: Likewise.
27684         * posix/posix_madvise.c: Likewise.
27685         * posix/pread.c: Likewise.
27686         * posix/pread64.c: Likewise.
27687         * posix/pwrite.c: Likewise.
27688         * posix/pwrite64.c: Likewise.
27689         * posix/sched_getaffinity.c: Likewise.
27690         * posix/sched_getp.c: Likewise.
27691         * posix/sched_gets.c: Likewise.
27692         * posix/sched_primax.c: Likewise.
27693         * posix/sched_primin.c: Likewise.
27694         * posix/sched_rr_gi.c: Likewise.
27695         * posix/sched_setaffinity.c: Likewise.
27696         * posix/sched_setp.c: Likewise.
27697         * posix/sched_sets.c: Likewise.
27698         * posix/sched_yield.c: Likewise.
27699         * posix/setgid.c: Likewise.
27700         * posix/setlogin.c: Likewise.
27701         * posix/setpgid.c: Likewise.
27702         * posix/setresgid.c: Likewise.
27703         * posix/setresuid.c: Likewise.
27704         * posix/setsid.c: Likewise.
27705         * posix/setuid.c: Likewise.
27706         * posix/sleep.c: Likewise.
27707         * posix/spawni.c: Likewise.
27708         * posix/sysconf.c: Likewise.
27709         * posix/times.c: Likewise.
27710         * posix/wait.c: Likewise.
27711         * posix/wait3.c: Likewise.
27712         * posix/wait4.c: Likewise.
27713         * posix/waitpid.c: Likewise.
27714         * resolv/gai_sigqueue.c: Likewise.
27715         * resource/getpriority.c: Likewise.
27716         * resource/getrlimit.c: Likewise.
27717         * resource/getrusage.c: Likewise.
27718         * resource/nice.c: Likewise.
27719         * resource/setpriority.c: Likewise.
27720         * resource/setrlimit.c: Likewise.
27721         * resource/ulimit.c: Likewise.
27722         * rt/aio_cancel.c: Likewise.
27723         * rt/aio_fsync.c: Likewise.
27724         * rt/aio_read.c: Likewise.
27725         * rt/aio_sigqueue.c: Likewise.
27726         * rt/aio_suspend.c: Likewise.
27727         * rt/aio_write.c: Likewise.
27728         * rt/clock_getres.c: Likewise.
27729         * rt/clock_gettime.c: Likewise.
27730         * rt/clock_nanosleep.c: Likewise.
27731         * rt/clock_settime.c: Likewise.
27732         * rt/lio_listio.c: Likewise.
27733         * rt/mq_close.c: Likewise.
27734         * rt/mq_getattr.c: Likewise.
27735         * rt/mq_notify.c: Likewise.
27736         * rt/mq_open.c: Likewise.
27737         * rt/mq_receive.c: Likewise.
27738         * rt/mq_send.c: Likewise.
27739         * rt/mq_setattr.c: Likewise.
27740         * rt/mq_timedreceive.c: Likewise.
27741         * rt/mq_timedsend.c: Likewise.
27742         * rt/mq_unlink.c: Likewise.
27743         * rt/shm_open.c: Likewise.
27744         * rt/shm_unlink.c: Likewise.
27745         * rt/timer_create.c: Likewise.
27746         * rt/timer_delete.c: Likewise.
27747         * rt/timer_getoverr.c: Likewise.
27748         * rt/timer_gettime.c: Likewise.
27749         * rt/timer_settime.c: Likewise.
27750         * setjmp/__longjmp.c: Likewise.
27751         * setjmp/setjmp.c: Likewise.
27752         * signal/kill.c: Likewise.
27753         * signal/killpg.c: Likewise.
27754         * signal/raise.c: Likewise.
27755         * signal/sigaction.c: Likewise.
27756         * signal/sigaltstack.c: Likewise.
27757         * signal/sigblock.c: Likewise.
27758         * signal/sigignore.c: Likewise.
27759         * signal/sigintr.c: Likewise.
27760         * signal/signal.c: Likewise.
27761         * signal/sigpause.c: Likewise.
27762         * signal/sigpending.c: Likewise.
27763         * signal/sigqueue.c: Likewise.
27764         * signal/sigreturn.c: Likewise.
27765         * signal/sigset.c: Likewise.
27766         * signal/sigsetmask.c: Likewise.
27767         * signal/sigstack.c: Likewise.
27768         * signal/sigsuspend.c: Likewise.
27769         * signal/sigtimedwait.c: Likewise.
27770         * signal/sigvec.c: Likewise.
27771         * signal/sigwait.c: Likewise.
27772         * signal/sigwaitinfo.c: Likewise.
27773         * signal/sysv_signal.c: Likewise.
27774         * socket/accept.c: Likewise.
27775         * socket/accept4.c: Likewise.
27776         * socket/bind.c: Likewise.
27777         * socket/connect.c: Likewise.
27778         * socket/getpeername.c: Likewise.
27779         * socket/getsockname.c: Likewise.
27780         * socket/getsockopt.c: Likewise.
27781         * socket/isfdtype.c: Likewise.
27782         * socket/listen.c: Likewise.
27783         * socket/recv.c: Likewise.
27784         * socket/recvfrom.c: Likewise.
27785         * socket/recvmsg.c: Likewise.
27786         * socket/send.c: Likewise.
27787         * socket/sendmsg.c: Likewise.
27788         * socket/sendto.c: Likewise.
27789         * socket/setsockopt.c: Likewise.
27790         * socket/shutdown.c: Likewise.
27791         * socket/sockatmark.c: Likewise.
27792         * socket/socket.c: Likewise.
27793         * socket/socketpair.c: Likewise.
27794         * stdio-common/ctermid.c: Likewise.
27795         * stdio-common/cuserid.c: Likewise.
27796         * stdio-common/remove.c: Likewise.
27797         * stdio-common/rename.c: Likewise.
27798         * stdio-common/renameat.c: Likewise.
27799         * stdio-common/tempname.c: Likewise.
27800         * stdlib/getcontext.c: Likewise.
27801         * stdlib/makecontext.c: Likewise.
27802         * stdlib/setcontext.c: Likewise.
27803         * stdlib/swapcontext.c: Likewise.
27804         * stdlib/system.c: Likewise.
27805         * streams/fattach.c: Likewise.
27806         * streams/fdetach.c: Likewise.
27807         * streams/getmsg.c: Likewise.
27808         * streams/getpmsg.c: Likewise.
27809         * streams/putmsg.c: Likewise.
27810         * streams/putpmsg.c: Likewise.
27811         * sysdeps/unix/bsd/getpt.c: Likewise.
27812         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27813         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27814         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27816         Likewise.
27817         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27818         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27819         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27820         * sysvipc/msgctl.c: Likewise.
27821         * sysvipc/msgget.c: Likewise.
27822         * sysvipc/msgrcv.c: Likewise.
27823         * sysvipc/msgsnd.c: Likewise.
27824         * sysvipc/semctl.c: Likewise.
27825         * sysvipc/semget.c: Likewise.
27826         * sysvipc/semop.c: Likewise.
27827         * sysvipc/semtimedop.c: Likewise.
27828         * sysvipc/shmat.c: Likewise.
27829         * sysvipc/shmctl.c: Likewise.
27830         * sysvipc/shmdt.c: Likewise.
27831         * sysvipc/shmget.c: Likewise.
27832         * termios/tcdrain.c: Likewise.
27833         * termios/tcflow.c: Likewise.
27834         * termios/tcflush.c: Likewise.
27835         * termios/tcgetattr.c: Likewise.
27836         * termios/tcgetpgrp.c: Likewise.
27837         * termios/tcsendbrk.c: Likewise.
27838         * termios/tcsetattr.c: Likewise.
27839         * termios/tcsetpgrp.c: Likewise.
27840         * time/adjtime.c: Likewise.
27841         * time/clock.c: Likewise.
27842         * time/getitimer.c: Likewise.
27843         * time/gettimeofday.c: Likewise.
27844         * time/setitimer.c: Likewise.
27845         * time/settimeofday.c: Likewise.
27846         * time/stime.c: Likewise.
27847         * time/time.c: Likewise.
27848
27849 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
27850
27851         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27852         /usr/old/bin.
27853
27854         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27855         instead of spaces.
27856         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27857
27858 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
27859
27860         [BZ #14796]
27861         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27862         FE_TONEAREST before applying Dekker multiplication and Knuth
27863         addition.  Clear inexact exceptions and check for exact zero
27864         results afterwards.
27865         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27866         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27867         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27868         * math/libm-test.inc (fma_test): Add more tests.
27869         (fma_test_towardzero): Likewise.
27870         (fma_test_downward): Likewise.
27871         (fma_test_upward): Likewise.
27872         * sysdeps/generic/math_private.h (default_libc_fesetround): New
27873         function.
27874         (libc_fesetround): New macro.
27875         (libc_fesetroundf): Likewise.
27876         (libc_fesetroundl): Likewise.
27877         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27878         function.
27879         (libc_fesetround_387): Likewise.
27880         (libc_fesetroundf): New macro.
27881         (libc_fesetround): Likewise.
27882         (libc_fesetroundl): Likewise.
27883         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27884         function.
27885         (libc_fesetroundf): New macro.
27886         (libc_fesetround): Likewise.
27887         (libc_fesetroundl): Likewise.
27888         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27889         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27890         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27891         libm_hidden_ver.
27892         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27893         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27894         libm_hidden_def.
27895         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27896         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27897         libm_hidden_ver.
27898         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27899         libm_hidden_def.
27900
27901         [BZ #3439]
27902         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27903         integer constant usable in #if and use that to give value to enum
27904         constant.
27905         (FE_DIVBYZERO): Likewise.
27906         (FE_UNDERFLOW): Likewise.
27907         (FE_OVERFLOW): Likewise.
27908         (FE_INVALID): Likewise.
27909         (FE_INVALID_SNAN): Likewise.
27910         (FE_INVALID_ISI): Likewise.
27911         (FE_INVALID_IDI): Likewise.
27912         (FE_INVALID_ZDZ): Likewise.
27913         (FE_INVALID_IMZ): Likewise.
27914         (FE_INVALID_COMPARE): Likewise.
27915         (FE_INVALID_SOFTWARE): Likewise.
27916         (FE_INVALID_SQRT): Likewise.
27917         (FE_INVALID_INTEGER_CONVERSION): Likewise.
27918         (FE_TONEAREST): Likewise.
27919         (FE_TOWARDZERO): Likewise.
27920         (FE_UPWARD): Likewise.
27921         (FE_DOWNWARD): Likewise.
27922         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27923         (FE_DIVBYZERO): Likewise.
27924         (FE_OVERFLOW): Likewise.
27925         (FE_UNDERFLOW): Likewise.
27926         (FE_INEXACT): Likewise.
27927         (FE_TONEAREST): Likewise.
27928         (FE_DOWNWARD): Likewise.
27929         (FE_UPWARD): Likewise.
27930         (FE_TOWARDZERO): Likewise.
27931         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27932         (FE_UNDERFLOW): Likewise.
27933         (FE_OVERFLOW): Likewise.
27934         (FE_DIVBYZERO): Likewise.
27935         (FE_INVALID): Likewise.
27936         (FE_TONEAREST): Likewise.
27937         (FE_TOWARDZERO): Likewise.
27938         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27939         (FE_OVERFLOW): Likewise.
27940         (FE_UNDERFLOW): Likewise.
27941         (FE_DIVBYZERO): Likewise.
27942         (FE_INEXACT): Likewise.
27943         (FE_TONEAREST): Likewise.
27944         (FE_TOWARDZERO): Likewise.
27945         (FE_UPWARD): Likewise.
27946         (FE_DOWNWARD): Likewise.
27947         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27948         (FE_DIVBYZERO): Likewise.
27949         (FE_OVERFLOW): Likewise.
27950         (FE_UNDERFLOW): Likewise.
27951         (FE_INEXACT): Likewise.
27952         (FE_TONEAREST): Likewise.
27953         (FE_DOWNWARD): Likewise.
27954         (FE_UPWARD): Likewise.
27955         (FE_TOWARDZERO): Likewise.
27956
27957 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
27958
27959         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27960
27961 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
27962
27963         * scripts/cross-test-ssh.sh (command): Use newlines to separate
27964         commands.  Quote $PWD.
27965         (blacklist_exports): Don't use remove_newlines.  Replace "declare
27966         -x" by "export".
27967         (remove_newlines): Remove.
27968
27969 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
27970
27971         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27972         * stdlib/stdlib.h (atof): Moved to ...
27973         * include/bits/stdlib-float.h: Here.  New file.
27974         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27975         * stdlib/bits/stdlib-float.h: New file.
27976         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27977         -mno-sse -mno-mmx.
27978         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27979         <xmmintrin.h>.
27980
27981 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27982
27983         * conform/conformtest.pl (@headers): Add fenv.h.
27984         * conform/data/fenv.h-data: New file.
27985         * include/fenv.h [_ISOMAC]: Disable all contents of file except
27986         include of <math/fenv.h>.
27987
27988         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27989         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27990         && !UNIX98].  Enables tests for XOPEN2K8.
27991         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27992         POSIX2008]: Likewise.
27993
27994         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27995         (struct rusage): Do not expect type or its members.
27996
27997         [BZ #3439]
27998         * math/math.h (FP_NAN): Define macro to integer constant usable in
27999         #if and use that to give value to enum constant.
28000         (FP_INFINITE): Likewise.
28001         (FP_ZERO): Likewise.
28002         (FP_SUBNORMAL): Likewise.
28003         (FP_NORMAL): Likewise.
28004
28005 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
28006
28007         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28008         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28009         arguments.
28010
28011 2012-11-02  Roland McGrath  <roland@hack.frob.com>
28012
28013         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28014         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28015         autoconf-time if not.
28016         * configure.in: Remove AC_PREREQ.
28017
28018 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28019
28020         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28021         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28022         of the internal implementation.
28023
28024 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28025
28026         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28027         except include of <misc/sys/syslog.h>.
28028
28029 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28030
28031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28032         function returns with a NULL context exit with zero.
28033
28034 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28035
28036         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28037
28038 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
28039
28040         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28041         (run_program_cmd): This.
28042         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28043         (tst_langinfo): New variable.  Use it.
28044
28045 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
28046
28047         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28048         floating point opcodes.
28049
28050 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28051
28052         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28053         variable.
28054
28055         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28056
28057         * sysdeps/mach/hurd/powerpc: Remove directory.
28058         * sysdeps/mach/powerpc: Likewise.
28059
28060 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28061
28062         * scripts/check-local-headers.sh: Ignore c++ headers.
28063
28064 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28065
28066         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28067         __libc_cleanup_region_start argument.
28068
28069 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
28070
28071         [BZ #14784]
28072         [BZ #14785]
28073         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28074         x * y using scaling, not as x * y + z.
28075         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28076         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28077         * math/libm-test.inc (fma_test): Add more tests.
28078         (fma_test_towardzero): Likewise.
28079         (fma_test_downward): Likewise.
28080         (fma_test_upward): Likewise.
28081
28082 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28083
28084         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28085
28086 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28087
28088         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28089         New variable.
28090
28091 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
28092
28093         * rt/tst-shm.c (worker): Correct checking for mmap failure.
28094
28095 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28096
28097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28098         Fix sort order.
28099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28100         Likewise.
28101
28102 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28103
28104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28105         Fix the order of the list for glibc 2.17.
28106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28107         Likewise.
28108
28109 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28110
28111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28112
28113 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28114
28115         [BZ #14610]
28116         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28117         for low part of x being zero before using __atanl (y).
28118         * math/libm-test.inc (atan2_test): Add another test.
28119
28120         * manual/install.texi (Configuring and compiling): Document
28121         general use of test-wrapper and test-wrapper-env.
28122         * INSTALL: Regenerated.
28123
28124         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28125         (__fma): Do not extract and scale down low bits on after-rounding
28126         systems when result rounded to normal precision would have normal
28127         exponent.
28128         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28129         (__fmal): Do not extract and scale down low bits on after-rounding
28130         systems when result rounded to normal precision would have normal
28131         exponent.
28132         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28133         (__fmal): Do not extract and scale down low bits on after-rounding
28134         systems when result rounded to normal precision would have normal
28135         exponent.
28136         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28137         macro.
28138         (fma_test): Add more tests.
28139         (fma_test_towardzero): Likewise.
28140         (fma_test_downward): Likewise.
28141         (fma_test_upward): Likewise.
28142
28143 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
28144
28145         * sysdeps/i386/tininess.h: Renamed to ...
28146         * sysdeps/x86/tininess.h: This.
28147         * sysdeps/x86_64/tininess.h: Removed.
28148
28149 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28150
28151         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28152         input.  Use $(build-program-cmd).
28153         ($(objpfx)tst-array1-static.out): Likewise.
28154         ($(objpfx)tst-array2.out): Likewise.
28155         ($(objpfx)tst-array3.out): Likewise.
28156         ($(objpfx)tst-array4.out): Likewise.
28157         ($(objpfx)tst-array5.out): Likewise.
28158         ($(objpfx)tst-array5-static.out): Likewise.
28159
28160 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
28161
28162         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28163         if defined.
28164
28165         * nss/nsswitch.h (nss_interface_function): Provide new
28166         macro for use with NSS functions.
28167         * grp/initgroups.c: Use new macro.
28168         * nss/getXXbyYY.c: Likewise.
28169         * nss/getXXbyYY_r.c: Likewise.
28170         * nss/getXXent.c: Likewise.
28171         * nss/getXXent_r.c: Likewise.
28172         * sysdeps/posix/getaddrinfo.c: Likewise.
28173
28174 2012-10-30  Andreas Jaeger  <aj@suse.de>
28175
28176         * po/ru.po: Update Russion translation from translation project.
28177
28178 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28179
28180         [BZ #14152]
28181         [BZ #14783]
28182         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28183         result and shift together with sticky bit instead of replicating
28184         round-to-nearest rounding.
28185         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28186         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28187         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
28188         missing underflow exceptions.
28189         (fma_test_towardzero): Add more tests.
28190         (fma_test_downward): Likewise.
28191         (fma_test_upward): Likewise.
28192
28193         [BZ #14047]
28194         * sysdeps/generic/tininess.h: New file.
28195         * sysdeps/i386/tininess.h: Likewise.
28196         * sysdeps/sh/tininess.h: Likewise.
28197         * sysdeps/x86_64/tininess.h: Likewise.
28198         * stdlib/tst-strtod-underflow.c: Likewise.
28199         * stdlib/tst-tininess.c: Likewise.
28200         * stdlib/strtod_l.c: Include <tininess.h>.
28201         (round_and_return): Do not set errno for exact underflow cases.
28202         Force an underflow exception when setting errno for underflow.
28203         Determine underflow based on rounding to normal precision if
28204         TININESS_AFTER_ROUNDING.
28205         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28206         ERANGE for exact underflow cases.
28207         * stdlib/Makefile (tests): Add tst-tininess and
28208         tst-strtod-underflow.
28209         ($(objpfx)tst-tininess): Use $(link-libm).
28210         ($(objpfx)tst-strtod-underflow): Likewise.
28211
28212 2012-10-30  Andreas Jaeger  <aj@suse.de>
28213
28214         [BZ#14767]
28215         * elf/Makefile (tests): Remove conditional for have-initfini-array
28216         since this is now always required and the variable does not exist
28217         anymore.
28218         (tests-static): Likewise.
28219         (modules-names): Likewise.
28220
28221         * po/eo.po: Add Esperanto translation from translation project.
28222
28223         * elf/tst-array1.c (fini_array): Make writeable so that it can be
28224         merged with constructor/destructor.
28225         (init_array): Likewise.
28226         * elf/tst-array2dep.c (fini_array): Likewise.
28227         (init_array): Likewise.
28228
28229 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
28230
28231         * manual/message.texi: Delete @cartouche tags.
28232
28233 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
28234
28235         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28236         EOPNOTSUPP.
28237         * sysdeps/mach/hurd/fsync.c: Likewise.
28238
28239         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28240         [_POSIX_REALTIME_SIGNALS]: Change condition to
28241         [_POSIX_REALTIME_SIGNALS > 0].
28242
28243 2012-10-27  Andreas Jaeger  <aj@suse.de>
28244
28245         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28246         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28247         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28248         [__WORDSIZE != 64]: Likewise.
28249
28250 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
28251
28252         *  iconvdata/tst-table.sh: Remove ${SHELL}.
28253         *  iconvdata/tst-tables.sh: Likewise.
28254
28255 2012-10-25  David S. Miller  <davem@davemloft.net>
28256
28257         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28258         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28259         of strtoull.
28260
28261         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28262         ifunc-impl-list.c
28263         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28264         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28265         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28266         file.
28267
28268 2012-10-25  Roland McGrath  <roland@hack.frob.com>
28269
28270         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28271         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28272         __getdirentries.
28273
28274 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28275             Jim Blandy  <jimb@codesourcery.com>
28276
28277         * scripts/cross-test-ssh.sh: New file.
28278         * manual/install.texi (Configuring and compiling): Document use of
28279         cross-test-ssh.sh.
28280         * INSTALL: Regenerated.
28281
28282 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
28283
28284         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28285         EOPNOTSUPP.
28286
28287 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28288
28289         * Makeconfig (run-program-prefix): Fix comment.
28290
28291 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28292             Jim Blandy  <jimb@codesourcery.com>
28293
28294         * Makeconfig (test-wrapper): New variable,
28295         (test-wrapper-env): Likewise.
28296         [$(cross-compiling) = yes && $(test-wrapper) != ""]
28297         (run-built-tests): Define to yes.
28298         (run-program-prefix): Use $(test-wrapper).
28299         (built-program-cmd): Likewise.
28300         * Rules (make-test-out): Use $(test-wrapper-env) and
28301         $(host-built-program-cmd).
28302         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28303         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28304         tst-pathopt.sh.
28305         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28306         $(test-wrapper-env) to tst-rtld-load-self.sh.
28307         ($(objpfx)order2.out): Use $(test-wrapper).
28308         ($(objpfx)tst-initorder.out): Likewise.
28309         ($(objpfx)tst-initorder2.out): Likewise.
28310         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28311         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28312         (test_wrapper_env): New variable.  Use it to run ld.so.
28313         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28314         Use it to run ld.so.
28315         (test_wrapper_env): Likewise.
28316         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28317         $(test-wrapper) to run-iconv-test.sh.
28318         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28319         (ICONV): Use $test_wrapper.
28320         * posix/Makefile ($(objpfx)globtest.out): Pass
28321         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28322         globtest.sh, not $(run-program-prefix).
28323         * posix/globtest.sh (run_via_rtld_prefix): New variable.
28324         (test_wrapper): Likewise.
28325         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
28326         set together with run_via_rtld_prefix.
28327         (run_program_prefix): Define in terms of test_wrapper and
28328         run_via_rtld_prefix.
28329
28330 2012-10-24  Roland McGrath  <roland@hack.frob.com>
28331
28332         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28333         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28334         Targets removed.
28335
28336         [BZ #14743]
28337         * include/time.h: Remove librt_hidden_proto (clock_gettime).
28338         Declare __clock_getres, __clock_gettime, __clock_settime,
28339         __clock_nanosleep, and __clock_getcpuclockid.
28340         * rt/clock_gettime.c: Define __clock_gettime as an alias.
28341         Remove librt_hidden_def (clock_gettime).
28342         * sysdeps/unix/clock_gettime.c: Likewise.
28343         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28344         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28345         * rt/clock_getres.c: Define __clock_getres as an alias.
28346         * sysdeps/posix/clock_getres.c: Likewise.
28347         * rt/clock_settime.c: Define __clock_settime as an alias.
28348         * sysdeps/unix/clock_settime.c: Likewise.
28349         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28350         * sysdeps/unix/clock_nanosleep.c: Likewise.
28351         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28352         * rt/clock-compat.c: New file.
28353         * rt/Makefile (librt-routines): Add clock-compat and move
28354         $(clock-routines) to ...
28355         (routines): ... here, new variable.
28356         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28357         Don't add get_clockfreq here.
28358         * rt/Versions (libc: GLIBC_2.17): New version set.
28359         Add clock_* symbols here.
28360         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
28361         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28362         (GLIBC_2.17): Add clock_* symbols.
28363         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28364         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28365         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28367         Likewise.
28368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28369         Likewise.
28370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28371         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28374         * NEWS: Mention the move.
28375
28376         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28377         Use __open, __read, __close rather than their public counterparts.
28378         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28379         (__get_clockfreq_via_cpuinfo): Likewise.
28380         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28381         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28382
28383         * config.h.in (HAVE_IFUNC): New #undef.
28384         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28385         was successful.
28386         * configure: Regenerated.
28387
28388 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
28389
28390         * configure.in: Move READELF check to start of file.
28391         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28392         libc_cv_asm_gnu_indirect_function in the process.
28393         * configure: Regenerated.
28394
28395 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
28396
28397         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28398         send the output to /dev/null.
28399         (libc_cv_cc_with_libunwind): Likewise.
28400         (libc_cv_as_noexecstack): Likewise.
28401         * configure: Regenerate.
28402
28403 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28404
28405         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28406
28407         * posix/globtest.sh (TMPDIR): Do not set.
28408         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28409         (testout): Likewise.
28410
28411 2012-10-24  Andreas Jaeger  <aj@suse.de>
28412
28413         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28414         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28415         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28416         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28417         posix_fadvise64, posix_fallocate64.
28418
28419         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28420         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28421         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28422         Likewise.
28423         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28424         Likewise.
28425         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28426
28427         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28428         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28429         <bits/fcntl-linux.h>.
28430         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28431
28432         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28433         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28434         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28435         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28436         [__WORDSIZE != 64]: Likewise.
28437
28438 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28439
28440         * Makeconfig (run-built-tests): New variable.
28441         * Rules [$(cross-compiling) = yes]: Change condition to
28442         [$(run-built-tests) = no].
28443         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28444         to [$(run-built-tests) = yes].
28445         * elf/Makefile [$(cross-compiling) = no]: Likewise
28446         * grp/Makefile [$(cross-compiling) = no]: Likewise.
28447         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28448         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28449         * intl/Makefile [$(cross-compiling) = no]: Likewise.
28450         * io/Makefile [$(cross-compiling) = no]: Likewise.
28451         * libio/Makefile [$(cross-compiling) = no]: Likewise.
28452         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28453         * misc/Makefile [$(cross-compiling) = no]: Likewise.
28454         * posix/Makefile [$(cross-compiling) = no]: Likewise.
28455         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28456         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28457         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28458         * string/Makefile [$(cross-compiling) = no]: Likewise.
28459
28460         * posix/Makefile ($(objpfx)globtest.out): Pass
28461         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28462         $(rtld-installed-name).
28463         * posix/globtest.sh (elf_objpfx): Remove variable.
28464         (rtld_installed_name): Likewise.
28465         (library_path): Likewise.
28466         (run_program_prefix): New variable.  Use for running globtest
28467         binary.
28468
28469 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
28470             Joseph Myers  <joseph@codesourcery.com>
28471
28472         * Makeconfig (host-built-program-cmd): New variable.
28473         * elf/Makefile (tst-stackguard1-ARGS): Use
28474         $(host-built-program-cmd).
28475         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28476         (tst-spawn-ARGS): Likewise.
28477         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28478
28479 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28480             Jim Blandy  <jimb@codesourcery.com>
28481
28482         * Makeconfig (run-via-rtld-prefix): New variable.
28483         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28484         (built-program-cmd): Likewise.
28485
28486 2012-10-22  Andreas Jaeger  <aj@suse.de>
28487
28488         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28489         __O_RSYNC if it exists, otherwise to O_SYNC.
28490
28491 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
28492             Joseph Myers  <joseph@codesourcery.com>
28493
28494         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28495         /dev/null.
28496         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28497         from /dev/null
28498         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28499         /dev/null.
28500
28501 2012-10-22  Andreas Jaeger  <aj@suse.de>
28502
28503         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28504         Define always.
28505         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28506
28507         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28508         bits/fcntl-linux.h.
28509
28510         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28511         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28512
28513         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28514         to __O_LARGEFILE.
28515         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28516         to __O_LARGEFILE.
28517
28518 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
28519             Joseph Myers  <joseph@codesourcery.com>
28520
28521         * config.make.in (NM): New variable.
28522
28523 2012-10-21  Andreas Jaeger  <aj@suse.de>
28524
28525         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28526         definitions and declarations that are provided by
28527         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28528
28529 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28530
28531         [BZ #14683]
28532         * elf/Makefile (tests-static): Add tst-leaks1-static.
28533         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28534         ($(objpfx)tst-leaks1-static): New rule.
28535         ($(objpfx)tst-leaks1-static-mem): Likewise.
28536         (tst-leaks1-static-ENV): New macro.
28537         * elf/dl-open.c (dl_open_worker): Check the main application
28538         only if SHARED is defined.
28539         * elf/tst-leaks1-static.c: New file.
28540
28541 2012-10-20  Andreas Jaeger  <aj@suse.de>
28542
28543         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28544         generic values for Linux.
28545         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28546         and declarations that are provided by <bits/fcntl-linux.h> and
28547         include <bits/fcntl-linux.h>.
28548         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28549         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28550
28551 2012-10-20  Roland McGrath  <roland@hack.frob.com>
28552
28553         * io/fcntl.h: Move include of <bits/types.h> to the top and
28554         include it unconditionally.
28555
28556 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28557
28558         * wcsmbs/Makefile (tests-ifunc): New variable.
28559         (tests): Add $(tests-ifunc).
28560         * wcsmbs/test-wcschr-ifunc.c: New file.
28561         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28562         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28563         * wcsmbs/test-wcslen-ifunc.c: Likewise.
28564         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28565         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28566
28567         * string/Makefile (tests-ifunc): New variable.
28568         (tests): Add $(tests-ifunc).
28569         * string/test-memccpy.c (TEST_NAME): New macro.
28570         * string/test-memchr.c (TEST_NAME): Likewise.
28571         * string/test-memcmp.c (TEST_NAME): Likewise.
28572         * string/test-memcpy.c (TEST_NAME): Likewise.
28573         * string/test-memmem.c (TEST_NAME): Likewise.
28574         * string/test-memmove.c (TEST_NAME): Likewise.
28575         * string/test-memset.c (TEST_NAME): Likewise.
28576         * string/test-rawmemchr.c (TEST_NAME): Likewise.
28577         * string/test-stpcpy.c (TEST_NAME): Likewise.
28578         * string/test-stpncpy.c (TEST_NAME): Likewise.
28579         * string/test-strcasecmp.c (TEST_NAME): Likewise.
28580         * string/test-strcasestr.c (TEST_NAME): Likewise.
28581         * string/test-strcat.c (TEST_NAME): Likewise.
28582         * string/test-strchr.c (TEST_NAME): Likewise.
28583         * string/test-strcmp.c(TEST_NAME): Likewise.
28584         * string/test-strcpy.c (TEST_NAME): Likewise.
28585         * string/test-strcspn.c (TEST_NAME): Likewise.
28586         * string/test-strlen.c (TEST_NAME): Likewise.
28587         * string/test-strncasecmp.c (TEST_NAME): Likewise.
28588         * string/test-strncmp.c (TEST_NAME): Likewise.
28589         * string/test-strncpy.c (TEST_NAME): Likewise.
28590         * string/test-strnlen.c (TEST_NAME): Likewise.
28591         * string/test-strpbrk.c (TEST_NAME): Likewise.
28592         * string/test-strrchr.c (TEST_NAME): Likewise.
28593         * string/test-strspn.c (TEST_NAME): Likewise.
28594         * string/test-strstr.c (TEST_NAME): Likewise.
28595         * string/test-bcopy-ifunc.c: New file.
28596         * string/test-bzero-ifunc.c: Likewise.
28597         * string/test-memccpy-ifunc.c: Likewise.
28598         * string/test-memchr-ifunc.c: Likewise.
28599         * string/test-memcmp-ifunc.c: Likewise.
28600         * string/test-memcpy-ifunc.c: Likewise.
28601         * string/test-memmem-ifunc.c: Likewise.
28602         * string/test-memmove-ifunc.c: Likewise.
28603         * string/test-mempcpy-ifunc.c: Likewise.
28604         * string/test-memset-ifunc.c: Likewise.
28605         * string/test-rawmemchr-ifunc.c: Likewise.
28606         * string/test-stpcpy-ifunc.c: Likewise.
28607         * string/test-stpncpy-ifunc.c: Likewise.
28608         * string/test-strcasecmp-ifunc.c: Likewise.
28609         * string/test-strcasestr-ifunc.c: Likewise.
28610         * string/test-strcat-ifunc.c: Likewise.
28611         * string/test-strchr-ifunc.c: Likewise.
28612         * string/test-strchrnul-ifunc.c: Likewise.
28613         * string/test-strcmp-ifunc.c: Likewise.
28614         * string/test-strcpy-ifunc.c: Likewise.
28615         * string/test-strcspn-ifunc.c: Likewise.
28616         * string/test-strlen-ifunc.c: Likewise.
28617         * string/test-strncasecmp-ifunc.c: Likewise.
28618         * string/test-strncat-ifunc.c: Likewise.
28619         * string/test-strncmp-ifunc.c: Likewise.
28620         * string/test-strncpy-ifunc.c: Likewise.
28621         * string/test-strnlen-ifunc.c: Likewise.
28622         * string/test-strpbrk-ifunc.c: Likewise.
28623         * string/test-strrchr-ifunc.c: Likewise.
28624         * string/test-strspn-ifunc.c: Likewise.
28625         * string/test-strstr-ifunc.c: Likewise.
28626
28627         * debug/Makefile (tests-ifunc): New variable.
28628         (tests): Add $(tests-ifunc).
28629         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28630         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28631         * debug/test-stpcpy_chk-ifunc.c: New file.
28632         * debug/test-strcpy_chk-ifunc.c: Likewise.
28633
28634 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28635
28636         [BZ #13601]
28637         * elf/dl-load.c (open_verify): Retry read if the entire ELF
28638         header is not read in.
28639
28640 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
28641
28642         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
28643         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
28644         directly.  Pass built executable to script as
28645         $(built-program-cmd).
28646         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
28647         $testprogram without using LD_LIBRARY_PATH and $ldso.
28648
28649         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28650         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28651         $(rtld-installed-name).
28652         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28653         (rtld_installed_name): Likewise.
28654         (library_path): Likewise.
28655         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
28656         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28657         $(run-program-prefix) to tst-tables.sh.
28658         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
28659         it to run tst-table-from and tst-table-to.
28660         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28661         Pass it to tst-table.sh.
28662         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28663         $(run-program-prefix) to tst-gettext.sh.
28664         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28665         tst-translit.sh.
28666         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28667         tst-gettext2.sh.
28668         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
28669         to run tst-gettext.
28670         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
28671         to run tst-gettext2.
28672         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
28673         to run tst-translit.
28674         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28675         $(run-program-prefix) to tst-mtrace.sh.
28676         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
28677         to run tst-mtrace.
28678         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28679         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28680         $(rtld-installed-name).
28681         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28682         (rtld_installed_name): Likewise.
28683         (run_program_prefix): New variable.  Use it to run wordexp-test.
28684
28685         * Makeconfig (ARCH): Remove all definitions.
28686         (machine): Likewise.
28687         [ARCH]: Remove conditional code.
28688         [!objdir]: Give error.
28689         [!objdir] (objpfx): Remove.
28690         [!objdir] (common-objpfx): Likewise.
28691         [!objdir] (common-objdir): Likewise.
28692         * configure.in (config_makefile): Remove.  Hardcode Makefile in
28693         AC_CONFIG_FILES call.
28694         * configure: Regenerated.
28695
28696         [BZ #13888]
28697         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28698         or TMPDIR.
28699         (testout): Likewise.
28700
28701         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28702         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28703         $(rtld-installed-name).
28704         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28705         (rtld_installed_name): Likwise.
28706         (runit): Remove function.
28707         (run_getconf): New variable,  Use it for running getconf binary.
28708
28709 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
28710
28711         [BZ #14716]
28712         * string/test-memmem.c (check_result): New function.
28713         (do_one_test): Use it.
28714         (check1): New function.
28715         (test_main): Use it.
28716
28717 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
28718
28719         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28720
28721 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
28722
28723         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28724         (_G_LSEEK64): Likewise.
28725         (_G_MMAP64): Likewise.
28726         (_G_FSTAT64): Likewise.
28727         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28728         (_G_LSEEK64): Likewise.
28729         (_G_MMAP64): Likewise.
28730         (_G_FSTAT64): Likewise.
28731         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28732         unconditional.  Call __mmap64 directly.
28733         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28734         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
28735         __lseek64 directly.
28736         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28737         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
28738         __mmap64 directly.
28739         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28740         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28741         __lseek64 directly.
28742         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28743         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28744         __lseek64 directly.
28745         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28746         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
28747         __lseek64 directly.
28748         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28749         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
28750         __fxstat64 directly.
28751         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28752         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28753         unconditional.
28754         (freopen64) [!_G_OPEN64]: Remove conditional code.
28755         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28756         unconditional.
28757         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28758         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28759         unconditional.
28760         (ftello64) [!_G_LSEEK64]: Remove conditional code.
28761         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28762         unconditional.
28763         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28764         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28765         unconditional.
28766         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28767         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28768         unconditional.
28769         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28770         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28771         unconditional.
28772         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28773         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28774         unconditional.
28775         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28776
28777 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28778
28779         [BZ #12140]
28780         * manual/memory.texi (Malloc Tunable Parameters): Add note
28781         about free list pointers overwriting some perturb bytes.
28782         Wording suggested by Roland McGrath.
28783
28784 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
28785
28786         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28787         (lgamma_test): Likewise.
28788         (tgamma_test): Likewise.
28789
28790 2012-10-16  Florian Weimer  <fweimer@redhat.com>
28791
28792         [BZ #14700]
28793         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28794         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28795
28796 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
28797
28798         * NEWS: Mention BZ #14716.
28799         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28800         when removing AVAILABLE1_USES_J macro.
28801
28802 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
28803
28804         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28805         (__bswap_64): __uint64_t for unsigned 64-bit int.
28806
28807 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
28808
28809         * include/string.h (memmem): Declare libc hidden alias.
28810         * string/memmem.c (memmem): Define libc hidden alias.
28811         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28812         __read, __close instead of open, read, close.
28813
28814 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
28815
28816         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28817         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28818         global and hidden.
28819         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28820         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28821         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28822         Likewise.
28823         (__rawmemchr_sse2): Likewise.
28824         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28825         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28826         (__strchr_sse2): Likewise.
28827         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28828         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28829         (__strcasecmp_sse2): Likewise.
28830         (__strncasecmp_sse2): Likewise.
28831         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28832         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28833         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28834         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28835         (__strrchr_sse2): Likewise.
28836         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28837         ifunc-impl-list.c.
28838         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28839         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28840         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28841         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28842         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28843         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28844         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28845         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28846         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28847         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28848         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28849         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28850         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28851         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28852         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28853         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28854         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28855         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28856         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28857         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28858         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28859         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28860         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28861         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28862         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28863         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28864         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28865         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28866         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28867         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28868
28869         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28870         global and hidden.
28871         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28872         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28873         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28874         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28875         Likewise.
28876         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28877         Likewise.
28878         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28879         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28880         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28881         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28882         ifunc-impl-list.c.
28883         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28884         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28885         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28886         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28887         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28888         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28889         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28890         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28891         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28892         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28893         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28894         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28895         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28896         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28897         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28898         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28899         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28900         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28901         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28902         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28903         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28904         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28905         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28906         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28907         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28908         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28909         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28910         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28911         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28912         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28913         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28914         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28915         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28916         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28917         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28918         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28919         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28920         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28921         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28922         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28923         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28924
28925         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28926         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28927         * include/ifunc-impl-list.h: New file.
28928         * misc/ifunc-impl-list.c: Likewise.
28929         * misc/Makefile (routines): Add ifunc-impl-list.
28930         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28931         * string/test-string.h: Include <ifunc-impl-list.h>.
28932         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28933         TEST_NAME]: New variables.
28934         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28935         are defined.
28936         (test_init): Call __libc_ifunc_impl_list to initialize
28937         func_list if TEST_IFUNC and TEST_NAME are defined.
28938
28939         * string/Makefile (strop-tests): Add bcopy and bzero.
28940         * string/test-bcopy.c: New file.
28941         * string/test-bzero.c: Likewise.
28942         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28943         defined.
28944         * string/test-memset.c: Support bzero test if TEST_BZERO is
28945         defined.
28946         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28947         __libc_memmove.
28948         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28949         __libc_memset.
28950         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28951         of memset.
28952
28953 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
28954
28955         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28956         * configure: Regenerated.
28957
28958         * Makeconfig (+link-static-before-libc): Don't include
28959         $(link-static-libc).
28960
28961         * libio/libio.h (_IO_pos_t): Remove.
28962
28963 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28964
28965         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
28966         McGrath.
28967
28968 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28969
28970         * crypt/crypt-entry.c: Include fips-private.h.
28971         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28972         * crypt/md5c-test.c (main): Tolerate disabled MD5.
28973         * sysdeps/unix/sysv/linux/fips-private.h: New file.
28974         * sysdeps/generic/fips-private.h: New file, dummy fallback.
28975
28976 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28977
28978         * crypt/crypt-private.h: Include stdbool.h.
28979         (_ufc_setup_salt_r): Return bool.
28980         * crypt/crypt-entry.c: Include errno.h.
28981         (__crypt_r): Return NULL with EINVAL for bad salt.
28982         * crypt/crypt_util.c (bad_for_salt): New.
28983         (_ufc_setup_salt_r): Check that salt is long enough and within
28984         the specified alphabet.
28985         * crypt/badsalttest.c: New file.
28986         * crypt/Makefile (tests): Add it.
28987         ($(objpfx)badsalttest): New.
28988
28989 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
28990
28991         * NEWS: Add entry for BZ #14602.
28992
28993 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28994
28995         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28996         type-generic.
28997         * math/libm-test.inc: Update comment listing what functions and
28998         macros are tested.
28999         (isgreater_test): New function.
29000         (isgreaterequal_test): Likewise.
29001         (isless_test): Likewise.
29002         (islessequal_test): Likewise.
29003         (islessgreater_test): Likewise.
29004         (isunordered_test): Likewise.
29005         (main): Call the new functions.
29006
29007 2012-10-09  Roland McGrath  <roland@hack.frob.com>
29008
29009         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29010         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29011         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29012         * sysdeps/i386/configure: Regenerated.
29013         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29014         * sysdeps/mach/configure: Regenerated.
29015         * sysdeps/mach/hurd/configure: Regenerated.
29016         * sysdeps/powerpc/configure: Regenerated.
29017         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29018         * sysdeps/powerpc/powerpc64/configure: Regenerated.
29019         * sysdeps/s390/s390-32/configure: Regenerated.
29020         * sysdeps/s390/s390-64/configure: Regenerated.
29021         * sysdeps/sh/configure: Regenerated.
29022         * sysdeps/sparc/configure: Regenerated.
29023         * sysdeps/unix/sysv/linux/configure: Regenerated.
29024         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29025         * sysdeps/x86_64/configure: Regenerated.
29026
29027         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29028         defined.  Don't check if MAP is NULL.
29029
29030 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29031
29032         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29033         (_G_stat64): Likewise.
29034         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29035         (_G_stat64): Likewise.
29036         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29037         instead of struct _G_stat64.
29038         * libio/fileops.c (mmap_remap_check): Likewise.
29039         (decide_maybe_mmap): Likewise.
29040         (_IO_new_file_seekoff): Likewise.
29041         (_IO_file_stat): Likewise.
29042         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29043         _G_off64_t.
29044         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29045         instead of struct _G_stat64.
29046         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29047
29048 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
29049
29050         [BZ #14602]
29051         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29052         Replace with ...
29053         (CHECK_EOL): New macro.
29054         (two_way_short_needle): Check beginning of haystack for EOL.  Use
29055         CHECK_EOL.
29056         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29057         Replace with CHECK_EOL.
29058         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29059         Replace with CHECK_EOL.
29060
29061 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
29062
29063         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29064         type-generic.
29065         * math/libm-test.inc: Update comment listing what functions and
29066         macros are tested.
29067         (finite_test): New function.
29068         (isinf_test): Likewise.
29069         (isnan_test): Likewise.
29070         (fpclassify_test): Test subnormal input.
29071         (isfinite_test): Likewise.
29072         (isnormal_test): Likewise.
29073         (main): Call the new functions.
29074
29075 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
29076
29077         [BZ #14660]
29078         * Makerules (%.dynsym): Force C locale when running
29079         $(OBJDUMP) --dynamic-syms.
29080
29081 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
29082
29083         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29084         <stdint.h>.
29085
29086 2012-10-06  David S. Miller  <davem@davemloft.net>
29087
29088         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29089         upper 32-bits of the length value in %o2 since we use branch-on-register
29090         tests which consider the entire 64-bit register.
29091
29092 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
29093
29094         * string/test-strstr.c (check2): Add a test for page boundary.
29095
29096 2012-10-05  David S. Miller  <davem@davemloft.net>
29097
29098         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29099         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29100         file.
29101         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29102         sysdep_routines.
29103         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29104         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29105         and bzero when HWCAP_SPARC_CRYPTO is present.
29106
29107 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
29108
29109         [BZ #14602]
29110         * string/test-strstr.c (check2): New function.
29111         (test_main): Call check2.
29112
29113         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29114         and bug-strchr1.
29115         * string/bug-strcasestr1.c (do_test): Moved to ...
29116         * string/test-strcasestr.c (check1): Here.  New function.
29117         (do_one_test): Break out result checking code into ...
29118         (check_result): This.  New function.
29119         (do_one_test): Call check_result.
29120         (test_main): Call check1.
29121         * string/bug-strchr1.c (do_test): Moved to ...
29122         * string/test-strchr.c (check1): Here.  New function.
29123         (do_one_test): Break out result checking code into ...
29124         (check_result): This.  New function.
29125         (do_one_test): Call check_result.
29126         (test_main): Call check1.
29127         * string/bug-strstr1.c (main): Moved to ...
29128         * string/test-strstr.c (check1): Here.  New function.
29129         (do_one_test): Break out result checking code into ...
29130         (check_result): This.  New function.
29131         (do_one_test): Call check_result.
29132         (test_main): Call check1.
29133         * string/bug-strcasestr1.c: Removed.
29134         * string/bug-strchr1.c: Likewise.
29135         * string/bug-strstr1.c: Likewise.
29136
29137         * elf/Makefile (dl-routines): Add hwcaps.
29138         * elf/dl-support.c (_dl_important_hwcaps): Removed.
29139         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29140         (_dl_important_hwcaps): Moved to ...
29141         * elf/dl-hwcaps.c: Here.  New file.
29142         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29143
29144         [BZ #14557]
29145         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29146         if IS_IN_rtld isn't defined.
29147
29148         * elf/dl-support.c (_dl_sysinfo_map): New.
29149         Include "get-dynamic-info.h" and "setup-vdso.h".
29150         (_dl_non_dynamic_init): Call setup_vdso.
29151         * elf/dynamic-link.h: Don't include <assert.h>.
29152         (elf_get_dynamic_info): Moved to ...
29153         * elf/get-dynamic-info.h: Here.  New file.
29154         * elf/dynamic-link.h: Include "get-dynamic-info.h".
29155         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29156         * elf/setup-vdso.h: Here.  New file.
29157         * elf/rtld.c: Include "setup-vdso.h".
29158         (dl_main): Call setup_vdso.
29159
29160 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
29161
29162         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29163         creal in comment listing functions tested.  List finite, isinf,
29164         isnan, isless, islessequal, isgreater, isgreaterequal,
29165         islessgreater, isunordered, lgamma_r and pow10 as functions and
29166         macros not tested.  Mention which functions not tested are aliases
29167         for other functions.  Fix typo.  Note that signs of NaNs are not
29168         tested.
29169
29170         * scripts/config.guess: Update from config.git.
29171         * scripts/config.sub: Likewise.
29172
29173 2012-10-04  Roland McGrath  <roland@hack.frob.com>
29174
29175         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29176         * misc/madvise.c (madvise): Renamed to __madvise.
29177         Make madvise a weak alias.
29178         * include/sys/mman.h: Declare __madvise.
29179         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29180         * sysdeps/unix/syscalls.list
29181         (madvise): Make __madvise the strong name, and madvise a weak alias.
29182         * sysdeps/unix/sysv/linux/syscalls.list
29183         (madvise, mmap): Remove redundant entries.
29184         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29185         * malloc/malloc.c (mtrim): Likewise.
29186         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29187
29188 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29189
29190         * sysdeps/mach/hurd/dl-cache.c: File removed.
29191         * config.h.in (USE_LDCONFIG): New #undef.
29192         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29193         * configure: Regenerated.
29194         * elf/Makefile (dl-routines): Add dl-cache only under
29195         [$(use-ldconfig) = yes].
29196         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29197         cache on [USE_LDCONFIG].
29198         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29199         [USE_LDCONFIG].
29200         * elf/rtld.c (dl_main): Likewise.
29201
29202 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
29203
29204         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29205         _SC_LEVEL4_CACHE_LINESIZE.
29206
29207 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29208
29209         * sysdeps/unix/bsd/confstr.h: File removed.
29210
29211 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
29212
29213         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29214         sys/sdt-config.h.
29215
29216 2012-10-02  Roland McGrath  <roland@hack.frob.com>
29217
29218         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29219         Make 'mapoff' field ElfW(Off) rather than off_t.
29220
29221 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
29222
29223         * nscd/Makefile: Remove nscd-cflags and all its users.
29224         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29225         (CFLAGS-nonlib): Add compiler flags for nscd modules.
29226
29227         [BZ #10631]
29228         * malloc.c (malloc_printerr): Clarify error message.
29229
29230 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
29231
29232         [BZ #14648]
29233         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29234         Set bit_FMA_Usable if FMA is supported.
29235         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29236         macro.
29237         (bit_FMA4_Usable): Updated.
29238         (index_FMA_Usable): New macro.
29239         (CPUID_FMA): Likewise
29240         (HAS_FMA): Defined with bit_FMA_Usable.
29241
29242 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29243
29244         * bits/types.h (__swblk_t): Type removed.
29245         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29246         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29247         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29248         (__SWBLK_T_TYPE): Likewise.
29249         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29250         (__SWBLK_T_TYPE): Likewise.
29251         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29252         (__SWBLK_T_TYPE): Likewise.
29253         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29254         (__SWBLK_T_TYPE): Likewise.
29255
29256 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
29257             Honza Horak <hhorak@redhat.com>
29258
29259         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29260         (xdr_mapname): Use YPMAXMAP as maxsize.
29261         (xdr_peername): Use YPMAXPEER as maxsize.
29262         (xdr_keydat): Use YPAXRECORD as maxsize.
29263         (xdr_valdat): Use YPMAXRECORD as maxsize.
29264
29265 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29266
29267         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29268
29269         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29270         * csu/init-first.c: ... here.
29271         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29272         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29273         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29274         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29275         * sysdeps/i386/init-first.c: File removed.
29276         * sysdeps/sh/init-first.c: File removed.
29277
29278 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
29279
29280         [BZ #14645]
29281         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29282         if x * y might underflow to zero and z is zero.
29283         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29284         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29285         * math/libm-test.inc (min_subnorm_value): New variable.
29286         (fma_test): Add more tests.
29287         (fma_test_towardzero): Likewise.
29288         (fma_test_downward): Likewise
29289         (fma_test_upward): Likewise.
29290         (initialize): Set min_subnorm_value.
29291
29292 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
29293
29294         [BZ #14638]
29295         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29296         0 + 0.
29297         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29298         mode for addition resulting in exact zero.
29299         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29300         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29301         exact 0 + 0.
29302         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29303         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29304         * math/libm-test.inc (fma_test): Add more tests.
29305         (fma_test_towardzero): New function.
29306         (fma_test_downward): Likewise.
29307         (fma_test_upward): Likewise.
29308         (main): Call the new functions.
29309
29310 2012-09-28  David S. Miller  <davem@davemloft.net>
29311
29312         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29313
29314 2012-09-28  Roland McGrath  <roland@hack.frob.com>
29315
29316         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29317         instead of SIGALRM.
29318
29319         * sysdeps/gnu/_G_config.h: Moved to ...
29320         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29321         * sysdeps/mach/hurd/_G_config.h: Moved to ...
29322         * sysdeps/generic/_G_config.h: ... here.
29323
29324         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
29325
29326         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29327
29328         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29329         Conditionalize target on [libnss_test1.so-version].
29330
29331         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29332
29333         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29334         (elfobjdir): Move out of conditionals.
29335
29336         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29337         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29338         (__nss_lookup_function): Conditionalize label remove_from_tree on
29339         [!DO_STATIC_NSS || SHARED], matching its only use.
29340
29341 2012-09-28  David S. Miller  <davem@davemloft.net>
29342
29343         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29344         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29345         file.
29346         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29347         sysdep_routines.
29348         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29349         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29350         when HWCAP_SPARC_CRYPTO is present.
29351
29352 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29353
29354         * io/tst-mknodat.c: Create a FIFO instead of a socket.
29355
29356 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
29357
29358         [BZ #6530]
29359         * stdio-common/vfprintf.c (process_string_arg): Revert
29360         2000-07-22 change.
29361
29362 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
29363
29364         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29365         for testcase.
29366         * stdio-common/tst-sprintf.c: Include <locale.h>
29367         (main): Test sprintf's handling of incomplete multibyte
29368         characters.
29369
29370 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
29371
29372         * elf/dl-runtime.c (VERSYMIDX): Removed.
29373         * elf/dl-version.c (VERSYMIDX): Likewise.
29374         * elf/do-rel.h (VERSYMIDX): Likewise.
29375         (VALIDX): Likewise.
29376         * elf/dynamic-link.h (VERSYMIDX): Likewise.
29377         * elf/rtld.c (VALIDX): Likewise.
29378         (ADDRIDX): Likewise.
29379         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29380         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29381         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29382         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29383         (VALIDX): Likewise.
29384         (ADDRIDX): Likewise.
29385
29386 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29387
29388         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29389
29390 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
29391
29392         [BZ #11438]
29393         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29394         to global scope.
29395         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29396         addresses are in the same scope as 192.0.2/24.
29397         * posix/gai.conf: Document new scope table defaults.
29398
29399 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29400
29401         [BZ #5298]
29402         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29403         for ftell.  Compute offsets from write pointers instead.
29404         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29405
29406 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29407
29408         [BZ #14543]
29409         * libio/Makefile (tests): New test case tst-fseek.
29410         * libio/tst-fseek.c: New test case to verify that fseek/ftell
29411         combination works in wide mode.
29412         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29413         state when the external buffer state changes.
29414
29415 2012-09-27  David S. Miller  <davem@davemloft.net>
29416
29417         [BZ #14376]
29418         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29419         pass reloc->r_addend in as the 'high' argument to
29420         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29421
29422         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29423
29424 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29425
29426         * rt/tst-aio2.c: Include <pthread.h>.
29427         * rt/tst-aio3.c: Likewise.
29428
29429 2012-09-27  Steve Ellcey  <sellcey@mips.com>
29430
29431         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29432
29433 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
29434
29435         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29436         contents on [SHARED].
29437
29438 2012-09-26  Marek Polacek  <polacek@redhat.com>
29439
29440         [BZ #14530]
29441         [BZ #13741]
29442         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29443         for C++ and GCC <4.3 as well as for non GCC compilers.
29444
29445 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
29446
29447         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29448
29449 2012-09-25  Roland McGrath  <roland@hack.frob.com>
29450
29451         * Makefile.in (all, install): Declare with .PHONY.
29452         Reported by Michael Hope <michael.hope@linaro.org>.
29453
29454 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29455
29456         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29457         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29458         system header.
29459         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29460         Likewise.
29461         (sydep_routines): Add the new and the internal functions.
29462         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29463         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29465         (GLIBC_2.17): Add the new function.
29466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29467         (GLIBC_2.17): Likewise.
29468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29469         (GLIBC_2.17): Likewise.
29470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29471         (GLIBC_2.17): Likewise.
29472         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29473
29474 2012-09-25  Alan Modra  <amodra@gmail.com>
29475
29476         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29477         Add release barrier before setting once_control to say
29478         initialisation is done.  Add hints on lwarx.  Use macro in
29479         place of isync.
29480         (clear_once_control): Add release barrier.
29481
29482 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29483
29484         [BZ #13629]
29485         * math/s_clog.c (__clog): Handle more values close to |z| = 1
29486         specially.
29487         * math/s_clog10.c (__clog10): Likewise.
29488         * math/s_clog10f.c (__clog10f): Likewise.
29489         * math/s_clog10l.c (__clog10l): Likewise.
29490         * math/s_clogf.c (__clogf): Likewise.
29491         * math/s_clogl.c (__clogl): Likewise.
29492         * math/Makefile (libm-calls): Add x2y2m1.
29493         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29494         (__x2y2m1): Likewise.
29495         (__x2y2m1l): Likewise.
29496         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29497         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29498         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29499         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29500         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29501         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29502         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29503         * sysdeps/i386/fpu/libm-test-ulps: Update.
29504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29505
29506         [BZ #14621]
29507         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29508         int as type of variable DEPTH.
29509         (glob): Use size_t instead of int as type of variables NEWCOUNT
29510         and OLD_PATHC.
29511
29512 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29513
29514         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29515         Add s_sincosf-sse2.
29516         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29517         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29518         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29519         macros for using routine as __sincosf_ia32.
29520         Use macro for function declaration and weak_alias.
29521         * sysdeps/i386/fpu/libm-test-ulps: Update.
29522
29523         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29524         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29525
29526         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29527         subnormal argument.
29528         * math/s_cexpf.c (__cexpf): Likewise.
29529         * math/s_csinf.c (__csinf): Likewise.
29530         * math/s_csinhf.c (__csinhf): Likewise.
29531         * math/s_ctanf.c (__ctanf): Likewise.
29532         * math/s_ctanhf.c (__ctanhf): Likewise.
29533         * math/s_ccosh.c (__ccoshf): Likewise.
29534         * math/s_cexp.c (__cexpl): Likewise.
29535         * math/s_csin.c (__csin): Likewise.
29536         * math/s_csinh.c (__csinh): Likewise.
29537         * math/s_ctan.c (__ctan): Likewise.
29538         * math/s_ctanh.c (ctanh): Likewise.
29539         * math/s_ccoshl.c (__ccoshl): Likewise.
29540         * math/s_cexpl.c (__cexpl): Likewise.
29541         * math/s_csinl.c (__csinl): Likewise.
29542         * math/s_csinhl.c (__csinhl): Likewise.
29543         * math/s_ctanl.c (__ctanl): Likewise.
29544         * math/s_ctanhl.c (__ctanhl): Likewise.
29545
29546 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29547
29548         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29549         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29550         (_IO_off_t): Define to __off_t, not _G_off_t.
29551         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29552         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29553         (_IO_wint_t): Define to wint_t, not _G_wint_t.
29554         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29555         type of __dummy and __dummy2 fields.
29556         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29557         (_G_ssize_t): Likewise.
29558         (_G_off_t): Likewise.
29559         (_G_pid_t): Likewise.
29560         (_G_uid_t): Likewise.
29561         (_G_wchar_t): Likewise.
29562         (_G_wint_t): Likewise.
29563         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29564         (_G_ssize_t): Likewise.
29565         (_G_off_t): Likewise.
29566         (_G_pid_t): Likewise.
29567         (_G_uid_t): Likewise.
29568         (_G_wchar_t): Likewise.
29569         (_G_wint_t): Likewise.
29570         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29571         (_G_ssize_t): Likewise.
29572         (_G_off_t): Likewise.
29573         (_G_pid_t): Likewise.
29574         (_G_uid_t): Likewise.
29575         (_G_wchar_t): Likewise.
29576         (_G_wint_t): Likewise.
29577
29578 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29579
29580         * malloc/arena.c: Include malloc-sysdep.h.
29581         (shrink_heap): Use check_may_shrink_heap to decide if madvise
29582         is sufficient to shrink the heap or an unmap is needed.
29583         * sysdeps/generic/malloc-sysdep.h: New file.  Define
29584         new function check_may_shrink_heap.
29585         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
29586         new function check_may_shrink_heap.
29587
29588 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29589
29590         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29591         comments.
29592
29593 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
29594
29595         * catgets/test-gencat.sh: Add "set -e".
29596         * elf/tst-pathopt.sh: Likewise.
29597         * grp/tst_fgetgrent.sh: Likewise.
29598         * iconvdata/run-iconv-test.sh: Likewise.
29599         * intl/tst-gettext.sh: Likewise.
29600         * intl/tst-gettext2.sh: Likewise.
29601         * intl/tst-gettext4.sh: Likewise.
29602         * intl/tst-gettext6.sh: Likewise.
29603         * intl/tst-translit.sh: Likewise.
29604         * io/ftwtest-sh: Likewise.
29605         * libio/test-freopen.sh: Likewise.
29606         * malloc/tst-mtrace.sh: Likewise.
29607         * posix/globtest.sh: Likewise.
29608         * posix/tst-getconf.sh: Likewise.
29609         * posix/wordexp-tst.sh: Likewise.
29610         * stdio-common/tst-printf.sh: Likewise.
29611         * stdio-common/tst-unbputc.sh: Likewise.
29612         * stdlib/tst-fmtmsg.sh: Likewise.
29613         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29614         * catgets/Makefile: Do not specify -e option when running
29615         testsuite shell scripts.
29616         * elf/Makefile: Likewise.
29617         * grp/Makefile: Likewise.
29618         * iconvdata/Makefile: Likewise.
29619         * intl/Makefile: Likewise.
29620         * io/Makefile: Likewise.
29621         * libio/Makefile: Likewise.
29622         * malloc/Makefile: Likewise.
29623         * posix/Makefile: Likewise.
29624         * stdio-common/Makefile: Likewise.
29625         * stdlib/Makefile: Likewise.
29626         * sysdeps/x86_64/Makefile: Likewise.
29627
29628         * io/ftwtest-sh: Add copyright header.
29629         * posix/globtest.sh: Likewise.
29630         * posix/tst-getconf.sh: Likewise.
29631         * posix/wordexp-tst.sh: Likewise.
29632         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29633
29634 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
29635
29636         [BZ #13679]
29637         * Makeconfig (+link): Defined as $(+link-static) if
29638         $(build-shared) isn't yes.
29639         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29640         isn't yes.
29641         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29642
29643         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29644
29645         [BZ #14562]
29646         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29647         new chunk size with MALLOC_ALIGN_MASK.
29648
29649 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
29650
29651         [BZ #5044]
29652         * stdio-common/printf_fphex.c: Include <stdbool.h> and
29653         <rounding-mode.h>.
29654         (__printf_fphex): Determine rounding using get_rounding_mode and
29655         round_away.
29656         * stdio-common/tst-printf-round.c (struct hex_test): New
29657         structure.
29658         (hex_tests): New variable.
29659         (test_hex_in_one_mode): New function.
29660         (do_test): Also run tests for hex float output.
29661
29662 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
29663
29664         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29665         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29666         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29667         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29668         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29669         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29670         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29671         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29672
29673 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
29674
29675         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29676         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29677         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29678         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29679
29680 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
29681
29682         [BZ #14579]
29683         * elf/rtld.c (dl_main): Limit the check for self loading to normal
29684         mode only.
29685         * elf/tst-rtld-load-self.sh: New test.
29686         * elf/Makefile: Run it.
29687
29688 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
29689
29690         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29691         (tst-writev-ENV): Remove.
29692         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29693
29694 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
29695
29696         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29697
29698 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
29699
29700         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29701         unconditional.
29702         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29703         Likewise.
29704         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29705         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29706         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29707         Likewise.
29708
29709 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
29710
29711         [BZ #14587]
29712         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29713         * config.make.in (have-cpp-asm-debuginfo): Removed.
29714         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29715         * configure: Regenerated.
29716
29717 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
29718
29719         [BZ #5044]
29720         * stdio-common/printf_fp.c: Include <stdbool.h> and
29721         <rounding-mode.h>.
29722         (___printf_fp): Determine rounding using get_rounding_mode and
29723         round_away.
29724         * stdio-common/tst-printf-round.c: New file.
29725         * stdio-common/Makefile (tests): Add tst-printf-round.
29726         (link-libm): New variable.
29727         ($(objpfx)tst-printf-round): Depend in $(link-libm).
29728
29729 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
29730
29731         [BZ #14576]
29732         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29733         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29734         Likewise.
29735         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29736         Likewise.
29737
29738 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
29739
29740         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29741         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29742         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29743         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29744
29745 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
29746
29747         [BZ #14518]
29748         * include/rounding-mode.h: New file.
29749         * sysdeps/generic/get-rounding-mode.h: Likewise.
29750         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29751         * stdlib/strtod_l.c: Include <rounding-mode.h>.
29752         (MAX_VALUE): New macro.
29753         (MIN_VALUE): Likewise.
29754         (overflow_value): New function.
29755         (underflow_value): Likewise.
29756         (round_and_return): Use overflow_value and underflow_value to
29757         determine return values in overflow and underflow cases.  Use
29758         round_away to determine rounding depending on rounding mode.
29759         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29760         determine return values in overflow and underflow cases.
29761         * stdlib/tst-strtod-round.c: Include <fenv.h>.
29762         (struct test_results): New structure.
29763         (struct test): Use struct test_results to store expected results
29764         for all rounding modes.
29765         (TEST): Include expected results for all rounding modes.
29766         (test_in_one_mode): New function.
29767         (do_test): Use test_in_one_mode to compute and check results.
29768         Check results for all rounding modes.
29769         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29770         $(link-libm).
29771
29772 2012-12-09  Allan McRae  <allan@archlinux.org>
29773
29774         * sysdeps/i386/fpu/libm-test-ulps: Update
29775
29776 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
29777
29778         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29779         (_G_int32_t): Likewise.
29780         (_G_uint16_t): Likewise.
29781         (_G_uint32_t): Likewise.
29782         (_G_HAVE_BOOL): Likewise.
29783         (_G_HAVE_ATEXIT): Likewise.
29784         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29785         (_G_HAVE_IO_FILE_OPEN): Likewise.
29786         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29787         (_G_int32_t): Likewise.
29788         (_G_uint16_t): Likewise.
29789         (_G_uint32_t): Likewise.
29790         (_G_HAVE_BOOL): Likewise.
29791         (_G_HAVE_ATEXIT): Likewise.
29792         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29793         (_G_HAVE_IO_FILE_OPEN): Likewise.
29794         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29795         (_G_int32_t): Likewise.
29796         (_G_uint16_t): Likewise.
29797         (_G_uint32_t): Likewise.
29798         (_G_HAVE_BOOL): Likewise.
29799         (_G_HAVE_ATEXIT): Likewise.
29800         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29801         (_G_HAVE_IO_FILE_OPEN): Likewise.
29802
29803 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
29804
29805         * csu/libc-tls.c: Update copyright years.
29806
29807 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
29808
29809         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29810         [!_G_USING_THUNKS]: Remove conditional code.
29811         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29812         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29813
29814         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29815         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29816         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29817         (_G_VTABLE_LABEL_PREFIX): Likewise.
29818         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29819         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29820         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29821         (_G_VTABLE_LABEL_PREFIX): Likewise.
29822         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29823         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29824         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29825         (_G_VTABLE_LABEL_PREFIX): Likewise.
29826         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29827
29828 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
29829
29830         * libio/Makefile: Include ../Makeconfig before tests.
29831         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29832         only if $(build-shared) is yes.
29833
29834         * iconv/gconv_db.c: Update copyright years.
29835
29836 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29837
29838         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29839         unwind info if defined PIC. Fix special cases description.
29840         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29841
29842         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29843         DP_HI_MASK entry.
29844         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29845
29846 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
29847
29848         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29849
29850         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29851         is NULL.
29852
29853         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29854         (LDLIBS-tst-chk4): This.
29855         (LDFLAGS-tst-chk5): Renamed to ...
29856         (LDLIBS-tst-chk5): This.
29857         (LDFLAGS-tst-chk6): Renamed to ...
29858         (LDLIBS-tst-chk6): This.
29859         (LDFLAGS-tst-lfschk4): Renamed to ...
29860         (LDLIBS-tst-lfschk4): This.
29861         (LDFLAGS-tst-lfschk5): Renamed to ...
29862         (LDLIBS-tst-lfschk5): This.
29863         (LDFLAGS-tst-lfschk6): Renamed to ...
29864         (LDLIBS-tst-lfschk6): This.
29865
29866         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29867         on $(common-objpfx)soversions.mk.
29868
29869 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
29870
29871         [BZ #10014]
29872         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29873         example host name.
29874
29875 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29876
29877         * malloc/arena.c (arena_get_retry): New function that gets
29878         another arena for the caller to try its request on.
29879         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29880         current arena cannot fulfill the request.
29881         (__libc_memalign): Likewise.
29882         (__libc_memalign): Likewise.
29883         (__libc_pvalloc): Likewise.
29884         (__libc_calloc): Likewise.
29885
29886 2012-09-05  John Tobey  <john.tobey@gmail.com>
29887
29888         [BZ #13542]
29889         * manual/arith.texi (Operations on Complex): Fix description
29890         of carg branch cut.
29891
29892 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29893
29894         [BZ #10014]
29895         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29896         host name.
29897
29898         [BZ #10038]
29899         * manual/memory.texi (Memory): Make order of menu items match
29900         order of sections.
29901
29902 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29903
29904         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29905         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
29906         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29907
29908 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29909
29910         * csu/libc-tls.c (static_dtv): Renamed to ...
29911         (_dl_static_dtv): This.  Make it global.
29912         (_dl_initial_dtv): Removed.
29913         (__libc_setup_tls): Updated.
29914         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29915         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29916         DL_INITIAL_DTV.
29917
29918 2012-09-06  Petr Machata  <pmachata@redhat.com>
29919
29920         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29921         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29922         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29923         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29924
29925 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29926
29927         [BZ #14545]
29928         * csu/libc-tls.c (_dl_initial_dtv): New variable.
29929         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29930         freeing dtv[-1].
29931
29932 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29933
29934         [BZ #14544]
29935         * Makeconfig (link-static-before-libc): Replace $(+prector)
29936         with $(+prectorT).
29937         (link-static-after-libc): Replace $(+postctor) with
29938         $(+postctorT).
29939         (link-bounded): Replace $(+prector)/$(+postctor) with
29940         $(+prectorT)/$(+postctorT).
29941         (+prectorT): New macro.
29942         (+postctorT): Likewise.
29943
29944 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29945
29946         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29947         (round_str): Handle values above the maximum for IBM long double
29948         as inexact.
29949         * stdlib/tst-strtod-round.c (tests): Regenerated.
29950
29951 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29952
29953         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29954         assembler flag.
29955         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29956         zarch_nohighgprs around the zarch optimized routines.
29957         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29958         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29959         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29960         for zarch.
29961
29962 2012-09-05  David S. Miller  <davem@davemloft.net>
29963
29964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29965
29966         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29967         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29968         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29969         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29970         entries.
29971
29972 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29973
29974         * malloc/arena.c: Fold copyright years.
29975         * malloc/mcheck.c, malloc/memusage.c: Likewise.
29976
29977 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29978
29979         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29980
29981 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29982
29983         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
29984
29985 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29986
29987         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29988         change internal state upon failure.
29989
29990 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29991
29992         * malloc/mcheck.c (mcheck_check_all): Fix typo.
29993         * malloc/memusage.c (mmap): Likewise.
29994         (mmap64, mremap): Likewise.  Adjust name in comment.
29995
29996 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29997
29998         * libio/fileops.c: Fix typos in comments.
29999         * libio/oldfileops.c: Likewise.
30000         * libio/wfileops.c: Likewise.
30001
30002 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30003
30004         [BZ #1349]
30005         * malloc/Makefile (tests): Add tst-malloc-usable test case.
30006         (tst-malloc-usable-ENV): Set environment for test case.
30007         * malloc/hooks.c (malloc_check_get_size): New function to get
30008         requested size.
30009         * malloc/malloc.c (musable): Use malloc_check_get_size.
30010         * malloc/tst-malloc-usable.c: New test case.
30011
30012 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30013
30014         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30015
30016 2012-09-05  Allan McRae  <allan@archlinux.org>
30017
30018         [BZ #13966]
30019         * configure.in (CXX_SYSINCLUDES): Use compiler output to
30020         determine header location.
30021         * configure: Regenerated.
30022
30023 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30024
30025         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30026         float format.
30027         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30028         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30029         format.
30030         (test): Regenerate.
30031
30032 2012-09-04  David S. Miller  <davem@davemloft.net>
30033
30034         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30035         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30036         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30037
30038 2012-09-04  Florian Weimer  <fweimer@redhat.com>
30039
30040         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30041         failures.
30042
30043         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30044
30045 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
30046
30047         [BZ #9914]
30048         * libio/iogetdelim.c: Include <limits.h>.
30049         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30050         + len + 1 would overflow.
30051
30052 2012-09-03  Andreas Jaeger  <aj@suse.de>
30053
30054         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30055         * sysdeps/i386/fpu/libm-test-ulps: Update.
30056
30057 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30058
30059         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30060         Add s_sinf-sse2, s_conf-sse2.
30061
30062         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30063         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30064         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30065         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30066
30067         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30068         for using routine as __sinf_ia32.
30069         Use macro for function declaration and weak_alias.
30070         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30071         for using routine as __cosf_ia32.
30072         Use macro for function declaration and weak_alias.
30073
30074         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30075         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30076
30077         * sysdeps/x86_64/fpu/s_sinf.S: New file.
30078         * sysdeps/x86_64/fpu/s_cosf.S: New file.
30079         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30080
30081         * math/libm-test.inc (cos_test): Add more test cases.
30082         (sin_test): Likewise.
30083         (sincos_test): Likewise.
30084
30085 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30086
30087         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30088         (IFUNC_RESOLVE): Make pointers to the specialized implementations
30089         hidden.
30090         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30091
30092 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
30093
30094         [BZ #14538]
30095         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30096         first element of the GOT.
30097         (elf_machine_load_address): Return the difference between
30098         the runtime address of _DYNAMIC and elf_machine_dynamic ().
30099
30100 2012-09-01  Allan McRae  <allan@archlinux.org>
30101
30102         [BZ #13412]
30103         * configure.in (AWK): Require gawk version 3.0 or later.
30104         * configure: Regenerated.
30105
30106 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
30107
30108         * sysdeps/unix/sysv/linux/kernel-features.h
30109         (__ASSUME_POSIX_CPU_TIMERS): Remove.
30110         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30111         [__NR_clock_getres]: Make code unconditional.
30112         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30113         (clock_getcpuclockid): Remove code left unreachable by removal of
30114         conditionals.
30115         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30116         code unconditional.
30117         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30118         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30119         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30120         Make code unconditional.
30121         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30122         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30123         * sysdeps/unix/sysv/linux/clock_settime.c
30124         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30125         conditional code.
30126         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30127         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30128
30129 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
30130
30131         [BZ #14476]
30132         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30133         scripts/test-installation.pl.
30134
30135         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30136         and $ld_so_version if it is set.
30137
30138 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30139
30140         [BZ #14516]
30141         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30142         failure if reading from procfs failed.
30143         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30144
30145 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30146
30147         * sysdeps/unix/sysv/linux/kernel-features.h
30148         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30149         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30150         Remove conditional code.
30151         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30152         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30153         Remove conditional code.
30154         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30155         * sysdeps/unix/sysv/linux/i386/fxstat.c
30156         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30157         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30158         * sysdeps/unix/sysv/linux/i386/fxstatat.c
30159         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30160         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30161         * sysdeps/unix/sysv/linux/i386/lxstat.c
30162         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30163         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30164         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30165         Remove conditional code.
30166         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30167         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30168         Remove conditional code.
30169         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30170         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30171         <kernel-features.h>.
30172         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30173         Remove.
30174         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30175         Remove conditional code.
30176         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30177         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30178         Remove conditional.
30179
30180 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
30181
30182         [BZ #5400]
30183         * NEWS: Add fixed bug number.
30184
30185 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30186
30187         [BZ #14519]
30188         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30189         underflowing exponent in case of negative sign.
30190         * stdlib/tst-strtod-round-data: Add more tests.
30191         * stdlib/tst-strtod-round.c (tests): Regenerated.
30192
30193         [BZ #3479]
30194         * stdlib/strtod_l.c (NDIG): Remove.
30195         (HEXNDIG): Likewise.
30196         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30197         smallest representable value.
30198         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30199         lie within an exact representation of 1/2 ulp of the result.
30200         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30201         unconditionally.
30202         (TENS_P9_IDX): Define unconditionally.
30203         (TENS_P9_SIZE): Likewise.
30204         (TENS_P10_IDX): Likewise.
30205         (TENS_P10_SIZE): Likewise.
30206         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30207         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30208         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30209         entries for 10^2^13 and 10^2^14.
30210         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30211         (TENS_P13_IDX): Define.
30212         (TENS_P13_SIZE): Likewise.
30213         (TENS_P14_IDX): Likewise.
30214         (TENS_P14_SIZE): Likewise.
30215         (_fpioconst_pow10): Change array size to
30216         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
30217         unconditional.
30218         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30219         1024]: Add entries for 10^2^13 and 10^2^14.
30220         [LAST_POW10 > _LAST_POW10]: Remove #error.
30221         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30222         (_fpioconst_pow10): Change array size to
30223         FPIOCONST_POW10_ARRAY_SIZE.
30224         * stdlib/gen-fpioconst.c: New file.
30225         * stdlib/gen-tst-strtod-round.c: Likewise.
30226         * stdlib/tst-strtod-round-data: Likewise.
30227         * stdlib/tst-strtod-round.c: Likewise.
30228         * stdlib/Makefile (tests): Add tst-strtod-round.
30229
30230         [BZ #14459]
30231         * stdlib/strtod_l.c: Include <stdint.h>.
30232         (NDEBUG): Do not define.
30233         (round_and_return): Change EXPONENT parameter to type intmax_t.
30234         Rearrange calculations to avoid internal overflow possibilities.
30235         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30236         Rearrange calculations to avoid internal overflow possibilities.
30237         Assert that number fits inside MPNSIZE limbs.
30238         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30239         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
30240         calculations and add assertions to avoid internal overflow
30241         possibilities.  Add casts to avoid signed/unsigned operations.
30242         * stdlib/tst-strtod-overflow.c: New file.
30243         * stdlib/Makefile (tests): Add tst-strtod-overflow.
30244
30245 2012-08-25  Marek Polacek  <polacek@redhat.com>
30246
30247         * time/time.h: Fix some typos in comments.
30248
30249 2012-08-23  Roland McGrath  <roland@hack.frob.com>
30250
30251         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30252         * posix/tst-rfc3484-2.c: Likewise.
30253         * posix/tst-rfc3484-3.c: Likewise.
30254
30255 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
30256
30257         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30258         (EF_ARM_ABI_FLOAT_HARD): Likewise.
30259
30260 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
30261
30262         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30263         #include of fxstatat64.c.
30264
30265 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30266
30267         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30268         * shadow/getspent_r.c: Likewise.
30269         * shadow/getspnam.c: Likewise.
30270         * shadow/getspnam_r.c: Likewise.
30271         * gshadow/getsgent.c: Likewise.
30272         * gshadow/getsgent_r.c: Likewise.
30273         * gshadow/getsgnam.c: Likewise.
30274         * gshadow/getsgnam_r.c: Likewise.
30275         * inet/getnetbyad.c: Likewise.
30276         * inet/getnetbyad_r.c: Likewise.
30277         * inet/getnetbynm.c: Likewise.
30278         * inet/getnetbynm_r.c: Likewise.
30279         * inet/getnetent.c: Likewise.
30280         * inet/getnetent_r.c: Likewise.
30281         * inet/getproto.c: Likewise.
30282         * inet/getproto_r.c: Likewise.
30283         * inet/getprtent.c: Likewise.
30284         * inet/getprtent_r.c: Likewise.
30285         * inet/getprtname.c: Likewise.
30286         * inet/getprtname_r.c: Likewise.
30287         * inet/getrpcbyname.c: Likewise.
30288         * inet/getrpcbyname_r.c: Likewise.
30289         * inet/getrpcbynumber.c: Likewise.
30290         * inet/getrpcbynumber_r.c: Likewise.
30291         * inet/getrpcent.c: Likewise.
30292         * inet/getrpcent_r.c: Likewise.
30293         * inet/getaliasent.c: Likewise.
30294         * inet/getaliasent_r.c: Likewise.
30295         * inet/getaliasname.c: Likewise.
30296         * inet/getaliasname_r.c: Likewise.
30297         * nscd/getgrgid_r.c: Likewise.
30298         * nscd/getgrnam_r.c: Likewise.
30299         * nscd/gethstbyad_r.c: Likewise.
30300         * nscd/gethstbynm3_r.c: Likewise.
30301         * nscd/getpwnam_r.c: Likewise.
30302         * nscd/getpwuid_r.c: Likewise.
30303         * nscd/getsrvbynm_r.c: Likewise.
30304         * nscd/getsrvbypt_r.c: Likewise.
30305         * nscd/gai.c: Likewise.
30306
30307         * configure.in (build_nscd): New substituted variable, set
30308         by --disable-build-nscd and defaults to $use_nscd.
30309         * configure: Regenerated.
30310         * config.make.in (build-nscd): New substituted variable.
30311         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30312         Change conditional to require [$(build-nscd) = yes] as well.
30313         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30314
30315         [BZ# 13696]
30316         * configure.in (use_nscd): New substituted variable, set by
30317         --disable-nscd.  If enabled, define USE_NSCD.
30318         * configure: Regenerated.
30319         * config.h.in: Add USE_NSCD.
30320         * config.make.in (use-nscd): New substituted variable.
30321         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30322         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30323         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30324         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30325         (CFLAGS-getgrnam_r.c): Likewise.
30326         (CFLAGS-initgroups.c): Likewise.
30327         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30328         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30329         Variables removed.
30330         * inet/getnetgrent_r.c
30331         (nscd_setnetgrent): New function, broken out of ...
30332         (setnetgrent): ... here.  Call it.
30333         (innetgr): Conditionalize nscd bits on [USE_NSCD].
30334         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30335         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30336         * nscd/Makefile (routines, aux): Move definitions after include of
30337         Makeconfig.  Conditionalize on [$(use-nscd) != no].
30338         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30339         Conditionalize on [USE_NSCD].
30340         (is_nscd, nscd_init_cb): Likewise.
30341         (nss_load_library): Conditionalize init callback on [USE_NSCD].
30342         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30343         * nss/nss_db/db-init.c: Likewise.
30344         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30345         [USE_NSCD].
30346         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30347         (make_request): Use it.
30348         (cache_valid_p): New function.
30349         (__check_pf): Use it.
30350         * NEWS: Add item for --disable-nscd.
30351
30352 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
30353
30354         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30355         to support sed >= 4.2.1-20-ga9bf076.
30356         * configure: Regenerated.
30357
30358 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30359
30360         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30361         Conditionalize whole body on [IREL].
30362
30363 2012-08-22  Jeff Law <law@redhat.com>
30364
30365         [BZ #14505]
30366         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30367         if the family is PF_UNSPEC.
30368
30369 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
30370
30371         * Makerules (lib-version): Rename from V.
30372         (install-lib-nosubdir): Change V to lib-version.
30373
30374 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
30375
30376         [BZ #14252]
30377         * powerpc32/power6/wcschr.c: New file.
30378         * powerpc32/power6/wcscpy.c: New file.
30379         * powerpc32/power6/wcsrchr.c: New file.
30380         * powerpc64/power6/wcschr.c: New file.
30381         * powerpc64/power6/wcscpy.c: New file.
30382         * powerpc64/power6/wcsrchr.c: New file.
30383
30384 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30385
30386         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30387         (two_way_short_needle): Use it.
30388         * string/strstr.c (AVAILABLE1_USES_J): Define.
30389         * string/strcasestr.c: Likewise.
30390
30391         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30392         array references.
30393         * string/strcasestr.c (TOLOWER): Make side-effect safe.
30394
30395         [BZ #11607]
30396         * NEWS: Add an entry.
30397         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30398         define their defaults.
30399         (two_way_short_needle): Detect end-of-string on-the-fly.
30400         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30401         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30402         * string/bug-strcasestr1.c: New test.
30403         * string/Makefile: Run it.
30404
30405 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30406
30407         [BZ #11607]
30408         * string/str-two-way.h (two_way_short_needle): Optimize matching of
30409         the first character.
30410
30411 2012-08-21  Roland McGrath  <roland@hack.frob.com>
30412
30413         * csu/elf-init.c (__libc_csu_irel): Function removed.
30414         * csu/libc-start.c (apply_irel): New function.
30415         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30416
30417 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
30418
30419         * sysdeps/unix/sysv/linux/kernel-features.h
30420         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30421         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30422         <kernel-features.h>.
30423         [__NR_fadvise64_64]: Make code unconditional.
30424         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30425         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30426         !__NR_fadvise64_64)]: Likewise.
30427         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30428         !__NR_fadvise64_64))]: Likewise.
30429         [__NR_fadvise64]: Make code unconditional.
30430         [!__NR_fadvise64]: Remove conditional code.
30431         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30432         <kernel-features.h>.
30433         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30434         unconditional.
30435         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30436         conditional code.
30437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30438         not include <kernel-features.h>.
30439         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30440         unconditional.
30441         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30442         conditional code.
30443         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30444         include <kernel-features.h>.
30445         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30446         unconditional.
30447         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30448         conditional code.
30449
30450 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
30451
30452         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30453         slight instruction rearrangements per scrollpipe analysis.
30454         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30455
30456 2012-08-20  Roland McGrath  <roland@hack.frob.com>
30457
30458         * manual/syslog.texi (syslog; vsyslog, closelog):
30459         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30460         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30461
30462         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30463         DSOCAPS to match condition on defining it.
30464
30465 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
30466
30467         * sysdeps/unix/sysv/linux/kernel-features.h
30468         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30470         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30471         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30473         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30474         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30476         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30477         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30478
30479         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30480         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30481
30482         * sysdeps/unix/sysv/linux/kernel-features.h
30483         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30484         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30485         unconditional.
30486         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30487         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30488         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30489         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30490         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30491         Make code unconditional.
30492         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30493         (__mmap64) [!__NR_mmap2]: Likewise.
30494         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30495         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30496         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30497         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30498         [__NR_mmap2]: Make code unconditional.
30499         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30500         (__mmap64) [!__NR_mmap2]: Likewise.
30501
30502 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30503
30504         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30505
30506 2012-08-18  Andreas Jaeger  <aj@suse.de>
30507
30508         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30509
30510 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30511
30512         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30513         * include/unistd.h (__have_sock_cloexec): Likewise.
30514         (__have_pipe2): Likewise.
30515         (__have_dup3): Likewise.
30516
30517 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30518
30519         [BZ #9685]
30520         * include/unistd.h (__have_pipe2): Change define into an extern int.
30521         (__have_dup3): Likewise.
30522         * socket/have_sock_cloexec.c: Include fcntl.h.
30523         (__have_pipe2): New variable.
30524         (__have_dup3): Likewise.
30525
30526 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
30527
30528         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30529
30530 2012-08-17  Marek Polacek  <polacek@redhat.com>
30531
30532         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30533         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30534
30535 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30536
30537         * configure.in: Add AC_SUBST for sysheaders.
30538         * configure: Regenerated.
30539         * config.make.in (sysheaders): New substituted variable.
30540
30541         * sysdeps/unix/mkfifo.c: Moved ...
30542         * sysdeps/posix/mkfifo.c: ... here.
30543         * sysdeps/unix/mkfifoat.c: Moved ...
30544         * sysdeps/posix/mkfifoat.c: ... here.
30545
30546         * sysdeps/unix/utime.c: Moved ...
30547         * sysdeps/posix/utime.c: ... here.
30548
30549         * sysdeps/unix/time.c: Moved ...
30550         * sysdeps/posix/time.c: ... here.
30551         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30552         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30553
30554         * sysdeps/unix/nice.c: Moved ...
30555         * sysdeps/posix/nice.c: ... here.
30556
30557         * sysdeps/unix/alarm.c: Moved ...
30558         * sysdeps/posix/alarm.c: ... here.
30559
30560         * intl/Makefile ($(codeset_mo)): Depend on the input file.
30561
30562 2012-08-17  Jeff Law <law@redhat.com>
30563
30564         * intl/Makefile (codeset_mo): New variable.
30565         ($(codeset_mo)): New target.
30566         (tst-codeset.out): Depend on that.  Remove explicit rule.
30567         (tst-gettext3.out, tst-gettext5.out): Likewise.
30568         (LOCPATH-ENV, tst-codeset-ENV): New variables.
30569         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30570         * intl/tst-codeset.sh: Remove.
30571         * intl/tst-gettext3.sh: Likewise.
30572         * intl/tst-gettext5.sh: Likewise.
30573
30574 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30575
30576         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
30577         * sysdeps/unix/syscalls.list: ... here.
30578
30579         * sysdeps/posix/getaddrinfo.c
30580         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30581         (gaiconf_init, gaiconf_reload): Use them.
30582         [!_STATBUF_ST_NSEC]
30583         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30584         Define using time_t rather than struct timespec.
30585
30586         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30587         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30588         Macros removed.
30589         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30590         [!NO_THREADS].
30591         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30592         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30593         Likewise.
30594
30595         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30596         __libc_cleanup_push argument.
30597
30598         * bits/param.h: New file.
30599         * misc/sys/param.h: New file.
30600         * include/sys/param.h: New file.
30601         * misc/Makefile (headers): Add bits/param.h.
30602         * sysdeps/generic/sys/param.h: File removed.
30603         * sysdeps/unix/sysv/linux/bits/param.h: New file.
30604         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30605         * sysdeps/mach/hurd/bits/param.h: New file.
30606         * sysdeps/mach/hurd/sys/param.h: File removed.
30607
30608         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30609         last change.
30610
30611         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30612         [_IO_MTSAFE_IO].
30613         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30614         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30615         New macros.
30616
30617         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30618         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30619         rather than -D_IO_MTSAFE_IO conditionally.
30620         * stdio-common/Makefile (CPPFLAGS): Likewise.
30621         * wcsmbs/Makefile (CPPFLAGS): Likewise.
30622         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30623         Use $(libio-mtsafe).
30624         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30625         of -D_IO_MTSAFE_IO.
30626         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30627         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30628         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30629         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30630         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30631         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30632         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30633         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30634         (CFLAGS-fread_u_chk.c): Likewise.
30635         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30636         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30637         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30638         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30639         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30640         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30641         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30642         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30643         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30644
30645         * libio/Makefile: Test [$(libc-reentrant) = yes]
30646         instead of [$(filter %REENTRANT, $(defines)) nonempty].
30647
30648         * Makeconfig
30649         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30650         * sysdeps/pthread/configure: File removed.
30651         * sysdeps/pthread/Makeconfig: New file.
30652         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30653         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30654
30655 2012-08-16  Gary Benson  <gbenson@redhat.com>
30656
30657         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30658         unmapping the first object in a namespace.
30659
30660 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30661
30662         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30663         (__internal_setnetgrent): ... this.  Add internal_function to
30664         definition.  Add libc_hidden_def.
30665         (setnetgrent): Update caller.
30666         (internal_endnetgrent): Renamed to ...
30667         (__internal_endnetgrent): ... this.  Add internal_function to
30668         definition.  Add libc_hidden_def.
30669         (endnetgrent): Update caller.
30670         (internal_getnetgrent_r): Renamed to ...
30671         (__internal_getnetgrent_r): ... this.  Add internal_function to
30672         definition.  Add libc_hidden_def.
30673         (__getnetgrent_r): Update caller.
30674         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
30675
30676 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30677
30678         * stdlib/longlong.h: Update from GCC.
30679
30680 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30681
30682         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30683         on _QL, which is set by umul_ppmm but never used.
30684         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30685         variables, which are set by GMP macros but never used.
30686         * stdio-common/_itowa.c (_itowa): Likewise.
30687         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30688         * stdlib/mod_1.c (mpn_mod_1): Likewise.
30689
30690 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
30691
30692         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30693         struct La_sh_regs is not constant.
30694         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30695         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30696         and struct La_sparc64_regs are not constant.
30697
30698 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30699
30700         * sysdeps/unix/sysv/linux/kernel-features.h
30701         (__ASSUME_POSIX_TIMERS): Remove.
30702         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30703         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30704         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30705         Make code unconditional.
30706         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30707         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30708         Make code unconditional.
30709         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30710         * sysdeps/unix/sysv/linux/clock_nanosleep.c
30711         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30712         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30713         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30714         Make code unconditional.
30715         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30716         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30717         (__libc_missing_posix_timers): Remove.
30718
30719 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30720
30721         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30722         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30723
30724         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30725
30726         * elf/dl-sym.c: Include <stdlib.h>.
30727
30728         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30729         constants, which avoids warnings in 32-bit builds.
30730
30731         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30732         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30733
30734         * misc/lseek.c: File moved to ...
30735         * io/lseek.c: ... here.
30736
30737         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30738
30739         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30740         shifting LEN more than 31 bits at once.
30741
30742 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30743
30744         [BZ #14195]
30745         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30746         segmentation fault for a case of two empty input strings.
30747         * string/test-strncasecmp.c (check1): Renamed to...
30748         (bz12205): ...this.
30749         (bz14195): Add new testcase for two empty input strings and N > 0.
30750         (test_main): Call new testcase, adapt for renamed function.
30751
30752 2012-08-15  Andreas Jaeger  <aj@suse.de>
30753
30754         [BZ #14090]
30755         * crypt/md5test2.c: New test, based on test supplied by Serge
30756         Belyshev <belyshev@depni.sinp.msu.ru>.
30757         * crypt/Makefile (xtests): Add md5test-giant..
30758         * crypt/Makefile ($(objpfx)md5test-giant): Add.
30759
30760 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
30761
30762         [BZ #14090]
30763         * crypt/md5.c (md5_process_block): Don't assume the buffer
30764         length is less than 2**32.
30765         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30766         length is less than 2**64.
30767
30768 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30769
30770         * string/str-two-way.h: Include <sys/param.h>.
30771         (MAX): Macro removed.
30772
30773         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30774         Move #define and #undef of memmove to just before and after
30775         including <string.h>.
30776
30777         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30778         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30779         and after including <string.h>.  Move declarations of
30780         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30781         to before #include "string/memmove.c".
30782
30783         * include/dirent.h: Declare __getdirentries.
30784
30785         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30786         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30787
30788 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
30789
30790         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30791         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30792         * sysdeps/i386/configure: Regenerated.
30793         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30794         STABS_CURRENT_FILE, and STABS_FUN.
30795         (END): Remove call to STABS_FUN_END.
30796         (STABS_CURRENT_FILE1): Delete.
30797         (STABS_CURRENT_FILE): Likewise.
30798         (STABS_FUN): Likewise.
30799         (STABS_FUN_END): Likewise.
30800         (STABS_FUN2): Likewise.
30801         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30802         * sysdeps/x86_64/configure: Regenerated.
30803
30804 2012-08-14  Roland McGrath  <roland@hack.frob.com>
30805
30806         * elf/dl-open.c: Include <atomic.h>.
30807         * elf/dl-lookup.c: Likewise.
30808
30809 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
30810
30811         * sysdeps/unix/sysv/linux/kernel-features.h
30812         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30813         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30814         unconditionally.
30815         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30816         unconditionally.
30817         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30818         condition on __ASSUME_CLONE_THREAD_FLAGS.
30819
30820 2012-08-14  Andreas Jaeger  <aj@suse.de>
30821
30822         * sysdeps/i386/fpu/libm-test-ulps: Update.
30823
30824 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
30825
30826         * include/atomic.h (atomic_exchange_and_add): Split into ...
30827         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30828         New atomic macros.
30829
30830 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
30831
30832         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30833
30834 2012-08-13  Jeff Law <law@redhat.com>
30835
30836         * manual/stdio.texi (snprintf): Clarify handling of the trailing
30837         null byte in the output string.
30838
30839 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
30840
30841         * sysdeps/unix/sysv/linux/kernel-features.h
30842         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30843         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30844         (__ASSUME_ARG_MAX_STACK_BASED): Define.
30845         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30846         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30847         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
30848         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30849
30850 2012-08-09  Jeff Law <law@redhat.com>
30851
30852         [BZ #13939]
30853         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30854         When avoid_arena is set, don't retry in the that arena.  Pick the
30855         next one, whatever it might be.
30856         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30857         (arena_lock): Pass in new parameter to arena_get2.
30858         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30859         arena_get2.
30860         (__libc_malloc): Unify retrying after main arena failure with
30861         __libc_memalign version.
30862         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30863
30864 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30865
30866         [BZ #14166]
30867         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30868         to __redirect_strstr.
30869         (__strstr_sse42): Use typeof __redirect_strstr.
30870         (__strstr_ia32): Likewise.
30871         (__libc_strstr): New prototype.
30872         (strstr): Renamed to ...
30873         (__libc_strstr): This.
30874         (strstr): New strong alias of __libc_strstr.
30875         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30876         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30877         __redirect_time.
30878         Include <time.h>.
30879         (__libc_time): New prototype.
30880         (time_ifunc): Replace time with __libc_time.
30881         (time): New strong alias and hidden definition of __libc_time.
30882         (__GI_time): Remove strong alias.
30883         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30884         Include <stddef.h>.
30885         (memmove): Redefined to __redirect_memmove.
30886         (__memmove_sse2): Use typeof __redirect_memmove.
30887         (__memmove_ssse3): Likewise.
30888         (__memmove_ssse3_back): Likewise.
30889         (__libc_memmove): New prototype.
30890         (memmove): Renamed to ...
30891         (__libc_memmove): This.
30892         (memmove): New strong alias of __libc_memmove.
30893
30894 2012-08-08  Mark Salter  <msalter@redhat.com>
30895
30896         * elf/elf.h
30897         (R_MN10300_TLS_GD): Define.
30898         (R_MN10300_TLS_LD): Likewise.
30899         (R_MN10300_TLS_LDO): Likewise.
30900         (R_MN10300_TLS_GOTIE): Likewise.
30901         (R_MN10300_TLS_IE): Likewise.
30902         (R_MN10300_TLS_LE): Likewise.
30903         (R_MN10300_TLS_DTPMOD): Likewise.
30904         (R_MN10300_TLS_DTPOFF): Likewise.
30905         (R_MN10300_TLS_TPOFF): Likewise.
30906         (R_MN10300_SYM_DIFF): Likewise.
30907         (R_MN10300_ALIGN): Likewise.
30908         (R_MN10300_NUM): Update.
30909
30910 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
30911
30912         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30913         Remove.
30914
30915 2012-08-08  Roland McGrath  <roland@hack.frob.com>
30916
30917         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30918
30919         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30920         sysdeps/unix -> sysdeps/posix move.
30921         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30922
30923 2012-08-07      Allan McRae     <allan@archlinux.org>
30924
30925         [BZ #14303]
30926         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30927         (SUNOS_CPP): Likewise.
30928         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30929         not found.
30930         (open_input): Call CPP using execvp.
30931
30932 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30933
30934         * sysdeps/unix/sysv/linux/kernel-features.h
30935         (__ASSUME_PROT_GROWSUPDOWN): Remove.
30936         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30937         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30938         (__ASSUME_WAITID_SYSCALL): Likewise.
30939         * sysdeps/unix/sysv/linux/dl-execstack.c
30940         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30941         code unconditional.
30942         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30943         conditional code.
30944         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30945         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30946         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30947         code.
30948         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30949         unconditional.
30950         [__ASSUME_WAITID_SYSCALL]: Likewise.
30951         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30952
30953 2012-08-07  Roland McGrath  <roland@hack.frob.com>
30954
30955         * sysdeps/unix/closedir.c: Renamed to ...
30956         * sysdeps/posix/closedir.c: ... here.
30957         * sysdeps/unix/dirfd.c: Renamed to ...
30958         * sysdeps/posix/dirfd.c: ... here.
30959         * sysdeps/unix/dirstream.h: Renamed to ...
30960         * sysdeps/posix/dirstream.h: ... here.
30961         * sysdeps/unix/fdopendir.c: Renamed to ...
30962         * sysdeps/posix/fdopendir.c: ... here.
30963         * sysdeps/unix/opendir.c: Renamed to ...
30964         * sysdeps/posix/opendir.c: ... here.
30965         * sysdeps/unix/readdir.c: Renamed to ...
30966         * sysdeps/posix/readdir.c: ... here.
30967         * sysdeps/unix/readdir_r.c: Renamed to ...
30968         * sysdeps/posix/readdir_r.c: ... here.
30969         * sysdeps/unix/rewinddir.c: Renamed to ...
30970         * sysdeps/posix/rewinddir.c: ... here.
30971         * sysdeps/unix/seekdir.c: Renamed to ...
30972         * sysdeps/posix/seekdir.c: ... here.
30973         * sysdeps/unix/telldir.c: Renamed to ...
30974         * sysdeps/posix/telldir.c: ... here.
30975         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30976         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30977         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30978         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30979
30980         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30981         * bits/fcntl.h: ... here.
30982
30983         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30984         not 0.
30985         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30986         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30987         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30988         (struct flock): Move l_start, l_len to the beginning.
30989         Use __pid_t for l_pid.
30990         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30991         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30992         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30993         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30994         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30995         [__USE_LARGEFILE64] (struct flock64): New type.
30996         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30997
30998         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30999         * bits/dirent.h: ... here.
31000
31001         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31002         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31003
31004 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31005
31006         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31007         Change from 2.6.0 to 2.6.16.
31008         * sysdeps/unix/sysv/linux/configure: Regenerated.
31009         * sysdeps/unix/sysv/linux/kernel-features.h
31010         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31011         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31012         version.
31013         (__ASSUME_UTIMES): Likewise.
31014         (__ASSUME_CLONE_STOPPED): Remove.
31015         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31016         architectures, not kernel version.
31017         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31018         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31019         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31020         (__ASSUME_WAITID_SYSCALL): Likewise.
31021         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31022         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31023         * README: State 2.6.16 as minimum Linux kernel version.  Do not
31024         refer to older versions.
31025
31026 2012-08-06  Roland McGrath  <roland@hack.frob.com>
31027
31028         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31029         Define alphasort64 as an alias.
31030         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31031         Define versionsort64 as an alias.
31032         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31033         Define scandir64 as an alias.
31034         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31035         Define scandirat64 as an alias.
31036         * dirent/alphasort64.c (alphasort64):
31037         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31038         * dirent/versionsort64.c: Likewise.
31039         * dirent/scandir64.c: Likewise.
31040         * dirent/scandirat64.c: Likewise.
31041         * sysdeps/wordsize-64/alphasort.c: File removed.
31042         * sysdeps/wordsize-64/alphasort64.c: File removed.
31043         * sysdeps/wordsize-64/scandir.c: File removed.
31044         * sysdeps/wordsize-64/scandir64.c: File removed.
31045         * sysdeps/wordsize-64/scandirat.c: File removed.
31046         * sysdeps/wordsize-64/scandirat64.c: File removed.
31047         * sysdeps/wordsize-64/versionsort.c: File removed.
31048         * sysdeps/wordsize-64/versionsort64.c: File removed.
31049         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31050         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31051         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31052         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31053         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31054         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31055         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31056         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31057
31058         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31059         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31060         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31061         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31062         [defined __arch64__ || defined __sparcv9]
31063         (__INO_T_MATCHES_INO64_T): New macro.
31064         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31065         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31066         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31067         * sysdeps/unix/sysv/linux/bits/dirent.h
31068         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31069         (_DIRENT_MATCHES_DIRENT64): New macro.
31070
31071         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31072         Define lockf64 as an alias.
31073         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31074         Define fseeko64 as an alias.
31075         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31076         Define ftello64 as an alias.
31077         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31078         Define _IO_fgetpos64 and fgetpos64 as aliases.
31079         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31080         Define _IO_fsetpos64 and fsetpos64 as aliases.
31081         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31082         Conditionalize body on this.
31083         * libio/fseeko64.c: Likewise.
31084         * libio/ftello64.c: Likewise.
31085         * libio/iofgetpos64.c: Likewise.
31086         * libio/iofsetpos64.c: Likewise.
31087         * sysdeps/wordsize-64/lockf.c: File removed.
31088         * sysdeps/wordsize-64/lockf64.c: File removed.
31089         * sysdeps/wordsize-64/fseeko.c: File removed.
31090         * sysdeps/wordsize-64/fseeko64.c: File removed.
31091         * sysdeps/wordsize-64/ftello.c: File removed.
31092         * sysdeps/wordsize-64/ftello64.c: File removed.
31093         * sysdeps/wordsize-64/iofgetpos.c: File removed.
31094         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31095         * sysdeps/wordsize-64/iofsetpos.c: File removed.
31096         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31097         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31098         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31099         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31100         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31101         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31102         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31103         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31104         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31105         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31106         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31107
31108         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31109         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31110         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31111         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31112         [defined __arch64__ || defined __sparcv9]
31113         (__OFF_T_MATCHES_OFF64_T): New macro.
31114         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31115         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31116         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31117         (__OFF_T_MATCHES_OFF64_T): New macro.
31118
31119 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31120
31121         * stdlib/secure-getenv.c (__secure_getenv): Replace
31122         GLIBC_2_16 with GLIBC_2_17.
31123
31124 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31125
31126         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31127         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31128
31129 2012-08-03  David S. Miller  <davem@davemloft.net>
31130
31131         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31132
31133 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31134
31135         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31136         Remove.
31137         (__ASSUME_CORRECT_SI_PID): Likewise.
31138         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31139         (__ASSUME_TMPFS_NAME): Likewise.
31140         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31141         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31142         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31143         (HAVE_AUX_SECURE): Make definition unconditional.
31144         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31145         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31146
31147 2012-08-03  Roland McGrath  <roland@hack.frob.com>
31148
31149         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31150         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31151         * sysdeps/mach/hurd/eloop-threshold.h: New file.
31152         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31153         __eloop_threshold instead of SYMLOOP_MAX.
31154
31155         * sysdeps/generic/eloop-threshold.h: New file.
31156         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31157         of MAXSYMLINKS.
31158         * elf/chroot_canon.c (chroot_canon): Likewise.
31159
31160 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31161
31162         [BZ #13717]
31163         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31164         Change to 2.6.0 everywhere.
31165         * sysdeps/unix/sysv/linux/configure: Regenerated.
31166         * sysdeps/unix/sysv/linux/kernel-features.h
31167         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31168         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31169         kernel versions.
31170         (__ASSUME_POSIX_TIMERS): Define unconditionally.
31171         (__ASSUME_FUTEX_REQUEUE): Remove.
31172         (__ASSUME_STATFS64): Define unconditionally.
31173         (__ASSUME_AT_SECURE): Likewise.
31174         (__ASSUME_CORRECT_SI_PID): Likewise.
31175         (__ASSUME_TGKILL): Define without depending on kernel version for
31176         i386.
31177         (__ASSUME_UTIMES): Likewise.
31178         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31179         kernel version.
31180         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31181         (__ASSUME_TMPFS_NAME): Likewise.
31182         * README: Update reference to Linux kernel versions.
31183
31184 2012-08-02  Marek Polacek  <polacek@redhat.com>
31185
31186         [BZ# 14150]
31187         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
31188         libc_cv_asm_type_prefix with %.
31189         * configure: Regenerated.
31190         * include/libc-symbols.h: Remove comment about
31191         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31192         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31193         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31194         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31195         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31196         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31197         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31198         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31199         * elf/tst-unique2mod1.c: Likewise.
31200         * elf/tst-unique1mod2.c: Likewise.
31201         * elf/tst-unique1mod1.c: Likewise.
31202         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31203         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31204         Replace ASM_TYPE_DIRECTIVE with .type.
31205         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31206         * sysdeps/i386/sysdep.h: Likewise.
31207         * sysdeps/x86_64/sysdep.h: Likewise.
31208         * sysdeps/sh/sysdep.h: Likewise.
31209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31210         Do not define ASM_TYPE_DIRECTIVE.
31211         * sysdeps/powerpc/sysdep.h: Likewise.
31212         * sysdeps/powerpc/powerpc32/sysdep.h:
31213         Replace ASM_TYPE_DIRECTIVE with .type.
31214         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31215         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31216         * sysdeps/i386/fpu/e_powf.S: Likewise.
31217         * sysdeps/i386/fpu/e_expl.S: Likewise.
31218         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31219         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31220         * sysdeps/i386/fpu/e_pow.S: Likewise.
31221         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31222         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31223         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31224         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31225         * sysdeps/i386/fpu/e_log2.S: Likewise.
31226         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31227         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31228         * sysdeps/i386/fpu/e_powl.S: Likewise.
31229         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31230         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31231         * sysdeps/i386/fpu/e_logl.S: Likewise.
31232         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31233         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31234         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31235         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31236         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31237         * sysdeps/i386/fpu/e_log.S: Likewise.
31238         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31239         * sysdeps/i386/fpu/e_logf.S: Likewise.
31240         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31241         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31242         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31243         * sysdeps/i386/fpu/e_log10.S: Likewise.
31244         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31245         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31246         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31247         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31248         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31249         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31250         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31251         * sysdeps/i386/i686/strtok.S: Likewise.
31252         * sysdeps/i386/i386-mcount.S: Likewise.
31253         * sysdeps/i386/strtok.S: Likewise.
31254         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31255         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31256         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31257         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31258         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31259         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31260         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31261         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31262         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31263         * sysdeps/x86_64/_mcount.S: Likewise.
31264         * sysdeps/x86_64/strtok.S: Likewise.
31265         * sysdeps/sh/_mcount.S: Likewise.
31266
31267 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31268
31269         * libio/iofopen.c: Include <fcntl.h>.
31270         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31271         (_IO_fopen64, fopen64): Define as aliases.
31272         * libio/iofopen64.c: Include <fcntl.h>.
31273         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31274         Conditionalize body on this.
31275         * sysdeps/wordsize-64/iofopen.c: File removed.
31276         * sysdeps/wordsize-64/iofopen64.c: File removed.
31277
31278 2012-08-01  Marek Polacek  <polacek@redhat.com>
31279
31280         * libc/Makeconfig: Use elf in place of binfmt-subdir.
31281         Use dlfcn directly instead of a variable.
31282         (binfmt-subdir): Do not define.
31283         (dlfcn): Likewise.
31284
31285 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
31286
31287         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31288         Remove all definitions.
31289         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31290         <kernel-features.h>.
31291         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31292         (miss_F_GETOWN_EX): Remove all definitions.
31293         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31294         macro definition.
31295         [!__ASSUME_FCNTL64]: Remove conditional code.
31296         [__ASSUME_FCNTL64]: Make code unconditional.
31297         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31298         <kernel-features.h>.
31299         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31300         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31301         (lockf64) [__NR_fcntl64]: Make code unconditional.
31302         (lockf64) [__ASSUME_FCNTL64]: Likewise.
31303
31304         * sysdeps/unix/sysv/linux/kernel-features.h
31305         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31306         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31307         Make code unconditional.
31308         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31309         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31311         [__NR_vfork]: Make code unconditional.
31312         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31313         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31315         [__NR_vfork]: Make code unconditional.
31316         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31317         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31318
31319 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31320
31321         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31322         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31323
31324         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31325         Define mkstemp64 as an alias.
31326         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31327         Define mkstemps64 as an alias.
31328         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31329         Define mkostemp64 as an alias.
31330         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31331         Define mkostemps64 as an alias.
31332         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31333         Conditionalize body on this.
31334         * misc/mkostemp64.c: Likewise.
31335         * misc/mkostemps64.c: Likewise.
31336         * misc/mkstemps64.c: Likewise.
31337         * sysdeps/wordsize-64/mkstemp64.c: File removed.
31338         * sysdeps/wordsize-64/mkostemp64.c: File removed.
31339         * sysdeps/wordsize-64/mkostemp.c: File removed.
31340         * sysdeps/wordsize-64/mkstemp.c: File removed.
31341         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31342         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31343         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31344         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31345
31346         [BZ #14138]
31347         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31348         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31349         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31350         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31351
31352         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31353         compat_symbol macros from <shlib-compat.h> rather than the underlying
31354         default_symbol_version and symbol_version macros, so that DEFAULT
31355         lines in shlib-versions are respected.
31356         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31357
31358 2012-08-01  Florian Weimer  <fweimer@redhat.com>
31359
31360         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31361         Declare with warn_unused_result.
31362         (setgid, setregid, setegid, setresgid): Likewise.
31363         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31364         Likewise.
31365         * WUR-REPORT: Remove set*id functions.
31366
31367 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
31368
31369         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31370
31371 2012-07-31  Roland McGrath  <roland@hack.frob.com>
31372
31373         [BZ #10191]
31374         * include/sys/socket.h (__libc_accept, __libc_accept4):
31375         Add attribute_hidden.
31376         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31377
31378         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31379         use of PTR_MANGLE.
31380         * inet/getnetgrent_r.c (setup): Likewise.
31381
31382         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31383
31384 2012-07-31  David S. Miller  <davem@davemloft.net>
31385
31386         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31387
31388 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
31389
31390         [BZ #13629]
31391         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31392         value between 1.0 and 2.0 and smaller part has absolute value less
31393         than 1.0.
31394         * math/s_clog10.c (__clog10): Likewise.
31395         * math/s_clog10f.c (__clog10f): Likewise.
31396         * math/s_clog10l.c (__clog10l): Likewise.
31397         * math/s_clogf.c (__clogf): Likewise.
31398         * math/s_clogl.c (__clogl): Likewise.
31399         * math/libm-test.inc (clog_test): Add more tests.
31400         (clog10_test): Likewise.
31401         * sysdeps/i386/fpu/libm-test-ulps: Update.
31402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31403
31404 2012-07-31  Florian Weimer  <fweimer@redhat.com>
31405
31406         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31407         Exit with zero in case no suitable GID is found, and write a
31408         message to standard error.
31409
31410 2012-07-30  Roland McGrath  <roland@hack.frob.com>
31411
31412         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31413         rather than to 1.
31414         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31415         (MAXPATHLEN): Removed.
31416         (NOGROUP, NODEV): New macros.
31417         (setbit, clrbit, isset, isclr): New macros.
31418         (howmany, roundup, powerof2): New macros.
31419         (DEV_BSIZE): New macro.
31420
31421         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31422         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31423
31424         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31425         definition on [!__NO_LONG_DOUBLE_MATH].
31426
31427         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31428         PTR_MANGLE and PTR_DEMANGLE.
31429
31430         * socket/accept4.c (accept4): Rename to __libc_accept4.
31431         Define accept4 as a weak alias.
31432
31433         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31434         on [_DIRENT_HAVE_D_TYPE].
31435         * io/ftw.c (ftw_dir): Likewise.
31436
31437         * io/xmknod.c (__xmknod): Don't check PATH for being null.
31438
31439         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31440
31441         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31442         Use the BSD numbers rather than the arbitrary ones we had.
31443         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31444         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31445         (SIGXCPU, SIGXFSZ): New macros.
31446         (_NSIG): Now 32.
31447
31448         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31449         initializer on [_LIBC_REENTRANT].
31450
31451         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31452         definitions inside [_POSIX_MAPPED_FILES].
31453
31454         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31455
31456         * dirent/opendir.c: Include <fcntl.h>.
31457
31458         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31459         (__libc_getspecific): Likewise.
31460         (__libc_key_create): Likewise.
31461
31462         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31463         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31464         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31465         (tmpfile64): Define as alias.
31466         * sysdeps/wordsize-64/tmpfile.c: File removed.
31467         * sysdeps/wordsize-64/tmpfile64.c: File removed.
31468         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31469         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31470
31471         * stdio-common/vfscanf.c: Include <stdbool.h>.
31472         * nss/makedb.c: Likewise.
31473         * stdio-common/_i18n_number.h: Likewise.
31474         * argp/argp-help.c: Likewise.
31475         * posix/wordexp.c: Likewise.
31476         * sysdeps/posix/spawni.c: Likewise.
31477         * nss/nss_files/files-initgroups.c: Likewise.
31478         * stdio-common/reg-modifier.c: Include <stdlib.h>.
31479         * nss/nss_files/files-initgroups.c: Likewise.
31480         * nss/nss_db/db-netgrp.c: Likewise.
31481         * nss/nss_db/db-initgroups.c: Likewise.
31482         * io/fchmodat.c: Include <sys/stat.h>.
31483
31484         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31485         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31486
31487         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31488         [HAVE_MMAP].
31489
31490         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31491         Add multiple inclusion protection.
31492
31493 2012-07-27  David S. Miller  <davem@davemloft.net>
31494
31495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31496
31497 2012-07-27  Gary Benson  <gbenson@redhat.com>
31498
31499         [BZ #14298]
31500         * elf/rtld.c: Include <stap-probe.h>.
31501         (dl_main): Added static probes "init_start" and "init_complete".
31502         * elf/dl-load.c: Include <stap-probe.h>.
31503         (lose): Take new parameter "nsid".
31504         Added static probe "map_failed".
31505         (_dl_map_object_from_fd): Pass namespace id to lose.
31506         Added static probe "map_start".
31507         (open_verify): Pass namespace id to lose.
31508         * elf/dl-open.c: Include <stap-probe.h>.
31509         (dl_open_worker) Added static probes "map_complete", "reloc_start"
31510         and "reloc_complete".
31511         * elf/dl-close.c: Include <stap-probe.h>.
31512         (_dl_close_worker): Added static probes "unmap_start" and
31513         "unmap_complete".
31514         * elf/rtld-debugger-interface.txt: New file documenting the above.
31515
31516 2012-07-26  Roland McGrath  <roland@hack.frob.com>
31517
31518         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31519         rather than a string variable.
31520         * sunrpc/rpc_main.c (h_output): Likewise.
31521         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31522
31523 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
31524
31525         * inet/check_native.c: New file.
31526
31527 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
31528
31529         [BZ #13629]
31530         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31531         if larger part has absolute value 1.0.
31532         * math/s_clog10.c (__clog10): Likewise.
31533         * math/s_clog10f.c (__clog10f): Likewise.
31534         * math/s_clog10l.c (__clog10l): Likewise.
31535         * math/s_clogf.c (__clogf): Likewise.
31536         * math/s_clogl.c (__clogl): Likewise.
31537         * math/libm-test.inc (clog_test): Add more tests.
31538         (clog10_test): Likewise.
31539         * sysdeps/i386/fpu/libm-test-ulps: Update.
31540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31541
31542         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31543         (pltexit): Likewise.
31544         (La_regs): Likewise.
31545         (La_retval): Likewise.
31546         (int_retval): Likewise.
31547         Update #error for removed macros to refer only to definitions in
31548         tst-audit.h.
31549         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31550         macro.
31551         (pltexit): Likewise.
31552         (La_regs): Likewise.
31553         (La_retval): Likewise.
31554         (int_retval): Likewise.
31555         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31556         macro.
31557         (pltexit): Likewise.
31558         (La_regs): Likewise.
31559         (La_retval): Likewise.
31560         (int_retval): Likewise.
31561         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31562         macro.
31563         (pltexit): Likewise.
31564         (La_regs): Likewise.
31565         (La_retval): Likewise.
31566         (int_retval): Likewise.
31567         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31568         macro.
31569         (pltexit): Likewise.
31570         (La_regs): Likewise.
31571         (La_retval): Likewise.
31572         (int_retval): Likewise.
31573         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31574         macro.
31575         (pltexit): Likewise.
31576         (La_regs): Likewise.
31577         (La_retval): Likewise.
31578         (int_retval): Likewise.
31579         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31580         macro.
31581         (pltexit): Likewise.
31582         (La_regs): Likewise.
31583         (La_retval): Likewise.
31584         (int_retval): Likewise.
31585         * sysdeps/generic/tst-audit.h: Update comment to refer only to
31586         macro definitions in tst-audit.h.
31587         * sysdeps/i386/tst-audit.h: New file.
31588         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31589         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31590         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31591         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31592         * sysdeps/sh/tst-audit.h: Likewise.
31593         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31594         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31595         * sysdeps/x86_64/tst-audit.h: Likewise.
31596
31597 2012-07-26  Andreas Jaeger  <aj@suse.de>
31598
31599         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31600         ptrace.
31601
31602         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31603         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31604         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31605         PTRACE_O_MASK.
31606         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31607         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31608         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31609
31610         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31611         value.
31612
31613         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31614         _sigsys.
31615         (si_call_addr, si_syscall, si_arch): Define new macro.
31616         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31617         _sigsys.
31618         (si_call_addr, si_syscall, si_arch): Define new marcro.
31619         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31620         _sigsys.
31621         (si_call_addr, si_syscall, si_arch): Define new macro.
31622         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31623         _sigsys.
31624         (si_call_addr, si_syscall, si_arch): Define new macro.
31625
31626 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31627
31628         [BZ #13717]
31629         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31630         Change to 2.4.21 where previously 2.4.1.
31631         * sysdeps/unix/sysv/linux/configure: Regenerated.
31632         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31633         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31634         Linux kernel version.
31635         (__ASSUME_STD_AUXV): Remove.
31636         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31637         kernel version.
31638         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31639         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31640         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31641         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31642         (__ASSUME_NETLINK_SUPPORT): Likewise.
31643         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31644         (__no_netlink_support): Remove conditional definition.
31645         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31646         Remove.
31647         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31648         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31649         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31650         (if_nameindex_ioctl): Remove.
31651         (if_nameindex_netlink): Do not handle __no_netlink_support.
31652         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31653         code.
31654         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31655         Remove conditional code.
31656         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31657         code.
31658         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31659         unconditional.
31660         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31661         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31662         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31663         Remove.
31664         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31665         [!__ASSUME_STD_AUXV]: Remove conditional code.
31666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31667         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31668         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31670         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31671         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31672         code.
31673         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31675         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31676         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31677         conditional code.
31678         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31680         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31681         code.
31682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31683         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31684         conditional code.
31685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31686         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31687         code unconditional.
31688         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31689         conditional code.
31690         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31691         unconditional.
31692         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31693         conditional code.
31694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31695         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31696         unconditional.
31697         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31698         conditional code.
31699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31700         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31701         code unconditional.
31702         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31703         conditional code.
31704         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31705         unconditional.
31706         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31707         conditional code.
31708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31709         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31710         code unconditional.
31711         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31712         conditional code.
31713         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31714         unconditional.
31715         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31716         conditional code.
31717
31718 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
31719
31720         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31721         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31722         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31723         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31724         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31725         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31726         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31727         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31728         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31729         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31730         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31731         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31732         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31733         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31734         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31735         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31736         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31737         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31738         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31739         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31740         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31741         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31742         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31743
31744 2012-07-25  Florian Weimer  <fweimer@redhat.com>
31745
31746         * Versions.def: Add GLIBC_2.17.
31747         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31748         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31749         Introduce __libc_secure_getenv.
31750         * stdlib/Versions (2.17): Add secure_getenv
31751         (GLIBC_PRIVATE): Add __libc_secure_getenv.
31752         * stdlib/secure-getenv.c: Rename __secure_getenv to
31753         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
31754         symbol __secure_getenv for GLIBC_2.0.
31755         * stdlib/tst-secure-getenv.c: New.
31756         * stdlib/Makefile (tests): Add testcase.
31757         * manual/startup.texi (Environment Access): Document
31758         secure_getenv.
31759         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31760         __libc_secure_getenv.
31761         * inet/ruserpass.c (ruserpass): Likewise.
31762         * malloc/mtrace.c (mtrace): Likewise.
31763         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31764         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31765         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31766         * sysdeps/posix/tempname.c: Likewise.  Evaluate
31767         HAVE_SECURE_GETENV.
31768         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31769         __secure_getenv to __libc_secure_getenv.
31770         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31772         Likewise.
31773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31774         Likewise.
31775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31776         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31777         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31778         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31779         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31780         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31781         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31782
31783 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31784
31785         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31786         (struct La_i86_retval): Likewise.
31787         (struct La_x86_64_regs): Likewise.
31788         (struct La_x86_64_retval): Likewise.
31789         (struct La_x32_regs): Likewise.
31790         (struct La_x32_retval): Likewise.
31791         (struct La_ppc32_regs): Likewise.
31792         (struct La_ppc32_retval): Likewise.
31793         (struct La_ppc64_regs): Likewise.
31794         (struct La_ppc64_retval): Likewise.
31795         (struct La_sh_regs): Likewise.
31796         (struct La_sh_retval): Likewise.
31797         (struct La_s390_32_regs): Likewise.
31798         (struct La_s390_32_retval): Likewise.
31799         (struct La_s390_64_regs): Likewise.
31800         (struct La_s390_64_retval): Likewise.
31801         (struct La_sparc32_regs): Likewise.
31802         (struct La_sparc32_retval): Likewise.
31803         (struct La_sparc64_regs): Likewise.
31804         (struct La_sparc64_retval): Likewise.
31805         (struct audit_ifaces): Remove architecture-specific pltenter and
31806         pltexit members.
31807         * sysdeps/i386/ldsodefs.h: New file.
31808         * sysdeps/powerpc/ldsodefs.h: Likewise.
31809         * sysdeps/s390/ldsodefs.h: Likewise.
31810         * sysdeps/sh/ldsodefs.h: Likewise.
31811         * sysdeps/sparc/ldsodefs.h: Likewise.
31812         * sysdeps/x86_64/ldsodefs.h: Likewise.
31813
31814 2012-07-25  Marek Polacek  <polacek@redhat.com>
31815
31816         [BZ #6808]
31817         * math/libm-test.inc (yn_test): Add another test.
31818         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31819         to ERANGE when the result is +-Inf.
31820         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31821         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31822         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31823         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31824
31825 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
31826
31827         * conform/data/time.h-data (NULL): Use macro-constant.  Require
31828         equal to 0.
31829         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
31830         clock_t.
31831         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
31832
31833 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
31834
31835         * configure.in <sysdeps resolving>: Correct printing
31836         Implies_before.
31837         * configure: Regenerate.
31838
31839 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
31840
31841         * math/w_ilogb.c: Include <limits.h>.
31842         * math/w_ilogbl.c: Likewise.
31843
31844 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31845
31846         * manual/lang.texi (__va_copy): Document primarily as ISO C99
31847         va_copy.  Document allowing for unavailable va_copy only as
31848         pre-C99 compatibility.
31849         * manual/string.texi (Copying and Concatenation): Use va_copy
31850         instead of __va_copy in concat example.
31851
31852 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
31853
31854         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31855         (__sendto): Use create_address_port.  Initialize APORT and deallocate
31856         it if not null.
31857
31858         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31859         with O_NOLINK passed to __file_name_lookup.
31860
31861         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31862         with O_NOLINK passed to __file_name_lookup.
31863
31864         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31865         negative N or less than NGIDS.
31866
31867         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31868         type to string_t.  Set ERANGE as errno and return it if NAME is not big
31869         enough.  Use memcpy instead of strncpy.
31870
31871 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31872
31873         * elf/Makefile (check-data): Remove.
31874         (localplt.data): New vpath directive.
31875         ($(objpfx)check-localplt.out): Use localplt.data from vpath
31876         instead of $(check-data).
31877         * scripts/data/localplt-generic.data: Move to ...
31878         * sysdeps/generic/localplt.data: ... here.
31879         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31880         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31881         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31883         ... here.
31884         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31886         ... here.
31887         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31888         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31889         ... here.
31890         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31891         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31892         ... here.
31893         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31894         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31895         ... here.
31896         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31897         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31898         ... here.
31899
31900 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31901
31902         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31903         PPC32 and PPC64 files.
31904         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31905         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31906
31907 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31908
31909         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31910         __makecontext_ret to ...
31911         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31912         ... here and call exit if uc_link is NULL.  New file.
31913         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31914         __makecontext_ret.S.
31915         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31916         __makecontext_ret to ...
31917         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31918         ... here and call exit if uc_link is NULL.  New file.
31919         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31920         __makecontext_ret.S.
31921
31922 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31923
31924         * elf/elf.h (R_390_IRELATIVE): New definition.
31925         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31926         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
31927         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31928         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31929         (elf_machine_lazy_rel): Likewise.
31930         * sysdeps/s390/dl-irel.h: New file.
31931         * sysdeps/s390/s390-64/memcpy.S: New asm code.
31932         * sysdeps/s390/s390-64/memset.S: New asm code.
31933         * sysdeps/s390/s390-64/memcmp.S: New asm code.
31934         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31935         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31936         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31937         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31938         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31939         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31940         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31941         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31942         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31943         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31944         * sysdeps/s390/s390-32/memcpy.S: New asm code.
31945         * sysdeps/s390/s390-32/memset.S: New asm code.
31946         * sysdeps/s390/s390-32/memcmp.S: New asm code.
31947
31948 2012-07-17  Marek Polacek  <polacek@redhat.com>
31949
31950         [BZ #14349]
31951         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31952         * sysdeps/s390/s390-64/configure.in: Likewise.
31953         * sysdeps/sparc/configure.in: Likewise.
31954         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31955         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31956         * sysdeps/i386/configure.in: Likewise.
31957         * sysdeps/x86_64/configure.in: Likewise.
31958         * sysdeps/sh/configure.in: Likewise.
31959         * sysdeps/s390/s390-32/configure: Regenerated.
31960         * sysdeps/s390/s390-64/configure: Likewise.
31961         * sysdeps/x86_64/configure: Likewise.
31962         * sysdeps/sh/configure: Likewise.
31963         * sysdeps/powerpc/powerpc64/configure: Likewise.
31964         * sysdeps/powerpc/powerpc32/configure: Likewise.
31965         * sysdeps/sparc/configure: Likwise.
31966         * sysdeps/i386/configure: Likewise.
31967
31968         * elf/dl-open.c: Comment fixes.
31969
31970 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
31971
31972         * Makefile [CXX] (check-data): Remove.
31973         [CXX] (c++-types.data): New vpath directive.
31974         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31975         vpath.  Do not allow for C++ type data being missing.
31976         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31977         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31978         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31979         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31980         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31981         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31982         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31984         ... here.
31985         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31987         ... here.
31988         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31990         ... here.
31991         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31992         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31993         ... here.
31994         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31995         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31996         ... here.
31997         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31999         ... here.
32000         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32001         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32002         ... here.
32003         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32005
32006         * elf/tls-macros.h (TLS_LE): Move architecture-specific
32007         definitions to architecture-specific files.
32008         (TLS_IE): Likewise.
32009         (TLS_LD): Likewise.
32010         (TLS_GD): Likewise.
32011         * sysdeps/i386/tls-macros.h: New file.
32012         * sysdeps/powerpc/tls-macros.h: Likewise.
32013         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32014         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32015         * sysdeps/sh/tls-macros.h: Likewise.
32016         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32017         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32018         * sysdeps/x86_64/tls-macros.h: Likewise.
32019
32020 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32021
32022         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32023         zero value for regular exit case.
32024
32025         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32026         (__start_context): Preserve zero value for regular exit case.
32027
32028 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32029             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32030
32031         * manual/setjmp.texi (setcontext): Clarify normal process
32032         termination when uc_link is the null pointer.
32033         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32034         exit call.
32035
32036 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
32037
32038         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32039         preprocessor.  Test for each exception mask separately.
32040
32041 2012-07-16  Andreas Jaeger  <aj@suse.de>
32042
32043         * po/ru.po: Update from translation team.
32044
32045 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
32046
32047         * conform/data/string.h-data (NULL): Use macro-constant.  Require
32048         equal to 0.
32049         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32050         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32051         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32052         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32053         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32054
32055 2012-07-13  Andreas Jaeger  <aj@suse.de>
32056
32057         * po/fr.po: Update from translation team.
32058
32059 2012-07-12  Marek Polacek  <polacek@redhat.com>
32060
32061         [BZ #14173]
32062         * math/libm-test.inc (yn_test): Add test for BZ #14173.
32063         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32064         loop condition.
32065
32066 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
32067
32068         [BZ #13717]
32069         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32070         Change to 2.4.1 where previously 2.4.0.
32071         * sysdeps/unix/sysv/linux/configure: Regenerated.
32072         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32073         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32074         version.
32075         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32076         (__ASSUME_AT_CLKTCK): Remove.
32077         (__ASSUME_AT_PAGESIZE): Likewise.
32078         (__ASSUME_AT_XID): Likewise.
32079         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32080         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32081         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32082         unconditionally.
32083         (HAVE_AUX_PAGESIZE): Likewise.
32084         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32085         [__ASSUME_AT_CLKTCK]: Make code unconditional.
32086         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32087
32088 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
32089
32090         [BZ #14307]
32091         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32092         the temporary buffer used to invoke __gethostbyname2_r,
32093         __gethostbyaddr_r and gethostbyname4_r to make room for struct
32094         host_data / struct gaih_addrtuple.
32095         * resolv/nss_dns/dns-host.c (global scope): Move definition of
32096         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32097         header file nss/nsswitch.h.
32098         * nss/nsswitch.h (global scope): Add definition of implementation
32099         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32100         resolv/nss_dns/dns-host.c).
32101
32102 2012-07-11  Andreas Jaeger  <aj@suse.de>
32103
32104         * po/fr.po: Update from translation team.
32105
32106         * po/sv.po: Update from translation team
32107         * po/fr.po: Another update from translation team.
32108
32109 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32110
32111         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32112         for subnormals or multiply small sinh result by itself.
32113         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32115
32116 2012-07-11  David S. Miller  <davem@davemloft.net>
32117
32118         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32119
32120 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
32121
32122         [BZ #14347]
32123         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32124         (INTERNAL_MARK): Shift it here.
32125
32126 2012-07-10  Marek Polacek  <polacek@redhat.com>
32127
32128         [BZ #14151]
32129         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
32130         libc_cv_asm_global_directive with .globl.
32131         * configure: Regenerated.
32132         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32133         with .globl.
32134         * sysdeps/i386/configure: Regenerated.
32135         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32136         with .globl.
32137         * sysdeps/x86_64/configure: Regenerated.
32138         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32139         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32140         * elf/tst-unique2mod2.c: Likewise.
32141         * elf/tst-unique2mod1.c: Likewise.
32142         * elf/tst-unique1mod2.c: Likewise.
32143         * elf/tst-unique1mod1.c: Likewise.
32144         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32145         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32146         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32147         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32148         * sysdeps/mach/sysdep.h: Likewise.
32149         * sysdeps/i386/sysdep.h: Likewise.
32150         * sysdeps/i386/i386-mcount.S: Likewise.
32151         * sysdeps/x86_64/_mcount.S: Likewise.
32152         * sysdeps/x86_64/sysdep.h: Likewise.
32153         * sysdeps/sh/_mcount.S: Likewise.
32154         * sysdeps/sh/sysdep.h: Likewise.
32155         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32156         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32157         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32158         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32159         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32160         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32161         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32162         * locale/localeinfo.h: Likewise.
32163         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32164         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32165
32166 2012-07-09  Roland McGrath  <roland@hack.frob.com>
32167
32168         [BZ #14336]
32169         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32170         system".
32171         * manual/message.texi (The Uniforum approach): Likewise.
32172         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32173         (glibc iconv Implementation): Likewise.
32174
32175 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
32176
32177         [BZ #14337]
32178         * math/s_clog.c (__clog): Avoid scaling a value down where that
32179         could result in underflow.
32180         * math/s_clog10.c (__clog10): Likewise.
32181         * math/s_clog10f.c (__clog10f): Likewise.
32182         * math/s_clog10l.c (__clog10l): Likewise.
32183         * math/s_clogf.c (__clogf): Likewise.
32184         * math/s_clogl.c (__clogl): Likewise.
32185         * math/libm-test.inc (clog_test): Add more tests.
32186         (clog10_test): Likewise.
32187         * sysdeps/i386/fpu/libm-test-ulps: Update.
32188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32189
32190 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
32191
32192         [BZ #14283]
32193         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32194         by 7 not 8 to examine high bit of fractional part.
32195
32196         [BZ #14042]
32197         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32198         for call to __mcount_internal.
32199         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32200         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32201         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32202
32203 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
32204
32205         [BZ #14154]
32206         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32207         approximation for values within 0x1p-13f of an odd multiple of
32208         pi/4.
32209         * math/libm-test.inc (tan_test): Do not allow spurious underflow
32210         exception.  Add more tests.
32211         * sysdeps/i386/fpu/libm-test-ulps: Update.
32212
32213         [BZ #6778]
32214         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32215         inputs and return -1 for them.  Do not check for +Inf in case not
32216         reachable for +Inf.
32217         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32218         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32219         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32220         and return -1 for them.  Do not check for +Inf in case not
32221         reachable for +Inf.
32222         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32223         define.
32224         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32225         and return -1 for them.  Do not check for +Inf in case not
32226         reachable for +Inf.
32227         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
32228         spurious underflow.
32229         * sysdeps/i386/fpu/libm-test-ulps: Update.
32230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32231
32232 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
32233
32234         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32235
32236 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
32237
32238         [BZ #14157]
32239         [BZ #14331]
32240         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32241         could result in spurious underflow.  Scale down values above
32242         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32243         * math/s_csqrtf.c (__csqrtf): Likewise.
32244         * math/s_csqrtl.c (__csqrtl): Likewise.
32245         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
32246         spurious underflow.
32247         * sysdeps/i386/fpu/libm-test-ulps: Update.
32248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32249
32250 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
32251
32252         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32253         xopen-msg.sed.
32254         * catgets/xopen-msg.awk: New file.
32255         * catgets/xopen-msg.sed: Removed.
32256
32257         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32258         po2text.sed.
32259         * intl/po2test.awk: New file.
32260         * intl/po2test.sed: Removed.
32261
32262 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
32263
32264         [BZ #14328]
32265         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32266         or multiply small sinh result by itself.
32267         * math/s_ctanf.c (__ctanf): Likewise.
32268         * math/s_ctanh.c (__ctanh): Likewise.
32269         * math/s_ctanhf.c (__ctanhf): Likewise.
32270         * math/s_ctanhl.c (__ctanhl): Likewise.
32271         * math/s_ctanl.c (__ctanl): Likewise.
32272         * math/libm-test.inc (ctan_test_tonearest): New function.
32273         (ctan_test_towardzero): Likewise.
32274         (ctan_test_downward): Likewise.
32275         (ctan_test_upward): Likewise.
32276         (ctanh_test_tonearest): Likewise.
32277         (ctanh_test_towardzero): Likewise.
32278         (ctanh_test_downward): Likewise.
32279         (ctanh_test_upward): Likewise.
32280         (main): Call these new functions.
32281         * sysdeps/i386/fpu/libm-test-ulps: Update.
32282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32283
32284 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
32285
32286         * .gitignore: Delete /ports entry.
32287
32288 2012-07-03  Andreas Jaeger  <aj@suse.de>
32289
32290         * po/bg.po: Update from translation team.
32291         * po/cs.po: Likewise.
32292         * po/de.po: Likewise.
32293         * po/hr.po: Likewise.
32294         * po/nl.pl: Likewise.
32295         * po/pl.po: Likewise.
32296         * po/vi.po: Likewise.
32297
32298 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
32299
32300         * Makeconfig [!+link] (+link-before-libc): New variable.
32301         [!+link] (+link-after-libc): Likewise.
32302         [!+link] (+link-tests): Likewise.
32303         [!+link] (+link): Define in terms of $(+link-before-libc) and
32304         $(+link-after-libc).
32305         [!+link-static] (+link-static-before-libc): New variable.
32306         [!+link-static] (+link-static-after-libc): Likewise.
32307         [!+link-static] (+link-static-tests): Likewise.
32308         [!+link-static] (+link-static): Define in terms of
32309         $(+link-static-before-libc) and $(+link-static-after-libc).
32310         [build-shared] (link-libc-before-gnulib): New variable.
32311         [build-shared] (link-libc-tests): Likewise.
32312         [build-shared] (link-libc): Define in terms of
32313         $(link-libc-before-gnulib).
32314         [!build-shared] (link-libc-tests): New variable.
32315         (link-libc-static-tests): New variable.
32316         [!gnulib] (gnulib-arch): New variable.
32317         [!gnulib] (gnulib-tests): Likewise.
32318         [!gnulib] (static-gnulib-arch): Likewise.
32319         [!gnulib] (static-gnulib-tests): Likewise.
32320         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
32321         Define with "=" instead of ":=".
32322         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
32323         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
32324         * Rules (binaries-all-notests): New variable.
32325         (binaries-all-tests): Likewise.
32326         (binaries-static-notests): Likewise.
32327         (binaries-static-tests): Likewise.
32328         (binaries-all): Define using $(binaries-all-notests) and
32329         $(binaries-all-tests).
32330         (binaries-static): Define using $(binaries-static-notests) and
32331         $(binaries-static-tests).
32332         (binaries-shared-tests): New variable.
32333         (binaries-shared-notests): Likewise.
32334         (binaries-shared): Remove variable.
32335         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32336         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32337         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32338         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32339         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32340         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32341         * elf/Makefile (sln-modules): New variable.
32342         (extra-objs): Add $(sln-modules:=.o).
32343         (ldconfig-modules): Add static-stubs.
32344         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32345         * elf/static-stubs.c: New file.
32346
32347         [BZ #14283]
32348         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32349         by 7 not 8 to examine high bit of fractional part.  Use volatile
32350         variables when splitting into final array of floats if
32351         __FLT_EVAL_METHOD__ != 0.
32352         * math/libm-test.inc (cos_test): Add another test.
32353         (sin_test): Likewise.
32354         * sysdeps/i386/fpu/libm-test-ulps: Update.
32355
32356         [BZ #14273]
32357         * math/libm-test.inc (cosh_test): Add more tests.
32358
32359         * version.h (RELEASE): Set to "development".
32360         (VERSION): Set to "2.16.90".
32361
32362 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
32363
32364         * NEWS: Update copyright. Remove last-updated date.
32365         Mention math library bug fixes and timezone data changes.
32366         * README: Mention GNU/Hurd, x32, and HPPA support status.
32367
32368 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
32369
32370         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32371
32372 2012-06-27  Andreas Jaeger  <aj@suse.de>
32373
32374         * manual/contrib.texi (Contributors): Add Samuel Thibault.
32375
32376 2012-06-25  Andreas Jaeger  <aj@suse.de>
32377
32378         * sysdeps/s390/fpu/libm-test-ulps: Update.
32379
32380 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
32381             Thomas Schwinge  <thomas@codesourcery.com>
32382
32383         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32384         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32385         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32386         fanotify_mark.
32387
32388 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
32389
32390         * sysdeps/mach/start.c: Remove file.
32391         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32392         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32393         * sysdeps/sh/init-first.c: Likewise.
32394
32395         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32396         registers for frame unwinding purposes, add CFI directives.
32397         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32398         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32399         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32400         Likewise.
32401
32402         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32403         __fortify_fail returning.
32404         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32405
32406         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32407         sysdeps/sh/____longjmp_chk.S.
32408         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32409         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32410         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32411         (gen-as-const-headers): Append sigaltstack-offsets.sym.
32412
32413         * sysdeps/sh/abort-instr.h: New file.
32414         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32415         process in case exit returns.
32416
32417         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32418         initialize the GOT register before use.
32419
32420         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32421         calculation of ARGC > 4.
32422
32423         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32424         meaningful names to some local labels.
32425
32426 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32427             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32428
32429         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32430         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32431         (__arch_compare_and_exchange_val_16_acq): Likewise.
32432         (__arch_compare_and_exchange_val_32_acq): Likewise.
32433         (atomic_exchange_and_add): Fix gUSA sequence.
32434         (atomic_add): Likewise.
32435         (atomic_add_negative): Likewise.
32436         (atomic_add_zero): Likewise.
32437         (atomic_bit_test_set): Likewise.
32438
32439 2012-06-22  Andreas Schwab  <schwab@redhat.com>
32440
32441         [BZ #13579]
32442         * include/link.h (struct link_map): Add l_free_initfini.
32443         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32444         l_initfini.
32445         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32446         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32447         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32448         set.
32449
32450 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
32451
32452         * configure.in: Use AC_LANG_SOURCE.
32453         * configure: Regenerate.
32454
32455 2012-06-22  Roland McGrath  <roland@hack.frob.com>
32456
32457         * configure.in (libc_cv_localstatedir): New substituted variable.
32458         * configure: Regenerated.
32459         * config.make.in (localstatedir): New variable, substituted from
32460         libc_cv_localstatedir.
32461         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32462         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32463         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32464         * sysdeps/gnu/configure: Regenerated.
32465
32466 2012-06-21  Jeff Law  <law@redhat.com>
32467
32468         [BZ #14277]
32469         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32470         free.  Simplify list management for _LIBC case.
32471
32472 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
32473
32474         [BZ #14273]
32475         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32476         Clear sign bit of 64-bit integer value before comparing against
32477         overflow value.
32478
32479         * sysdeps/mach/configure: Regenerated.
32480
32481 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
32482
32483         [BZ #14278]
32484         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32485
32486 2012-06-21  Jeff Law  <law@redhat.com>
32487
32488         [BZ #13882]
32489         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
32490         uint16_t for elements in the "seen" array to avoid char overflows.
32491         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32492         * elf/dl-open.c (dl_open_worker): Likewise.
32493
32494 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
32495
32496         * scripts/list-sources.sh: Scan PORTS for translations.
32497         * po/libc.pot: Regenerated.
32498
32499 2012-06-21  Andreas Jaeger  <aj@suse.de>
32500
32501         [BZ #12194]
32502         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32503         warning.
32504         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32505         * bits/byteswap-16.h (__bswap_16): Likewise.
32506         * bits/byteswap.h (__bswap_constant_16): Likewise.
32507
32508 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
32509
32510         [BZ #14117]
32511         * sysdeps/i386/fpu_control.h: Removed.
32512         * sysdeps/x86_64/fpu_control.h: Moved to ...
32513         * sysdeps/x86/fpu_control.h: Here.
32514
32515         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32516         (_FPU_SETCW): Likewise.
32517
32518 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
32519
32520         [BZ #14117]
32521         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32522         * sysdeps/x86/fpu/bits/mathinline.h: This.
32523         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32524
32525         [BZ #14050]
32526         [BZ #14117]
32527         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32528         functions if __x86_64__ is defined.
32529
32530 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
32531
32532         * string/endian.h: Add !__ASSEMBLER__ condition for including
32533         conversion interfaces.
32534
32535 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
32536
32537         [BZ #14241]
32538         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32539         of ABS(x) in calculating zero to negative powers other than odd
32540         integers.
32541         * math/libm-test.inc (pow_test): Add more tests.
32542
32543 2012-06-15  Andreas Jaeger  <aj@suse.de>
32544
32545         * manual/contrib.texi (Contributors): Update entry of Liubov
32546         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32547         Machado Filho.
32548
32549 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
32550
32551         * string/string.h: Add __wur to GNU version of strerror_r.
32552
32553 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
32554
32555         [BZ #14229]
32556         * string/Makefile (tests): Add tst-strtok_r.
32557         * string/tst-strtok_r.c: New file.
32558         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32559         RAX_LP/RDX_LP on SAVE_PTR.
32560
32561 2012-06-14  Roland McGrath  <roland@hack.frob.com>
32562
32563         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32564
32565 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
32566
32567         * libm_test.inc (csqrt_test): Allow more spurious underflow
32568         exceptions.
32569         (j0_test): Likewise.
32570         (j1_test): Likewise.
32571         (y0_test): Likewise.
32572         (y1_test): Likewise.
32573
32574 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
32575
32576         * po/Makefile (libc.pot): Use UTF-8 charset.
32577
32578 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
32579
32580         [BZ #14210]
32581         Suppress sign-conversion warning from FD_SET.
32582         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32583         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32584         not unsigned long int.
32585         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32586
32587 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
32588
32589         [BZ #14050]
32590         [BZ #14117]
32591         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32592         __extern_always_inline instead of __extern_inline.
32593         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32594         (__signbit): Likewise.
32595         (__signbitl): Support C++ namespace.
32596         (lrintf): New inline function.
32597         (lrint): Likewise.
32598         (llrintf): Likewise.
32599         (llrint): Likewise.
32600         (fmaxf): Likewise.
32601         (fmax): Likewise.
32602         (fminf): Likewise.
32603         (fmin): Likewise.
32604         (rint): Likewise.
32605         (rintf): Likewise.
32606         (ceil): Likewise.
32607         (ceilf): Likewise.
32608         (floor): Likewise.
32609         (floorf): Likewise.
32610         (nearbyint): Likewise.
32611         (nearbyintf): Likewise.
32612
32613 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
32614
32615         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32616         non-default versions.
32617
32618 2012-06-11  Roland McGrath  <roland@hack.frob.com>
32619
32620         [BZ #14218]
32621         * manual/argp.texi (Argp): Reword argp_parse description slightly.
32622
32623 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
32624
32625         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32626         (FE_UPWARD, FE_DOWNWARD): Don't define.
32627         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32628         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32629
32630         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32631         reading it.
32632         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32633         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32634
32635 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32636
32637         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32638         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32639         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32640         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32641
32642 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
32643
32644         [BZ #14117]
32645         * sysdeps/i386/fpu/bits/fenv.h: Removed.
32646         * sysdeps/i386/fpu/Implies: New file.
32647         * sysdeps/x86_64/fpu/Implies: Likewise.
32648         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32649         * sysdeps/x86/fpu/bits/fenv.h: This.
32650
32651         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32652         __SSE_MATH__.
32653
32654 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32655
32656         [BZ #14134]
32657         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32658         character 0xffff that matches the last element of the
32659         conversion table.
32660
32661 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32662
32663         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32664         fmodl commit.
32665
32666 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32667
32668         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32669         values higher than 25.6283.
32670
32671 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32672
32673         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32674         subnormal exponent extraction and add some __builtin_expect.
32675         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32676         Fix for subnormal mantissa calculation.
32677
32678 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
32679
32680         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32681         cpu2 is -1 and errno is not ENOSYS.
32682
32683 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
32684
32685         [BZ #14117]
32686         * sysdeps/i386/i486/bits/string.h: Renamed to ...
32687         * sysdeps/x86/bits/string.h: This.
32688         * sysdeps/x86_64/bits/string.h: Removed.
32689
32690         * sysdeps/i386/i486/bits/string.h: Define inline functions only
32691         if not compiling for x86-64, but compiling for >= i486.
32692
32693         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32694         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32695
32696         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32697         New macro from Linux kernel 3.4.0.
32698         (FP_XSTATE_MAGIC2): Likewise.
32699         (FP_XSTATE_MAGIC2_SIZE): Likewise.
32700         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32701         (struct _fpx_sw_bytes): New struct.
32702         (struct _xsave_hdr): Likewise.
32703         (struct _ymmh_state): Likewise.
32704         (struct _xstate): Likewise.
32705
32706         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32707         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32708         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32709         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32710         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32711         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32712
32713         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32714         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32715         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32716         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32717         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32718         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32719
32720 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32721
32722         [BZ #13743]
32723         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32724         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32725         (sysdep_headers): Include sys/platform/ppc.h.
32726         * sysdeps/powerpc/test-gettimebase.c: Test for
32727         __ppc_get_timebase() to catch future ISA opcode/insn changes.
32728         * manual/Makefile (appendices): Include platform.texi.
32729         * manual/contrib.texi (Contributors): Update @node pointers.
32730         * manual/maint.texi (Maintenance): Likewise.
32731         (Platform): New node.
32732         * manual/platform.texi: New file.  Document the new features.
32733
32734 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32735             Jakub Jelinek  <jakub@redhat.com>
32736
32737         [BZ #14188]
32738         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32739         where __builtin_expect is unavailable.
32740
32741 2012-06-03  David S. Miller  <davem@davemloft.net>
32742
32743         * stdlib/longlong.h: Updated from GCC.
32744
32745 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
32746
32747         [BZ #14042]
32748         * sysdeps/powerpc/powerpc32/mcount.c: New file.
32749         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32750         __mcount_internal.
32751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32752         (GLIBC_2.16): Likewise.
32753
32754 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32755
32756         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32757
32758 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32759
32760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32761         (default-abi): New variable.
32762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32763         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32764         variable.
32765         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32766         Likewise.
32767         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32768         Likewise.
32769         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32770         Likewise.
32771
32772         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32773         definition.  Document in comment.
32774
32775 2012-06-01  David S. Miller  <davem@davemloft.net>
32776
32777         * stdlib/longlong.h: Updated from GCC.
32778
32779 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32780
32781         [BZ #14117]
32782         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32783         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32784         sys/debugreg.h sys/io.h here.
32785         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32786         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32787         sys/io.h.
32788         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32789         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32790         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32791         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32792         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32793         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32794
32795         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32796         Define only if __x86_64__ is defined.
32797
32798 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32799
32800         [BZ #14048]
32801         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32802         Use int64_t for variable i.
32803         * math/libm-test.inc (fmod_test): Add more tests.
32804
32805         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32806         z computation is not scheduled after fetestexcept.
32807         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32808         Use math_force_eval instead of asm to ensure calculation scheduled
32809         before exception test.
32810         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32811         Ensure a1 + u.d computation is not scheduled after fetestexcept.
32812
32813 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
32814
32815         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32816         computation is not scheduled after fetestexcept.
32817
32818 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32819
32820         [BZ #14117]
32821         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32822         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32823
32824 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32825
32826         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32827         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32828
32829 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32830
32831         [BZ #14117]
32832         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32833         <bits/wordsize.h>.
32834         (__WCHAR_MIN): Support __WORDSIZE == 64.
32835         (__WCHAR_MAX): Likewise.
32836
32837         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32838         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32839
32840         [BZ #14183]
32841         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32842         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32843
32844         [BZ #14117]
32845         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32846         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32847
32848         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32849         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32850
32851         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32852         Defined to 1 if __x86_64__ isn't defined.
32853         (_STAT_VER_LINUX_OLD): New.
32854         (st_atime): Remove duplicate.
32855         (st_mtime): Likewise.
32856         (st_ctime): Likewise.
32857
32858 2012-05-31  David S. Miller  <davem@davemloft.net>
32859
32860         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32861         entries.
32862
32863 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
32864
32865         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32866         gen-libm-test.pl.
32867
32868         [BZ #14132]
32869         * elf/dl-reloc.c: Include <_itoa.h>.
32870         (_dl_reloc_bad_type): Remove use of INTUSE.
32871         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32872         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32873         * stdio-common/psiginfo.c (psiginfo): Likewise.
32874         * stdio-common/psignal.c (psignal): Likewise.
32875         * string/strsignal.c (strsignal): Likewise.
32876         * include/signal.h (_sys_siglist): Declare hidden proto.
32877         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
32878         INTVARDEF with libc_hidden_data_def.
32879         * stdio-common/itoa-udigits.c: Likewise.
32880         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32881         (_itoa_lower_digits_internal): Remove declaration.
32882         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32883         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32884         (_sys_sigabbrev_internal): Remove aliases.
32885         (_sys_siglist): Define hidden alias.
32886
32887 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
32888
32889         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32890         bits/sysctl.h.
32891
32892 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32893
32894         [BZ #14117]
32895         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32896         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32897
32898         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32899         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32900         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32901         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32902         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32903         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32904
32905         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32906         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32907         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32908
32909         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32910         with __addr.
32911         (insw): Likewise.
32912         (insl): Likewise.
32913         (outsb): Likewise.
32914         (outsw): Likewise.
32915         (outsl): Likewise.
32916
32917         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32918         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32919         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32920
32921         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32922         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32923         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32924         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32925         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32926         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32927
32928         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32929         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32930
32931         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32932         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32933
32934         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32935         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32936         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32937
32938         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32939         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32940         to ...
32941         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32942
32943         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32944         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32945         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32946
32947         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32948         for x86-64.
32949         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32950
32951 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
32952
32953         * math/math.h (M_El): Use two more decimal places.
32954         (M_LOG2El): Likewise.
32955         (M_LOG10El): Likewise.
32956         (M_LN2l): Likewise.
32957         (M_LN10l): Likewise.
32958         (M_PIl): Likewise.
32959         (M_PI_2l): Likewise.
32960         (M_PI_4l): Likewise.
32961         (M_1_PIl): Likewise.
32962         (M_2_PIl): Likewise.
32963         (M_2_SQRTPIl): Likewise.
32964         (M_SQRT2l): Likewise.
32965         (M_SQRT1_2l): Likewise.
32966
32967 2012-05-31  David S. Miller  <davem@davemloft.net>
32968
32969         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32970         values between float registers.
32971         * sysdeps/sparc/sparc64/memset.S: Likewise.
32972         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32973
32974 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
32975
32976         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32977         -D_FORTIFY_SOURCE=1.
32978         (CPPFLAGS-tst-longjmp_chk.c): Define.
32979         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32980         (CPPFLAGS-tst-longjmp_chk2.c): Define.
32981         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32982         CFLAGS-tst-wchar-h.c.
32983
32984 2012-05-31  Marek Polacek  <polacek@redhat.com>
32985
32986         [BZ #14132]
32987         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32988         __endmntent_internal): Remove declaration.
32989         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32990         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32991         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32992
32993 2012-05-30  David S. Miller  <davem@davemloft.net>
32994
32995         * sysdeps/sparc/sparc32/soft-fp/q_util.c
32996         (___Q_simulate_exceptions): Use real FP ops rather than writing
32997         into the %fsr.
32998         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32999         Likewise.
33000
33001 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33002
33003         [BZ #14117]
33004         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33005         * sysdeps/x86/bits/xtitypes.h: This.
33006
33007         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33008         * sysdeps/x86/bits/wordsize.h: This.
33009
33010         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33011         * sysdeps/x86/bits/huge_vall.h: This.
33012
33013         * sysdeps/i386/bits/select.h: Removed.
33014         * sysdeps/x86_64/bits/select.h: Renamed to ...
33015         * sysdeps/x86/bits/select.h: This.
33016
33017         * sysdeps/i386/bits/setjmp.h: Removed.
33018         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33019         * sysdeps/x86/bits/setjmp.h: This.
33020
33021         * sysdeps/i386/bits/mathdef.h: Removed.
33022         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33023         * sysdeps/x86/bits/mathdef.h: This.
33024
33025 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
33026
33027         [BZ #14132]
33028         * include/sys/socket.h (__connect_internal)
33029         (__libc_sa_len_internal): Remove declaration.
33030         (__connect, __libc_sa_len): Declare hidden_proto.
33031         (SA_LEN): Remove use of INTUSE.
33032         * socket/connect.c: Add libc_hidden_def.
33033         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33034         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33035         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33036         alias.
33037         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33038         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33039         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33040         of adding _internal alias.
33041
33042 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33043
33044         [BZ #14117]
33045         * sysdeps/i386/bits/link.h: Removed.
33046         * sysdeps/i386/bits/linkmap.h: Likewise.
33047         * sysdeps/x86_64/bits/link.h: Renamed to ...
33048         * sysdeps/x86/bits/link.h: This.
33049         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33050         * sysdeps/x86/bits/linkmap.h: This.
33051
33052         * sysdeps/i386/bits/endian.h: Removed.
33053         * sysdeps/x86_64/bits/endian.h: Renamed to ...
33054         * sysdeps/x86/bits/endian.h: This.
33055
33056         * sysdeps/i386/bits/byteswap.h: Removed.
33057         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33058         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33059         * sysdeps/x86/bits/byteswap.h: This.
33060         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33061         * sysdeps/x86/bits/byteswap-16.h: This.
33062         * sysdeps/i386/Implies: Add x86.
33063         * sysdeps/x86_64/Implies: Likewise.
33064
33065 2012-05-30  David S. Miller  <davem@davemloft.net>
33066
33067         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33068         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33069         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33070         (FP_TRAPPING_EXCEPTIONS): Define.
33071         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33072         (FP_TRAPPING_EXCEPTIONS): Define.
33073         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33074         subnormals only when inexact has been signalled or underflow
33075         exceptions are enabled.
33076         (_FP_PACK_CANONICAL): Likewise.
33077
33078 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33079
33080         [BZ #14183]
33081         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33082         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33083
33084 2012-05-30  Richard Henderson  <rth@twiddle.net>
33085
33086         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33087         with #ifndef NOT_IN_libc.
33088
33089         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
33090         marked to avoid plt entry.
33091
33092 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33093
33094         [BZ #14112]
33095         * Makeconfig (default-abi): New macro.
33096         (abi-includes): Likewise.
33097         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
33098         $(abi-$(default-abi)-lib-soname) for soname if defined.
33099         ($(common-objpfx)gnu/lib-names.stmp): Generate from
33100         abi-variants.
33101         * Makefile (installed-stubs): Likewise.
33102         * include/stubs-biarch.h: Removed.
33103         * scripts/lib-names.awk: Only handle one library at a time.
33104         * scripts/soversions.awk: Remove WORDSIZE support.
33105         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33106         entries.
33107         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33108         Removed.
33109         (syscall-list-default-condition): Likewise.
33110         (syscall-list-default-condition): Likewise.
33111         (syscall-list-includes): Likewise.
33112         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33113         syscall-list-* with abi-*.  Handle undefined abi-variants.
33114         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33115         * sysdeps/unix/sysv/linux/i386/Implies: New file.
33116         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33117         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33118         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33119         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33120         Removed.
33121         (syscall-list-32-options): Likewise.
33122         (syscall-list-32-condition): Likewise.
33123         (syscall-list-64-options): Likewise.
33124         (syscall-list-64-condition): Likewise.
33125         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33126         macro.
33127         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33128         Renamed to ...
33129         (abi-*): This.
33130         (abi-64-ld-soname): New macro.
33131         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33132         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33133         Renamed to ...
33134         (abi-*): This.
33135         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33136         * sysdeps/x86_64/x32/shlib-versions: Likewise.
33137
33138 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
33139
33140         * sysdeps/unix/sysv/linux/kernel-features.h
33141         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33142         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33143         include <kernel-features.h>.
33144         [!__NR_ftruncate64]: Remove conditional code.
33145         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33146         [__NR_ftruncate64]: Make code unconditional.
33147         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33148         * sysdeps/unix/sysv/linux/truncate64.c: Do not
33149         include <kernel-features.h>.
33150         [!__NR_ftruncate64]: Remove conditional code.
33151         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33152         [__NR_ftruncate64]: Make code unconditional.
33153         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33155         include <kernel-features.h>.
33156         [!__NR_ftruncate64]: Remove conditional code.
33157         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33158         [__NR_ftruncate64]: Make code unconditional.
33159         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33161         include <kernel-features.h>.
33162         [!__NR_ftruncate64]: Remove conditional code.
33163         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33164         [__NR_ftruncate64]: Make code unconditional.
33165         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33166
33167         * configure.in (libc_cv_fpie): Weaken to a compile test using
33168         LIBC_TRY_CC_OPTION.
33169         * configure: Regenerated.
33170
33171 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33172
33173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33177         Refreshed.
33178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33179         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33181         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33183         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33184         Refreshed.
33185
33186 2012-05-27  David S. Miller  <davem@davemloft.net>
33187
33188         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33189         (___Q_zero): New.
33190         (__Q_simulate_exceptions): Return void.  Change to simulate
33191         exceptions by writing into the %fsr.
33192         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33193         (__Qp_handle_exceptions): Likewise.
33194         (numbers): Delete.
33195         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33196         __Qp_handle_exceptions.
33197         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33198         __Qp_handle_exceptions.
33199         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33200         as unused and give dummy FP_RND_NEAREST initializer.
33201         (FP_INHIBIT_RESULTS): Define.
33202         (___Q_simulate_exceptions): Update declaration.
33203         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33204         formatting.
33205         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33206         as unused and give dummy FP_RND_NEAREST initializer.
33207         (__Qp_handle_exceptions): Update declaration.
33208         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33209         formatting.
33210
33211 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
33212
33213         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33214         the temporary FPU control word.
33215         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33216         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33217         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33218         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33219         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33220         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33221         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33222         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33223         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33224         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33225         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33226
33227 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33228
33229         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33230         fields.
33231
33232 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
33233
33234         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33235         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33236         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33237         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33238         Likewise.
33239         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33240         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33241         Likewise.
33242
33243 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
33244
33245         * po/h.po: Update from translation team.
33246
33247 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
33248
33249         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33250
33251         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33252         handling of denormals.
33253         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33254         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33255         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33256         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33257         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33258         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33259         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33260         Likewise.
33261
33262 2012-05-26  Marek Polacek  <polacek@redhat.com>
33263
33264         [BZ #14152]
33265         * math/libm-test.inc (fma_test): Don't always expect underflow
33266         exception.
33267
33268 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33269
33270         [BZ #12416]
33271         * elf/tst-execstack.c: Include stackinfo.h.
33272         (do_test): Adjust test case to ensure that pthread_getattr_np
33273         behaviour remains the same after marking stack executable.
33274
33275 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33276
33277         * sysdeps/unix/sysv/linux/kernel-features.h
33278         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33279         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33280         kernel-features.h.
33281         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33282         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33283         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33284         kernel-features.h.
33285         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33286         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33287
33288 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
33289
33290         * configure.in: Define the default includes to being none.
33291         * configure: Regenerated.
33292
33293 2012-05-25  Roland McGrath  <roland@hack.frob.com>
33294
33295         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33296         * sysdeps/x86_64/setjmp.S: Likewise.
33297         * sysdeps/i386/bsd-setjmp.S: Likewise.
33298         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33299         * sysdeps/i386/setjmp.S: Likewise.
33300         * sysdeps/i386/__longjmp.S: Likewise.
33301         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33302         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33303
33304         * include/stap-probe.h: New file.
33305         * configure.in: Handle --enable-systemtap.
33306         * configure: Regenerated.
33307         * config.h.in (USE_STAP_PROBE): New #undef.
33308         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33309         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33310         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33311
33312 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33313
33314         [BZ #13717]
33315         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33316         to 2.4.0 where earlier.
33317         * sysdeps/unix/sysv/linux/configure: Regenerated.
33318         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33319         <kernel-features.h>.
33320         [__ASSUME_32BITUIDS]: Make code unconditional.
33321         [!__ASSUME_32BITUIDS]: Remove conditional code.
33322         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33323         <kernel-features.h>.
33324         [__ASSUME_32BITUIDS]: Make code unconditional.
33325         [!__ASSUME_32BITUIDS]: Remove conditional code.
33326         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33327         [__ASSUME_32BITUIDS]: Make code unconditional.
33328         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33329         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33330         <kernel-features.h>.
33331         [__ASSUME_32BITUIDS]: Make code unconditional.
33332         [!__ASSUME_32BITUIDS]: Remove conditional code.
33333         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33334         <kernel-features.h>.
33335         [__ASSUME_32BITUIDS]: Make code unconditional.
33336         [!__ASSUME_32BITUIDS]: Remove conditional code.
33337         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33338         <kernel-features.h>.
33339         [__ASSUME_32BITUIDS]: Make code unconditional.
33340         [!__ASSUME_32BITUIDS]: Remove conditional code.
33341         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33342         <kernel-features.h>.
33343         [__ASSUME_32BITUIDS]: Make code unconditional.
33344         [!__ASSUME_32BITUIDS]: Remove conditional code.
33345         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33346         <kernel-features.h>.
33347         [__ASSUME_32BITUIDS]: Make code unconditional.
33348         [!__ASSUME_32BITUIDS]: Remove conditional code.
33349         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33350         <kernel-features.h>.
33351         [__ASSUME_32BITUIDS]: Make code unconditional.
33352         [!__ASSUME_32BITUIDS]: Remove conditional code.
33353         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33354         <kernel-features.h>.
33355         [__ASSUME_32BITUIDS]: Make code unconditional.
33356         [!__ASSUME_32BITUIDS]: Remove conditional code.
33357         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33358         <kernel-features.h>.
33359         [__ASSUME_32BITUIDS]: Make code unconditional.
33360         [!__ASSUME_32BITUIDS]: Remove conditional code.
33361         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33362         <kernel-features.h>.
33363         [__ASSUME_32BITUIDS]: Make code unconditional.
33364         [!__ASSUME_32BITUIDS]: Remove conditional code.
33365         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33366         <kernel-features.h>.
33367         [__ASSUME_32BITUIDS]: Make code unconditional.
33368         [!__ASSUME_32BITUIDS]: Remove conditional code.
33369         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33370         <kernel-features.h>.
33371         [__NR_setresgid] (__setresgid): Do not declare.
33372         [__ASSUME_32BITUIDS]: Make code unconditional.
33373         [!__ASSUME_32BITUIDS]: Remove conditional code.
33374         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33375         <kernel-features.h>.
33376         [__NR_setresuid] (__setresuid): Do not declare.
33377         [__ASSUME_32BITUIDS]: Make code unconditional.
33378         [!__ASSUME_32BITUIDS]: Remove conditional code.
33379         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33380         <kernel-features.h>.
33381         [__ASSUME_32BITUIDS]: Make code unconditional.
33382         [!__ASSUME_32BITUIDS]: Remove conditional code.
33383         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33384         <kernel-features.h>.
33385         [__ASSUME_32BITUIDS]: Make code unconditional.
33386         [!__ASSUME_32BITUIDS]: Remove conditional code.
33387         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33388         <kernel-features.h>.
33389         [__ASSUME_32BITUIDS]: Make code unconditional.
33390         [!__ASSUME_32BITUIDS]: Remove conditional code.
33391         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33392         <kernel-features.h>.
33393         [__ASSUME_32BITUIDS]: Make code unconditional.
33394         [!__ASSUME_32BITUIDS]: Remove conditional code.
33395         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33396         <kernel-features.h>.
33397         [__ASSUME_32BITUIDS]: Make code unconditional.
33398         [!__ASSUME_32BITUIDS]: Remove conditional code.
33399         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33400         <kernel-features.h>.
33401         [__ASSUME_32BITUIDS]: Make code unconditional.
33402         [!__ASSUME_32BITUIDS]: Remove conditional code.
33403         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33404         <kernel-features.h>.
33405         [__ASSUME_32BITUIDS]: Make code unconditional.
33406         [!__ASSUME_32BITUIDS]: Remove conditional code.
33407         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33408         <kernel-features.h>.
33409         [__ASSUME_32BITUIDS]: Make code unconditional.
33410         [!__ASSUME_32BITUIDS]: Remove conditional code.
33411         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33412         <kernel-features.h>.
33413         [__ASSUME_32BITUIDS]: Make code unconditional.
33414         [!__ASSUME_32BITUIDS]: Remove conditional code.
33415         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33416         <kernel-features.h>.
33417         [__ASSUME_32BITUIDS]: Make code unconditional.
33418         [!__ASSUME_32BITUIDS]: Remove conditional code.
33419         * sysdeps/unix/sysv/linux/kernel-features.h
33420         (__ASSUME_SETRESUID_SYSCALL): Remove.
33421         (__ASSUME_SETRESGID_SYSCALL): Likewise.
33422         (__ASSUME_32BITUIDS): Likewise.
33423         (__ASSUME_LDT_WORKS): Likewise.
33424         (__ASSUME_O_DIRECTORY): Likewise.
33425         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33426         architecture but not kernel version.
33427         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33428         (__ASSUME_MMAP2_SYSCALL): Likewise.
33429         (__ASSUME_STAT64_SYSCALL): Likewise.
33430         (__ASSUME_IPC64): Likewise.
33431         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33432         <kernel-features.h>.
33433         [__ASSUME_32BITUIDS]: Make code unconditional.
33434         [!__ASSUME_32BITUIDS]: Remove conditional code.
33435         * sysdeps/unix/sysv/linux/opendir.c: Do not include
33436         <kernel-features.h>.
33437         [__ASSUME_O_DIRECTORY]: Make code unconditional.
33438         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33439         132096]: Remove conditional code.
33440         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33441         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33442         <kernel-features.h>.
33443         [__ASSUME_32BITUIDS]: Make code unconditional.
33444         [!__ASSUME_32BITUIDS]: Remove conditional code.
33445         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33446         <kernel-features.h>.
33447         [__ASSUME_32BITUIDS]: Make code unconditional.
33448         [!__ASSUME_32BITUIDS]: Remove conditional code.
33449         * sysdeps/unix/sysv/linux/setegid.c: Do not include
33450         <kernel-features.h>.
33451         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33452         unconditional.
33453         (__setresgid): Do not declare.
33454         [__ASSUME_32BITUIDS]: Make code unconditional.
33455         [!__ASSUME_32BITUIDS]: Remove conditional code.
33456         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33457         <kernel-features.h>.
33458         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33459         unconditional.
33460         (__setresuid): Do not declare.
33461         [__ASSUME_32BITUIDS]: Make code unconditional.
33462         [!__ASSUME_32BITUIDS]: Remove conditional code.
33463         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33464         <kernel-features.h>.
33465         [__ASSUME_32BITUIDS]: Make code unconditional.
33466         [!__ASSUME_32BITUIDS]: Remove conditional code.
33467         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33468         <kernel-features.h>.
33469         [__ASSUME_32BITUIDS]: Make code unconditional.
33470         [!__ASSUME_32BITUIDS]: Remove conditional code.
33471
33472 2012-05-25  Richard Henderson  <rth@twiddle.net>
33473
33474         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33475         dl_hwcap to ifunc resolver.
33476         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33477         elf_ifunc_invoke.
33478         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33479         dl_hwcap to ifunc resolver.
33480         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33481
33482 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33483
33484         [BZ #14153]
33485         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33486         for |x| <= 2**-26, not 2**-57.
33487         * math/libm-test.inc (acos_test): Do not allow spurious underflow
33488         exception.
33489
33490 2012-05-24  Jeff Law  <law@redhat.com>
33491
33492         * stdio-common/Makefile (tests): Add bug25.
33493         * stdio-common/bug25.c: New test.
33494
33495 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33496
33497         [BZ #13576]
33498         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33499         multiple of MALLOC_ALIGNMENT in size.
33500         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33501
33502 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33503
33504         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33505         Require >= 256.
33506         (FILENAME_MAX): Use macro-int-constant.
33507         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
33508         (_IOFBF): Use macro-int-constant.
33509         (_IOLBF): Likewise.
33510         (_IONBF): Likewise.
33511         (SEEK_CUR): Likewise.
33512         (SEEK_END): Likewise.
33513         (SEEK_SET): Likewise.
33514         (TMP_MAX): Likewise.
33515         (EOF): Use macro-int-constant.  Require < 0.
33516         (NULL): Use macro-constant.  Require == 0.
33517         (stdin): Require type to be FILE *.
33518         (stdout): Likewise.
33519         (stderr): Likewise.
33520         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33521         macro-int-constant.
33522         (EXIT_SUCCESS): Likewise.
33523         (NULL): Use macro-constant.  Require == 0.
33524         (RAND_MAX): Use macro-int-constant.
33525         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33526         [C99-based standards] (strtof): Require function.
33527         [C99-based standards] (strtold): Likewise.
33528         [C99-based standards] (strtoll): Likewise.
33529         [C99-based standards] (strtoull): Likewise.
33530         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33531         [ISO || ISO99 || ISO11] (limits.h): Likewise.
33532         [ISO || ISO99 || ISO11] (math.h): Likewise.
33533         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33534         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33535         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33536
33537 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
33538
33539         [BZ #14132]
33540         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33541         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33542         * intl/dgettext.c (DCGETTEXT): Likewise.
33543         * intl/gettext.c (DCGETTEXT): Likewise.
33544         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33545         * posix/regex_internal.h (gettext): Likewise.
33546         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33547         Remove declaration.
33548         * include/argz.h (__argz_count_internal)
33549         (__argz_stringify_internal): Remove declaration.
33550         (__argz_count, __argz_stringify): Declare hidden proto.
33551         * intl/dcgettext.c: Remove use of INTDEF.
33552         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33553         * string/argz-stringify.c: Likewise.
33554         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33555         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33556         Declare hidden proto.
33557         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33558         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33559         Declare hidden proto.
33560         * include/stdio.h (__asprintf_internal): Don't declare.
33561         (__asprintf): Don't define as macro.  Declare hidden proto.
33562         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33563         (__fsetlocking): Declare hidden proto.
33564         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33565         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33566         hidden proto.
33567         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33568         (_IO_setlinebuf): Remove use of INTUSE.
33569         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33570         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33571         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33572         Remove declaration.
33573         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33574         (_IO_do_flush): Remove use of INTUSE.
33575         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33576         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33577         (_IO_adjust_column, _IO_least_wmarker)
33578         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33579         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33580         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33581         (_IO_default_doallocate, _IO_wdefault_doallocate)
33582         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33583         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33584         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33585         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33586         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33587         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33588         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33589         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33590         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33591         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33592         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33593         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33594         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33595         proto.
33596         (_IO_flush_all_internal, _IO_adjust_column_internal)
33597         (_IO_default_uflow_internal, _IO_default_finish_internal)
33598         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33599         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33600         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33601         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33602         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33603         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33604         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33605         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33606         (_IO_file_close_internal, _IO_file_close_it_internal)
33607         (_IO_file_underflow_internal, _IO_file_overflow_internal)
33608         (_IO_file_init_internal, _IO_file_attach_internal)
33609         (_IO_file_fopen_internal, _IO_file_read_internal)
33610         (_IO_file_sync_internal, _IO_file_seek_internal)
33611         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33612         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33613         (_IO_str_underflow_internal, _IO_str_overflow_internal)
33614         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33615         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33616         (_IO_list_all_internal, _IO_link_in_internal)
33617         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33618         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33619         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33620         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33621         (_IO_do_write_internal, _IO_padn_internal)
33622         (_IO_getline_info_internal, _IO_getline_internal)
33623         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33624         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33625         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33626         (_IO_vfscanf_internal, _IO_vfprintf_internal)
33627         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33628         (_IO_init_internal, _IO_un_link_internal): Don't declare.
33629         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33630         with libc_hidden_ver, remove use of INTUSE.
33631         * libio/genops.c: Likewise.
33632         * libio/freopen.c: Likewise.
33633         * libio/freopen64.c: Likewise.
33634         * libio/iofclose.c: Likewise.
33635         * libio/iofdopen.c: Likewise.
33636         * libio/iofflush.c: Likewise.
33637         * libio/iofflush_u.c: Likewise.
33638         * libio/iofgets.c: Likewise.
33639         * libio/iofgets_u.c: Likewise.
33640         * libio/iofopen.c: Likewise.
33641         * libio/iofopncook.c: Likewise.
33642         * libio/iofread.c: Likewise.
33643         * libio/iofread_u.c: Likewise.
33644         * libio/ioftell.c: Likewise.
33645         * libio/iofwrite.c: Likewise.
33646         * libio/iogetline.c: Likewise.
33647         * libio/iogets.c: Likewise.
33648         * libio/iogetwline.c: Likewise.
33649         * libio/iopadn.c: Likewise.
33650         * libio/iopopen.c: Likewise.
33651         * libio/ioseekoff.c: Likewise.
33652         * libio/ioseekpos.c: Likewise.
33653         * libio/iosetbuffer.c: Likewise.
33654         * libio/iosetvbuf.c: Likewise.
33655         * libio/ioungetc.c: Likewise.
33656         * libio/ioungetwc.c: Likewise.
33657         * libio/iovdprintf.c: Likewise.
33658         * libio/iovsprintf.c: Likewise.
33659         * libio/iovsscanf.c: Likewise.
33660         * libio/memstream.c: Likewise.
33661         * libio/obprintf.c: Likewise.
33662         * libio/oldfileops.c: Likewise.
33663         * libio/oldiofclose.c: Likewise.
33664         * libio/oldiofdopen.c: Likewise.
33665         * libio/oldiofopen.c: Likewise.
33666         * libio/oldiopopen.c: Likewise.
33667         * libio/oldstdfiles.c: Likewise.
33668         * libio/putc.c: Likewise.
33669         * libio/setbuf.c: Likewise.
33670         * libio/setlinebuf.c: Likewise.
33671         * libio/stdfiles.c: Likewise.
33672         * libio/strops.c: Likewise.
33673         * libio/vasprintf.c: Likewise.
33674         * libio/vscanf.c: Likewise.
33675         * libio/vsnprintf.c: Likewise.
33676         * libio/vswprintf.c: Likewise.
33677         * libio/wfiledoalloc.c: Likewise.
33678         * libio/wfileops.c: Likewise.
33679         * libio/wgenops.c: Likewise.
33680         * libio/wmemstream.c: Likewise.
33681         * libio/wstrops.c: Likewise.
33682         * libio/__fpurge.c: Likewise.
33683         * libio/__fsetlocking.c: Likewise.
33684         * assert/assert.c: Likewise.
33685         * debug/fgets_chk.c: Likewise.
33686         * debug/fgets_u_chk.c: Likewise.
33687         * debug/fread_chk.c: Likewise.
33688         * debug/fread_u_chk.c: Likewise.
33689         * debug/gets_chk.c: Likewise.
33690         * debug/obprintf_chk.c: Likewise.
33691         * debug/vasprintf_chk.c: Likewise.
33692         * debug/vdprintf_chk.c: Likewise.
33693         * debug/vsnprintf_chk.c: Likewise.
33694         * debug/vsprintf_chk.c: Likewise.
33695         * malloc/mtrace.c: Likewise.
33696         * misc/error.c: Likewise.
33697         * misc/syslog.c: Likewise.
33698         * stdio-common/asprintf.c: Likewise.
33699         * stdio-common/fxprintf.c: Likewise.
33700         * stdio-common/getw.c: Likewise.
33701         * stdio-common/isoc99_fscanf.c: Likewise.
33702         * stdio-common/isoc99_scanf.c: Likewise.
33703         * stdio-common/isoc99_vfscanf.c: Likewise.
33704         * stdio-common/isoc99_vscanf.c: Likewise.
33705         * stdio-common/isoc99_vsscanf.c: Likewise.
33706         * stdio-common/printf-prs.c: Likewise.
33707         * stdio-common/printf_fp.c: Likewise.
33708         * stdio-common/printf_fphex.c: Likewise.
33709         * stdio-common/printf_size.c: Likewise.
33710         * stdio-common/putw.c: Likewise.
33711         * stdio-common/scanf.c: Likewise.
33712         * stdio-common/sprintf.c: Likewise.
33713         * stdio-common/tmpfile.c: Likewise.
33714         * stdio-common/vfprintf.c: Likewise.
33715         * stdio-common/vfscanf.c: Likewise.
33716         * stdlib/strfmon_l.c: Likewise.
33717         * sunrpc/openchild.c: Likewise.
33718         * sunrpc/xdr_stdio.c: Likewise.
33719         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33720         * sysdeps/mach/hurd/tmpfile.c: Likewise.
33721
33722 2012-05-24  Roland McGrath  <roland@hack.frob.com>
33723
33724         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33725
33726         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33727         in the third column, to generate for the shared library an IFUNC
33728         that uses _dl_vdso_vsym.
33729         * Makerules (COMPILE.c, compile-stdin.c): New variables.
33730         * Makeconfig (object-suffixes-noshared): New variable.
33731
33732         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33733         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33734         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33735         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33736
33737         [BZ #14132]
33738         * include/sys/time.h (__gettimeofday): Remove macro.
33739         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33740         * time/gettimeofday.c (__gettimeofday): Remove #undef.
33741         Remove INTDEF.
33742         (__gettimeofday): Add libc_hidden_def.
33743         (gettimeofday): Add libc_hidden_weak.
33744         * sysdeps/mach/gettimeofday.c: Likewise.
33745         * sysdeps/posix/gettimeofday.c: Likewise.
33746         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33747         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33748         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33749         (__gettimeofday_internal): Remove strong_alias.
33750         (__gettimeofday): Add libc_hidden_def.
33751         (gettimeofday): Add libc_hidden_weak.
33752         * sysdeps/unix/syscalls.list (gettimeofday):
33753         Remove __gettimeofday_internal alias.
33754
33755 2012-05-24  Daniel Jacobowitz  <drow@false.org>
33756             H.J. Lu  <hongjiu.lu@intel.com>
33757
33758         [BZ #12495]
33759         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33760         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33761         (largebin_index_32_big): New.
33762         (largebin_index): Use it for 16-byte alignment.
33763         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
33764         correction with front_misalign.
33765
33766 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33767
33768         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33769         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33770         Likewise.
33771         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33772         Likewise.
33773         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33774         Likewise.
33775         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33776         Likewise.
33777         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33778         Likewise.
33779         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33780         Likewise.
33781         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33782         Likewise.
33783         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33784         Likewise.
33785         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33786         Likewise.
33787         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33788         Likewise.
33789         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33790         Likewise.
33791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33792         Likewise.
33793
33794         * scripts/data/c++-types-x32-linux-gnu.data: New file.
33795         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33796
33797 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33798
33799         [BZ #10846]
33800         [BZ #14036]
33801         * math/libm-test.inc (exp_test): Add test from bug 14036.
33802         (pow_test): Add test from bug 10846.
33803
33804         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33805         and other flags.
33806         (special_function): Do not include flags in test name.
33807         (parse_args): Likewise.
33808         * sysdeps/i386/fpu/libm-test-ulps: Update.
33809         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33810         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33811         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33813
33814         * math/gen-libm-test.pl (%beautify): Add entries for underflow
33815         exceptions.
33816         * math/libm-test.inc ("Philosophy"): Update comment about
33817         exception testing.
33818         (UNDERFLOW_EXCEPTION): New macro.
33819         (UNDERFLOW_EXCEPTION_OK): Likewise.
33820         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33821         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33822         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33823         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33824         (INVALID_EXCEPTION_OK): Update value.
33825         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33826         (OVERFLOW_EXCEPTION_OK): Likewise.
33827         (IGNORE_ZERO_INF_SIGN): Likewise.
33828         (test_exceptions): Handle underflow exceptions.
33829         (acos_test): Update for underflow exception expectations.
33830         (cexp_test): Likewise.
33831         (clog_test): Likewise.
33832         (clog10_test): Likewise.
33833         (csqrt_test): Likewise.
33834         (ctan_test): Likewise.
33835         (ctanh_test): Likewise.
33836         (exp_test): Likewise.
33837         (exp10_test): Likewise.
33838         (exp2_test): Likewise.
33839         (expm1_test): Likewise.
33840         (fma_test): Likewise.
33841         (j0_test): Likewise.
33842         (jn_test): Likewise.
33843         (nexttoward_test): Likewise.
33844         (pow_test): Likewise.
33845         (scalbn_test): Likewise.
33846         (scalbln_test): Likewise.
33847         (tan_test): Likewise.
33848         (y1_test): Likewise.
33849         * sysdeps/i386/fpu/libm-test-ulps: Update.
33850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33851
33852 2012-05-23  David S. Miller  <davem@davemloft.net>
33853
33854         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33855         (__libc_sigaction): Remove unused local variables.
33856
33857 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33858
33859         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33860
33861 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
33862
33863         mktime: avoid signed integer overflow
33864         * time/mktime.c (__mktime_internal): Do not mishandle the case
33865         where diff == INT_MIN.
33866
33867         mktime: simplify computation of average
33868         * time/mktime.c (ranged_convert): Use new time_t_avg function
33869         instead of rolling our own (probably-slower) code.
33870
33871         mktime: do not assume signed right shift propagates sign bit
33872         * time/mktime.c (isdst_differ): New static function.
33873         (__mktime_internal): No need to normalize tm_isdst now.
33874         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33875         tm_isdst values.
33876
33877         mktime: merge another wrapv change from gnulib
33878         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33879         from some compilers.
33880
33881         mktime: remove incorrect attempt at unusual arithmetics
33882         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33883         The code didn't really work on such machines anyway.
33884         (TYPE_MINIMUM): Assume two's complement.
33885         (twos_complement_arithmetic): Verify that long_int and time_t
33886         are two's complement (or unsigned, in the latter case).
33887
33888         mktime: check signed shifts on long_int and time_t, too
33889         * time/mktime.c (SHR): Check that shifts work as desired
33890         on the types long_int and time_t too, as SHR is used on
33891         such types.
33892
33893         mktime: do not assume 'long' is wide enough
33894         * time/mktime.c (verify): Move decl up.
33895         (long_int): New type.
33896         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33897         to remove assumption in the code that 'long' is wide enough to
33898         store year values.  This assumption is not true on x32 and on
33899         some non-glibc platforms.
33900
33901         mktime: merge wrapv change from gnulib
33902         * time/mktime.c (WRAPV): New macro.
33903         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33904         (guess_time_tm, __mktime_internal): Do not assume that signed
33905         integer overflow wraps around; modern compilers generate code
33906         where this assumption is no longer valid.
33907
33908 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33909
33910         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33911         Replace "jmp L(pseudo_end)" with "ret".
33912         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33913         Likewise.
33914
33915 2012-05-23  Andreas Jaeger  <aj@suse.de>
33916
33917         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33918         * sysdeps/unix/sysv/linux/poll.c: Remove file.
33919
33920 2012-05-23  Andreas Jaeger  <aj@suse.de>
33921             Maximilian Attems  <max@stro.at>
33922
33923         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33924         New macros.
33925
33926 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33927
33928         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33929         code so that pseudo_end is just ret and the stack pointer is
33930         correct also for static library in error case.
33931
33932 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
33933
33934         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33935         move to syscalls.list.
33936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33940
33941         * manual/install.texi (Running make install): Do not mention Linux
33942         kernel version for which pt_chown is not needed.
33943         (Linux): Do not mention problems with nscd with 2.0 kernels.
33944         * INSTALL: Regenerated.
33945
33946 2012-05-23  Andreas Jaeger  <aj@suse.de>
33947
33948         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33949         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33950         macro.
33951         * sysdeps/unix/sysv/linux/s390/bits/mman.h
33952         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33953         * sysdeps/unix/sysv/linux/sh/bits/mman.h
33954         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33955         * sysdeps/unix/sysv/linux/i386/bits/mman.h
33956         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33957         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33958         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33959         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33960         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33961         * sysdeps/unix/sysv/linux/bits/in.h
33962         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33963
33964 2012-05-22  Roland McGrath  <roland@hack.frob.com>
33965
33966         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33967         (PREPARE_VERSION): Just use assert instead, it will be elided
33968         under [NDEBUG] anyway.
33969
33970 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33971
33972         * sysdeps/unix/sysv/linux/Makefile: Include
33973         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33974         (sysdep_routines): Remove sysctl.
33975         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33976         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33977         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33978         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33979         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33980
33981 2012-05-22  Andreas Jaeger  <aj@suse.de>
33982
33983         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33984         that pseudo_end is just ret and the stack pointer is correct also
33985         for static library in error case.
33986
33987 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33988
33989         [BZ #14122]
33990         * nss/nsswitch.c (defconfig_entries): New variable.
33991         (__nss_database_lookup): Don't leak defconfig entries.
33992         (nss_parse_service_list): Don't leak on error paths.
33993         (free_database_entries): New function.
33994         (free_defconfig): New function.
33995         (free_mem): Move common code to free_database_entries.
33996
33997 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33998
33999         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34000         Add arch_prctl.
34001         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34002
34003         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34004         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34005         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34006         New macro.
34007         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34008         (INTERNAL_SYSCALL_TYPES): Likewise.
34009         (LOAD_ARGS_TYPES_[1-6]): Likewise.
34010         (LOAD_REGS_TYPES_[1-6]): Likewise.
34011         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34012         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34013
34014 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34015
34016         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34017         copysignl for GLIBC_2_0.
34018         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34019         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34020         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34021         logbl for GLIBC_2_0.
34022         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34023         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34024
34025 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34026
34027         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34028         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34029
34030         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34031         Use "neg %eax".
34032
34033         * time/mktime.c: Update copyright years.
34034
34035 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
34036
34037         mktime: merge comment-quoting-style change from gnulib
34038         * time/mktime.c: Quote 'like this' in comments.
34039         The GNU coding standards suggest that we no longer quote `like this',
34040         as "`" and "'" are typically rendered asymmetrically nowadays.
34041         The typical gnulib style is to quote 'like this' when quoting
34042         code, and "like this" when quoting English.
34043
34044         * time/mktime.c (compile-command): Add "-I.".
34045
34046         mktime: merge mktime-internal.h change from gnulib
34047         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34048
34049         mktime: merge time_r change from gnulib
34050         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34051
34052         mktime: merge DEBUG change from gnulib
34053         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34054         case system <time.h> has a #define.
34055
34056         mktime: merge <sys/types.h> change from gnulib
34057         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34058         since <time.t> is now guaranteed to define time_t.
34059
34060         mktime: merge HAVE_CONFIG_H change from gnulib
34061         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34062
34063 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34064
34065         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34066         Use "neg %eax".
34067
34068         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34069         __rlim_t cast.
34070         (struct rusage): Use anonymous union to pad each field to
34071         __syscall_slong_t.
34072
34073 2012-05-21  David S. Miller  <davem@davemloft.net>
34074
34075         * Makefules (o-iterator): Remove .s cases.
34076         (compile-command.s): Delete.
34077         (COMPILE.s): Delete.
34078         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34079
34080 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
34081
34082         * configure.in (libc_cv_predef_stack_protector): Only consider
34083         "foobar" and "__stack_chk_fail" lines in libc_undefs.
34084         * configure: Regenerated.
34085
34086 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34087
34088         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34089         New macro.  Use R*LP on int and pointer.
34090         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34091         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34092         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34093         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34094
34095         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34096         [__WORDSIZE_TIME64_COMPAT32] instead of
34097         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34098         (struct utmp): Likewise.
34099         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34100         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34101         Renamed to ...
34102         (__WORDSIZE_TIME64_COMPAT32): This.
34103         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34104         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34105         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34106         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34107         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34108         (__WORDSIZE_TIME64_COMPAT32): New macro.
34109
34110 2012-05-21  Andreas Jaeger  <aj@suse.de>
34111
34112         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34113         only if [SHARED]. Add prototype for __wcschr_ia32.
34114
34115 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34116
34117         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34118         of %rbp unmolested in the jmp_buf while mangling the low bits.
34119         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34120         unmolested high bits of %rbp while demangling the low bits.
34121         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34122
34123 2012-05-21  Andreas Jaeger  <aj@suse.de>
34124
34125         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34126         * sunrpc/svc_simple.c: Use it for registerrpc.
34127         * sunrpc/xcrypt.c: Use it for passwd2des.
34128
34129         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34130
34131 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34132
34133         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34134         Don't define if [__SYSCALL_WORDSIZE != 32].
34135         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34136         New macro.
34137
34138 2012-05-21  Bruno Haible  <bruno@clisp.org>
34139             Andreas Jaeger  <aj@suse.de>
34140
34141         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34142         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34143         inptr and inend for must_buffer_ch.
34144         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34145         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34146         * stdio-common/Makefile (tests): Remove bug15.
34147         (bug15-ENV): Remove macro.
34148         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34149         anymore.
34150
34151 2012-05-19  Andreas Jaeger  <aj@suse.de>
34152             Roland McGrath  <roland@hack.frob.com>
34153
34154         * manual/contrib.texi: Completely rewritten. It contains now an
34155         alphabetical list of contributors and their contributions.
34156
34157 2012-05-21  Richard Henderson  <rth@twiddle.net>
34158
34159         * misc/getauxval.c (__getauxval): Use unsigned long int.
34160         * misc/sys/auxv.h: Include <sys/cdefs.h>.
34161         (getauxval): Use unsigned long int.
34162
34163 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34164
34165         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34166
34167 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34168
34169         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34170         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34171         __alignof__ (long double).
34172
34173 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34174
34175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34176
34177 2012-05-20  Richard Henderson  <rth@twiddle.net>
34178
34179         * misc/getauxval.c: New file.
34180         * misc/sys/auxv.h: New file.
34181         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34182         (routines): Add getauxval.
34183         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34184         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34185         * elf/dl-sysdep.c (_dl_auxv): Remove.
34186         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34187         * elf/dl-support.c (_dl_auxv): New variable.
34188         (_dl_aux_init): Initialize it.
34189         * manual/startup.texi (Auxiliary Vector): New node.
34190         * sysdeps/generic/bits/hwcap.h: New file.
34191         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34192         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
34193         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34194         * sysdeps/sparc/sysdep.h: ... here.  Include it.
34195         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34196         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34198         Update.
34199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34200         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34202         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34203         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34205         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34207
34208 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34209
34210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34211
34212 2012-05-19  David S. Miller  <davem@davemloft.net>
34213
34214         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34215
34216 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34217
34218         [BZ #14123]
34219         * math/s_ccosh.c: Include <float.h>
34220         (__ccosh): Avoid internal overflow calculating sinh and cosh
34221         values before multiplying by sin and cos values.
34222         * math/s_ccoshf.c: Likewise.
34223         * math/s_ccoshl.c: Likewise.
34224         * math/s_csin.c: Likewise.
34225         * math/s_csinf.c: Likewise.
34226         * math/s_csinl.c: Likewise.
34227         * math/s_csinh.c: Likewise.
34228         * math/s_csinhf.c: Likewise.
34229         * math/s_csinhl.c: Likewise.
34230         * math/libm-test.inc (ccos_test): Add more tests.
34231         (ccosh_test): Likewise.
34232         (csin_test): Likewise.
34233         (csinh_test): Likewise.
34234         * sysdeps/i386/fpu/libm-test-ulps: Update.
34235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34236
34237 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
34238
34239         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34240         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34241
34242         * sysdeps/x86_64/x32/_itoa.h: Add comment.
34243
34244 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34245
34246         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34247         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34248         * sysdeps/powerpc/soft-fp/Versions: Likewise.
34249         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34250         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34251         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34252         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34253         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34254         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34255         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34256         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34257         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34258         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34259         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34260         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34261         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34262         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34263         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34264         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34265         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34266         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34267         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34268         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34269         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34270         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34271         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34272         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34273         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34274         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34275         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34276         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34277
34278 2012-05-18  Andreas Jaeger  <aj@suse.de>
34279
34280         * csu/.gitignore: Delete.
34281
34282 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34283
34284         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34285         (timex): Use __syscall_slong_t.
34286
34287 2012-05-18  Andreas Jaeger  <aj@suse.de>
34288             Carlos O'Donell  <carlos_odonell@mentor.com>
34289
34290         * manual/install.texi (Configuring and compiling): Update
34291         description about files modified in the source directory.
34292         * INSTALL: Regenerated.
34293
34294 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34295
34296         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34297         value.  Use "or" to set return value to -1.
34298         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34299         negate return value.
34300
34301 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34302
34303         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34304         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34305         failure if the compiler has Graphite support disabled.
34306         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34307         Likewise.
34308         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34309         (CFLAGS-memmove.c): Likewise.
34310         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34311         Likewise.
34312
34313 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34314
34315         * sysdeps/x86_64/x32/_itoa.h: New file.
34316
34317         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34318         getdents system call only if kernel and user dirents have the
34319         same d_ino and d_off.
34320
34321         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34322         LLONG_MAX != LONG_MAX.
34323         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34324         (_fitoa_word): Likewise.
34325
34326         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34327         years.
34328         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34329         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34330         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34331
34332         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34333         include <bits/wordsize.h>.  Check __x86_64__ instead of
34334         __WORDSIZE.
34335         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34336         if __x86_64__ is defined.  Use anonymous union on fpstate.
34337
34338         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34339         anonymous union.
34340
34341 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
34342
34343         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34344         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34345         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34346         Refer to _rtld_local_ro instead of _rtld_global_ro.
34347         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34348         Likewise.
34349         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34350         Likewise.
34351         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34352         Likewise.
34353         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34354         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34355         of _rtld_global, and rtld_progname instead of _dl_argv[0].
34356
34357         * sysdeps/powerpc/powerpc32/dl-machine.c
34358         (__elf_machine_runtime_setup) [PROF]: Don't reference
34359         _dl_prof_resolve.
34360
34361 2012-05-18  Andreas Jaeger  <aj@suse.de>
34362
34363         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34364         function only available for GCCs before 3.4 since GCC 3.4
34365         introduced a builtin.
34366         (lrint): Likewise.
34367         (llrintf): Likewise.
34368         (llrint): Likewise.
34369         (fmaxf): Likewise.
34370         (fmax): Likewise.
34371         (fminf): Likewise.
34372         (fmin): Likewise.
34373         (rint): Likewise.
34374         (rintf): Likewise.
34375         (nearbyint): Likewise.
34376         (nearbyintf): Likewise.
34377         (ceil): Likewise.
34378         (ceilf): Likewise.
34379         (floor): Likewise.
34380         (floorf): Likewise.
34381
34382 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34383
34384         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34385         on both fields and cast pointer to __syscall_ulong_t.
34386
34387         * bits/types.h (__fsword_t): New type.
34388         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34389         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34390         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34391         (__FSWORD_T_TYPE): Likewise.
34392         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34393         (__FSWORD_T_TYPE): Likewise.
34394         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34395         (__FSWORD_T_TYPE): Likewise.
34396         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34397         (__FSWORD_T_TYPE): Likewise.
34398         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34399         __SWORD_TYPE with __fsword_t.
34400         (statfs64): Likewise.
34401
34402 2012-05-17  David S. Miller  <davem@davemloft.net>
34403
34404         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34405
34406 2012-05-17  Andreas Jaeger  <aj@suse.de>
34407
34408         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34409         warning.
34410
34411 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34412
34413         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34414
34415 2012-05-17  Andreas Jaeger  <aj@suse.de>
34416
34417         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34418         when it is used.
34419
34420 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34421
34422         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34423
34424 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34425
34426         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34427         * sysdeps/x86_64/tst-mallocalign1.c: New file.
34428
34429 2012-05-17  Andreas Jaeger  <aj@suse.de>
34430             Carlos O'Donell  <carlos_odonell@mentor.com>
34431
34432         [BZ #14059]
34433         * sysdeps/x86_64/multiarch/init-arch.h
34434         (bit_YMM_Usable): Rename to...
34435         (bit_AVX_Usable): ... this.
34436         (bit_FMA4_Usable): New macro.
34437         (bit_XMM_state): New macro.
34438         (bit_YMM_state): New macro.
34439         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34440         [__ASSEMBLER__] (index_AVX_Usable): ... this.
34441         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34442         (CPUID_OSXSAVE): New macro.
34443         (CPUID_AVX): New macro.
34444         (CPUID_FMA4): New macro.
34445         (index_YMM_Usable): Rename to...
34446         (index_AVX_Usable): ... this.
34447         (HAS_AVX): Use HAS_ARCH_FEATURE.
34448         (HAS_FMA4): Likewise.
34449         (HAS_YMM_USABLE): Remove.
34450         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34451         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34452         are present.
34453         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34454         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34455         * sysdeps/x86_64/multiarch/Makefile: Likewise.
34456         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34457         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34458
34459 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34460
34461         * math/libm-test.c: Support platforms without multiple rounding modes.
34462         * math/bug-nextafter.c: Support platforms without FP exceptions.
34463         * math/bug-nexttoward.c: Likewise.
34464         * math/test-fenv.c: Likewise.
34465         * math/test-misc.c: Likewise.
34466         * stdlib/bug-getcontext.c: Likewise.
34467
34468 2012-05-17  Andreas Jaeger  <aj@suse.de>
34469
34470         * manual/examples/search.c (critter_cmp): Change signature to
34471         avoid warnings.
34472         * manual/string.texi (Collation Functions): Likewise.
34473
34474 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34475
34476         * bits/types.h: Fold copyright years.
34477         * bits/typesizes.h: Likewise.
34478         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34479         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34480         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34481         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34482         * time/time.h: Likewise.
34483
34484 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
34485
34486         [BZ #208]
34487         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34488         in instead of returning them.  Return void.
34489         (__libc_mallinfo): Accumulate over all arenas.
34490         (__malloc_stats): Adjust for change in int_mallinfo interface.
34491
34492 2012-05-16  Roland McGrath  <roland@hack.frob.com>
34493
34494         [BZ #10375]
34495         * configure.in (NM): Add AC_CHECK_TOOL for it.
34496         (libc_extra_cflags): New substituted variable.
34497         Check for -fstack-protector being used implicitly.
34498         * configure: Regenerated.
34499         * config.make.in (config-extra-cflags): New variable,
34500         gets @libc_extra_cflags@.
34501         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34502
34503         [BZ #10375]
34504         * configure.in: Check for _FORTIFY_SOURCE being predefined.
34505         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34506         * configure: Regenerated.
34507         * config.make.in (CPPUNDEFS): New substituted variable.
34508         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34509         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34510         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34511
34512 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34513
34514         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34515         (mq_attr): Use __syscall_slong_t.
34516
34517 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34518
34519         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34520         Check __x86_64__ instead of __WORDSIZE.
34521         (_STAT_VER_LINUX): Likewise.
34522         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
34523         __syscall_ulong_t and __syscall_slong_t.
34524         (stat64): Likewise.
34525
34526 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34527
34528         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34529
34530 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34531
34532         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34533
34534 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34535
34536         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34537         __syscall_ulong_t.
34538
34539         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34540         include <bits/wordsize.h>.  Check __x86_64__ instead of
34541         __WORDSIZE.
34542         (greg_t): Use "__extension__ long long int" if __x86_64__ is
34543         defined.
34544         (mcontext_t): Replace "unsigned long" with "unsigned long long".
34545
34546         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34547         include <bits/wordsize.h>.  Check __x86_64__ instead of
34548         __WORDSIZE.
34549         (user_regs_struct): Use "__extension__ unsigned long long"
34550         instead of "unsigned long" if __x86_64__ is defined.
34551         (user): Likewise.  Pad after pointer field if __ILP32__ is
34552         defined.
34553
34554 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
34555
34556         * configure.in (makeinfo): Require version 4.5 or later.  Allow
34557         versions 5 to 9.
34558         * configure: Regenerated.
34559         * manual/install.texi (texinfo): Increase version requirement to
34560         4.5 or later.
34561         * INSTALL: Regenerated.
34562
34563         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34564
34565 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34566
34567         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34568
34569         * sysdeps/x86_64/x32/ffs.c: New file.
34570
34571         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34572         __syscall_ulong_t.
34573         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34574         defined.  Use __syscall_ulong_t.
34575         (shminfo): Use __syscall_ulong_t.
34576         (shm_info): Likewise.
34577
34578         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34579         __syscall_ulong_t.
34580
34581         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34582         <bits/wordsize.h>.
34583         (msgqnum_t): Use __syscall_ulong_t.
34584         (msglen_t): Likewise.
34585         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
34586         __syscall_ulong_t.
34587
34588         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34589         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34590
34591         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34592
34593         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34594         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34595
34596         * sysvipc/sys/msg.h (msgbuf): Replace long int with
34597         __syscall_slong_t.
34598
34599         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34600         include <bits/wordsize.h>.  Check __x86_64__ instead of
34601         __WORDSIZE.
34602
34603         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34604         "unsigned long long int" if __x86_64__ is defined.
34605         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34606
34607         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34608         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34609         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34610
34611         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34612         <stdint.h>.
34613         (GET_PC): Cast to uintptr_t first.
34614         (GET_FRAME): Likewise.
34615         (GET_STACK): Likewise.
34616
34617         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34618         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34619         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34620         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34621         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34622         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34623         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34624         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34625         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34626         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34627         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34628         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34629         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34630         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34631         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34632         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34633         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34634         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34635         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34636         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34637         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34638         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34639         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34640         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34641         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34642         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34643         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34644         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34645         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34646
34647 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
34648
34649         * Makerules (+depfiles): Also collect depfiles from .oS in
34650         $(extra-objs).
34651         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34652         .oS, $(libnldbl-routines)).
34653
34654         * Makerules (native-compile-mkdep-flags): Define.
34655         * sunrpc/Makefile (extra-objs): Add $(addprefix
34656         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34657         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34658         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
34659         calling $(make-target-directory).
34660
34661 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34662
34663         * bits/types.h (__snseconds_t): Removed.
34664         * time/time.h (struct timespec): Replace __snseconds_t with
34665         __syscall_slong_t.
34666         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34667         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34668         Likewise.
34669         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34670         (__SNSECONDS_T_TYPE): Likewise.
34671         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34672         (__SNSECONDS_T_TYPE): Likewise.
34673         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34674         (__SNSECONDS_T_TYPE): Likewise.
34675
34676 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34677
34678         * sysdeps/mach/hurd/bits/typesizes.h
34679         (__SYSCALL_SLONG_TYPE): New macro.
34680         (__SYSCALL_ULONG_TYPE): Likewise.
34681
34682 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34683
34684         * bits/types.h (__syscall_slong_t): New type.
34685         (__syscall_ulong_t): Likewise.
34686
34687         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34688         (__SYSCALL_ULONG_TYPE): Likewise.
34689         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34690         (__SYSCALL_SLONG_TYPE): Likewise.
34691         (__SYSCALL_ULONG_TYPE): Likewise.
34692         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34693         (__SYSCALL_SLONG_TYPE): Likewise.
34694         (__SYSCALL_ULONG_TYPE): Likewise.
34695         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34696         (__SYSCALL_SLONG_TYPE): Likewise.
34697         (__SYSCALL_ULONG_TYPE): Likewise.
34698
34699 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34700
34701         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34702         Add sigaltstack-offsets.sym.
34703         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34704         <sigaltstack-offsets.h>.
34705         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
34706         longjmp_msg pointer.
34707         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
34708         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34709         signal stack.
34710         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34711
34712 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34713
34714         * elf/stackguard-macros.h: Remove file.
34715         * sysdeps/generic/stackguard-macros.h: New file.
34716         * sysdeps/i386/stackguard-macros.h: Likewise.
34717         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34718         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34719         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34720         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34721         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34722         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34723         * sysdeps/x86_64/stackguard-macros.h: Likewise.
34724         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34725         <elf/stackguard-macros.h>.
34726
34727         [BZ #14109]
34728         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34729         __aligned__ in attribute.
34730         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34731         (gregset_t): Likewise.
34732
34733 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34734
34735         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34736         * sysdeps/x86_64/64/Implies-after: Here.  New file.
34737         * sysdeps/x86_64/x32/Implies-after: New file.
34738
34739 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34740
34741         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34742         and access return value for _dl_profile_fixup.  Use R10_LP to
34743         load frame size.
34744
34745 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34746
34747         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34748
34749 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34750
34751         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34752         * sysdeps/x86_64/x32/sysdep.h: New file.
34753
34754 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34755
34756         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34757         * sysdeps/x86_64/setjmp.S: Likewise.
34758
34759 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34760
34761         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34762         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34763         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34764         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34765         remove unused global constant.
34766
34767 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
34768
34769         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34770         include of <not-cancel.h>.
34771
34772 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34773
34774         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34775
34776 2012-05-15  Jeff Law  <law@redhat.com>
34777             Andreas Jaeger  <aj@suse.de>
34778
34779         [BZ #13594]
34780         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34781         out from...
34782         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34783         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34784         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34785         code changing __hst_map_handle.map.
34786
34787 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34788
34789         * configure.in (sysnames): Look for Implies-before and Implies-after
34790         files.
34791         * configure: Regenerated.
34792
34793 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34794
34795         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34796         8-byte data alignment with LP_SIZE alignment.
34797
34798 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34799
34800         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34801         into R10_LP.
34802
34803 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34804
34805         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34806
34807 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34808
34809         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34810         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34811         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34812         Likewise.
34813         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34814
34815 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34816
34817         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34818         (stackinfo_sub_sp): Likewise.
34819
34820 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34821
34822         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34823         RAX_LP.
34824
34825 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34826
34827         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34828         into R*_LP.
34829
34830 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34831
34832         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34833         sizes into R*_LP.
34834
34835 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34836
34837         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34838
34839 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34840
34841         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34842         into R11_LP and load __x86_64_shared_cache_size_half into
34843         R8_LP.
34844
34845 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34846
34847         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34848         R8_LP.
34849
34850 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34851
34852         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34853         logb for POWER7.
34854         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34855         logbf for POWER7.
34856         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34857         logbl for POWER7.
34858         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34859         powerpc32/power7/fpu/s_logb.c via #include.
34860         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34861         powerpc32/power7/fpu/s_logbf.c via #include.
34862         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34863         powerpc32/power7/fpu/s_logbl.c via #include.
34864
34865 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34866
34867         * README.libm: Remove file.
34868
34869 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34870
34871         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34872         count for x32.  Use R*_LP and omit operand-size suffix.
34873
34874 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34875
34876         * shlib-versions: Move x86_64-.*-linux.* entries to ...
34877         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
34878         * sysdeps/x86_64/x32/shlib-versions: New file.
34879
34880 2012-05-14  Roland McGrath  <roland@hack.frob.com>
34881
34882         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34883         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34884         Use _dl_fatal_printf instead.
34885
34886 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34887
34888         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34889         set if not set by the user.  Do not allow for being unset.
34890         * sysdeps/unix/sysv/linux/configure: Regenerated.
34891
34892 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34893
34894         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34895         the `q' suffix from lea and replace .quad with ASM_ADDR.
34896
34897 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34898
34899         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34900         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
34901         instead of $17.
34902         (PTR_DEMANGLE): Likewise.
34903
34904 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34905
34906         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34907         (LP_OP): Likewise.
34908         (ASM_ADDR): Likewise.
34909         (RAX_LP): Likewise.
34910         (RBP_LP): Likewise.
34911         (RBX_LP): Likewise.
34912         (RCX_LP): Likewise.
34913         (RDI_LP): Likewise.
34914         (RSI_LP): Likewise.
34915         (RSP_LP): Likewise.
34916         (R8_LP): Likewise.
34917         (R9_LP): Likewise.
34918         (R10_LP): Likewise.
34919         (R10_LP): Likewise.
34920         (R11_LP): Likewise.
34921         (R12_LP): Likewise.
34922         (R13_LP): Likewise.
34923         (R14_LP): Likewise.
34924         (R15_LP): Likewise.
34925
34926 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34927
34928         * sysdeps/x86_64/x32/dl-machine.h: New file.
34929
34930 2012-05-14  Andreas Jaeger  <aj@suse.de>
34931
34932         * manual/Makefile (subdir): Remove export of subdir.
34933         (all): Remove target.
34934         (.PHONY): Remove all from list.
34935         (mkinstalldirs): Remove.
34936         (.PHONY): Remove installdirs from list.
34937         ($(inst_infodir)/libc.info): Use make-target-directory.
34938         (installdirs): Remove.
34939         (subdir_%): Remove.
34940         (glibc-targets): Remove.
34941         (lib): Remove.
34942         (stubs): Remove.
34943         ($(objpfx)stubs ../po/manual.pot): Remove.
34944         ($(objpfx)stamp%): Remove.
34945         (make-target-directory): Remove.
34946         (subdir_install): Remove.
34947         (routines): Remove.
34948         (aux): Remove.
34949         (sources): Remove.
34950         (objects): Remove.
34951         (headers): Remove.
34952
34953         [BZ #13750]
34954         * manual/.gitignore: Remove, it's not needed anymore.
34955         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34956         all files in it.
34957         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34958         directory.
34959         (texis): Renamed to $(objpfx)texis.
34960         (texis-path): New, contains path to generated files.
34961         (chapters.%): Use texis-path for complete path, add extra argument
34962         libc-texinfo.sh.
34963         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34964         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34965         (summary,texi, stamp-summary): Use complete path of
34966         files. Generate files in build dir.
34967         (dir-add.texi): Build in build dir.
34968         (libm-err.texi,stamp-libm-err): Likewise.
34969         (version.texi, stamp-version): Likewise.
34970         (.%c.texi): Likewise.
34971         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34972         (mostlyclean): Remove target.
34973         (realclean): Remove target.
34974         (generated): Add new variable with contents from mostlyclean and
34975         realclean, remove entries duplicated in common-mostlyclean, add
34976         stamp-libm-err and stamp-version.
34977         (generated-dirs): Add libc directory.
34978         ($(inst_infodir)/libc.info): Install files from build dir.
34979
34980         * manual/install.texi (Configuring and compiling): Adjust since
34981         the info files are not part of the tar ball anymore.
34982
34983 2012-05-14  Andreas Jaeger  <aj@suse.de>
34984
34985         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34986         variable.
34987
34988 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34989
34990         [BZ #13717]
34991         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34992         to 2.2.0 where earlier.
34993         * sysdeps/unix/sysv/linux/configure: Regenerated.
34994         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34995         Remove conditional code.
34996         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34997         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34998         Remove conditional code.
34999         [!__NR_lchown]: Likewise.
35000         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35001         [__NR_lchown]: Likewise.
35002         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35003         comment referencing __ASSUME_LCHOWN_SYSCALL.
35004         * sysdeps/unix/sysv/linux/i386/sigaction.c
35005         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35006         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35007         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35008         Remove conditional code.
35009         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35010         (__protocol_available): Remove #if 0 code.
35011         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35012         conditional code.
35013         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35014         * sysdeps/unix/sysv/linux/kernel-features.h
35015         (__ASSUME_GETCWD_SYSCALL): Don't define.
35016         (__ASSUME_REALTIME_SIGNALS): Likewise.
35017         (__ASSUME_PREAD_SYSCALL): Likewise.
35018         (__ASSUME_PWRITE_SYSCALL): Likewise.
35019         (__ASSUME_POLL_SYSCALL): Likewise.
35020         (__ASSUME_LCHOWN_SYSCALL): Likewise.
35021         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35022         non-SPARC.
35023         (__ASSUME_SIOCGIFNAME): Don't define.
35024         (__ASSUME_MSG_NOSIGNAL): Likewise.
35025         (__ASSUME_SENDFILE): Define unconditionally.
35026         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35027         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35028         conditional code.
35029         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35030         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35031         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35032         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35033         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35034         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35035         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35037         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35038         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35040         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35041         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35043         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35044         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35046         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35047         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35049         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35050         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35052         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35053         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35055         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35056         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35058         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35059         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35060         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35061         Remove conditional code.
35062         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35063         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35064         Remove conditional code.
35065         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35066         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35067         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35068         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35069         Remove conditional code.
35070         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35071         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35072         Remove conditional code.
35073         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35074         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35075         Remove conditional code.
35076         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35077         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35078         Remove conditional code.
35079         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35080         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35081         Remove conditional code.
35082         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35083         * sysdeps/unix/sysv/linux/sh/pwrite64.c
35084         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35085         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35086         * sysdeps/unix/sysv/linux/sigaction.c
35087         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35088         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35089         * sysdeps/unix/sysv/linux/sigpending.c
35090         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35091         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35092         * sysdeps/unix/sysv/linux/sigprocmask.c
35093         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35094         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35095         * sysdeps/unix/sysv/linux/sigsuspend.c
35096         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35097         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35098         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35099         (__libc_missing_rt_sigs): Remove.
35100         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35101         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35102         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35103         Remove conditional code.
35104         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35105         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35106         return 1.
35107         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35108         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35109         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35110         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35111
35112 2012-05-14  Andreas Jaeger  <aj@suse.de>
35113
35114         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35115         it's not used in glibc.
35116         (__coshm1): Likewise.
35117         (__acosh1p): Likewise.
35118         (__sgn): Likewise.
35119
35120         * manual/string.texi (Copying and Concatenation): Add missing
35121         variable in concat example.
35122         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35123
35124 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35125
35126         [BZ #14103]
35127         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35128         __builtin_clzl with __builtin_clzll.
35129
35130 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35131
35132         [BZ #14104]
35133         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35134         libc_freeres_ptr.
35135
35136 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35137
35138         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35139         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35140         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35141         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35142
35143 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
35144
35145         * NEWS: Update ia64 info.
35146
35147 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
35148
35149         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35150         used as bcopy.
35151
35152 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
35153
35154         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35155         * sysdeps/unix/syscalls.list (dup3): Likewise.
35156         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35157         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35158
35159 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35160
35161         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35162         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35163
35164 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35165
35166         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35167         thread pointer.
35168         (TLS_IE): Use mov/add instead of movq/addq to load thread
35169         pointer.
35170         (TLS_GD_PREFIX): New.
35171         (TLS_GD): Use it.
35172
35173 2012-05-11  David S. Miller  <davem@davemloft.net>
35174
35175         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35176         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35177         (_FPU_SETCW): Likewise.
35178
35179 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35180
35181         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35182         is 32-byte aligned.
35183
35184 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
35185
35186         [BZ #11837]
35187         * iconvdata/gb18030.c: Update tables.
35188         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
35189         characters specially.
35190         (BODY for TO_LOOP): Add encoding of missing ranges.
35191
35192 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
35193
35194         [BZ #13673]
35195         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35196         * sysdeps/mach/hurd/dup3.c: Likewise.
35197         * sysdeps/mach/hurd/readlinkat.c: Likewise.
35198         * sysdeps/powerpc/memmove.c:: Likewise.
35199
35200 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35201
35202         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35203         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35204
35205 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35206
35207         * elf/elf.h (R_X86_64_RELATIVE64): New.
35208         (R_X86_64_NUM): Updated.
35209         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35210         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
35211         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35212         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35213         tst-quad1pie tst-quad2pie
35214         (modules-names): Add tst-quadmod1 tst-quadmod2.
35215         ($(objpfx)tst-quad1): New dependency.
35216         ($(objpfx)tst-quad2): Likewise.
35217         ($(objpfx)tst-quad1pie): Likewise.
35218         ($(objpfx)tst-quad2pie): Likewise.
35219         * sysdeps/x86_64/tst-quad1.c: New file.
35220         * sysdeps/x86_64/tst-quad1pie.c: New file.
35221         * sysdeps/x86_64/tst-quad2.c: Likewise.
35222         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35223         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35224         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35225         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35226         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35227
35228 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35229
35230         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35231         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35232         * streams/stropts.h (t_scalar_t): Define type.
35233
35234         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35235         (_PATH_PRESERVE): Set to "/var/lib".
35236         (_PATH_RWHODIR): Set to "/var/spool/rwho".
35237
35238         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35239         instead of int.
35240
35241         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35242         if __dir_mkfile succeeded.
35243
35244         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35245         checking for _hurd_dtablesize.  Unlock it right after having
35246         finished _hurd_dtable allocation.
35247
35248 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35249
35250         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35251         * sysdeps/mach/hurd/configure: Regenerated.
35252         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35253         special-casing to...
35254         * sysdeps/gnu/configure.in: ... this new file.
35255         * sysdeps/unix/sysv/linux/configure: Regenerated.
35256         * sysdeps/gnu/configure: New generated file.
35257
35258         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35259         for Linux: use nsec instead of usec, as well as:
35260         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35261         members of type struct timespec.
35262         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35263         New macros.
35264         (struct stat64): Likewise.
35265         (_STATBUF_ST_NSEC): New macro.
35266         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35267
35268         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35269         __strtoul_internal rather than strtoul.
35270
35271 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35272
35273         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35274         and reject them.
35275
35276 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35277
35278         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35279         which preserves existing values.
35280         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35281
35282 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35283
35284         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35285         TIMEOUT values.  Return EINVAL for NFDS values either negative or
35286         greater than FD_SETSIZE.
35287
35288 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35289
35290         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35291         allocated, call __vm_protect to finish enabling the existing space, and
35292         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35293         allocate the remainder.
35294
35295 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35296
35297         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35298         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
35299
35300 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35301
35302         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35303         sysdeps/mach/hurd/readlink.c.
35304
35305         * posix/tst-sysconf.c (posix_options): Only use
35306         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35307         _POSIX_SYNCHRONIZED_IO when they are defined
35308         * sysdeps/mach/hurd/bits/posix_opt.h:
35309         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35310         (_XOPEN_REALTIME): Undefine macro.
35311         (_XOPEN_REALTIME_THREADS): Undefine macro.
35312         (_XOPEN_SHM): Undefine macro.
35313         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35314         macro to -1.
35315         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35316         macro to -1.
35317         (_POSIX_ASYNC_IO): Undefine macro.
35318         (_POSIX_PRIORITIZED_IO): Undefine macro.
35319         (_POSIX_SPIN_LOCKS): Define macro to -1.
35320
35321         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35322         SA_NODEFER, SA_RESETHAND.
35323         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35324         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35325         F_DUPFD_CLOEXEC.
35326
35327 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35328
35329         * elf/Makefile (pldd-modules): Define unconditionally.
35330
35331 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35332
35333         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35334
35335 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35336
35337         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35338         Return ENOENT when name is empty.
35339         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35340
35341 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35342
35343         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35344
35345         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35346
35347 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35348
35349         Fix mlock in all cases except non-readable pages.
35350         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35351         instead of VM_PROT_ALL as parameter to __vm_wire function.
35352
35353         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35354         (__mkdir): When path is `/', just fail with EEXIST.
35355         * sysdeps/mach/hurd/mkdirat.c: Likewise.
35356
35357 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35358
35359         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35360         <sys/uio.h> (for writev).
35361         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35362         and <sys/param.h> (for MIN).
35363
35364 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35365
35366         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35367         REQUESTED_TIME.  Properly set the remaining time and return EINTR
35368         if interrupted.
35369
35370 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35371
35372         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35373         Depend on against $(link-rpcuserlibs).
35374
35375 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35376
35377         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35378         (__libc_stack_end): Do not use attribute_relro.
35379         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35380         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35381         to libthread-provided value.
35382         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35383         attribute_relro.
35384
35385 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35386
35387         [BZ #3748]
35388         * bits/libc-lock.h (__libc_once_get): New macro.
35389         * sysdeps/mach/bits/libc-lock.h: Likewise.
35390         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35391         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35392         instead of using implementation details.
35393
35394         * libio/fileops.c: Unconditionally include <kernel-features.h>.
35395         * libio/freopen.c: Likewise.
35396         * libio/freopen64.c: Likewise.
35397         * misc/syslog.c: Likewise.
35398         * nscd/connections.c: Likewise.
35399         * nscd/netgroupcache.c: Likewise.
35400         * sysdeps/posix/getcwd.c: Likewise.
35401
35402 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35403
35404         * math/w_ilogbf.c: Add #include <limits.h>.
35405
35406 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35407
35408         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35409         path instead of returning without unlocking.
35410
35411         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35412         immediate-write ioctls.
35413         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35414
35415 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35416
35417         * sysdeps/mach/hurd/i386/init-first.c (init): Use
35418         __builtin_frame_address instead of making assumptions about the
35419         location of the return address relative to DATA.  Force early load of
35420         the return address.
35421         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35422         __builtin_frame_address.
35423
35424         dup3 for GNU Hurd.
35425         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35426         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
35427         implement dup3 and do some further code clean-ups.
35428         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35429         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35430
35431 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35432
35433         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35434
35435         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35436         HURD_CRITICAL_END around holding _hurd_dtable_lock.
35437         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35438         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35439         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35440         d->port.lock.
35441
35442         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35443         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
35444         when handler == SIG_ERR, not when handler != SIG_ERR.
35445
35446 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35447
35448         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35449         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35450         definitions.
35451
35452         accept4 for GNU Hurd.
35453         * include/sys/socket.h (__libc_accept4): New prototype.
35454         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
35455         to implement __libc_accept4.
35456         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35457         __libc_accept4.
35458         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35459
35460         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35461         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35462         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35463         signal-defines.sym.
35464
35465 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35466
35467         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35468
35469 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35470
35471         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35472         assertion on O_CLOEXEC flag.
35473         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35474         * hurd/intern-fd.c: Likewise.
35475         * hurd/port2fd.c: Likewise.
35476
35477 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35478
35479         [BZ #3906]
35480         * bits/in.h (IPV6_PKTINFO): Define new macro.
35481         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35482
35483 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35484
35485         [BZ #13954]
35486         [BZ #13955]
35487         [BZ #13956]
35488         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35489         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35490         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35491         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35492         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35493         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35494         * math/libm-test.inc (logb_test) : Additional logb tests.
35495
35496 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
35497             Andreas Jaeger  <aj@suse.de>
35498
35499         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35500         * configure: Regenerated.
35501         * config.h.in (LINK_OBSOLETE_RPC): New macro.
35502         * config.make.in (link-obsolete-rpc): New substituted variable.
35503         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35504         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35505         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35506         (shared-only-routines): Don't set it under [link-obsolete-rpc],
35507         so that libc.a contains the symbols.
35508         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35509         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35510         * sunrpc/auth_none.c: Likewise.
35511         * sunrpc/auth_unix.c: Likewise.
35512         * sunrpc/authdes_prot.c: Likewise.
35513         * sunrpc/authuxprot.c: Likewise.
35514         * sunrpc/clnt_gen.c: Likewise.
35515         * sunrpc/clnt_perr.c: Likewise.
35516         * sunrpc/clnt_raw.c: Likewise.
35517         * sunrpc/clnt_simp.c: Likewise.
35518         * sunrpc/clnt_tcp.c: Likewise.
35519         * sunrpc/clnt_udp.c: Likewise.
35520         * sunrpc/clnt_unix.c: Likewise.
35521         * sunrpc/des_crypt.c: Likewise.
35522         * sunrpc/des_soft.c: Likewise.
35523         * sunrpc/get_myaddr.c: Likewise.
35524         * sunrpc/key_call.c: Likewise.
35525         * sunrpc/key_prot.c: Likewise.
35526         * sunrpc/netname.c: Likewise.
35527         * sunrpc/pm_getmaps.c: Likewise.
35528         * sunrpc/pm_getport.c: Likewise.
35529         * sunrpc/pmap_clnt.c: Likewise.
35530         * sunrpc/pmap_prot.c: Likewise.
35531         * sunrpc/pmap_prot2.c: Likewise.
35532         * sunrpc/pmap_rmt.c: Likewise.
35533         * sunrpc/publickey.c: Likewise.
35534         * sunrpc/rpc_cmsg.c: Likewise.
35535         * sunrpc/rpc_common.c: Likewise.
35536         * sunrpc/rpc_dtable.c: Likewise.
35537         * sunrpc/rpc_prot.c: Likewise.
35538         * sunrpc/rpc_thread.c: Likewise.
35539         * sunrpc/rtime.c: Likewise.
35540         * sunrpc/svc.c: Likewise.
35541         * sunrpc/svc_auth.c: Likewise.
35542         * sunrpc/svc_raw.c: Likewise.
35543         * sunrpc/svc_run.c: Likewise.
35544         * sunrpc/svc_tcp.c: Likewise.
35545         * sunrpc/svc_udp.c: Likewise.
35546         * sunrpc/svc_unix.c: Likewise.
35547         * sunrpc/svcauth_des.c: Likewise.
35548         * sunrpc/xcrypt.c: Likewise.
35549         * sunrpc/xdr.c: Likewise.
35550         * sunrpc/xdr_array.c: Likewise.
35551         * sunrpc/xdr_float.c: Likewise.
35552         * sunrpc/xdr_intXX_t.c: Likewise.
35553         * sunrpc/xdr_mem.c: Likewise.
35554         * sunrpc/xdr_rec.c: Likewise.
35555         * sunrpc/xdr_ref.c: Likewise.
35556         * sunrpc/xdr_sizeof.c: Likewise.
35557         * sunrpc/xdr_stdio.c: Likewise.
35558
35559 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35560
35561         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35562         change.  Update copyright years.
35563
35564 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35565
35566         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35567
35568 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
35569             Joseph Myers  <joseph@codesourcery.com>
35570             Paul Pluzhnikov  <ppluzhnikov@google.com>
35571
35572         [BZ #14012]
35573         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35574         requiring rpcgen.
35575         [cross-compiling] (extra-libs): Likewise.
35576         [cross-compiling] (extra-libs-others): Likewise.
35577         [cross-compiling] (librpcsvc-routines): Likewise.
35578         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35579         [cross-compiling] (omit-deps): Likewise.
35580         (sunrpc-CPPFLAGS): New variable.
35581         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35582         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35583         (cross-rpcgen-objs): New variable.
35584         (extra-objs): Append $(cross-rpcgen-objs).
35585         ($(cross-rpcgen-objs)): New rule.
35586         ($(objpfx)cross-rpcgen): Likewise.
35587         (rpcgen-cmd): Define to use $(built-program-file).  Expand
35588         comment.
35589         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35590         ($(objpfx)x%.stmp): Likewise.
35591         * sunrpc/proto.h [IS_IN_build] (_): Define.
35592         [IS_IN_build] (_libc_intl_domainname): Likewise.
35593
35594 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35595
35596         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35597         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35598         and R_X86_64_TPOFF64.
35599
35600 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35601
35602         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35603         sysdeps/unix/sysv/syscalls.list.
35604         (stime): Likewise.
35605         (utime): Likewise.
35606         * sysdeps/unix/sysv/syscalls.list: Remove file.
35607
35608 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
35609
35610         [BZ #3440]
35611         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35612         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35613         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35614         (__LC_IDENTIFICATION): Make these macros useful in #if
35615         expressions, as required by C99.
35616
35617 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
35618
35619         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35620         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
35621         after this.
35622
35623 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
35624
35625         * stdlib/longlong.h: Updated from GCC.
35626
35627 2012-05-09  Andreas Jaeger  <aj@suse.de>
35628
35629         * nscd/nscd.c (run_modes): Make named enum, reorder so that
35630         default is first entry.
35631         (run_mode): Set type.
35632         (main): Remove informal message about syslog.
35633         (options): Fix typo.
35634
35635         [BZ #14053]
35636         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35637         to asm.
35638         (lrint): Likewise.
35639         (llrintf): Likewise.
35640         (llrint): Likewise.
35641         (rint): Likewise.
35642         (rintf): Likewise.
35643         (nearbyint): Likewise.
35644         (nearbyintf): Likewise.
35645
35646 2012-05-09  Andreas Jaeger  <aj@suse.de>
35647             Pedro Alves  <palves@redhat.com>
35648
35649         * nscd/nscd.c (run_mode): Use enum.
35650         (main): Cleanup coding style issue.
35651
35652 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
35653             Andreas Jaeger  <aj@suse.de>
35654
35655         * nscd/nscd.c (go_background): Replaced with...
35656         (run_mode): ... this.
35657         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35658         (options): Add -F --foreground.
35659         (main): Implement it.
35660         (parse_opt): Parse it.
35661
35662 2012-05-09  Andreas Jaeger  <aj@suse.de>
35663
35664         [BZ #14083]
35665         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35666         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35667         -Wconversion warning.
35668         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35669         Likewise.
35670
35671 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
35672
35673         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
35674         == 0.
35675         (LC_ALL): Use macro-int-constant.
35676         (LC_COLLATE): Likewise.
35677         (LC_CTYPE): Likewise.
35678         (LC_MESSAGES): Likewise.
35679         (LC_MONETARY): Likewise.
35680         (LC_NUMERIC): Likewise.
35681         (LC_TIME): Likewise.
35682         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35683         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35684         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35685         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35686         Specify type.
35687         [C99-based standards] (float_t): Expect type.
35688         [C99-based standards] (double_t): Expect type.
35689         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
35690         type.
35691         [C99-based standards] (HUGE_VALL): Likewise.
35692         [C99-based standards] (INFINITY): Likewise.
35693         [C99-based standards] (NAN): Likewise.
35694         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35695         [C99-based standards] (FP_NAN): Likewise.
35696         [C99-based standards] (FP_NORMAL): Likewise.
35697         [C99-based standards] (FP_SUBNORMAL): Likewise.
35698         [C99-based standards] (FP_ZERO): Likewise.
35699         [C99-based standards] (FP_FAST_FMA): Use
35700         optional-macro-int-constant.  Specify type.  Require == 1.
35701         [C99-based standards] (FP_FAST_FMAF): Likewise.
35702         [C99-based standards] (FP_FAST_FMAL): Likewise.
35703         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35704         [C99-based standards] (FP_ILOGBNAN): Likewise.
35705         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35706         Specify type.
35707         [C99-based standards] (MATH_ERREXCEPT): Likewise.
35708         [C99-based standards] (math_errhandling): Specify type.
35709         [ISO99 || ISO11] (signgam): Do not allow.
35710         [non-C99-based standards] (copysignf): Do not allow.
35711         [non-C99-based standards] (exp2f): Likewise.
35712         [non-C99-based standards] (log2f): Likewise.
35713         [non-C99-based standards] (modff): Allow.
35714         [non-C99-based standards] (erff): Do not allow.
35715         [non-C99-based standards] (erfcf): Likewise.
35716         [non-C99-based standards] (gammaf): Likewise.
35717         [non-C99-based standards] (hypotf): Likewise.
35718         [non-C99-based standards] (j0f): Likewise.
35719         [non-C99-based standards] (j1f): Likewise.
35720         [non-C99-based standards] (jnf): Likewise.
35721         [non-C99-based standards] (lgammaf): Likewise.
35722         [non-C99-based standards] (tgammaf): Likewise.
35723         [non-C99-based standards] (y0f): Likewise.
35724         [non-C99-based standards] (y1f): Likewise.
35725         [non-C99-based standards] (ynf): Likewise.
35726         [non-C99-based standards] (isnanf): Likewise.
35727         [non-C99-based standards] (acoshf): Likewise.
35728         [non-C99-based standards] (asinhf): Likewise.
35729         [non-C99-based standards] (atanhf): Likewise.
35730         [non-C99-based standards] (cbrtf): Likewise.
35731         [non-C99-based standards] (expm1f): Likewise.
35732         [non-C99-based standards] (ilogbf): Likewise.
35733         [non-C99-based standards] (log1pf): Likewise.
35734         [non-C99-based standards] (logbf): Likewise.
35735         [non-C99-based standards] (nextafterf): Likewise.
35736         [non-C99-based standards] (remainderf): Likewise.
35737         [non-C99-based standards] (rintf): Likewise.
35738         [non-C99-based standards] (scalbf): Likewise.
35739         [non-C99-based standards] (copysignl): Likewise.
35740         [non-C99-based standards] (exp2l): Likewise.
35741         [non-C99-based standards] (log2l): Likewise.
35742         [non-C99-based standards] (modfl): Allow.
35743         [non-C99-based standards] (erfl): Do not allow.
35744         [non-C99-based standards] (erfcl): Likewise.
35745         [non-C99-based standards] (gammal): Likewise.
35746         [non-C99-based standards] (hypotl): Likewise.
35747         [non-C99-based standards] (j0l): Likewise.
35748         [non-C99-based standards] (j1l): Likewise.
35749         [non-C99-based standards] (jnl): Likewise.
35750         [non-C99-based standards] (lgammal): Likewise.
35751         [non-C99-based standards] (tgammal): Likewise.
35752         [non-C99-based standards] (y0l): Likewise.
35753         [non-C99-based standards] (y1l): Likewise.
35754         [non-C99-based standards] (ynl): Likewise.
35755         [non-C99-based standards] (isnanl): Likewise.
35756         [non-C99-based standards] (acoshl): Likewise.
35757         [non-C99-based standards] (asinhl): Likewise.
35758         [non-C99-based standards] (atanhl): Likewise.
35759         [non-C99-based standards] (cbrtl): Likewise.
35760         [non-C99-based standards] (expm1l): Likewise.
35761         [non-C99-based standards] (ilogbl): Likewise.
35762         [non-C99-based standards] (log1pl): Likewise.
35763         [non-C99-based standards] (logbl): Likewise.
35764         [non-C99-based standards] (nextafterl): Likewise.
35765         [non-C99-based standards] (remainderl): Likewise.
35766         [non-C99-based standards] (rintl): Likewise.
35767         [non-C99-based standards] (scalbl): Likewise.
35768         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35769         [non-C99-based standards] (FP_*): Do not allow.
35770         [C99-based standards] (FP_*): Change to
35771         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35772         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35773         allow.
35774         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35775         (SIG_ERR): Likewise.
35776         [X/Open-based standards] (SIG_HOLD): Likewise.
35777         (SIG_IGN): Likewise.
35778         (SIGABRT): Use macro-int-constant.  Specify type.  Require
35779         positive value.
35780         (SIGFPE): Likewise.
35781         (SIGILL): Likewise.
35782         (SIGINT): Likewise.
35783         (SIGSEGV): Likewise.
35784         (SIGTER): Likewise.
35785         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35786         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35787         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35788         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35789         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35790         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35791         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35792         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35793         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35794         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35795         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35796         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35797         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35798         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35799         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35800         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35801         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35802         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35803         [X/Open-based standards] (SIGTRAP): Likewise.
35804         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35805         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35806         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35807         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35808         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35809         allow.
35810
35811 2012-05-08  Ian Wienand  <ianw@vmware.com>
35812
35813         [BZ #14080]
35814         * time/tzset.c (__tzset_parse_tz): Update default rules for
35815         daylight time changes in the Energy Policy Act of 2005.
35816
35817 2012-05-09  Andreas Jaeger  <aj@suse.de>
35818
35819         [BZ #13983]
35820         * elf/ldconfig.c (parse_conf): Change string to make clear that
35821         ldconfig only issued a warning if ld.so.conf does not exist.
35822
35823 2012-05-08  David S. Miller  <davem@davemloft.net>
35824
35825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35826         movxtod instead of popping the value on the stack.
35827
35828         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35829
35830 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
35831
35832         * config.h.in: Add HAVE_ARM_PCS_VFP.
35833
35834 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
35835
35836         [BZ #13979]
35837         * include/features.h: Warn if user requests __FORTIFY_SOURCE
35838         checking but the checks are disabled for any reason.
35839
35840 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
35841
35842         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35843         and ELF64_R_TYPE with ELFW(R_TYPE).
35844
35845 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
35846
35847         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35848         (ulimit): Likewise.
35849
35850         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35851         (settimeofday): Likewise.
35852
35853 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
35854
35855         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
35856         a struct th_u2 inside the union, and move tu_block/tu_code into
35857         a new th_u3 union of tu_block/tu_code inside of that.  Move
35858         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
35859         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
35860         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35861         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35862         (th_stuff): Change to th_u1.tu_stuff.
35863         (th_data): Define.
35864         (th_msg): Change to th_u1.th_u2.tu_data.
35865
35866 2012-05-07  David S. Miller  <davem@davemloft.net>
35867
35868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35869
35870         [BZ #14074]
35871         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35872         (SETUP_PIC_REG): Use it.
35873         (SETUP_PIC_REG_LEAF): Use it.
35874
35875 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
35876
35877         [BZ #13885]
35878         [BZ #13923]
35879         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35880         USE_AS_EXPM1L.
35881         (EXPL_FINITE): Likewise.
35882         (FLDLOG): Likewise.
35883         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35884         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35885         e_expl.S.
35886         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35887         USE_AS_EXPM1L.
35888         (EXPL_FINITE): Likewise.
35889         (FLDLOG): Likewise.
35890         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35891         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35892         e_expl.S.
35893         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
35894         test of -max_value argument for long double.
35895         * sysdeps/i386/fpu/libm-test-ulps: Update.
35896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35897
35898 2012-05-06  David S. Miller  <davem@davemloft.net>
35899
35900         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35901         quad soft-float symbols whose references which are compiler
35902         generated.
35903         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35904
35905 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
35906
35907         [BZ #13884]
35908         [BZ #13914]
35909         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35910         USE_AS_EXP10L.
35911         (EXPL_FINITE): Likewise.
35912         (FLDLOG): Likewise.
35913         (c0): Likewise.
35914         (c1): Likewise.
35915         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35916         Adjust comments for base varying.
35917         (__expl_finite): Change alias to EXPL_FINITE.
35918         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35919         e_expl.S.
35920         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35921         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35922         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35923         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35924         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35925         USE_AS_EXP10L.
35926         (EXPL_FINITE): Likewise.
35927         (FLDLOG): Likewise.
35928         (c0): Likewise.
35929         (c1): Likewise.
35930         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35931         Adjust comments for base varying.
35932         (__expl_finite): Change alias to EXPL_FINITE.
35933         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
35934         tests for bugs.
35935         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35936
35937         [BZ #14064]
35938         * math/libm-test.inc (check_float_internal): Correct ulp
35939         calculation for subnormal expected results.
35940
35941 2012-05-06  Andreas Jaeger  <aj@suse.de>
35942
35943         * Makeconfig (+math-flags): New, set to -frounding-math.
35944         (+cflags): Add +math-flags so that all of glibc gets compiled with
35945         it.
35946
35947         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35948
35949 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
35950
35951         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35952         Disable one test.
35953
35954         [BZ #13787]
35955         [BZ #13922]
35956         [BZ #14036]
35957         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35958         (__ieee754_expl): Allow for and saturate large arguments.
35959         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35960         (u_threshold): Likewise.
35961         (__exp): Call __ieee754_exp before checking for overflow and
35962         underflow.
35963         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35964         (u_threshold): Likewise.
35965         (__expf): Call __ieee754_expf before checking for overflow and
35966         underflow.
35967         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35968         (u_threshold): Likewise.
35969         (__expl): Call __ieee754_expl before checking for overflow and
35970         underflow.
35971         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35972         (__ieee754_expl): Allow for and saturate large arguments.
35973         * math/libm-test.inc (exp_test): Add another test.  Do not allow
35974         missing overflow exception on overflow.
35975         (expm1_test): Do not allow missing overflow exception on overflow.
35976
35977         * sysdeps/i386/fpu/e_expl.c: Move to ...
35978         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
35979         rather than using inline asm.
35980         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35981         * sysdeps/x86_64/fpu/e_expl.S: Copy from
35982         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35983
35984         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35985         (nice): Likewise.
35986         (poll): Likewise.
35987         (signal): Likewise.
35988         (time): Likewise.
35989         (times): Likewise.
35990
35991 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35992
35993         * sysdeps/unix/syscalls.list (adjtime): Add entry from
35994         sysdeps/unix/common/syscalls.list.
35995         (fchmod): Likewise.
35996         (fchown): Likewise.
35997         (ftruncate): Likewise.
35998         (getrusage): Likewise.
35999         (gettimeofday): Likewise.
36000         (setpgid): Likewise.
36001         (setregid): Likewise.
36002         (setreuid): Likewise.
36003         (sigaction): Likewise.
36004         (truncate): Likewise.
36005         (vhangup): Likewise.
36006         * sysdeps/unix/common/syscalls.list: Remove file.
36007         * sysdeps/unix/bsd/Implies: Don't include unix/common.
36008         * sysdeps/unix/sysv/linux/Implies: Likewise.
36009
36010 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
36011
36012         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36014         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36015         Moved to ...
36016         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36017         Here.
36018         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36019         to ...
36020         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36021         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36022         to ...
36023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36024         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36025         to ...
36026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36027         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36028         to ...
36029         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36030         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36031         to ...
36032         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36033         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36034         to ...
36035         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36036         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36037         to ...
36038         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36039         Here.
36040         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36041         to ...
36042         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36043         Here.
36044         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36045         to ...
36046         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36047         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36048         Moved to ...
36049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36050         Here.
36051         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36052         to ...
36053         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36054
36055 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36056
36057         * sysdeps/unix/common/bits/dirent.h: Remove file.
36058         * sysdeps/unix/common/bits/fcntl.h: Likewise.
36059
36060         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36061         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36062         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36063         * sysdeps/unix/bsd/isatty.c: Likewise.
36064         * sysdeps/unix/bsd/tcdrain.c: Likewise.
36065         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36066         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36067
36068 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36069
36070         [BZ #13563]
36071         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36072         long double comparison inaccuracies.
36073         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36075
36076 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
36077
36078         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36079         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36080
36081 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36082
36083         [BZ #14049]
36084         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36085         nonzero digits before rounding a hex value.
36086         * stdlib/tst-strtod.c (tests): Add another test.
36087
36088 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36089
36090         * sysdeps/s390/fpu/libm-test-ulps: Update.
36091
36092 2012-05-03  Andreas Jaeger  <aj@suse.de>
36093
36094         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36095         does not get optimized out.
36096         (malloc_opt_barrier): New.
36097
36098 2012-05-03  Andreas Jaeger  <aj@suse.de>
36099             Roland McGrath  <roland@hack.frob.com>
36100
36101         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36102         intermediate file deletion.
36103         (generated): Add .symlist files.
36104
36105 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
36106
36107         [BZ #13775]
36108         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36109         Redirect under this condition.
36110         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36111         [__USE_GNU] (__dprintf_chk): Not under this condition.
36112         [__USE_GNU] (__vdprintf_chk): Likewise.
36113         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36114         under this condition.
36115         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36116         [__USE_XOPEN2K8] (dprintf): Define under this condition.
36117         [__USE_XOPEN2K8] (vdprintf): Likewise.
36118         [__USE_GNU] (__dprintf_chk): Not under this condition.
36119         [__USE_GNU] (__vdprintf_chk): Likewise.
36120         [__USE_GNU] (dprintf): Likewise.
36121         [__USE_GNU] (vdprintf): Likewise.
36122
36123 2012-05-03  Roland McGrath  <roland@hack.frob.com>
36124
36125         * elf/Makefile (common-generated): Set this instead of generated for
36126         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
36127         $(all-built-dso)-derived lists.
36128
36129 2012-05-03  Andreas Jaeger  <aj@suse.de>
36130
36131         * sysdeps/i386/fpu/libm-test-ulps: Update.
36132
36133         * FAQ: Removed.
36134         * FAQ.in: Likewise.
36135         * scripts/gen-FAQ.pl: Likewise.
36136         * manual/install.texi (Installation): Point to online location of
36137         FAQ.
36138         * Makefile (files-for-dist): Remove FAQ.
36139         (FAQ): Remove.
36140
36141 2012-05-02  Allan McRae  <allan@archlinux.org>
36142
36143         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36144         (LDFLAGS-reldepmod5.so): Likewise.
36145         (LDFLAGS-reldep6mod1.so): Likewise.
36146         (LDFLAGS-reldep6mod4.so): Likewise.
36147         (LDFLAGS-reldep8mod3.so): Likewise.
36148         (LDFLAGS-unload4mod1.so): Likewise.
36149         (LDFLAGS-unload4mod2.so): Likewise.
36150         (LDFLAGS-tst-initorder): Likewise.
36151         (LDFLAGS-tst-initordera2.so): Likewise.
36152         (LDFLAGS-tst-initordera3.so): Likewise.
36153         (LDFLAGS-tst-initordera4.so): Likewise.
36154         (LDFLAGS-tst-initorderb2.so): Likewise.
36155         (LDFLAGS-noload): Likewise.
36156         (LDFLAGS-next): Likewise.
36157         (LDFLAGS-order2mod1.so): Likewise.
36158         (LDFLAGS-order2mod2.so): Likewise.
36159         (LDFLAGS-tst-initorder2): Likewise.
36160         (LDFLAGS-tst-initorder2a.so): Likewise.
36161         (LDFLAGS-tst-initorder2b.so): Likewise.
36162         (LDFLAGS-tst-initorder2c.so): Likewise.
36163         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36164
36165 2012-05-02  David S. Miller  <davem@davemloft.net>
36166
36167         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36168
36169 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
36170
36171         [BZ #14055]
36172         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36173
36174 2012-05-02  Andreas Jaeger  <aj@suse.de>
36175
36176         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36177         since we manipulate rounding mode.
36178         (CPPFLAGS-test-idouble.c): Likewise.
36179         (CPPFLAGS-test-ifloat.c): Likewise.
36180         (CFLAGS-test-ldouble.c): Likewise.
36181         (CFLAGS-test-double.c): Likewise.
36182         (CFLAGS-test-float.c): Likewise.
36183         (CFLAGS-test-misc.c): Likewise.
36184         (CFLAGS-test-test-fenv.c): Likewise.
36185
36186 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36187
36188         [BZ #2550]
36189         [BZ #2570]
36190         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36191         comparisons to determine direction to adjust input.
36192
36193 2012-05-01  Roland McGrath  <roland@hack.frob.com>
36194
36195         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36196         output to the target.
36197
36198         * scripts/localplt.awk: New file.
36199         * elf/Makefile ($(objpfx)check-localplt): Target removed.
36200         (check-localplt-CFLAGS): Variable removed.
36201         ($(all-built-dso:=.jmprel)): New static pattern rule.
36202         (generated): Add those targets.
36203         (localplt-built-dso): New variable.
36204         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36205
36206         * elf/check-localplt.c: File removed.
36207
36208         * scripts/check-execstack.awk: New file.
36209         * elf/Makefile ($(objpfx)check-execstack): Target removed.
36210         (check-execstack-CFLAGS): Variable removed.
36211         ($(objpfx)check-execstack.h): Target removed.
36212         ($(objpfx)execstack-default): New target.
36213         (generated): Add that instead of check-execstack.h.
36214         ($(all-built-dso:=.phdr)): New static pattern rule.
36215         (generated): Add those targets.
36216         * elf/check-execstack.c: File removed.
36217
36218         * scripts/check-textrel.awk: New file.
36219         * elf/Makefile ($(objpfx)check-textrel): Target removed.
36220         (check-textrel-CFLAGS): Variable removed.
36221         (all-built-dso): Use := to define.o
36222         ($(all-built-dso:=.dyn)): New static pattern rule.
36223         (generated): Add those targets.
36224         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36225         * config.make.in (READELF): New substituted variable.
36226         * elf/check-textrel.c: File removed.
36227
36228 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36229
36230         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36231         allow.
36232         * conform/data/ctype.h-data [C99-based standards] (isblank):
36233         Expect function.
36234         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36235         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36236         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36237         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36238         Specify type.  Require positive value.
36239         (EILSEQ): Likewise.
36240         (ERANGE): Likewise.
36241         [ISO || POSIX] (EILSEQ): Do not expect.
36242         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36243         Specify type.  Require positive value.
36244         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36245         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36246         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36247         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36248         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36249         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36250         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36251         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36252         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36253         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36254         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36255         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36256         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36257         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36258         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36259         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36260         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36261         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36262         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36263         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36264         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36265         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36266         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36267         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36268         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36269         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36270         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36271         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36272         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36273         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36274         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36275         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36276         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36277         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36278         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36279         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36280         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36281         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36282         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36283         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36284         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36285         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36286         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36287         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36288         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36289         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36290         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36291         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36292         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36293         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36294         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36295         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36296         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36297         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36298         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36299         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36300         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36301         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36302         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36303         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36304         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36305         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36306         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36307         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36308         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36309         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36310         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36311         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36312         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36313         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36314         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36315         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36316         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36317         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36318         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36319         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36320         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36321         Require >= 2.
36322         (FLT_ROUNDS): Expect as macro, not constant.
36323         (FLT_MANT_DIG): Use macro-int-constant.
36324         (DBL_MANT_DIG): Likewise.
36325         (LDBL_MANT_DIG): Likewise.
36326         (FLT_DIG): Likewise.
36327         (DBL_DIG): Likewise.
36328         (LDBL_DIG): Likewise.
36329         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
36330         (DBL_MIN_EXP): Likewise.
36331         (LDBL_MIN_EXP): Likewise.
36332         (FLT_MAX_EXP): Use macro-int-constant.
36333         (DBL_MAX_EXP): Likewise.
36334         (LDBL_MAX_EXP): Likewise.
36335         (FLT_MAX_10_EXP): Likewise.
36336         (DBL_MAX_10_EXP): Likewise.
36337         (LDBL_MAX_10_EXP): Likewise.
36338         (FLT_MAX): Use macro-constant.
36339         (DBL_MAX): Likewise.
36340         (LDBL_MAX): Likewise.
36341         (FLT_EPSILON): Use macro-constant.  Give upper bound.
36342         (DBL_EPSILON): Likewise.
36343         (LDBL_EPSILON): Likewise.
36344         (FLT_MIN): Likewise.
36345         (DBL_MIN): Likewise.
36346         (LDBL_MIN): Likewise.
36347         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36348         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36349         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36350         [ISO11] (FLT_HAS_SUBNORM): Likewise.
36351         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36352         [ISO11] (DBL_DECIMAL_DIG): Likewise.
36353         [ISO11] (FLT_DECIMAL_DIG): Likewise.
36354         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36355         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36356         [ISO11] (FLT_TRUE_MIN): Likewise.
36357         [ISO11] (LDBL_TRUE_MIN): Likewise.
36358         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36359         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36360         (SCHAR_MIN): Use macro-int-constant.  Specify type.
36361         (SCHAR_MAX): Likewise.
36362         (UCHAR_MAX): Likewise.
36363         (CHAR_MIN): Likewise.
36364         (CHAR_MAX): Likewise.
36365         (MB_LEN_MAX): Use macro-int-constant.
36366         (SHRT_MIN): Use macro-int-constant.  Specify type.
36367         (SHRT_MAX): Likewise.
36368         (USHRT_MAX): Likewise.
36369         (INT_MAX): Likewise.
36370         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
36371         bound negative.
36372         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36373         bound with "U".
36374         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36375         bound with "L".
36376         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
36377         bound negative.  Suffix upper bound with "L".
36378         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36379         bound with "UL".
36380         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36381         Specify type.
36382         [C99-based standards] (LLONG_MAX): Likewise.
36383         [C99-based standards] (ULLONG_MAX): Likewise.
36384         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
36385         == 0.
36386         [ISO11] (max_align_t): Require type.
36387         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36388
36389         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36390         from $CFLAGS, without defining away __attribute__ calls.
36391         (checknamespace): Use $CFLAGS_namespace.
36392
36393         * conform/conformtest.pl (@keywords): Only include C99 keywords
36394         for standards based on C99 or C11.
36395
36396         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36397         Disable tests.
36398         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36399         UNIX98]: Likewise.
36400
36401         * conform/conformtest.pl: Handle "macro-int-constant" and test for
36402         usability of symbols in #if.
36403
36404         * conform/conformtest.pl: If macro or constant types start
36405         "promoted:", expect the symbol to be of the following type
36406         promoted by the integer promotions.
36407
36408         * conform/conformtest.pl: Parse all "constant" and "macro" lines
36409         in one place.  Also handle "macro-constant".
36410
36411         * conform/conformtest.pl: Only accept expected macro values with
36412         "==".  Parse all "macro" lines in one place.
36413         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36414
36415         * conform/conformtest.pl: Handle braced types on "constant" lines
36416         instead of handling "typed-constant".
36417         * conform/data/signal.h-data: Use "constant" instead of
36418         "typed-constant".
36419
36420         * conform/conformtest.pl: Handle "optional-" at start of lines in
36421         one place rather than duplicating several cases.  Handle each
36422         format of "macro" line with initial "optional-".
36423
36424         * conform/conformtest.pl: Only accept expected constant or
36425         optional-constant values with "==".  Parse all "constant" lines in
36426         one place.  Parse all "optional-constant" lines in one place.
36427         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36428         * conform/data/fmtmsg.h-data: Likewise.
36429         * conform/data/netinet/in.h-data: Likewise.
36430         * conform/data/tar.h-data: Likewise.
36431         * conform/data/limits.h-data: Use "==" form on "constant" and
36432         "optional-constant" lines.
36433
36434         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36435         Use -std=c99 for XOPEN2K.
36436         (@knownproblems): Remove.
36437         (newtoken): Don't check %isknown.
36438
36439         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36440         Do not expect macro.
36441         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36442         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36443         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36444         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36445         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36446         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36447         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36448         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36449         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36450         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36451         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36452         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36453         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36454         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36455         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36456         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36457         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36458         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36459         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36460         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36461         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36462         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36463         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36464         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36465         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36466         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36467         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36468         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36469         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36470         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36471         [XPG3] (acosh): Likewise.
36472         [XPG3] (asinh): Likewise.
36473         [XPG3] (atanh): Likewise.
36474         [XPG3] (cbrt): Likewise.
36475         [XPG3] (expm1): Likewise.
36476         [XPG3] (ilogb): Likewise.
36477         [XPG3] (log1p): Likewise.
36478         [XPG3] (logb): Likewise.
36479         [XPG3] (nextafter): Likewise.
36480         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36481         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36482         [XPG3] (remainder): Likewise.
36483         [XPG3] (rint): Likewise.
36484         [XPG3 || XPG4 || UNIX98] (round): Likewise.
36485         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36486         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36487         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36488         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36489         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36490         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36491         [UNIX98 || XOPEN2K] (scalb): Expect.
36492         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36493         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36494         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36495         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36496         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36497         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36498         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36499         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36500         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36501         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36502         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36503         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36504         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36505         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36506         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36507         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36508         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36509         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36510         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36511         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36512         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36513         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36514         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36515         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36516         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36517         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36518         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36519         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36520         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36521         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36522         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36523         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36524         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36525         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36526         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36527         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36528         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36529         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36530         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36531         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36532         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36533         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36534         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36535         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36536         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36537         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36538         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36539         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36540         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36541         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36542         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36543         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36544         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36545         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36546         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36547         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36548         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36549         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36550         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36551         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36552         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36553         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36554         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36555         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36556         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36557         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36558         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36559         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36560         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36561         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36562         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36563         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36564         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36565         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36566         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36567         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36568         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36569         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36570         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36571         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36572         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36573         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36574         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36575         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36576         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36577         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36578         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36579         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36580         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36581         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36582         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36583         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36584         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36585         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36586         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36587         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36588         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36589         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36590         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36591         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36592         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36593         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36594         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36595         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36596         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36597         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36598         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36599         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36600         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36601         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36602         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36603         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36604         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36605         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36606         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36607         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36608         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36609         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36610         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36611         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36612         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36613         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36614         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36615         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36616         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36617         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36618         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36619         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36620         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36621         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36622         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36623         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36624         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36625         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36626         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36627         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36628         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36629
36630         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36631         _XOPEN_SOURCE_EXTENDED for XPG4.
36632
36633         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36634
36635         * Makeconfig (localtime): Remove variable.
36636         (inst_localtime-file): Likewise.
36637
36638 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36639
36640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36641         Update.
36642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36643         Update.
36644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36645         Update.
36646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36647         Update.
36648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36649         Update.
36650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36651         Update.
36652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36653         Update.
36654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36655         Update.
36656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36657         Update.
36658
36659 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36660
36661         [BZ #2550]
36662         [BZ #2570]
36663         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36664         comparisons to determine direction to adjust input.
36665         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36666         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36667         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36668         Likewise.
36669         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36670         Likewise.
36671         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36672         Likewise.
36673         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36674         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36675         Likewise.
36676         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36677         Likewise.
36678         * math/libm-test.inc (nexttoward_test): Add more tests.
36679
36680 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36681
36682         [BZ #14040]
36683         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36684         in version GLIBC_2.1, not GLIBC_2.0.
36685         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36686         Likewise.
36687
36688 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
36689
36690         [BZ #13942]
36691         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36692         (1 - x) * (1 + x).
36693         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36694         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36695         * math/libm-test.inc (acos_test): Add more tests.
36696         (asin_test): Likewise.
36697         * sysdeps/i386/fpu/libm-test-ulps: Update.
36698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36699
36700         [BZ #14034]
36701         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36702         of square root.
36703         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36704         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36705         * math/libm-test.inc (acos_test_tonearest): New function.
36706         (acos_test_towardzero): Likewise.
36707         (acos_test_downward): Likewise.
36708         (acos_test_upward): Likewise.
36709         (asin_test_tonearest): Likewise.
36710         (asin_test_towardzero): Likewise.
36711         (asin_test_downward): Likewise.
36712         (asin_test_upward): Likewise.
36713         (main): Call the new functions.
36714         * sysdeps/i386/fpu/libm-test-ulps: Update.
36715         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36716
36717         [BZ #13884]
36718         [BZ #13924]
36719         * math/e_exp10.c: Include <float.h>.
36720         (__ieee754_exp10): Handle underflow here rather than multiplying
36721         large negative argument by M_LN10.
36722         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36723         of __ieee754_expf.
36724         * math/e_exp10l.c: Include <float.h>.
36725         (__ieee754_exp10l): Handle underflow here rather than multiplying
36726         large negative argument by M_LN10l.
36727         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
36728         spurious overflow exception on underflow.
36729
36730 2012-04-29  Marek Polacek  <polacek@redhat.com>
36731
36732         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36733         (__fortify_function): New macro.
36734         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36735         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36736         __extern_always_inline.
36737         * libio/bits/stdio2.h: Likewise.
36738         * libio/bits/stdio.h: Likewise.
36739         * string/string.h: Likewise.
36740         * string/bits/string3.h: Likewise.
36741         * include/stdio.h: Likewise.
36742         * stdlib/bits/stdlib.h: Likewise.
36743         * stdlib/stdlib.h: Likewise.
36744         * rt/bits/mqueue2.h: Likewise.
36745         * rt/mqueue.h: Likewise.
36746         * posix/bits/unistd.h: Likewise.
36747         * posix/unistd.h: Likewise.
36748         * io/bits/poll2.h: Likewise.
36749         * io/bits/fcntl2.h: Likewise.
36750         * io/fcntl.h: Likewise.
36751         * io/sys/poll.h: Likewise.
36752         * misc/bits/syslog.h: Likewise.
36753         * misc/bits/syslog-ldbl.h: Likewise.
36754         * misc/sys/syslog.h: Likewise.
36755         * socket/bits/socket2.h: Likewise.
36756         * socket/sys/socket.h: Likewise.
36757         * debug/tst-chk1.c: Likewise.
36758         * wcsmbs/bits/wchar2.h: Likewise.
36759         * wcsmbs/bits/wchar-ldbl.h: Likewise.
36760         * wcsmbs/wchar.h: Likewise.
36761
36762 2012-04-29  Andreas Jaeger  <aj@suse.de>
36763
36764         * Makerules (tests): Remove enable-check-abi protection.
36765         (check-abi-warn): Remove.
36766         (check-abi-%): Remove check-abi-warn usage.
36767
36768         * configure.in: Remove check-abi configure option.
36769         * configure: Regenerated.
36770         * config.make.in (enable-check-abi): Remove.
36771
36772 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
36773
36774         [BZ #14033]
36775         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36776         double functions to double *_finite functions.
36777
36778         [BZ #13941]
36779         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36780         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36781         LDBL_MIN_EXP.
36782         * stdio-common/Makefile (tests): Add tst-sprintf3.
36783         * stdio-common/tst-sprintf3.c: New file.
36784
36785         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36786         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36787
36788 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36789
36790         * conform/conformtest.pl: Remove duplicate typed-constant
36791         handling.
36792
36793 2012-04-28  David S. Miller  <davem@davemloft.net>
36794
36795         * Makerules (%.abilist): Add vpath on sysdep_dirs.
36796         (check-abi-%): Remove AWK script prerequisite and explicit
36797         abilist directory.
36798         (check-abi): Rewrite to just diff the symlist with the abilist.
36799         (config-tls, config-abi-config): Delete, no longer used.
36800         (update-abi-%): Remove AWK script and explicit abilist directory.
36801         (update-abi): Rewrite to simply compare and conditionally copy the
36802         symlist and the sysdep abilist file.  Remove update-abi-config
36803         checks.
36804         * abilist/ld.abilist: Remove.
36805         * abilist/libBrokenLocale.abilist: Remove.
36806         * abilist/libanl.abilist: Remove.
36807         * abilist/libcrypt.abilist: Remove.
36808         * abilist/libdl.abilist: Remove.
36809         * abilist/librt.abilist: Remove.
36810         * abilist/libthread_db.abilist: Remove.
36811         * abilist/libutil.abilist: Remove.
36812         * scripts/extract-abilist.awk: Remove.
36813         * scripts/merge-abilist.awk: Remove.
36814         * sysdeps/generic/libcidn.abilist: New file.
36815         * sysdeps/generic/libnss_compat.abilist: New file.
36816         * sysdeps/generic/libnss_db.abilist: New file.
36817         * sysdeps/generic/libnss_dns.abilist: New file.
36818         * sysdeps/generic/libnss_files.abilist: New file.
36819         * sysdeps/generic/libnss_hesiod.abilist: New file.
36820         * sysdeps/generic/libnss_nis.abilist: New file.
36821         * sysdeps/generic/libnss_nisplus.abilist: New file.
36822         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36823         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36824         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36825         file.
36826         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36827         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36828         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36829         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36830         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36831         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36832         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36833         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36834         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36835         file.
36836         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36837         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36838         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36839         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36840         file.
36841         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36842         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36843         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36844         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36845         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36846         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36847         file.
36848         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36849         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36850         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36851         file.
36852         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36853         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36854         New file.
36855         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36856         New file.
36857         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36858         New file.
36859         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36860         New file.
36861         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36862         New file.
36863         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36864         New file.
36865         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36866         New file.
36867         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36868         New file.
36869         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36870         New file.
36871         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36872         New file.
36873         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36874         New file.
36875         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36876         New file.
36877         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36878         New file.
36879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36880         file.
36881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36882         New file.
36883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36884         New file.
36885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36886         file.
36887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36888         New file.
36889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36890         New file.
36891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36892         file.
36893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36894         New file.
36895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36896         New file.
36897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36898         New file.
36899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36900         New file.
36901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36902         New file.
36903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36904         New file.
36905         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36907         file.
36908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36909         New file.
36910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36911         file.
36912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36913         file.
36914         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36915         file.
36916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36917         file.
36918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36919         file.
36920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36921         New file.
36922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36923         file.
36924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36925         file.
36926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36927         New file.
36928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36929         file.
36930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36932         file.
36933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36934         New file.
36935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36936         file.
36937         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36938         file.
36939         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36940         file.
36941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36942         file.
36943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36944         file.
36945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36946         New file.
36947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36948         file.
36949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36950         file.
36951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36952         New file.
36953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36954         file.
36955         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36956         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36957         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36958         file.
36959         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36960         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36961         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36962         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36963         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36964         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36965         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36966         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36967         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36968         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36969         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36971         file.
36972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36973         New file.
36974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36975         file.
36976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36977         file.
36978         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36979         file.
36980         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36981         file.
36982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36983         file.
36984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36985         New file.
36986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36987         New file.
36988         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36989         file.
36990         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36991         New file.
36992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36993         file.
36994         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36996         file.
36997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36998         New file.
36999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37000         file.
37001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37002         file.
37003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37004         file.
37005         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37006         file.
37007         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37008         file.
37009         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37010         New file.
37011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37012         New file.
37013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37014         file.
37015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37016         New file.
37017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37018         file.
37019
37020 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37021
37022         * conform/conformtest.pl: Fix typo in handling typed-constant from
37023         allow-header.
37024
37025 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37026
37027         * README: Cut down references to pre-2.6 Linux kernels and
37028         Linuxthreads.  Update lists of configurations in libc and ports
37029         and sort alphabetically.  Say "or newer" with Linux kernel version
37030         requirements.
37031
37032         * config.h.in [IS_IN_build]: Allow compiling without optimization.
37033
37034 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37035
37036         [BZ #887]
37037         * math/libm-test.inc (logb_test_downward): New test to expose
37038         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37039         rounding mode.
37040
37041 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37042
37043         [BZ #14027]
37044         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37045         to be done.
37046         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37047         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37048
37049 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
37050
37051         * sysdeps/unix/i386/brk.S: Remove file.
37052         * sysdeps/unix/i386/dl-brk.S: Likewise.
37053         * sysdeps/unix/i386/pipe.S: Likewise.
37054         * sysdeps/unix/i386/sigreturn.S: Likewise.
37055         * sysdeps/unix/i386/syscall.S: Likewise.
37056         * sysdeps/unix/i386/vfork.S: Likewise.
37057         * sysdeps/unix/i386/wait.S: Likewise.
37058
37059         * sysdeps/unix/common/tcsendbrk.c: Move to ...
37060         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37061
37062         * configure.in (arm*-none*): Do not allow without
37063         --enable-hacker-mode.
37064         (netbsd*): Remove case setting base_os.
37065         (386bsd*): Likewise.
37066         (freebsd*): Likewise.
37067         (bsdi*): Likewise.
37068         (osf*): Likewise.
37069         (sunos*): Likewise.
37070         (ultrix*): Likewise.
37071         (newsos*): Likewise.
37072         (dynix*): Likewise.
37073         (*bsd*): Likewise.
37074         (sysv*): Likewise.
37075         (isc*): Likewise.
37076         (esix*): Likewise.
37077         (sco*): Likewise.
37078         (minix*): Likewise.
37079         (irix4*): Likewise.
37080         (irix6*): Likewise.
37081         (solaris[2-9]*): Likewise.
37082         (none): Likewise.
37083         * configure: Regenerated.
37084
37085 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37086
37087         [BZ #11521]
37088         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37089         overflow or cancellation in calculating denominator.
37090         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37091         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37092         down expression to avoid unexpected rounding in newer GCCs.
37093         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37094
37095 2012-04-26  David S. Miller  <davem@davemloft.net>
37096
37097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37098         long-double compat symbols.
37099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37104         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37111         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37112
37113 2012-04-25  David S. Miller  <davem@davemloft.net>
37114
37115         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37116         HWCAP_* values only after the memory barriers have been defined.
37117         (atomic_full_barrier): Define.
37118         (atomic_read_barrier): Define.
37119         (atomic_write_barrier): Define.
37120
37121 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37122
37123         * shlib-versions: Add libgcc_s version information.
37124         * sysdeps/generic/libgcc_s.h: Remove.
37125         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37126         libgcc_s.h.
37127         * sysdeps/gnu/unwind-resume.c: Likewise.
37128         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37129
37130 2012-04-25  David S. Miller  <davem@davemloft.net>
37131
37132         * sysdeps/unix/sparc/brk.S: Delete.
37133         * sysdeps/unix/sparc/dl-brk.S: Delete.
37134         * sysdeps/unix/sparc/pipe.S: Delete.
37135         * sysdeps/unix/sparc/sysdep.S: Delete.
37136         * sysdeps/unix/sparc/sysdep.h: Delete.
37137         * sysdeps/unix/sparc/vfork.S: Delete.
37138         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37139         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37140         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37141         (ret_ERRVAL, r0, r1, MOVE): Define.
37142         (JUMPTARGET): Remove.
37143         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37144         sysdeps/unix/sparc/sysdep.h
37145         (ENTRY, END): Remove.
37146         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37147
37148 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
37149
37150         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37151         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37152         -DIS_IN_build.
37153
37154         * timezone/README: Update upstream location and email address for
37155         tzcode and tzdata.
37156         * timezone/zdump.c: Update from tzcode 2012b.
37157         * timezone/zic.c: Likewise.
37158
37159         * configure.in (libc_cv_as_needed): Remove test.
37160         * configure: Regenerated.
37161         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37162         conditional definition.
37163         [$(have-as-needed) != yes] (no-as-needed): Likewise.
37164         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37165         * config.make.in (have-as-needed): Remove variable.
37166
37167 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37168             Paul Pluzhnikov  <ppluzhnikov@google.com>
37169
37170         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37171         strings correctly.
37172
37173 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
37174
37175         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37176         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37177         * sysdeps/sh/strlen.S: Likewise.
37178
37179 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37180
37181         * sysdeps/unix/fork.S: Remove file.
37182         * sysdeps/unix/i386/fork.S: Likewise.
37183         * sysdeps/unix/sparc/fork.S: Likewise.
37184
37185         * sysdeps/unix/system.c: Remove file.
37186         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37187
37188         * sysdeps/unix/getegid.S: Remove file.
37189         * sysdeps/unix/geteuid.S: Likewise.
37190
37191 2012-04-24  Roland McGrath  <roland@hack.frob.com>
37192
37193         * scripts/check-localplt.awk: New file.
37194         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37195         of diff.
37196         * scripts/data/localplt-generic.data: Add a comment.
37197
37198         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37199         NODE when __dir_mkfile failed.
37200         * sysdeps/mach/hurd/symlinkat.c: Likewise.
37201         Reported by Ludovic Courtès <ludo@gnu.org>.
37202
37203 2012-04-24  Andreas Jaeger  <aj@suse.de>
37204
37205         * Makerules (common-clean): Also remove gen-as-const-headers
37206         files.
37207
37208 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37209
37210         * Makerules (native-compile): Do not change working directory for
37211         build.  Use $(OUTPUT_OPTION) in command.
37212         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37213
37214 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37215
37216         [BZ #13886]
37217         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37218         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37219         * math/libm-test.inc (floor_test): Add more tests.
37220         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37221
37222 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37223
37224         * sysdeps/unix/getdents.c: Remove file.
37225         * sysdeps/unix/sysv/getdents.c: Likewise.
37226         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37227
37228         * sysdeps/unix/syscalls.list (madvise): Add syscall from
37229         sysdeps/unix/mman/syscalls.list.
37230         (mmap): Likewise.
37231         (mprotect): Likewise.
37232         (msync): Likewise.
37233         (munmap): Likewise.
37234         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37235         * sysdeps/unix/mman/syscalls.list: Remove.
37236         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37237
37238         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37239         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37240         * configure: Regenerated.
37241         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37242         $(libgcc_s_suffix).
37243         * config.make.in (libgcc_s_suffix): Remove variable.
37244
37245 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
37246
37247         * sysdeps/unix/sysv/gethostname.c: Move to ...
37248         * sysdeps/posix/gethostname.c: ... here.
37249
37250         * sysdeps/unix/execve.S: Remove file.
37251
37252         * sysdeps/unix/_exit.S: Remove file.
37253
37254 2012-04-23  Andreas Jaeger  <aj@suse.de>
37255
37256         [BZ #13739]
37257         * manual/Makefile: Remove make dist support, there's no
37258         need for a stand-alone documentation tar ball.
37259         (TEXI2DVI): Define always, it's not in Makeconfig.
37260         (dist): Removed.
37261         (tar-it): Removed.
37262         (edition): Removed.
37263         (glibc-doc-$(edition).tar): Removed
37264         (%.Z): Removed.
37265         (%.gz): Removed.
37266         (%.uu): Removed.
37267         (ETAGS): Remove, it's in Makeconfig.
37268         (move-if-change): Remove, it's in Makeconfig.
37269
37270 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
37271
37272         [BZ #13970]
37273         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37274         (strtod, strtof, strtold, strtol, strtoul, strtoq)
37275         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37276         (strtod_l, strtof_l, strtold_l): Remove __wur.
37277         It is not necessarily an error to ignore strtol's return value.
37278         One can reliably look at the stored endptr to decide whether
37279         the number had valid syntax.
37280
37281 2012-04-21  Andreas Jaeger  <aj@suse.de>
37282
37283         [BZ #13739]
37284         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37285
37286 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
37287
37288         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37289         * sysdeps/unix/sysv/Versions: Remove file.
37290
37291 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
37292
37293         [BZ #13927]
37294         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37295
37296 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
37297
37298         [BZ #7064]
37299         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37300         version from __vm86.
37301
37302 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
37303
37304         * sysdeps/unix/common/lxstat.c: Remove file.
37305         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37306
37307         * sysdeps/unix/sysv/Makefile: Remove file.
37308
37309         * sysdeps/unix/sysv/direct.h: Remove file.
37310
37311         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37312         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37313         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37314         * sysdeps/unix/sysv/bits/signum.h: Likewise.
37315         * sysdeps/unix/sysv/bits/stat.h: Likewise.
37316         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37317         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37318
37319         * sysdeps/unix/sysv/setrlimit.c: Remove file.
37320
37321         * sysdeps/unix/xmknod.c: Remove file.
37322         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37323
37324         * sysdeps/unix/sysv/settimeofday.c: Remove file.
37325
37326         * sysdeps/unix/sysv/i386/time.S: Remove file.
37327
37328         * sysdeps/unix/fxstat.c: Remove file.
37329         * sysdeps/unix/xstat.c: Likewise.
37330         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37331
37332         * sysdeps/unix/sysv/sigaction.c: Remove file.
37333
37334         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37335         (sysdep_headers): Remove variable.
37336         [termio.h not in sysdep_headers] (generated): Likewise.
37337         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37338         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37339         * sysdeps/unix/sysv/tcdrain.c: Likewise.
37340         * sysdeps/unix/sysv/tcflow.c: Likewise.
37341         * sysdeps/unix/sysv/tcflush.c: Likewise.
37342         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37343         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37344         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37345         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37346         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37347
37348         * sysdeps/unix/siglist.c: Remove file.
37349
37350         * sysdeps/unix/getppid.S: Remove file.
37351
37352         * sysdeps/unix/mkdir.c: Remove file.
37353         * sysdeps/unix/rmdir.c: Likewise.
37354
37355 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
37356
37357         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37358         ERR_MAX value.
37359         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37360         errlist-compat value.
37361
37362 2012-04-18  David S. Miller  <davem@davemloft.net>
37363
37364         * sysdeps/generic/memcopy.h (reg_char): Delete.
37365         * debug/strcat_chk.c: Use char, not reg_char.
37366         * debug/strcpy_chk.c: Likewise.
37367         * debug/strncat_chk.c: Likewise.
37368         * debug/strncpy_chk.c: Likewise.
37369         * string/memchr.c: Likewise.
37370         * string/memrchr.c: Likewise.
37371         * string/rawmemchr.c: Likewise.
37372         * string/strcat.c: Likewise.
37373         * string/strchr.c: Likewise.
37374         * string/strchrnul.c: Likewise.
37375         * string/strcmp.c: Likewise.
37376         * string/strcpy.c: Likewise.
37377         * string/strncat.c: Likewise.
37378         * string/strncmp.c: Likewise.
37379         * string/strncpy.c: Likewise.
37380
37381 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37382
37383         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37384         __builtin_memcopy is called when src and dest ranges are known to not
37385         overlap.
37386
37387 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37388
37389         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37390         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37391         fwd_align_merge macro call.
37392         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37393         bwd_align_merge macro call.
37394         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37395
37396 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37397
37398         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37399         bwd_align_merge macros.
37400         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37401         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37402         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37403
37404 2012-04-18  David S. Miller  <davem@davemloft.net>
37405
37406         * sysdeps/sparc/sparc64/memcopy.h: Delete.
37407
37408 2012-04-18  Andreas Jaeger  <aj@suse.de>
37409
37410         [BZ# 6794]
37411         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37412         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37413         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37414
37415         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37416         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37417         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37418
37419         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37420         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37421         Adjust for changed ldbl-128 files.
37422
37423         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37424         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37425         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37426
37427 2012-04-17  David S. Miller  <davem@davemloft.net>
37428
37429         * sysdeps/sparc/sparc32/memcopy.h: Delete.
37430
37431 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
37432
37433         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37434         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37435         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37436         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37437         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37438         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37439
37440 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37441
37442         [BZ #6794]
37443         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37444         * math/libm-test.inc: Add ilogb errno and exception tests.
37445         * math/w_ilogb.c: New file: ilogb wrapper.
37446         * math/w_ilogbf.c: New file: ilogbf wrapper.
37447         * math/w_ilogbl.c: New file: ilogbl wrapper.
37448         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37449         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37450         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37451         exception being thrown with 0.0 as argument.
37452         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37453         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37454         exception being thrown with 0.0 as argument.
37455         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37456         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37457         exception being thrown with 0.0 as argument.
37458         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37459         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37460         exception being thrown with 0.0 as argument.
37461         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37462         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37463         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37464         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37465         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37466         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37467         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37468         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37469         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37470
37471 2012-04-17  Petr Baudis  <pasky@ucw.cz>
37472
37473         * include/sys/uio.h: Change __vector to __iovec to avoid clash
37474         with altivec.
37475
37476 2012-04-16  Marek Polacek  <polacek@redhat.com>
37477
37478         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37479
37480 2012-04-16  Marek Polacek  <polacek@redhat.com>
37481
37482         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37483         operands of fdivp instruction.
37484
37485 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37486
37487         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37488         * elf/tst-auditmod3b.c: Likewise.
37489         * elf/tst-auditmod4b.c: Likewise.
37490         * elf/tst-auditmod5b.c: Likewise.
37491         * elf/tst-auditmod6b.c: Likewise.
37492         * elf/tst-auditmod6c.c: Likewise.
37493         * elf/tst-auditmod7b.c: Likewise.
37494         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37495         * sysdeps/x86_64/preconfigure.in: Likewise.
37496         * sysdeps/x86_64/preconfigure: Regenerated.
37497
37498 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37499
37500         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37501         __ILP32__.
37502
37503 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
37504
37505         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37506         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37507
37508 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
37509
37510         [BZ #13973]
37511         * locale/iso-639.def: Fix gl language name. Spotted by
37512         Yaron Shahrabani.
37513
37514 2012-04-12  Roland McGrath  <roland@hack.frob.com>
37515
37516         [BZ #2074]
37517         * libio/libio.h (__io_write_fn): Update comment.
37518
37519 2012-04-12  Petr Baudis  <pasky@ucw.cz>
37520
37521         [BZ #2074]
37522         * stdio.texi (Hook Functions): The user provided writer function
37523         is not allowed to return -1.
37524
37525 2012-04-11  David S. Miller  <davem@davemloft.net>
37526
37527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37528
37529 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
37530
37531         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37532         Add a leading slash to rtkaio.
37533
37534 2012-04-11  Jim Meyering  <meyering@redhat.com>
37535
37536         [BZ #11959]
37537         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37538         It is not necessarily an error to ignore fwrite's return
37539         value.  One can reliably use ferror to test for errors after
37540         the fact.
37541
37542 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37543
37544         * bits/types.h (__snseconds_t): New type.
37545         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37546
37547         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37548         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37549         (__SNSECONDS_T_TYPE): Likewise.
37550         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37551         (__SNSECONDS_T_TYPE): Likewise.
37552         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37553         (__SNSECONDS_T_TYPE): Likewise.
37554
37555 2012-04-10  Andreas Jaeger  <aj@suse.de>
37556
37557         [BZ #2636]
37558         * manual/time.texi (Processor Time): Return type of times is
37559         elapsed real time since an arbitrary point in the past.
37560         (CPU Time): Move CLK_TCK from here...
37561         (Processor Time): ...to here.  Correct description.
37562         * manual/conf.texi (Constants for Sysconf): Correct description of
37563         _SC_CLK_TCK.
37564
37565 2012-04-10  David S. Miller  <davem@davemloft.net>
37566
37567         [BZ #13967]
37568         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37569         where the is a gap between DT_REL(A) and DT_JMPREL.
37570
37571 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37572
37573         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37574         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37575         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37576
37577 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37578
37579         * elf/dl-support.c (_dl_inhibit_cache): New variable.
37580         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37581         (dl_main): Handle --inhibit-cache.
37582         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37583         _dl_inhibit_cache.
37584         * elf/dl-load.c (_dl_map_object): Use it.
37585         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37586
37587 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37588
37589         [BZ #13872]
37590         * sysdeps/i386/fpu/e_powl.S (p78): New object.
37591         (__ieee754_powl): Saturate large exponents rather than testing for
37592         overflow of y*log2(x).
37593         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37594         * math/libm-test.inc (pow_test): Do not permit spurious overflow
37595         exceptions.
37596
37597         [BZ #11521]
37598         * math/s_ctan.c: Include <float.h>.
37599         (__ctan): Avoid internal overflow or cancellation in calculating
37600         denominator.
37601         * math/s_ctanf.c: Likewise.
37602         * math/s_ctanl.c: Likewise.
37603         * math/s_ctanh.c: Likewise.
37604         * math/s_ctanhf.c: Likewise.
37605         * math/s_ctanhl.c: Likewise.
37606         * math/libm-test.inc (ctan_test): Add more tests.
37607         (ctanh_test): Likewise.
37608         * sysdeps/i386/fpu/libm-test-ulps: Update.
37609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37610
37611 2012-04-09  Andreas Jaeger  <aj@suse.de>
37612
37613         [BZ #6894]
37614         * manual/filesys.texi (Directory Entries): Mention that d_namlen
37615         is an optional BSD extension.
37616
37617         [BZ #10254]
37618         * manual/stdio.texi (Opening Streams): Document additional fopen
37619         parameters.
37620
37621 2012-04-09  Roland McGrath  <roland@hack.frob.com>
37622
37623         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37624         %eax without telling the compiler.
37625
37626 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
37627
37628         [BZ # 13963]
37629         * manual/install.texi: Use sourceware.org.
37630
37631 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37632
37633         [BZ #13873]
37634         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37635         (__ieee754_pow): Generate overflow and underflow using huge*huge
37636         and tiny*tiny rather than just returning constant infinity or zero
37637         for large exponents.
37638         * math/libm-test.inc (pow_test): Require overflow exceptions for
37639         applicable cases of large exponents.
37640
37641         [BZ #706]
37642         * sysdeps/i386/fpu/e_pow.S (p10): New object.
37643         (__ieee754_pow): Use iterative multiplication algorithm only for
37644         integer exponents with absolute value below 1024.  Check for odd
37645         integer exponents when using algorithm for real exponents.
37646         * math/libm-test.inc (pow_test): Add more tests.
37647         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37648
37649 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
37650
37651         [BZ #13705]
37652         * math/libm-test.inc (exp_test): Do not allow overflow exception
37653         on underflow test.
37654
37655 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
37656
37657         [BZ #13705]
37658         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37659         instead of __kernel_standard_f.
37660
37661 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
37662
37663         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37664         * sysdeps/x86_64/memset_chk.S: Likewise.
37665
37666 2012-04-08  Andreas Jaeger  <aj@suse.de>
37667
37668         [BZ #10153]
37669         * manual/startup.texi (Environment Access): Describe return value
37670         for putenv and setenv.
37671
37672         [BZ #6895]
37673         * manual/filesys.texi (Directory Entries): Add description for
37674         DT_LNK.
37675
37676         [BZ #6890]
37677         * manual/filesys.texi (Directory Entries): Clarify that it's file
37678         system not operating system in the description of DT_UNKNOWN.
37679
37680         [BZ #6578]
37681         * manual/syslog.texi (closelog): Fix reference, it's openlog.
37682
37683 2012-04-08  Stephen Compall  <s11@member.fsf.org>
37684
37685         [BZ #6649]
37686         * manual/llio.texi (Opening and Closing Files): Add cross
37687         reference to explain mode argument.
37688
37689 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
37690
37691         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37692         * sysdeps/x86_64/memset_chk.S: Likewise.
37693
37694 2012-04-07  David S. Miller  <davem@davemloft.net>
37695
37696         * elf/elf.h (R_SPARC_WDISP10): Define.
37697         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37698         R_SPARC_SIZE32.
37699         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37700         R_SPARC_SIZE64 and R_SPARC_H34.
37701
37702 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
37703
37704         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37705         conditions and remove no longer applicable assertion.
37706
37707 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37708
37709         * bits/byteswap.h: Include <features.h>.
37710         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37711         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37712
37713 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37714
37715         * bits/byteswap.h (__bswap_16): Removed.
37716         Include <bits/byteswap-16.h> to get __bswap_16.
37717         * sysdeps/i386/bits/byteswap.h: Likewise.
37718         * sysdeps/s390/bits/byteswap.h: Likewise.
37719         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37720         * bits/byteswap-16.h: New file.
37721         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37722         * sysdeps/s390/bits/byteswap-16.h: Likewise.
37723         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37724         * string/Makefile (headers): Add bits/byteswap-16.h.
37725
37726 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37727
37728         [BZ #13895]
37729         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37730         extra indirection.
37731         * nss/Makefile (tests-static, tests): Add tst-nss-static.
37732         * nss/tst-nss-static.c: New.
37733
37734 2012-04-06  Robert Millan  <rmh@gnu.org>
37735
37736         [BZ #6486]
37737         * manual/llio.texi (File Position Primitive): lseek
37738         refers to WHENCE when it really means OFFSET.
37739
37740 2012-04-06  Andreas Jaeger  <aj@suse.de>
37741
37742         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37743         strncmp declarations.
37744
37745         * abilist/libc.abilist: Add __poll and __ppoll.
37746
37747 2012-04-05  David S. Miller  <davem@davemloft.net>
37748
37749         * scripts/check-local-headers.sh: Accept a host triplet in the
37750         path matched by the exclude regexp.
37751
37752         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37753         definition.
37754         * sysdeps/powerpc/powerpc32/dl-machine.h
37755         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37756         * sysdeps/s390/s390-32/dl-machine.h
37757         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37758         * sysdeps/sparc/sparc32/dl-machine.h
37759         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37760         * sysdeps/sparc/sparc64/dl-machine.h
37761         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37762
37763         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37764         lazy binding.
37765         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37766         undefined symbol errors.
37767
37768         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37769         DT_NEEDED entries.
37770
37771 2012-04-05  Michael Matz  <matz@suse.de>
37772
37773         [BZ #13592]
37774         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37775
37776 2012-04-05  Andreas Jaeger  <aj@suse.de>
37777
37778         [BZ #13908]
37779         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37780         comment.
37781
37782 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37783
37784         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37785         which ROUND is no valid rounding mode.
37786
37787 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37788
37789         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37790         read again.
37791         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37792
37793 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37794
37795         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37796         an exception using FPU order intentionally.
37797
37798 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37799
37800         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37801         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37802         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37803         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37804
37805 2012-04-05  Simon Josefsson  <simon@josefsson.org>
37806
37807         [BZ #12340]
37808         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37809         EINVAL when BUFLEN is too smal.
37810
37811 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
37812
37813         [BZ #13553]
37814         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37815         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37816
37817 2012-04-03  Andreas Jaeger  <aj@suse.de>
37818
37819         [BZ #13938]
37820         * manual/setjmp.texi (System V contexts): Fix sentence.
37821
37822         [BZ #13926]
37823         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37824         New macro for this case.
37825         [!__GNUC__] (__bswap_64): New inline function for this case.
37826         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37827         * bits/byteswap.h: Likewise.
37828         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37829         ull, guard with __GLIBC_HAVE_LONG_LONG.
37830
37831         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37832         __GLIBC_HAVE_LONG_LONG.
37833
37834         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37835         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37836
37837 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37838
37839         [BZ #13691]
37840         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37841         inptr and inend, rather than using last_ch.
37842
37843 2012-04-02  David S. Miller  <davem@davemloft.net>
37844
37845         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37846         * stdio-common/printf-parse.h (read_int): Change return type to
37847         'int', return -1 on INT_MAX overflow.
37848         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37849         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
37850         overflows INT_MAX.  Check for overflow of in-format-string precision
37851         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
37852         SIZE_MAX not INT_MAX for integer overflow test.
37853         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37854         skip the construct in the format string but do not record anything.
37855         * stdio-common/bug22.c: Adjust to test both width/prevision
37856         INT_MAX overflow as well as total length INT_MAX overflow.  Check
37857         explicitly for proper errno values.
37858
37859 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
37860
37861         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37862         CHAR_MAX.
37863         * string/test-strcmp.c [! WIDE]: Likewise.
37864         * time/tst-mktime2.c: Likewise for INT_MAX.
37865         * string/test-string.h: #include <sys/param.h> for MIN.
37866
37867         * csu/init-first.c (__libc_init_first): Call __ctype_init.
37868         * sysdeps/i386/init-first.c (init): Likewise.
37869         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37870         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37871         * sysdeps/sh/init-first.c (init): Likewise.
37872
37873 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
37874
37875         * po/ru.po: Update from translation team.
37876         * po/vi.po: Likewise.
37877
37878 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37879
37880         * resolv/nss_dns/dns-host.c: Merge copyright years.
37881
37882 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37883
37884         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37885         Optimize memcpy with prefetch if
37886         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
37887         src, dst pointers have unequal 16 byte alignments.
37888
37889 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37890
37891         [BZ #13928]
37892         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37893         from a CNAME entry and return the minimum ttl for the query.
37894         (gaih_getanswer_slice): Likewise.
37895
37896 2012-03-30  Jeff Law  <law@redhat.com>
37897
37898         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37899         due to long keys.
37900         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37901         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37902
37903         * resolv/nss_dns/dns-host.c: Update copyright year.
37904
37905 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
37906
37907         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37908         requests to save a system call.  Fix check that all bytes are sent.
37909
37910         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37911         comments for sendmmsg.
37912
37913 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37914
37915         [BZ #13691]
37916         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37917         with only 1 character between 0x0041 and 0x01b0.
37918         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37919         * wcsmbs/tst-mbsnrtowcs.c: New file.
37920
37921 2012-03-29  David S. Miller  <davem@davemloft.net>
37922
37923         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37924         small copies by hand.
37925
37926 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37927
37928         [BZ #13761]
37929         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37930         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37931         group memberships.
37932
37933 2012-03-28  David S. Miller  <davem@davemloft.net>
37934
37935         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37936         that branches into memcpy.
37937         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37938         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37939         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37940         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37941         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37942         bits.
37943         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37944         implementation too.
37945         * sysdeps/sparc/mempcpy.S: New file.
37946
37947         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37948         the IFUNC routine in the libc case.
37949         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37950
37951         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37952         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37953         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37954         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37955         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37956         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37957         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37958         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37959
37960         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37961         loop to 256 bytes instead of 64 bytes and fix test signedness.
37962
37963         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37964         * sysdeps/sparc/sparc32/Makefile: rather than here...
37965         * sysdeps/sparc/sparc64/Makefile: and here.
37966
37967 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
37968
37969         * malloc/mallocbug.c: Avoid warnings about unused variables.
37970
37971 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37972
37973         [BZ #13760]
37974         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37975         in the right place. Discard and retry query if response is
37976         larger than input buffer size.
37977
37978 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
37979
37980         [BZ #369]
37981         [BZ #2678]
37982         [BZ #3866]
37983         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37984         x for large integer exponent.
37985         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37986         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
37987         sign of result as needed afterwards.
37988         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37989         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37990         result for underflowing pow the same as for overflow.
37991         (__kernel_standard_l): Handle powl overflow and underflow here
37992         rather than calling __kernel_standard.
37993         * math/libm-test.inc (pow_test): Add more tests.
37994
37995         [BZ #3868]
37996         [BZ #13879]
37997         [BZ #13910]
37998         [BZ #13911]
37999         [BZ #13912]
38000         [BZ #13913]
38001         [BZ #13915]
38002         [BZ #13916]
38003         [BZ #13917]
38004         [BZ #13918]
38005         [BZ #13919]
38006         [BZ #13920]
38007         [BZ #13921]
38008         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38009         * sysdeps/ieee754/k_standard.c: Include <float.h>.
38010         (__kernel_standard_l): New function.
38011         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38012         __kernel_standard.
38013         * math/w_acosl.c (__acosl): Likewise.
38014         * math/w_asinl.c (__asinl): Likewise.
38015         * math/w_atan2l.c (__atan2l): Likewise.
38016         * math/w_atanhl.c (__atanhl): Likewise.
38017         * math/w_coshl.c (__coshl): Likewise.
38018         * math/w_exp10l.c (__exp10l): Likewise.
38019         * math/w_exp2l.c (__exp2l): Likewise.
38020         * math/w_fmodl.c (__fmodl): Likewise.
38021         * math/w_hypotl.c (__hypotl): Likewise.
38022         * math/w_j0l.c (__j0l, __y0l): Likewise.
38023         * math/w_j1l.c (__j1l, __y1l): Likewise.
38024         * math/w_jnl.c (__jnl, __ynl): Likewise.
38025         * math/w_lgammal.c (__lgammal): Likewise.
38026         * math/w_log10l.c (__log10l): Likewise.
38027         * math/w_log2l.c (__log2l): Likewise.
38028         * math/w_logl.c (__logl): Likewise.
38029         * math/w_powl.c (__powl): Likewise.
38030         * math/w_remainderl.c (__remainderl): Likewise.
38031         * math/w_scalbl.c (sysv_scalbl): Likewise.
38032         * math/w_sinhl.c (__sinhl): Likewise.
38033         * math/w_sqrtl.c (__sqrtl): Likewise.
38034         * math/w_tgammal.c (__tgammal): Likewise.
38035         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38036         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38037         * math/libm-test.inc (acos_test): Add more tests.
38038         (acosh_test): Likewise.
38039         (asin_test): Likewise.
38040         (atanh_test): Likewise.
38041         (exp_test): Likewise.
38042         (exp10_test): Likewise.
38043         (exp2_test): Likewise.
38044         (expm1_test): Likewise.
38045         (lgamma_test): Likewise.
38046         (log_test): Likewise.
38047         (log10_test): Likewise.
38048         (log1p_test): Likewise.
38049         (log2_test): Likewise.
38050         (pow_test): Do not allow some spurious overflow exceptions.
38051         (sqrt_test): Add more tests.
38052         (tgamma_test): Likewise.
38053         (y0_test): Likewise.
38054         (y1_test): Likewise.
38055         (yn_test): Likewise.
38056
38057 2012-03-27  Anton Blanchard  <anton@samba.org>
38058
38059         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38060         MAP_HUGETLB.
38061         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38062         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38063         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38064
38065 2012-03-27  David S. Miller  <davem@davemloft.net>
38066
38067         * conform/Makefile: Run run-conformtest.sh using $(BASH).
38068
38069         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38070         have-as-vis3 check.
38071
38072 2012-03-27  Andreas Jaeger  <aj@suse.de>
38073
38074         * sysdeps/x86_64/elf/configure.in: Moved to ...
38075         * sysdeps/x86_64/configure.in: ... here.
38076         * sysdeps/x86_64/elf/start.S: Moved to ...
38077         * sysdeps/x86_64/start.S: ... here.
38078         * sysdeps/x86_64/elf/configure: Delete.
38079
38080         * sysdeps/x86_64/configure.in: Merge contents from
38081         sysdeps/i386/configure.in (without i686 check).
38082
38083         * sysdeps/i386/elf/Versions: Merge into ...
38084         * sysdeps/i386/Versions: ... this.
38085         * sysdeps/i386/elf/Versions: Delete file.
38086         * sysdeps/i386/elf/start.S: Moved to ...
38087         * sysdeps/i386/start.S: ...here.
38088         * sysdeps/i386/elf/configure.in: Merge into...
38089         * sysdeps/i386/configure.in: ...here.
38090         * sysdeps/i386/elf/configure.in: Delete file.
38091         * sysdeps/i386/elf/configure: Delete file.
38092
38093         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38094         * debug/backtracesyms.c: ... here.
38095         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38096         * debug/backtracesymsfd.c: ... here.
38097         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38098         * sysdeps/generic/ifunc-sel.h: ... here.
38099
38100         * sysdeps/unix/i386/start.c: Delete file.
38101         * sysdeps/unix/sparc/start.c: Delete file.
38102         * sysdeps/unix/start.c: Delete file.
38103
38104         * sysdeps/sh/elf/configure.in: Moved to ...
38105         * sysdeps/sh/configure.in: ... here.
38106         * sysdeps/sh/elf/start.S: Moved to ...
38107         * sysdeps/sh/start.S: ... here.
38108         * sysdeps/sh/elf/configure: Delete file.
38109
38110         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38111         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38112         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38113         * sysdeps/powerpc/powerpc64/entry.h: ... here.
38114         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38115         * sysdeps/powerpc/powerpc64/start.S: here.
38116         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38117         * sysdeps/powerpc/powerpc64/Makefile: ... this.
38118         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38119         * sysdeps/powerpc/powerpc64/configure.in: ... this.
38120         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38121
38122         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38123         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38124         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38125         * sysdeps/powerpc/powerpc32/start.S: ... here.
38126         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38127         * sysdeps/powerpc/powerpc32/configure.in: ... this.
38128         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38129
38130         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38131         * sysdeps/powerpc/ifunc-sel.h: ... here.
38132         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38133         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38134
38135         * sysdeps/sparc/elf/configure.in: Moved to ...
38136         * sysdeps/sparc/configure.in: ... here.
38137         * sysdeps/sparc/elf/configure: Delete file.
38138         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38139         * sysdeps/sparc/sparc32/start.S: ... here.
38140         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38141         * sysdeps/sparc/sparc64/start.S: ... here.
38142         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38143         * sysdeps/sparc/sparc32/Makefile: ... this.
38144         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38145         * sysdeps/sparc/sparc64/Makefile: ... this.
38146
38147         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38148         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38149         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38150         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38151         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38152         * sysdeps/s390/s390-32/setjmp.S: ... here.
38153         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38154         * sysdeps/s390/s390-32/configure.in: ... here.
38155         * sysdeps/s390/s390-32/elf/configure: Delete file.
38156         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38157         * sysdeps/s390/s390-32/start.S: ... here.
38158
38159         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38160         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38161         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38162         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38163         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38164         * sysdeps/s390/s390-64/setjmp.S: ... here.
38165         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38166         * sysdeps/s390/s390-64/configure.in: ... here
38167         * sysdeps/s390/s390-64/elf/configure: Delete file.
38168         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38169         * sysdeps/s390/s390-64/start.S: ... here.
38170         * sysdeps/s390/s390-64/elf/configure: Delete.
38171
38172         * configure.in: Remove support for elf directories in sysdeps.
38173
38174         * configure: Regenerated.
38175         * sysdeps/i386/configure: Regenerated.
38176         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38177         * sysdeps/powerpc/powerpc64/configure: Regenerated.
38178         * sysdeps/s390/s390-32/configure: Regenerated.
38179         * sysdeps/s390/s390-64/configure: Regenerated.
38180         * sysdeps/sh/configure: Regenerated.
38181         * sysdeps/sparc/configure: Regenerated.
38182         * sysdeps/x86_64/configure: Regenerated.
38183
38184 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
38185
38186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38187
38188         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38189         denormal result into account.
38190
38191 2012-03-25  Roland McGrath  <roland@hack.frob.com>
38192
38193         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38194         Reported by Allan McRae <allan@archlinux.org>.
38195
38196 2012-03-23  Jeff Law  <law@redhat.com>
38197
38198         * nss/getnssent.c (__nss_getent): Fix typo.
38199
38200 2012-03-23  David S. Miller  <davem@davemloft.net>
38201
38202         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38203
38204 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
38205
38206         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38207         to pad to uint64_t for each field.
38208         (dl_tls_index): Replace unsigned long with uint64_t.
38209
38210 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
38211         Paul Pluzhnikov  <ppluzhnikov@google.com>
38212
38213         [BZ #6528]
38214         * grp/Makefile (otherlibs): Don't set it.
38215         * inet/Makefile (otherlibs): Likewise.
38216         * login/Makefile (otherlibs): Likewise.
38217         * nscd/Makefile (otherlibs): Likewise.
38218         * posix/Makefile (otherlibs): Likewise.
38219         * pwd/Makefile (otherlibs): Likewise.
38220         * rt/Makefile (otherlibs): Likewise.
38221         * sunrpc/Makefile (otherlibs): Likewise.
38222         * nss/Makefile (otherlibs): Likewise.
38223         Add libnss_files to routines and static-only-routines.
38224         ($(objpfx)getent): Remove rule.
38225         * resolv/Makefile: Add libnss_dns and libresolv to routines and
38226         static-only-routines.
38227
38228 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38229
38230         [BZ #13892]
38231         * math/s_cexp.c: Include <float.h>.
38232         (__cexp): Handle exp result overflowing not necessarily
38233         overflowing both real and imaginary parts of result.
38234         * math/s_cexpf.c: Likewise.
38235         * math/s_cexpl.c: Likewise.
38236         * math/libm-test.inc (cexp_test): Add more tests.
38237         * sysdeps/i386/fpu/libm-test-ulps: Update.
38238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38239
38240 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38241
38242         * include/link.h (ELFW): New macro.
38243         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38244         Replace ELF64_R_TYPE with ELFW(R_TYPE).
38245
38246 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38247
38248         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38249         with uint64_t.
38250
38251 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38252
38253         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38254         declaration.
38255         (struct La_x32_retval): Likewise.
38256
38257 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38258
38259         * sysdeps/x86_64/preconfigure.in: New file.
38260         * sysdeps/x86_64/preconfigure: New generated file.
38261
38262 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38263
38264         [BZ #13824]
38265         * math/e_exp2l.c: Include <float.h>.
38266         (__ieee754_exp2l): Handle overflow and underflow cases
38267         separately.  Only pass fractional part of argument to
38268         __ieee754_expl.
38269         * math/libm-test.inc (exp2_test): Add more tests.
38270
38271         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38272         negating x to take absolute value.
38273         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38274         Likewise.
38275         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38276         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38277         Likewise.
38278         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38279         computing low part if x was negated.
38280         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38281
38282 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38283
38284         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38285         la_x32_gnu_pltexit.
38286         (pltexit): Cast int_retval to ptrdiff_t.
38287         * elf/tst-auditmod3b.c: Likewise.
38288         * elf/tst-auditmod4b.c: Likewise.
38289         * elf/tst-auditmod5b.c: Likewise.
38290         * elf/tst-auditmod6b.c: Likewise.
38291         * elf/tst-auditmod6c.c: Likewise.
38292         * elf/tst-auditmod7b.c: Likewise.
38293
38294         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38295         and x32_gnu_pltexit.
38296
38297         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38298         __ELF_NATIVE_CLASS.
38299         (La_x32_regs): New macro.
38300         (La_x32_retval): Likewise.
38301         (la_x32_gnu_pltenter): New function prototype.
38302         (la_x32_gnu_pltexit): Likewise.
38303
38304 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
38305
38306         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38307         exponent.
38308
38309         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38310
38311         * configure.in (libc_cv_cc_nofma): Check for option to disable
38312         generation of FMA instructions.
38313         * configure: Regenerate.
38314         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38315         * sysdeps/ieee754/dbl-64/Makefile: New file.
38316         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38317         Remove brandred-fma4.
38318         (CFLAGS-brandred-fma4.c): Remove.
38319         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38320         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38321         define.
38322         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38323         define.
38324
38325 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38326
38327         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38328         LLONG_MAX != LONG_MAX.
38329         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38330         (_fitoa_word): Likewise.
38331         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38332         LLONG_MAX != LONG_MAX.
38333         * stdio-common/_itowa.h: Include <_itoa.h>.
38334         (_itowa_word): Use _ITOA_WORD_TYPE on value.
38335         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
38336         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
38337         only if not defined.
38338         (_ITOA_WORD_TYPE): Likewise.
38339         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38340         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38341
38342 2012-03-21  David S. Miller  <davem@davemloft.net>
38343
38344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38345
38346 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38347
38348         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38349         of x86_64 when setting libc_cv_slibdir, libdir and
38350         libc_cv_localedir.
38351         * sysdeps/unix/sysv/linux/configure: Regenerated.
38352
38353 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38354
38355         * manual/lang.texi (Old Varargs): Remove section.
38356         (How Variadic): Update menu.
38357         (va_start): Do not mention varargs.h.
38358
38359 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38360             Joseph Myers  <joseph@codesourcery.com>
38361
38362         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38363         link test.
38364         * configure: Regenerated.
38365
38366 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38367
38368         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38369         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38370         conformtest.pl
38371
38372 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38373
38374         * NOTES: Remove.
38375         * Makefile (files-for-dist): Remove NOTES.
38376         (NOTES): Remove rule.
38377         * README: Don't refer to NOTES.
38378         * manual/creature.texi: Don't include macros.texi.
38379         * manual/intro.texi (creature.texi): Remove comment referring to
38380         NOTES.
38381
38382         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38383         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38384         * configure: Regenerated.
38385         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38386         LIBC_TRY_CC_OPTION.
38387         (libc_cv_as_i686): Likewise.
38388         (libc_cv_cc_avx): Likewise.
38389         (libc_cv_cc_sse2avx): Likewise.
38390         (libc_cv_cc_fma4): Likewise.
38391         (libc_cv_cc_novzeroupper): Likewise.
38392         * sysdeps/i386/configure: Regenerated.
38393
38394         [BZ #13883]
38395         * sysdeps/i386/fpu/s_cexp.S: Remove.
38396         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38397         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38398         * math/libm-test.inc (cexp_test): Add more tests.
38399         * sysdeps/i386/fpu/libm-test-ulps: Update.
38400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38401
38402 2012-03-21  Allan McRae  <allan@archlinux.org>
38403
38404         * timezone/Makefile: Do not install iso3166.tab and zone.tab
38405
38406 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38407
38408         [BZ #13871]
38409         * math/w_exp2.c: Do not include <float.h>.
38410         (o_threshold, u_threshold): Remove.
38411         (__exp2): Calculate result before checking finiteness and calling
38412         __kernel_standard.
38413         * math/w_exp2f.c: Likewise.
38414         * math/w_exp2l.c: Likewise.
38415         * math/libm-test.inc (exp2_test): Require overflow exception for
38416         1e6 input.
38417
38418         [BZ #3866]
38419         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38420         range of signed 64-bit integers before using fistpll.  Remove
38421         checks for whether integers fit in mantissa bits.
38422         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38423         the range of signed 32-bit integers before using fistpl.  Remove
38424         checks for whether integers fit in mantissa bits.
38425         * sysdeps/i386/fpu/e_powl.S (p64): New object.
38426         (__ieee754_powl): Test for y outside the range of signed 64-bit
38427         integers before using fistpll.  Reduce 64-bit values to 63-bit
38428         ones as needed.
38429         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38430         divide-by-zero is raised for zero to large negative powers.
38431         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38432         (__ieee754_powl): Test for y outside the range of signed 64-bit
38433         integers before using fistpll.  Reduce 64-bit values to 63-bit
38434         ones as needed.
38435         * math/libm-test.inc (pow_test): Add more tests.
38436
38437 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38438
38439         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38440         <stdio-common/_itoa.h>.
38441         * debug/segfault.c: Likewise.
38442         * elf/dl-cache.c: Likewise.
38443         * elf/dl-minimal.c: Likewise.
38444         * elf/dl-misc.c: Likewise.
38445         * elf/dl-sysdep.c: Likewise.
38446         * elf/dl-version.c: Likewise.
38447         * elf/rtld.c: Likewise.
38448         * hurd/hurdsock.c: Likewise.
38449         * hurd/lookup-retry.c: Likewise.
38450         * malloc/malloc.c: Likewise.
38451         * malloc/mtrace.c: Likewise.
38452         * nscd/nscd_getgr_r.c: Likewise.
38453         * nscd/nscd_getpw_r.c: Likewise.
38454         * nscd/nscd_getserv_r.c: Likewise.
38455         * posix/getopt_init.c: Likewise.
38456         * posix/wordexp.c: Likewise.
38457         * stdio-common/_itoa.c: Likewise.
38458         * stdio-common/printf_fphex.c: Likewise.
38459         * stdio-common/vfprintf.c: Likewise.
38460         * string/_strerror.c: Likewise.
38461         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38462         * sysdeps/i386/i686/hp-timing.h: Likewise.
38463         * sysdeps/mach/_strerror.c: Likewise.
38464         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38465         * sysdeps/mach/hurd/sethostid.c: Likewise.
38466         * sysdeps/mach/hurd/xmknodat.c: Likewise.
38467         * sysdeps/mach/xpg-strerror.c: Likewise.
38468         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38469         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38470         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38471         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38472         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38473         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38474         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38475         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38476         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38477         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38478         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38479         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38480         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38481         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38482         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38483         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38484         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38485         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38486         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38487         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38488         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38489
38490         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38491
38492         * stdio-common/_itoa.h: Moved to ...
38493         * sysdeps/generic/_itoa.h: Here.
38494
38495         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38496
38497         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38498         instead of "_itoa.h" and "_itowa.h".
38499         * stdio-common/vfprintf.: Likewise.
38500
38501 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38502
38503         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38504         <bits/wordsize.h>.
38505         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38506         (__signbit): Likwise.
38507         (llrintf): Likwise.
38508         (llrint): Likwise.
38509
38510 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38511
38512         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38513         __WORDSIZE != 64.
38514
38515 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
38516
38517         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38518         OVERFLOW_EXCEPTION_OK.
38519         * math/libm-test.inc ("Philosophy"): Update comment about
38520         exception testing.
38521         (OVERFLOW_EXCEPTION): Define.
38522         (OVERFLOW_EXCEPTION_OK): Likewise.
38523         (INVALID_EXCEPTION_OK): Renumber.
38524         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38525         (IGNORE_ZERO_INF_SIGN): Likewise.
38526         (test_exceptions): Handle FE_OVERFLOW.
38527         (exp10_test): Expect overflow exceptions.
38528         (exp2_test): Likewise.
38529         (expm1_test): Likewise.
38530         (nextafter_test): Likewise.
38531         (pow_test): Likewise.
38532         (scalbn_test): Likewise.
38533         (scalbln_test): Likewise.
38534
38535 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38536
38537         * sysdeps/x86_64/bits/atomic.h
38538         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38539         64bit integer.
38540         (atomic_exchange_acq): Likewise.
38541         (__arch_exchange_and_add_body): Likewise.
38542         (__arch_add_body): Likewise.
38543         (atomic_add_negative): Likewise.
38544         (atomic_add_zero): Likewise.
38545
38546 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38547
38548         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38549         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38550
38551 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38552
38553         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38554         Check __x86_64__ instead of __WORDSIZE.
38555
38556 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38557
38558         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38559
38560 2012-03-19  David S. Miller  <davem@davemloft.net>
38561
38562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38563
38564         * sysdeps/sparc/fpu/fenv_private.h: New file.
38565         * sysdeps/sparc/fpu/math_private.h: Use it.
38566         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38567         Remove.
38568         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38569         (libc_feholdexcept_setroundl): Remove.
38570         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38571         Remove.
38572         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38573         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38574
38575 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38576
38577         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38578         int64_t instead of long int.
38579         (INSERT_WORDS64): Likwise.
38580
38581 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38582
38583         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38584         _Unwind_GetCFA return to _Unwind_Ptr first.
38585
38586 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
38587
38588         [BZ #13629]
38589         * math/s_clog.c: Include <float.h>.
38590         (__clog): Scale large or subnormal inputs.
38591         * math/s_clogf.c: Likewise.
38592         * math/s_clogl.c: Likewise.
38593         * math/s_clog10.c: Include <float.h>.
38594         (M_LOG10_2): Define.
38595         (__clog10): Scale large or subnormal inputs.
38596         * math/s_clog10f.c: Likewise.
38597         * math/s_clog10l.c: Likewise.
38598         * math/libm-test.inc (clog_test): Add more tests.
38599         (clog10_test): Likewise.
38600         * sysdeps/i386/fpu/libm-test-ulps: Update.
38601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38602
38603         [BZ #11451]
38604         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38605         x and y.
38606         * math/libm-test.inc (atan2_test): Add another test.
38607
38608         * Makerules (common-objdir-compile): Remove.
38609         * sysdeps/unix/Makefile (config-generated): Do not add
38610         $(unix-generated) to variable.
38611         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38612         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38613         Remove rule.
38614         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38615         Likewise.
38616         [generic bits/local_lim.h] (before-compile): Do not append to
38617         variable.
38618         [generic bits/local_lim.h] (common-generated): Likewise.
38619         [generic sys/param.h] (before-compile): Do not append to variable.
38620         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38621         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38622         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38623         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38624         include.
38625         [generic sys/param.h] (sys/param.h-includes): Remove variable.
38626         [generic sys/param.h] (sys/param.h-includes): Remove rule.
38627         [generic sys/param.h] ($(addprefix
38628         $(common-objpfx),$(sys/param.h-includes))): Likewise.
38629         [generic sys/param.h] (common-generated): Do not append to
38630         variable.
38631         [generic sys/param.h] (sysdep_headers): Likewise.
38632         [generic bits/errno.h] (before-compile): Do not append to
38633         variable.
38634         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38635         rule.
38636         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38637         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38638         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38639         [generic bits/errno.h] (common-generated): Do not append to
38640         variable.
38641         [generic bits/ioctls.h] (before-compile): Do not append to
38642         variable.
38643         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38644         rule.
38645         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38646         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38647         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38648         rule.
38649         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38650         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38651         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38652         [generic bits/ioctls.h] (common-generated): Do not append to
38653         variable.
38654         [generic sys/syscall.h] (syscall.h): Remove variable.
38655         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38656         rule.
38657         [generic sys/syscall.h] (before-compile): Do not append to
38658         variable.
38659         [generic sys/syscall.h] (common-generated): Likewise.
38660         * sysdeps/unix/errnos-tmpl.c: Remove file.
38661         * sysdeps/unix/errnos.awk: Likewise.
38662         * sysdeps/unix/ioctls-tmpl.c: Likewise.
38663         * sysdeps/unix/ioctls.awk: Likewise.
38664         * sysdeps/unix/mk-local_lim.c: Likewise.
38665         * sysdeps/unix/snarf-ioctls: Likewise.
38666
38667 2012-03-19  Richard Henderson  <rth@twiddle.net>
38668
38669         * sysdeps/i386/fpu/fenv_private.h: New file.
38670         * sysdeps/i386/fpu/math_private.h: Use it.
38671         (math_opt_barrier, math_force_eval): Remove.
38672         (libc_feholdexcept_setround_53bit): Remove.
38673         (libc_feupdateenv_53bit): Remove.
38674         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38675         (math_opt_barrier, math_force_eval): Remove.
38676         (libc_feholdexcept): Remove.
38677         (libc_feholdexcept_setround): Remove.
38678         (libc_fetestexcept, libc_fesetenv): Remove.
38679         (libc_feupdateenv_test): Remove.
38680         (libc_feupdateenv, libc_feholdsetround): Remove.
38681         (libc_feresetround): Remove.
38682
38683         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38684         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38685
38686         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38687         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38688         (libc_feupdateenv_testl): New.
38689         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38690         (libc_feupdateenv_testf): New.
38691         (libc_feupdateenv): Use libc_feupdateenv_test.
38692         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38693         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38694
38695         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38696         (libc_feholdsetroundf, libc_feholdsetroundl): New.
38697         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38698         (libc_feresetround_noex): New.
38699         (libc_feresetround_noexf): New.
38700         (libc_feresetround_noexl): New.
38701         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38702         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38703         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38704         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38705         SET_RESTORE_ROUND.
38706         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38707         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38708         (__cos): Likewise.
38709         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38710         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38711         SET_RESTORE_ROUND_NOEX.
38712         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38713         SET_RESTORE_ROUND_NOEXF.
38714         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38715         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38716         (libc_feholdsetroundf): New.
38717         (libc_feresetround, libc_feresetroundf): New.
38718
38719         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38720         (libc_feholdexcept_setround_53bit): Convert from macro to function.
38721         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
38722
38723         * sysdeps/generic/math_private.h: Include <fenv.h>.
38724         (default_libc_feholdexcept): New.
38725         (default_libc_feholdexcept_setround): New.
38726         (default_libc_fesetenv, default_libc_feupdateenv): New.
38727         (libc_feholdexcept): Only define if undefined.
38728         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38729         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38730         (libc_feholdexcept_setroundl): Likewise.
38731         (libc_feholdexcept_setround_53bit): Likewise.
38732         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38733         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38734         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38735         (libc_feupdateenv_53bit): Likewise.
38736         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38737         (libc_feholdexcept): Convert from macro to inline function.
38738         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38739         (libc_fesetenv, libc_feupdateenv): Likewise.
38740
38741         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38742         not previously defined.
38743         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38744         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38745         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38746         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38747         * sysdeps/ieee754/flt-32/math_private.h: New file.
38748         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38749         math_private.h below SET_FLOAT_WORD.
38750         (__isnan, __isinf_ns, __finite): Remove.
38751         (__isnanf, __isinf_nsf, __finitef): Remove.
38752
38753 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
38754
38755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38756
38757 2012-03-17  David S. Miller  <davem@davemloft.net>
38758
38759         [BZ #6471]
38760         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38761         for 2.16.
38762
38763 2012-03-16  David S. Miller  <davem@davemloft.net>
38764
38765         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38766         warnings.
38767
38768         [BZ #6471]
38769         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38770         properly.
38771         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38772         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38773         sysdep_routines when subdir is sysvipc.
38774         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38775         __getshmlba helper.
38776
38777         * sysdeps/sparc/fpu/libm-test/ulps: Update.
38778
38779 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38780
38781         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38782         [__LP64__].
38783
38784 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38785
38786         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38787         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38788         (__lround): Renamed to ...
38789         (__llround): This.  Replace long int with long long int.
38790         Define lround functions as aliases of llround functions.
38791         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38792
38793 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38794
38795         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38796         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
38797         adresses to uintptr_t.  Replace "long int" and "unsigned long
38798         int" with "greg_t" on va_arg.
38799
38800 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38801
38802         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38803         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38804
38805         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38806         Move e_machine check before EI_CLASS check.  Handle x32
38807         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38808         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38809         SKIP_EM_IA_64 and include
38810         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38811
38812         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38813         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38814         (add_system_dir): New macro.
38815
38816         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38817         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38818
38819 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38820
38821         [BZ #2551]
38822         [BZ #2552]
38823         [BZ #2553]
38824         [BZ #2554]
38825         [BZ #2562]
38826         [BZ #2563]
38827         [BZ #2565]
38828         [BZ #2566]
38829         [BZ #2576]
38830         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38831         (y0): Likewise.
38832         * math/w_j0f.c (j0f): Likewise.
38833         (y0f): Likewise.
38834         * math/w_j0l.c (__j0l): Likewise.
38835         (__y0l): Likewise.
38836         * math/w_j1.c (j1): Likewise.
38837         (y1): Likewise.
38838         * math/w_j1f.c (j1f): Likewise.
38839         (y1f): Likewise.
38840         * math/w_j1l.c (__j1l): Likewise.
38841         (__y1l): Likewise.
38842         * math/w_jn.c (jn): Likewise.
38843         (yn): Likewise.
38844         * math/w_jnf.c (jnf): Likewise.
38845         (ynf): Likewise.
38846         * math/w_jnl.c (__jnl): Likewise.
38847         (__ynl): Likewise.
38848         * math/libm-test.inc (j0_test): Add more tests.
38849         (j1_test): Likewise.
38850         (jn_test): Likewise.  Add trailing semicolon to existing test.
38851         (y0_test): Likewise.
38852         (y1_test): Likewise.
38853         * sysdeps/i386/fpu/libm-test-ulps: Update.
38854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38855
38856         [BZ #13851]
38857         [BZ #13854]
38858         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38859         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38860         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38861         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38862         (__tanl): Set errno for infinite argument.
38863         * sysdeps/i386/fpu/mptan.c: Remove.
38864         * sysdeps/i386/fpu/s_tan.S: Likewise.
38865         * sysdeps/i386/fpu/s_tanl.S: Likewise.
38866         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38867         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38868         * math/libm-test.inc (tan_test): Add more tests and enable more
38869         tests for double and long double.
38870         * sysdeps/i386/fpu/libm-test-ulps: Update.
38871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38872
38873 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
38874
38875         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38876         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38877
38878 2012-03-16  Roland McGrath  <roland@hack.frob.com>
38879
38880         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38881         * configure.in: Use it for both main tree and add-ons.
38882         * configure: Regenerated.
38883
38884 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38885
38886         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38887
38888 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38889
38890         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38891         in comment.
38892
38893         [BZ #13851]
38894         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38895         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38896         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38897         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38898         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38899         infinite argument.
38900         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38901         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38902         != 0 for prec == 2.
38903         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38904         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38905         * sysdeps/i386/fpu/s_cosl.S: Likewise.
38906         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38907         * sysdeps/i386/fpu/s_sinl.S: Likewise.
38908         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38909         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38910         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38911         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38912         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38913         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38914         * math/libm-test.inc (cos_test): Add more tests and enable more
38915         tests for long double.
38916         (sin_test): Likewise.
38917         (sincos_test): Likewise.
38918         * sysdeps/i386/fpu/libm-test-ulps: Update.
38919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38920
38921 2012-03-16  David S. Miller  <davem@davemloft.net>
38922
38923         * sysdeps/sparc/fpu/math_private.h: New file.
38924
38925 2012-03-15  David S. Miller  <davem@davemloft.net>
38926
38927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38928         file.
38929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38931         file.
38932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38933         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38934         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38935         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38936         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38937         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38938         sysdep routines.
38939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38940
38941         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38942         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38943
38944         * sysdeps/sparc/sparc-ifunc.h: New file.
38945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38946         sparc-ifunc.h
38947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38949         Likewise.
38950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38951         Likewise.
38952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38956         Likewise.
38957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38962         Likewise.
38963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38964         Likewise.
38965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38969         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38970         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38971         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38972         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38973         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38974         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38975         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38976         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38977         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38978         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38979         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38980         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38981         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38982         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38983         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38984         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38985         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38986         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38987         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38988         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38989
38990 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38991
38992         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38993         scaling.
38994         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38995
38996 2012-03-15  Andreas Jaeger  <aj@suse.de>
38997
38998         [BZ #13852]
38999         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39000         ieee754/flt-32 implementation for sin, cos and sincos.
39001         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39002         * sysdeps/i386/fpu/s_cosf.S: Likewise.
39003         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39004         * sysdeps/i386/fpu/s_sinf.S: Likewise.
39005         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39006         ieee754/flt-32 implementation for tan.
39007
39008         * math/libm-test.inc (cos_test): Enable some large input tests for
39009         float as well
39010         (sin_test): Likewise.
39011         (sincos_test): Likewise.
39012         (tan_test): Add tests for large input.
39013
39014         * sysdeps/i386/fpu/libm-test-ulps: Update.
39015
39016 2012-03-15  Andreas Jaeger  <aj@suse.de>
39017
39018         [BZ #13658]
39019         * math/libm-test.inc (cos_test): Add more test cases.
39020         (sin_test): Likewise.
39021         (sincos_test): Likewise.
39022
39023 2012-03-15  Andreas Jaeger  <aj@suse.de>
39024
39025         [BZ #13837]
39026         * math/libm-test.inc (cos_test): Add a test case for large input
39027         value.
39028         (sin_test): Likewise.
39029         (sincos_test): Likewise.
39030
39031 2012-03-15  Andreas Jaeger  <aj@suse.de>
39032             Joseph Myers  <joseph@codesourcery.com>
39033
39034         [BZ #13658]
39035         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39036         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39037         * sysdeps/i386/fpu/branred.c: Likewise.
39038         * sysdeps/i386/fpu/dosincos.c: Likewise.
39039         * sysdeps/i386/fpu/mpa.c: Likewise.
39040         * sysdeps/i386/fpu/s_cos.S: Likewise.
39041         * sysdeps/i386/fpu/s_sin.S: Likewise.
39042         * sysdeps/i386/fpu/s_sincos.S: Likewise.
39043         * sysdeps/i386/fpu/sincos32.c: Likewise.
39044
39045         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39046         Define.
39047         (libc_feupdateenv_53bit): Define.
39048         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39049         Define.
39050         (libc_feupdateenv_53bit): Define.
39051
39052         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39053         53 bit (without extend i386 double precision).
39054
39055         * math/libm-test.inc (sincos_test): Add tests for large input.
39056         (sin): Likewise.
39057         (cos): Likewise.
39058
39059         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39060
39061 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39062
39063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39064
39065 2012-03-15  David S. Miller  <davem@davemloft.net>
39066
39067         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39068         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39069         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39070         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39071         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39072         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39073         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39074         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39075         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39076         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39077         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39078         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39079         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39080         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39081         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39083         file.
39084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39086         file.
39087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39089         file.
39090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39092         file.
39093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39094         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39095         fmin/fmax sysdep routines.
39096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39097
39098 2012-03-14  David S. Miller  <davem@davemloft.net>
39099
39100         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39101         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39102         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39103         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39104         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39105         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39106         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39107         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39108         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39109         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39110         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39111         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39112         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39113         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39114         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39115         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39116         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39117         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39118         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39119         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39120         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39121         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39122         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39123         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39124         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39125         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39126         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39127         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39128         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39129         routines.
39130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39131         file.
39132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39134         file.
39135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39137         file.
39138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39140         file.
39141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39143         file.
39144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39146         file.
39147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39148         file.
39149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39150         file.
39151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39152         file.
39153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39154         New file.
39155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39156         file.
39157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39158         file.
39159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39161         file.
39162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39164         file.
39165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39167         file.
39168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39170         VIS3 routines.
39171
39172         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39173         New file.
39174
39175         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39176
39177         * sysdeps/sparc/configure.in: New file.
39178         * sysdeps/sparc/configure: Generate.
39179         * configure.in (libc_cv_sparc_as_vis3): Substitute.
39180         * configure: Regenerate.
39181         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39182         * config.make.in (have-as-vis3): New.
39183         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39184         available use -Av9d instead of -Av9a.
39185         * sysdeps/sparc/sparc64/Makefile: Likewise.
39186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39188         New file.
39189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39190         file.
39191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39192         New file.
39193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39194         file.
39195         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39196         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39197         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39198         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39199         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39200
39201         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39202         fzeros/fnegs to load 0x80000000 into a float register instead of
39203         using the stack.
39204         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39205
39206 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39207
39208         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39209         bits/syscall.h.
39210         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39211         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39212         ($(inst_includedir)/bits/syscall.h): Remove rule.
39213         ($(objpfx)bits/syscall.d): Include instead of
39214         $(objpfx)syscall-list.d.
39215         (generated): Change syscall-list.h and syscall-list.d to
39216         bits/syscall.h and bits/syscall.d.
39217
39218 2012-03-14  Roland McGrath  <roland@hack.frob.com>
39219
39220         [BZ #13846]
39221         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39222
39223 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39224
39225         [BZ #13841]
39226         * math/s_csqrt.c: Include <float.h>.
39227         (__csqrt): Scale large or subnormal inputs.
39228         * math/s_csqrtf.c: Likewise.
39229         * math/s_csqrtl.c: Likewise.
39230         * math/libm-test.inc (csqrt_test): Add more tests.
39231         * sysdeps/i386/fpu/libm-test-ulps: Update.
39232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39233
39234         [BZ #13840]
39235         * math/libm-test.inc (hypot_test): Add more tests.
39236
39237 2012-03-13  David S. Miller  <davem@davemloft.net>
39238
39239         [BZ #13840]
39240         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39241         double-precision for the calculation instead of scaling.
39242
39243 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
39244
39245         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39246         manipulate bits before adding and subtracting TWO52[sx].
39247         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39248         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39249         Likewise.
39250         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39251
39252 2012-03-13  David S. Miller  <davem@davemloft.net>
39253
39254         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39255         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39256         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39257         rtld-global-offsets.h
39258         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39259
39260         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39261         large parameters.
39262
39263         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39264
39265         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39266         'err' in the ifdef scope in which it is actually used.
39267
39268         * nss/nss_db/db-init.c: Include string.h
39269
39270 2012-03-12  David S. Miller  <davem@davemloft.net>
39271
39272         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39273         masking out of the most significant byte of random value used.
39274         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39275         Fix coding style in previous change.
39276
39277         * sysdeps/unix/sysv/linux/kernel-features.h
39278         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39279         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39280         expression.
39281         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39282         later.
39283
39284 2012-03-11  David S. Miller  <davem@davemloft.net>
39285
39286         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39287         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39288         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39289         for 'resultvar' otherwise things get truncated on 64-bit.
39290
39291         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39292         Fix masking out of the most significant byte of random value used.
39293
39294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39295
39296 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
39297
39298         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39299
39300 2012-03-09  David S. Miller  <davem@davemloft.net>
39301
39302         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39303         variables with appropriate CPP guards.
39304         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39305         from the frame pointer, not the stack pointer.  Correct layout
39306         comments.  Fix test on resulting framesize and the management of
39307         the outregs buffer for pltexit.  Preserve floating point return
39308         values across _dl_call_pltexit call.
39309         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39310         framesize and the management of the outregs buffer for pltexit.
39311         Preserve floating point return values across _dl_call_pltexit
39312         call.
39313         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39314         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39315         (la_sparc64_gnu_pltexit): New functions.
39316         (print_exit): Fix format string for return register value.
39317
39318 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
39319
39320         * sunrpc/Makefile (others): Add rpcgen.
39321         ($(objpfx)rpcgen): Remove special build rule and dependency on
39322         libc.
39323         * sunrpc/rpcgen.c: New file.
39324
39325 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
39326
39327         [BZ #13673]
39328         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39329         * stdio-common/bug-vfprintf-nargs.c: Likewise.
39330         * sysdeps/i386/crti.S: Likewise.
39331         * sysdeps/i386/crtn.S: Likewise.
39332         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39333         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39334         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39335         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39336         * sysdeps/sh/crti.S: Likewise.
39337         * sysdeps/sh/crtn.S: Likewise.
39338         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39339
39340         [BZ #13673]
39341         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39342         with URL.
39343         * locale/programs/locfile-kw.gperf: Likewise.
39344         * locale/programs/charmap-kw.h: Regenerated.
39345         * locale/programs/locfile-kw.h: Likewise.
39346
39347         [BZ #13673]
39348         * intl/plural.y: Replace FSF snail mail address with URL.
39349         * intl/plural.c: Regenerated.
39350
39351 2012-03-09  Richard Henderson  <rth@twiddle.net>
39352
39353         * include/math_private.h: Remove file.
39354         * math/math_private.h: Move file ...
39355         * sysdeps/generic/math_private.h: ... here.
39356
39357         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39358         * sysdeps/powerpc/fpu/math_private.h: Likewise.
39359         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39360
39361         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39362         and <math_private.h>.
39363         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39364         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39365         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39366         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39367         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39368         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39369         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39370         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39371         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39372         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39373         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39374         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39375         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39376         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39377         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39378         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39379         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39380         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39381         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39382         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39383         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39384         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39385         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39386         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39387         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39388         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39389         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39390         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39391         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39392         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39393         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39394         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39395         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39396         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39397         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39398         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39399         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39400         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39401         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39402         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39403         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39404         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39405         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39406         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39407         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39408         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39409         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39410         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39411         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39412         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39413         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39414         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39415         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39416         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39417         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39418         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39419         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39420         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39421         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39422         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39423         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39424         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39425         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39426         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39427         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39428         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39429         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39430         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39431         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39432         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39433         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39434         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39435         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39436         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39437         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39438         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39439         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39440         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39441         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39442         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39443         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39444         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39445         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39446         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39447         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39448         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39449         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39450         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39451         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39452         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39453         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39454         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39455         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39456         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39457         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39458         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39459         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39460         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39461         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39462         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39463         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39464         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39465         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39466         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39467         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39468         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39469         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39470         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39471         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39472         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39473         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39474         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39475         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39476         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39477         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39478         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39479         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39480         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39481         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39482         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39483         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39484         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39485         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39486         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39487         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39488         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39489         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39490         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39491         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39492         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39493         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39494         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39495         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39496         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39497         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39498         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39499         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39500         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39501         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39502         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39503         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39504         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39505         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39506         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39507         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39508         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39509         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39510         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39511         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39512         * sysdeps/ieee754/k_standard.c: Likewise.
39513         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39514         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39515         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39516         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39517         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39518         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39519         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39520         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39521         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39522         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39523         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39524         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39525         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39526         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39527         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39528         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39529         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39530         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39531         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39532         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39533         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39534         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39535         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39536         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39537         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39538         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39539         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39540         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39541         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39542         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39543         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39544         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39545         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39546         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39547         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39548         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39549         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39550         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39551         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39552         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39553         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39554         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39555         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39556         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39557         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39558         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39559         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39560         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39561         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39562         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39563         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39564         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39565         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39566         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39567         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39568         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39569         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39570         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39571         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39572         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39573         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39574         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39575         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39576         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39577         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39578         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39579         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39580         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39581         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39582         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39583         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39584         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39585         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39586         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39587         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39588         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39589         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39590         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39591         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39592         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39593         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39594         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39595         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39596         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39597         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39598         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39599         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39600         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39601         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39602         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39603         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39604         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39605         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39606         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39607         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39608         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39609         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39610         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39611         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39612         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39613         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39614         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39615         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39616         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39617         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39618         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39619         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39620         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39621         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39622         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39623         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39624         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39625         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39626         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39627         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39628         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39629         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39630         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39631         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39632         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39633         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39634         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39635         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39636         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39637         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39638         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39639         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39640         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39641         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39642         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39643         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39644         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39645         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39646         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39647         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39648         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39649         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39650         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39651         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39652         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39653         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39654         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39655         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39656         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39657         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39658         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39659         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39660         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39661         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39662         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39663         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39664         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39665         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39666         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39667         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39668         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39669         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39670         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39671         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39672         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39673         * sysdeps/ieee754/s_lib_version.c: Likewise.
39674         * sysdeps/ieee754/s_matherr.c: Likewise.
39675         * sysdeps/ieee754/s_signgam.c: Likewise.
39676         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39677         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39678         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39679         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39680         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39681         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39682         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39683         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39684         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39685         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39686         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39687         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39688         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39689         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39690         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39691         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39692         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39693         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39694         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39695         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39696         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39697
39698 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39699
39700         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39701         * sunrpc/rpc_main.c: Likewise.
39702         * sunrpc/rpc_svcout.c: Likewise.
39703
39704 2012-03-09  David S. Miller  <davem@davemloft.net>
39705
39706         * include/math_private.h: New file.
39707
39708 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39709
39710         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39711         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39712         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39713         from <bits/socket_type.h>.
39714         (enum __socket_type): Don't define here.
39715         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39716         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39717         bits/socket_type.h.
39718
39719         [BZ #13566]
39720         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39721         checking __USE_GNU.
39722
39723         * Makerules ($(inst_includedir)/%.h): New rule.
39724         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39725         (install-others): Remove variable setting.
39726         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39727
39728 2012-03-08  Richard Henderson  <rth@twiddle.net>
39729
39730         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39731         from macro to inline function; merge with the
39732         !__LIBC_INTERNAL_MATH_INLINES version.
39733         (__ieee754_sqrtf): Likewise.
39734
39735         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39736         to inline function.
39737         (__rintf, __floor, __floorf): Likewise.
39738
39739         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39740         macro to inline function.
39741         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39742
39743         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39744         not <math/math_private.h>.
39745
39746 2012-03-08  David S. Miller  <davem@davemloft.net>
39747
39748         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39749         copyright year.
39750         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39751
39752 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
39753
39754         * resolv/gai_misc.c (handle_requests): Fix struct timespec
39755         normalization.
39756         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39757         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39758
39759 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
39760
39761         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
39762         be defined individually, they must be defined as a block.  Define
39763         S for printing a string instead of hidint the different by using a
39764         macro for adding the 'l'.
39765         * stdio-common/tst-fphex-wide.c: Adjust.
39766
39767 2012-03-07  Marek Polacek  <polacek@redhat.com>
39768
39769         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39770
39771 2012-03-08  Marek Polacek  <polacek@redhat.com>
39772
39773         [BZ #13806]
39774         * stdio-common/Makefile (tests): Add tst-fphex-wide.
39775         * stdio-common/tst-fphex.c: Define a few macros to make the
39776         test reusable.  Use them.
39777         * stdio-common/tst-fphex-wide.c: New file.
39778
39779 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
39780
39781         [BZ #6911]
39782         * manual/macros.texi (gnusystems): New macro.
39783         (nongnusystems): Likewise.
39784         (gnulinuxhurdsystems): Likewise.
39785         (gnuhurdsystems): Likewise..
39786         (gnulinuxsystems): Likewise.
39787         * manual/charset.texi: Use new macros or @theglibc{} to refer to
39788         variants of the GNU system, not "GNU system".
39789         * manual/conf.texi: Likewise.
39790         * manual/errno.texi: Likewise.  Update example of errno macro
39791         expansion.
39792         * manual/filesys.texi: Likewise.
39793         (getumask): Document as specific to GNU/Hurd.
39794         * manual/install.texi: Likewise.  Reword some references to
39795         GNU/Linux.
39796         * manual/intro.texi: Likewise.
39797         * manual/io.texi: Likewise.
39798         (File Name Portability): Detail which constraints are inapplicable
39799         to all GNU systems and which are only inapplicable to GNU/Hurd.
39800         * manual/job.texi: Likewise.
39801         * manual/llio.texi: Likewise.
39802         (O_NOCTTY): Document as present on GNU/Linux.
39803         * manual/maint.texi: Likewise.
39804         * manual/memory.texi: Likewise.
39805         * manual/pattern.texi: Likewise.
39806         * manual/pipe.texi: Likewise.
39807         * manual/process.texi: Likewise.
39808         * manual/resource.texi: Likewise.
39809         (RUSAGE_CHILDREN): Remove statement about specifying a particular
39810         child on GNU/Hurd.
39811         * manual/setjmp.texi: Likewise.
39812         * manual/signal.texi: Likewise.
39813         * manual/startup.texi: Likewise.
39814         * manual/stdio.texi: Likewise.
39815         * manual/terminal.texi: Likewise.
39816         (ONLCR): Document as POSIX.
39817         (OXTABS): Document availability on GNU/Linux as XTABS.
39818         (ONOEOT): Document availability separately from other bits.
39819         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39820         * manual/time.texi: Likewise.
39821         * manual/users.texi: Likewise.
39822         * INSTALL: Regenerated.
39823         * sysdeps/gnu/errlist.c: Regenerated.
39824
39825         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39826         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39827         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
39828         puts.
39829         * configure: Regenerated.
39830
39831 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
39832
39833         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39834         default includes instead of AC_HEADER_CHECK.
39835         * sysdeps/i386/configure: Regenerated.
39836
39837         [BZ #10716]
39838         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39839         * math/s_cacoshf.c (__cacoshf): Likewise.
39840         * math/s_cacoshl.c (__cacoshl): Likewise.
39841         * math/s_casinh.c (__casinh): Set signs of result from argument.
39842         * math/s_casinhf.c (__casinhf): Likewise.
39843         * math/s_casinhl.c (__casinhl): Likewise.
39844         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39845         (casinh_test): Add more tests.
39846         * sysdeps/i386/fpu/libm-test-ulps: Update.
39847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39848
39849 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
39850
39851         * po/zh_TW.po: Update from translation team.
39852
39853         * login/Makefile (distribute): Remove variable.
39854         * catgets/Makefile: Likewise.
39855         * mach/Makefile: Likewise.
39856         * malloc/Makefile: Likewise.
39857         * misc/Makefile: Likewise.
39858         * iconv/Makefile: Likewise.
39859         * nscd/Makefile: Likewise.
39860         * hurd/Makefile: Likewise.
39861         * manual/Makefile: Likewise.
39862         * locale/Makefile: Likewise.
39863         * intl/Makefile: Likewise.
39864         * conform/Makefile: Likewise.
39865         * nss/Makefile: Likewise.
39866         * time/Makefile: Likewise.
39867         * soft-fp/Makefile: Likewise.
39868         * dirent/Makefile: Likewise.
39869         * gmon/Makefile: Likewise.
39870         * po/Makefile: Likewise.
39871         * rt/Makefile: Likewise.
39872         * socket/Makefile: Likewise.
39873         * math/Makefile: Likewise.
39874         * signal/Makefile: Likewise.
39875         * debug/Makefile: Likewise.
39876         * elf/Makefile: Likewise.
39877         * timezone/Makefile: Likewise.
39878         * stdlib/Makefile: Likewise.
39879         * iconvdata/Makefile: Likewise.
39880         * sunrpc/Makefile: Likewise.
39881         * io/Makefile: Likewise.
39882         * argp/Makefile: Likewise.
39883         * inet/Makefile: Likewise.
39884         * hesiod/Makefile: Likewise.
39885         * grp/Makefile: Likewise.
39886         * csu/Makefile: Likewise.
39887         * wctype/Makefile: Likewise.
39888         * crypt/Makefile: Likewise.
39889         * libio/Makefile: Likewise.
39890         * string/Makefile: Likewise.
39891         * nis/Makefile: Likewise.
39892         * resolv/Makefile: Likewise.
39893         * stdio-common/Makefile: Likewise.
39894         * wcsmbs/Makefile: Likewise.
39895         * dlfcn/Makefile: Likewise.
39896         * posix/Makefile: Likewise.
39897
39898         [BZ #6959]
39899         * timezone/Makefile: Don't install timezone files, just the programs
39900         and scripts.
39901
39902 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
39903
39904         * nss/databases.def: Add missing gshadow entry.
39905
39906         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
39907
39908 2012-03-06  Marek Polacek  <polacek@redhat.com>
39909
39910         [BZ #13726]
39911         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39912         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39913         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39914         * stdio-common/tst-long-dbl-fphex.c: New file.
39915
39916 2012-03-06  David S. Miller  <davem@davemloft.net>
39917
39918         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39919         (set_obp_int): New function.
39920         (get_obp_int): New function.
39921         (__get_clockfreq_via_dev_openprom): Likewise.
39922         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39923         Avoid unused variable warnings on 'val' and use builtin_expect.
39924         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39925         __builtin_expect.
39926         (INLINE_CLONE_SYSCALL): Likewise.
39927
39928 2012-03-05  David S. Miller  <davem@davemloft.net>
39929
39930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39931
39932 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
39933
39934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39935
39936         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39937         only for |x| >= 40.
39938         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39939
39940 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
39941
39942         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39943         Replace gettimeofday with __vdso_gettimeofday.
39944
39945         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39946         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39947         __vdso_clock_gettime and __vdso_getcpu.
39948
39949         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39950         time with __vdso_time.
39951
39952 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39953
39954         * manual/lang.texi (size_t): Note types to which size_t may be
39955         equivalent with the GNU C Library, but do not describe when
39956         differences between them are significant.
39957
39958 2012-03-05  Andreas Jaeger  <aj@suse.de>
39959
39960         * sysdeps/i386/fpu/libm-test-ulps: Update.
39961
39962 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39963
39964         [BZ #3976]
39965         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39966         (__ieee754_pow): Save and restore rounding mode and use
39967         round-to-nearest for main computations.
39968         * math/libm-test.inc (pow_test_tonearest): New function.
39969         (pow_test_towardzero): Likewise.
39970         (pow_test_downward): Likewise.
39971         (pow_test_upward): Likewise.
39972         (main): Call the new functions.
39973         * sysdeps/i386/fpu/libm-test-ulps: Update.
39974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39975
39976         [BZ #3976]
39977         * math/libm-test.inc (cosh_test_tonearest): New function.
39978         (cosh_test_towardzero): Likewise.
39979         (cosh_test_downward): Likewise.
39980         (cosh_test_upward): Likewise.
39981         (sinh_test_tonearest): Likewise.
39982         (sinh_test_towardzero): Likewise.
39983         (sinh_test_downward): Likewise.
39984         (sinh_test_upward): Likewise.
39985         (main): Call the new functions.
39986         * sysdeps/i386/fpu/libm-test-ulps: Update.
39987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39988
39989 2012-03-05  Tom de Vries  <tom@codesourcery.com>
39990
39991         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39992         default stack guard is set in last bytes.
39993         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39994
39995 2012-03-05  Kees Cook  <keescook@chromium.org>
39996
39997         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39998
39999         [BZ #13656]
40000         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40001         possibly allocate from heap instead of stack.
40002         * stdio-common/bug-vfprintf-nargs.c: New file.
40003         * stdio-common/Makefile (tests): Add nargs overflow test.
40004
40005 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
40006
40007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40008
40009 2012-03-03  Marek Polacek  <polacek@redhat.com>
40010
40011         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40012         * math/math_private.h: Likewise.
40013         * stdlib/tst-strtod.c: Likewise.
40014         * sysdeps/i386/i486/bits/atomic.h: Likewise.
40015         * sysdeps/x86_64/bits/atomic.h: Likewise.
40016
40017 2012-03-02  David S. Miller  <davem@davemloft.net>
40018
40019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40020         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40021         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40022         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40023         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40024         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40025         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40026         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40027
40028 2012-03-02  Roland McGrath  <roland@hack.frob.com>
40029
40030         [BZ #13792]
40031         * manual/examples/README: New file, says the example source files
40032         can be used under GPL>=2.
40033         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40034         line containing just "*/".
40035         * manual/examples/add.c: Add copyright header (GPL>=2).
40036         * manual/examples/argp-ex1.c: Likewise.
40037         * manual/examples/argp-ex2.c: Likewise.
40038         * manual/examples/argp-ex3.c: Likewise.
40039         * manual/examples/argp-ex4.c: Likewise.
40040         * manual/examples/atexit.c: Likewise.
40041         * manual/examples/db.c: Likewise.
40042         * manual/examples/dir.c: Likewise.
40043         * manual/examples/dir2.c: Likewise.
40044         * manual/examples/execinfo.c: Likewise.
40045         * manual/examples/filecli.c: Likewise.
40046         * manual/examples/filesrv.c: Likewise.
40047         * manual/examples/fmtmsgexpl.c: Likewise.
40048         * manual/examples/genpass.c: Likewise.
40049         * manual/examples/inetcli.c: Likewise.
40050         * manual/examples/inetsrv.c: Likewise.
40051         * manual/examples/isockad.c: Likewise.
40052         * manual/examples/longopt.c: Likewise.
40053         * manual/examples/memopen.c: Likewise.
40054         * manual/examples/memstrm.c: Likewise.
40055         * manual/examples/mkfsock.c: Likewise.
40056         * manual/examples/mkisock.c: Likewise.
40057         * manual/examples/mygetpass.c: Likewise.
40058         * manual/examples/pipe.c: Likewise.
40059         * manual/examples/popen.c: Likewise.
40060         * manual/examples/rprintf.c: Likewise.
40061         * manual/examples/search.c: Likewise.
40062         * manual/examples/select.c: Likewise.
40063         * manual/examples/setjmp.c: Likewise.
40064         * manual/examples/sigh1.c: Likewise.
40065         * manual/examples/sigusr.c: Likewise.
40066         * manual/examples/stpcpy.c: Likewise.
40067         * manual/examples/strdupa.c: Likewise.
40068         * manual/examples/strftim.c: Likewise.
40069         * manual/examples/strncat.c: Likewise.
40070         * manual/examples/subopt.c: Likewise.
40071         * manual/examples/swapcontext.c: Likewise.
40072         * manual/examples/termios.c: Likewise.
40073         * manual/examples/testopt.c: Likewise.
40074         * manual/examples/testpass.c: Likewise.
40075         * manual/examples/timeval_subtract.c: Likewise.
40076
40077         [BZ #13792]
40078         * manual/time.texi (Elapsed Time): Move timeval_subtract example
40079         function to ...
40080         * manual/timeval_subtract.c.texi: ... here, new file.
40081
40082 2012-03-02  David S. Miller  <davem@davemloft.net>
40083
40084         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40085
40086 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
40087
40088         [BZ #3976]
40089         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40090         (__sin): Save and restore rounding mode and use round-to-nearest
40091         for all computations.
40092         (__cos): Save and restore rounding mode and use round-to-nearest
40093         for all computations.
40094         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40095         <fenv.h>.
40096         (tan): Save and restore rounding mode and use round-to-nearest for
40097         all computations.
40098         * math/libm-test.inc (cos_test_tonearest): New function.
40099         (cos_test_towardzero): Likewise.
40100         (cos_test_downward): Likewise.
40101         (cos_test_upward): Likewise.
40102         (sin_test_tonearest): Likewise.
40103         (sin_test_towardzero): Likewise.
40104         (sin_test_downward): Likewise.
40105         (sin_test_upward): Likewise.
40106         (tan_test_tonearest): Likewise.
40107         (tan_test_towardzero): Likewise.
40108         (tan_test_downward): Likewise.
40109         (tan_test_upward): Likewise.
40110         (main): Call the new functions.
40111         * sysdeps/i386/fpu/libm-test-ulps: Update.
40112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40113
40114         [BZ #10135]
40115         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40116         small n, then large n, before computing and testing k+n.
40117         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40118         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40119         Likewise.
40120         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40121         Likewise.
40122         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40123         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40124         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40125         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40126         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40127         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40128         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40129         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40130         * math/libm-test.inc (scalbn_test): Add more tests.
40131         (scalbln_test): Likewise.
40132
40133         * manual/filesys.texi (mode_t): Describe constraints on size and
40134         signedness, not exact equivalence to a particular type.
40135         (ino_t): Likewise.
40136         (ino64_t): Likewise.
40137         (dev_t): Likewise.
40138         (nlink_t): Likewise.
40139         (blkcnt_t): Likewise.
40140         (blkcnt64_t): Likewise.
40141         * manual/llio.texi (off_t): Likewise.
40142
40143         [BZ #3976]
40144         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40145         (__ieee754_exp): Save and restore rounding mode and use
40146         round-to-nearest for all computations.
40147         * math/libm-test.inc (exp_test_tonearest): New function.
40148         (exp_test_towardzero): Likewise.
40149         (exp_test_downward): Likewise.
40150         (exp_test_upward): Likewise.
40151         (main): Call the new functions.
40152         * sysdeps/i386/fpu/libm-test-ulps: Update.
40153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40154
40155 2012-03-01  Chris Demetriou  <cgd@google.com>
40156
40157         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40158         have predictable order.
40159
40160 2012-03-01  David S. Miller  <davem@davemloft.net>
40161
40162         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40163
40164         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40165         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40166         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40167         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40168
40169         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40170         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40171         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40173         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40174         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40175         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40176         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40177         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40178
40179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40180
40181         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40182         * sysdeps/sparc/fpu/libm-test-ulps: to here.
40183         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40184
40185         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40186         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40187         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40188         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40189         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40190         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40191         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40192         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40193         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40194         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40195         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40196         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40197         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40198         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40199         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40200         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40201         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40202         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40203         * sysdeps/sparc/elf/configure: Regenerated.
40204
40205 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
40206
40207         * configure.in (AS, LD): Require binutils 2.20 or later.
40208         * configure: Regenerated.
40209         * manual/install.texi (Tools for Compilation): Give binutils 2.20
40210         as required minimum version.
40211         * INSTALL: Regenerated.
40212
40213         [BZ #2541]
40214         [BZ #4108]
40215         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40216         before squaring exponent.
40217         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40218         bottom long double and 27 bits of top long double before squaring
40219         exponent.
40220         * math/libm-test.inc (erfc_test): Add more tests.
40221         * sysdeps/i386/fpu/libm-test-ulps: Update.
40222         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40224
40225 2012-03-01  Kai Tietz  <ktietz@redhat.com>
40226
40227         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40228         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40229         containing bit-fields.
40230         * soft-fp/extended.h (_FP_UNION_E): Likewise.
40231         * soft-fp/single.h (_FP_UNION_S): Likewise.
40232         * soft-fp/double.h (_FP_UNION_D): Likewise.
40233
40234 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40235
40236         [BZ #13786]
40237         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40238         not include ../strcmp.S.
40239         [USE_AS_STRNCASECMP_L]: Likewise.
40240         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40241         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40242         * sysdeps/i386/i686/multiarch/strncase_l-c.c
40243         (__strncasecmp_l_ia32): Define as alias to
40244         __strncasecmp_l_nonascii.
40245
40246         [BZ #5794]
40247         * math/libm-test.inc (expm1_test): Add test for bug 5794.
40248         * sysdeps/i386/fpu/libm-test-ulps: Update.
40249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40250
40251         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40253
40254 2012-02-29  Jeff Law  <law@redhat.com>
40255
40256         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40257         out of bounds read.
40258
40259 2012-02-29  Marek Polacek  <polacek@redhat.com>
40260
40261         [BZ #13706]
40262         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40263         * elf/Makefile: Add rules to run tst-unused-dep.out.
40264
40265 2012-02-28  David S. Miller  <davem@davemloft.net>
40266
40267         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40268         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40269         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40270         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40271         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40272         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40273
40274 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40275
40276         * math/libm-test.inc (llround_test): Move one test from
40277         lround_test.  Use TEST_f_L in moved test.
40278         (lround_test): Move misplaced test to llround_test.  Add testcase
40279         from bug 2561.
40280
40281 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
40282
40283         * sysdeps/x86_64/fpu/e_expf.S: New file.
40284         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40285
40286 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
40287
40288         [BZ #13637]
40289         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40290         of remain_len that may cause incomplete multi-byte character and
40291         false match.
40292         * posix/bug-regex33.c: New file.
40293         * posix/Makefile (tests): Add bug-regex33.
40294
40295 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
40296
40297         * manual/macros.texi: New file.
40298         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40299         * manual/libc.texinfo: Include macros.texi.
40300         * manual/creatute.texi: Likewise.
40301         * manual/install.texi: Likewise.
40302         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40303         @glibcadj{} in references to the GNU C Library.
40304         * manual/charset.texi: Likewise.
40305         * manual/conf.texi: Likewise.
40306         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
40307         when not using those macros.
40308         * manual/creature.texi: Likewise.
40309         * manual/crypt.texi: Likewise.
40310         * manual/errno.texi: Likewise.
40311         * manual/filesys.texi: Likewise.
40312         * manual/header.texi: Likewise.
40313         * manual/install.texi: Likewise.
40314         * manual/intro.texi: Likewise.
40315         * manual/io.texi: Likewise.
40316         * manual/job.texi: Likewise.
40317         * manual/lang.texi: Likewise.
40318         * manual/libc.texiinfo: Likewise.
40319         * manual/llio.texi: Likewise.
40320         * manual/locale.texi: Likewise.
40321         * manual/maint.texi: Likewise.
40322         * manual/math.texi: Likewise.
40323         * manual/memory.texi: Likewise.
40324         * manual/message.texi: Likewise.
40325         * manual/nss.texi: Likewise.
40326         * manual/pattern.texi: Likewise.
40327         * manual/process.texi: Likewise.
40328         * manual/resource.texi: Likewise.
40329         * manual/search.texi: Likewise.
40330         * manual/setjmp.texi: Likewise.
40331         * manual/signal.texi: Likewise.
40332         * manual/socket.texi: Likewise.
40333         * manual/startup.texi: Likewise.
40334         * manual/stdio.texi: Likewise.
40335         * manual/string.texi: Likewise.
40336         * manual/sysinfo.texi: Likewise.
40337         * manual/syslog.texi: Likewise.
40338         * manual/terminal.texi: Likewise.
40339         * manual/time.texi: Likewise.
40340         * manual/users.texi: Likewise.
40341         * INSTALL: Regenerated.
40342         * NOTES: Regenerated.
40343         * sysdeps/gnu/errlist.c: Regenerated.
40344
40345 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
40346
40347         * include/dirent.h: Include <dirstream.h> before
40348         <dirent/dirent.h>.
40349
40350 2012-02-28  David S. Miller  <davem@davemloft.net>
40351
40352         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40353         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40354         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40355         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40356
40357 2012-02-27  David S. Miller  <davem@davemloft.net>
40358
40359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40361         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40362         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40363
40364         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40365         frame pointer instead of stack pointer relative arg slot.
40366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40367         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40368         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40369
40370 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
40371
40372         [BZ #3992]
40373         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40374
40375 2012-02-27  David S. Miller  <davem@davemloft.net>
40376
40377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40381         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40382         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40383         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40384         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40385
40386 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40387
40388         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40389         later.  Allow versions 5-9.
40390         * configure: Regenerated.
40391         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40392         required minimum version and 4.6 as recommended version.  Do not
40393         mention bugs in GCC 2.7 and 2.8.
40394         * INSTALL: Regenerated.
40395
40396 2012-02-27  David S. Miller  <davem@davemloft.net>
40397
40398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40402         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40403         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40404         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40405         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40406
40407         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40408         manipulate bits before adding and subtracting TWO112[sx].
40409         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40410
40411 2012-02-27  Roland McGrath  <roland@hack.frob.com>
40412
40413         [BZ #13775]
40414         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40415         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40416         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40417         being in POSIX, because they are in 1003.1-2008.
40418
40419         * rt/tst-aio.c: Include <fcntl.h>.
40420         * rt/tst-aio7.c: Likewise.
40421         * rt/tst-aio64.c: Likewise.
40422
40423         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40424
40425 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40426
40427         * manual/install.texi (--with-headers): Describe headers as
40428         interface headers, not private headers.
40429         (Specific advice for GNU/Linux systems): Describe use of headers
40430         from "make headers_install", not private headers from older
40431         kernels.
40432         * INSTALL: Regenerated.
40433         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40434         Change to 2.6.19.
40435         * sysdeps/unix/sysv/linux/configure: Regenerated.
40436
40437         * manual/llio.texi (fclean): Remove documentation.
40438
40439         * manual/Makefile (libc-texi-generated): New variable.  Include
40440         version.texi.
40441         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40442         $(libc-texi-generated), not duplicated list of files.
40443         (version.texi, stamp-version): New rules.
40444         (realclean): Remove $(libc-texi-generated), not individual files
40445         from that list.  Do not remove dir-add.texinfo.
40446         * manual/libc.texinfo: Comment out uses of edition numbers and
40447         references to printed manual.  Remove last-updated dates.
40448         (EDITION): Comment out.
40449         (ISBN): Likewise.
40450         (VERSION, UPDATED): Remove.
40451         (version.texi): Include.
40452
40453 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
40454
40455         * sysdeps/posix/spawni.c: Include <signal.h>.
40456         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40457         * sysdeps/pthread/aio_fsync.c: Likewise.
40458
40459 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
40460
40461         * conform/Makefile (tests): Run only when not cross-compiling and
40462         when fast-check is not defined.
40463
40464         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40465         * conform/data/limits.h-data: Fixes for POSIX2008.
40466         * conform/run-conformtest.sh: Run all tests.
40467         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40468         headers.
40469         * include/bits/dlfcn.h: Likewise.
40470         * include/langinfo.h: Likewise.
40471         * include/monetary.h: Likewise.
40472         * include/sys/poll.h: Likewise.
40473
40474         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40475         for __USE_GNU.
40476         * posix/spawn.h: Define __need_sigset_t.
40477         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40478         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40479         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
40480         to get sigevent_t only.
40481         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40482         only for __USE_GNU.
40483         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40484         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40485         process_vm_writev only for __USE_GNU.
40486         * termios/termios.h: Declare tcgetsid also for POSIX2008.
40487
40488         * conform/Makefile: For now ignore errors from run-conformtest.
40489         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
40490         POSIX to avoid namespace pollution.  Don't prepend headers.
40491         * conform/data/aio.h-data: Fixes for POSIX testing.
40492         * conform/data/fcntl.h-data: Likewise.
40493         * conform/data/glob.h-data: Likewise.
40494         * conform/data/grp.h-data: Likewise.
40495         * conform/data/pthread.h-data: Likewise.
40496         * conform/data/pwd.h-data: Likewise.
40497         * conform/data/signal.h-data: Likewise.
40498         * conform/data/spawn.h-data: Likewise.
40499         * conform/data/stdio.h-data: Likewise.
40500         * conform/data/stdlib.h-data: Likewise.
40501         * conform/data/stropts.h-data: Likewise.
40502         * conform/data/sys/mman.h-data: Likewise.
40503         * conform/data/sys/stat.h-data: Likewise.
40504         * conform/data/sys/types.h-data: Likewise.
40505         * conform/data/sys/wait.h-data: Likewise.
40506         * conform/data/time.h-data: Likewise.
40507         * conform/data/unistd.h-data: Likewise.
40508         * conform/data/utime.h-data: Likewise.
40509
40510         * io/sys/stat.h: fchmod was always in POSIX.
40511         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40512         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40513         * rt/aio.h: Define __need_timespec before including <time.h>.
40514         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40515         struct.  Add forward declaration of pthread_attr_t and use it in
40516         sigevent.
40517         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40518         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40519         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40520         always remove CLK_TCK definition.
40521
40522 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
40523
40524         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40525
40526 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
40527
40528         * conform/run-conformtest.sh: New file.
40529         * conform/Makefile: Run run-conformtest for tests.
40530         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
40531         support.
40532
40533         * conform/data/uchar.h-data: New file.
40534         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40535         * conform/data/arpa/inet.h-data: Likewise.
40536         * conform/data/assert.h-data: Likewise.
40537         * conform/data/complex.h-data: Likewise.
40538         * conform/data/cpio.h-data: Likewise.
40539         * conform/data/ctype.h-data: Likewise.
40540         * conform/data/dirent.h-data: Likewise.
40541         * conform/data/dlfcn.h-data: Likewise.
40542         * conform/data/errno.h-data: Likewise.
40543         * conform/data/fcntl.h-data: Likewise.
40544         * conform/data/float.h-data: Likewise.
40545         * conform/data/fmtmsg.h-data: Likewise.
40546         * conform/data/fnmatch.h-data: Likewise.
40547         * conform/data/ftw.h-data: Likewise.
40548         * conform/data/glob.h-data: Likewise.
40549         * conform/data/grp.h-data: Likewise.
40550         * conform/data/iconv.h-data: Likewise.
40551         * conform/data/inttypes.h-data: Likewise.
40552         * conform/data/langinfo.h-data: Likewise.
40553         * conform/data/libgen.h-data: Likewise.
40554         * conform/data/limits.h-data: Likewise.
40555         * conform/data/locale.h-data: Likewise.
40556         * conform/data/math.h-data: Likewise.
40557         * conform/data/monetary.h-data: Likewise.
40558         * conform/data/mqueue.h-data: Likewise.
40559         * conform/data/ndbm.h-data: Likewise.
40560         * conform/data/net/if.h-data: Likewise.
40561         * conform/data/netdb.h-data: Likewise.
40562         * conform/data/netinet/in.h-data: Likewise.
40563         * conform/data/nl_types.h-data: Likewise.
40564         * conform/data/poll.h-data: Likewise.
40565         * conform/data/pthread.h-data: Likewise.
40566         * conform/data/pwd.h-data: Likewise.
40567         * conform/data/regex.h-data: Likewise.
40568         * conform/data/sched.h-data: Likewise.
40569         * conform/data/search.h-data: Likewise.
40570         * conform/data/semaphore.h-data: Likewise.
40571         * conform/data/setjmp.h-data: Likewise.
40572         * conform/data/signal.h-data: Likewise.
40573         * conform/data/spawn.h-data: Likewise.
40574         * conform/data/stdarg.h-data: Likewise.
40575         * conform/data/stdio.h-data: Likewise.
40576         * conform/data/stdlib.h-data: Likewise.
40577         * conform/data/string.h-data: Likewise.
40578         * conform/data/strings.h-data: Likewise.
40579         * conform/data/stropts.h-data: Likewise.
40580         * conform/data/sys/ipc.h-data: Likewise.
40581         * conform/data/sys/mman.h-data: Likewise.
40582         * conform/data/sys/msg.h-data: Likewise.
40583         * conform/data/sys/resource.h-data: Likewise.
40584         * conform/data/sys/select.h-data: Likewise.
40585         * conform/data/sys/sem.h-data: Likewise.
40586         * conform/data/sys/shm.h-data: Likewise.
40587         * conform/data/sys/socket.h-data: Likewise.
40588         * conform/data/sys/stat.h-data: Likewise.
40589         * conform/data/sys/statvfs.h-data: Likewise.
40590         * conform/data/sys/time.h-data: Likewise.
40591         * conform/data/sys/timeb.h-data: Likewise.
40592         * conform/data/sys/times.h-data: Likewise.
40593         * conform/data/sys/types.h-data: Likewise.
40594         * conform/data/sys/uio.h-data: Likewise.
40595         * conform/data/sys/un.h-data: Likewise.
40596         * conform/data/sys/utsname.h-data: Likewise.
40597         * conform/data/sys/wait.h-data: Likewise.
40598         * conform/data/syslog.h-data: Likewise.
40599         * conform/data/tar.h-data: Likewise.
40600         * conform/data/termios.h-data: Likewise.
40601         * conform/data/utime.h-data: Likewise.
40602         * conform/data/utmpx.h-data: Likewise.
40603         * conform/data/varargs.h-data: Likewise.
40604         * conform/data/wchar.h-data: Likewise.
40605         * conform/data/wctype.h-data: Likewise.
40606         * conform/data/wordexp.h-data: Likewise.
40607
40608         * include/stropts.h: New file.
40609         * include/uchar.h: New file.
40610         * include/aio.h: Changes to allow conformtest.pl to use the headers.
40611         * include/assert.h: Likewise.
40612         * include/ctype.h: Likewise.
40613         * include/dirent.h: Likewise.
40614         * include/dlfcn.h: Likewise.
40615         * include/fcntl.h: Likewise.
40616         * include/fnmatch.h: Likewise.
40617         * include/glob.h: Likewise.
40618         * include/grp.h: Likewise.
40619         * include/libio.h: Likewise.
40620         * include/locale.h: Likewise.
40621         * include/math.h: Likewise.
40622         * include/net/if.h: Likewise.
40623         * include/netdb.h: Likewise.
40624         * include/netinet/in.h: Likewise.
40625         * include/pthread.h: Likewise.
40626         * include/pwd.h: Likewise.
40627         * include/regex.h: Likewise.
40628         * include/sched.h: Likewise.
40629         * include/search.h: Likewise.
40630         * include/setjmp.h: Likewise.
40631         * include/signal.h: Likewise.
40632         * include/stdio.h: Likewise.
40633         * include/stdlib.h: Likewise.
40634         * include/string.h: Likewise.
40635         * include/sys/cdefs.h: Likewise.
40636         * include/sys/mman.h: Likewise.
40637         * include/sys/msg.h: Likewise.
40638         * include/sys/resource.h: Likewise.
40639         * include/sys/select.h: Likewise.
40640         * include/sys/socket.h: Likewise.
40641         * include/sys/stat.h: Likewise.
40642         * include/sys/statvfs.h: Likewise.
40643         * include/sys/time.h: Likewise.
40644         * include/sys/times.h: Likewise.
40645         * include/sys/uio.h: Likewise.
40646         * include/sys/utsname.h: Likewise.
40647         * include/sys/wait.h: Likewise.
40648         * include/termios.h: Likewise.
40649         * include/time.h: Likewise.
40650         * include/ulimit.h: Likewise.
40651         * include/unistd.h: Likewise.
40652         * include/utime.h: Likewise.
40653         * include/wchar.h: Likewise.
40654         * include/wctype.h: Likewise.
40655         * include/wordexp.h: Likewise.
40656
40657         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40658
40659         * time/time.h: TIME_UTC must be a macro.
40660         Make timespec_get available for ISO C11 only as well.
40661
40662 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
40663
40664         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40665         Reported by Peng Haitao <penght@cn.fujitsu.com>.
40666
40667 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40668
40669         * configure.in: Use -o not -a in test for unsupported multi-arch.
40670
40671 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40672
40673         * manual/texinfo.tex: Update to version 2012-01-19.16.
40674
40675 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40676
40677         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40678
40679 2012-02-24  Roland McGrath  <roland@hack.frob.com>
40680
40681         [BZ #13738]
40682         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40683         * manual/fdl-1.3.texi: New file.
40684         * manual/fdl-1.1.texi: File removed.
40685
40686         [BZ #13738]
40687         * manual/libc.texinfo (FDL_VERSION): New @set.
40688         Use it for mention of FDL in cover text.
40689         (Documentation License): Use it in @include file name.
40690
40691 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40692             Roland McGrath  <roland@hack.frob.com>
40693
40694         [BZ #5461]
40695         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40696         (not LONG_LONG_MAX and LONG_LONG_MIN.
40697         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40698         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
40699         name.
40700         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40701
40702 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40703
40704         [BZ #2547]
40705         [BZ #11365]
40706         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40707         manipulate bits before adding and subtracting TWO23[sx].
40708         * math/libm-test.inc (nearbyint_test): Add more tests.
40709
40710 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40711
40712         [BZ #2548]
40713         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40714         bits before adding and subtracting TWO23[sx].
40715         * math/libm-test.inc (rint_test): Add more tests.
40716         (rint_test_tonearest): Likewise.
40717         (rint_test_towardzero): Likewise.
40718         (rint_test_downward): Likewise.
40719         (rint_test_upward: Likewise.
40720
40721 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40722
40723         [BZ #10110]
40724         * include/stdc-predef.h: New file.  Extracted from features.h.
40725         * include/features.h: Include stdc-predef.h.
40726         * Makefile (headers): Add stdc-predef.h.
40727         * CONFORMANCE (Compiler limitations): Update.
40728
40729 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40730
40731         * manual/libc.texinfo (VERSION, UPDATED): Revert.
40732
40733 2012-02-21  David S. Miller  <davem@davemloft.net>
40734
40735         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40736         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40737
40738 2012-02-20  David S. Miller  <davem@davemloft.net>
40739
40740         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40741         using a normal save/restore sequence, rather than allocating a
40742         dummy stack frame just to store a frame pointer and restore.
40743         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40744
40745 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40746
40747         * manual/install.texi: Fix stray word in line-wrapped comment.
40748
40749 2012-02-20  David S. Miller  <davem@davemloft.net>
40750
40751         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40752         both binutils and gcc support GOTDATA.
40753
40754         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40755         "rd %pc" in the PIC register setup sequences.
40756
40757         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40758         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40759         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40760         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40761         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40762         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40763         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40764         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40765         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40766         (SYSCALL_ERROR_HANDLER): Likewise.
40767         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40768         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40769         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40770         (SYSCALL_ERROR_HANDLER): Likewise.
40771
40772         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40773         (HAVE_GCC_GOTDATA): New.
40774         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40775         relocation support in both binutils and gcc.
40776         * sysdeps/sparc/elf/configure: Regenerate.
40777
40778         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40779         * sysdeps/sparc/sparc32/elf/configure: Delete.
40780         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40781         * sysdeps/sparc/sparc64/elf/configure: Delete.
40782         * sysdeps/sparc/elf/configure.in: New file.
40783         * sysdeps/sparc/elf/configure: Generate.
40784
40785         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40786         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40787         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40788         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40789         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40790
40791 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40792
40793         * manual/install.texi: Do not mention specific glibc version
40794         numbers.
40795         * manual/libc.texinfo (VERSION, UPDATED): Update.
40796         (@copying): Use @copyright{} and range of years.
40797
40798 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40799
40800         [BZ #13695]
40801         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40802         [crti.S not in sysdirs] (generated): Do not append.
40803         [crti.S not in sysdirs] (omit-deps): Likewise.
40804         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40805         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40806         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40807         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40808         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40809         Likewise.
40810         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40811         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40812         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40813         * csu/defs.awk: Remove file.
40814         * sysdeps/generic/initfini.c: Likewise.
40815         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40816         variable.
40817         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40818         Likewise.
40819
40820 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40821
40822         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40823         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40824         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40825         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40826         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40827         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40828         <bits/epoll.h>.
40829         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40830         (__EPOLL_PACKED): Define to empty if not defined by
40831         <bits/epoll.h>.
40832         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40833         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40834         bits/epoll.h.
40835
40836 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40837
40838         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40839         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40840         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40841         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40842         <bits/timerfd.h>.
40843         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40844         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40845         bits/timerfd.h.
40846
40847 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40848
40849         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40850         in C locale.
40851         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40852         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40853         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40855
40856 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
40857
40858         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40859         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40860
40861 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
40862
40863         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40864         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40865         defined.
40866         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40867         Likewise.
40868         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40869         entry for 2.16.
40870
40871 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
40872
40873         * math/w_acos.c: Use non-signaling floating-point comparisons.
40874         * math/w_acosf.c: Likewise.
40875         * math/w_acosh.c: Likewise.
40876         * math/w_acoshf.c: Likewise.
40877         * math/w_acoshl.c: Likewise.
40878         * math/w_acosl.c: Likewise.
40879         * math/w_asin.c: Likewise.
40880         * math/w_asinf.c: Likewise.
40881         * math/w_asinl.c: Likewise.
40882         * math/w_atanh.c: Likewise.
40883         * math/w_atanhf.c: Likewise.
40884         * math/w_atanhl.c: Likewise.
40885         * math/w_exp2.c: Likewise.
40886         * math/w_exp2f.c: Likewise.
40887         * math/w_exp2l.c: Likewise.
40888         * math/w_j0.c: Likewise.
40889         * math/w_j0f.c: Likewise.
40890         * math/w_j0l.c: Likewise.
40891         * math/w_j1.c: Likewise.
40892         * math/w_j1f.c: Likewise.
40893         * math/w_j1l.c: Likewise.
40894         * math/w_jn.c: Likewise.
40895         * math/w_jnf.c: Likewise.
40896         * math/w_log.c: Likewise.
40897         * math/w_log10.c: Likewise.
40898         * math/w_log10f.c: Likewise.
40899         * math/w_log10l.c: Likewise.
40900         * math/w_log2.c: Likewise.
40901         * math/w_log2f.c: Likewise.
40902         * math/w_log2l.c: Likewise.
40903         * math/w_logf.c: Likewise.
40904         * math/w_logl.c: Likewise.
40905         * math/w_sqrt.c: Likewise.
40906         * math/w_sqrtf.c: Likewise.
40907         * math/w_sqrtl.c: Likewise.
40908         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40909         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40910         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40911         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40912         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40913
40914 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40915
40916         [BZ #9739]
40917         * manual/string.texi (strnlen): Use correct parameter name in
40918         equivalent expression.
40919
40920 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40921
40922         [BZ #11174]
40923         * manual/users.texi (seteuid): Consistently use neweuid for
40924         argument name.
40925
40926 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40927
40928         [BZ #13704]
40929         * manual/nss.texi (Services in the NSS configuration): Correct
40930         list of services in example configuration file.
40931
40932 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
40933
40934         [BZ #11322]
40935         * manual/arith.texi: Remove statements about negative zero
40936         behaving identically to zero.
40937
40938 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40939
40940         [BZ #5993]
40941         * manual/install.texi: Do not document upgrading from libc5.
40942
40943 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40944
40945         [BZ #4596]
40946         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40947
40948 2012-02-18  David S. Miller  <davem@davemloft.net>
40949
40950         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40951         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40952         %o7 across the call.
40953         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40954         instead.
40955         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40956         SETUP_PIC_REG_LEAF.
40957         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40958         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40959         * sysdeps/sparc/crtn.S: Likewise.
40960
40961 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
40962
40963         * aout/Makefile: Remove.
40964
40965 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
40966
40967         [BZ #13058]
40968         * manual/examples/argp-ex1.c (main): Format definition in GNU
40969         style.
40970         * manual/examples/argp-ex2.c (main): Likewise.
40971         * manual/examples/argp-ex3.c (main): Likewise.
40972         * manual/examples/argp-ex4.c (main): Likewise.
40973         * manual/examples/longopt.c (main): Use new-style prototype
40974         definition.
40975         * manual/examples/strncat.c (main): Specify return type and use
40976         (void) for arguments.
40977         * manual/examples/subopt.c (main): Use char **argv argument.
40978
40979 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40980
40981         [BZ #5077]
40982         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40983         rounding modes.
40984
40985 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
40986
40987         [BZ #6907]
40988         * manual/string.texi (strchr): Change when strchrnul is
40989         recommended.
40990
40991 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
40992
40993         [BZ #174]
40994         * manual/locale.texi (setlocale): Document LOCPATH.
40995
40996 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40997
40998         [BZ #10210]
40999         * manual/process.texi (execle): Move @dots{} before last argument.
41000
41001 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
41002
41003         [BZ #12047]
41004         * manual/charset.texi (Generic Charset Conversion): Fix typo
41005         (LC_TYPE -> LC_CTYPE).
41006
41007 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
41008
41009         [BZ #5805]
41010         * manual/arith.texi (scalbn): Use @var{} on parameter names.
41011         (scalbnf): Likewise.
41012         (scalbnl): Likewise.
41013         (scalbln): Likewise.
41014         (scalblnf): Likewise.
41015         (scalblnl): Likewise.
41016         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41017         (vwarnx): Likewise.
41018         (verr): Likewise.
41019         (verrx): Likewise.
41020         * manual/filesys.texi (telldir): Use braces around return type.
41021         * manual/llio.texi (mmap): Add space after comma.
41022         (mmap64): Likewise.
41023         * manual/math.texi (jn): Use @var{} on parameter names.
41024         (jnf): Likewise.
41025         (jnl): Likewise.
41026         (yn): Likewise.
41027         (ynf): Likewise.
41028         (ynl): Likewise.
41029         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41030         line.
41031         * manual/resource.texi (ulimit): Use @dots{} instead of literal
41032         "...".
41033         (sched_get_priority_min): Remove semicolon on @deftypefun line.
41034         (sched_get_priority_max): Likewise.
41035         * manual/signal.texi (sigvec): Add space after comma.
41036         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41037         names.
41038         (if_indextoname): Likewise.
41039         (if_freenameindex): Likewise.
41040         (sendto): Use ',' instead of '.' in prototype.
41041         * manual/startup.texi (syscall): Use @dots{} instead of literal
41042         "...".
41043         * manual/stdio.texi (__fpending): Separate initial words of
41044         paragraph from @deftypefun line.
41045         * manual/syslog.texi (syslog): Use @dots{} instead of literal
41046         "...".
41047         (vsyslog): Use @var{} on parameter names.
41048         * manual/terminal.texi (stty): Use @var{} on parameter names.
41049         * manual/users.texi (getutmp): Use @var{} on parameter names.
41050         (getutmpx): Likewise.
41051
41052 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41053
41054         [BZ #6884]
41055         * manual/stdio.texi (fopen): Fix typos in description of
41056         ",ccs=STRING".
41057
41058 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
41059
41060         [BZ #4026]
41061         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41062         get clock_id definition.
41063
41064 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
41065
41066         [BZ #4822]
41067         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41068         (madvise): Cast every argument to void on its own.
41069
41070 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41071
41072         [BZ #9902]
41073         * manual/startup.texi (Exit Status): Fix typo.
41074
41075 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41076
41077         [BZ #10140]
41078         * manual/examples/argp-ex1.c: Include <stdlib.h>.
41079         * manual/examples/argp-ex2.c: Likewise.
41080         * manual/examples/argp-ex3.c: Likewise.
41081
41082 2012-02-16  Richard Henderson  <rth@redhat.com>
41083
41084         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41085         * sysdeps/s390/s390-32/initfini.c: Remove.
41086         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41087         * sysdeps/s390/s390-64/initfini.c: Remove.
41088
41089 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41090
41091         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41092         compiler output for sysdeps/generic/initfini.c.
41093         * sysdeps/sh/elf/initfini.c: Remove file.
41094
41095 2012-02-16  David S. Miller  <davem@davemloft.net>
41096
41097         [BZ #11494]
41098         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41099
41100         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41101         * sysdeps/sparc/crti.S: New file.
41102         * sysdeps/sparc/crtn.S: New file.
41103         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41104         * sysdeps/sparc/sparc64/Makefile: Likewise.
41105
41106 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
41107
41108         [BZ #3335]
41109         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41110
41111 2012-02-15  Roland McGrath  <roland@hack.frob.com>
41112
41113         [BZ #4822]
41114         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41115
41116         * mach/devstream.c (cookie_io_functions_t): Macro removed.
41117         (write, read, close): Likewise.
41118         Patch by Aurelien Jarno <aurelien@aurel32.net>.
41119
41120 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
41121
41122         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41123         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41124         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41125         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41126         <bits/signalfd.h>.
41127         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41128         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41129         bits/signalfd.h.
41130
41131 2012-02-14  Marek Polacek  <polacek@redhat.com>
41132
41133         * sysdeps/x86_64/crti.S: New file.
41134         * sysdeps/x86_64/crtn.S: New file.
41135         * sysdeps/x86_64/elf/initfini.c: Remove file.
41136
41137 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41138
41139         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41140         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41141         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41142         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41143         <bits/inotify.h>.
41144         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41145         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41146         bits/inotify.h.
41147
41148 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41149
41150         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41151         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41152         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41153         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41154         <bits/eventfd.h>.
41155         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41156         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41157         bits/eventfd.h.
41158
41159 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
41160
41161         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41162         __feraiseexcept instead of feraiseexcept.
41163
41164         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41165         nanosleep invocations.
41166         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41167         strings, and add error checking for a nanosleep invocations.
41168
41169 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
41170
41171         Replace FSF snail mail address with URLs, as per GNU coding standards.
41172         Most of the snail mail addresses were wrong anyway, and omitting
41173         them makes the source code easier to maintain.  Almost all of the
41174         changes are to license notices and to locale LC_IDENTIFICATION
41175         addresses, except for this one:
41176         * manual/libc.texinfo: In "Published by", give the FSF's URL,
41177         not its snail mail address.
41178
41179 2012-02-09  Richard Henderson  <rth@twiddle.net>
41180
41181         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41182         of kernel-features.h.
41183
41184         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41185
41186 2012-02-08  Marek Polacek  <polacek@redhat.com>
41187
41188         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41189         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41190         * sysdeps/gnu/_G_config.h: Likewise.
41191         * sysdeps/generic/_G_config.h: Likewise.
41192
41193 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
41194
41195         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41196         tests.
41197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41198
41199         * sysdeps/powerpc/powerpc32/crti.S: New file.
41200         * sysdeps/powerpc/powerpc32/crtn.S: New file.
41201         * sysdeps/powerpc/powerpc64/crti.S: New file.
41202         * sysdeps/powerpc/powerpc64/crtn.S: New file.
41203
41204         * Makeconfig (have-initfini): Don't set.
41205         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41206         * configure.in (nopic_initfini): Don't substitute.
41207         * config.h.in (HAVE_INITFINI): Don't #undef.
41208         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41209         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41210
41211 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
41212
41213         Support crti.S and crtn.S provided directly by architectures.
41214         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41215         [crti.S in sysdirs] (omit-deps): Likewise.
41216         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41217         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41218         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41219         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41220         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41221         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41222         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41223         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41224         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41225         compiler output for sysdeps/generic/initfini.c.
41226         * sysdeps/i386/elf/Makefile: Remove file.
41227         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41228
41229 2012-02-07  Marek Polacek  <polacek@redhat.com>
41230
41231         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41232         * sysdeps/gnu/_G_config.h: Likewise.
41233         * sysdeps/mach/hurd/_G_config.h: Likewise.
41234
41235 2012-02-07  Marek Polacek  <polacek@redhat.com>
41236
41237         * math/Makefile (tests): Add tst-CMPLX2.
41238         * math/tst-CMPLX2.c: New file.
41239
41240 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
41241
41242         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41243
41244         * math/libm-test.inc (jn_test): Add missing L suffix.
41245
41246 2012-02-06  Marek Polacek  <polacek@redhat.com>
41247
41248         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41249         * sysdeps/i386/fpu/e_powf.S: Likewise.
41250         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41251         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41252         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41253         * sysdeps/i386/fpu/e_pow.S: Likewise.
41254         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41255         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41256         * sysdeps/i386/fpu/s_expm1.S: Likewise.
41257         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41258         * sysdeps/i386/fpu/e_log2.S: Likewise.
41259         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41260         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41261         * sysdeps/i386/fpu/e_powl.S: Likewise.
41262         * sysdeps/i386/fpu/s_log1p.S: Likewise.
41263         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41264         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41265         * sysdeps/i386/fpu/e_logl.S: Likewise.
41266         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41267         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41268         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41269         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41270         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41271         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41272         * sysdeps/i386/fpu/e_log.S: Likewise.
41273         * sysdeps/i386/fpu/s_cexp.S: Likewise.
41274         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41275         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41276         * sysdeps/i386/fpu/e_logf.S: Likewise.
41277         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41278         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41279         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41280         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41281         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41282         * sysdeps/i386/fpu/e_log10.S: Likewise.
41283         * sysdeps/i386/fpu/s_frexp.S: Likewise.
41284         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41285         * sysdeps/i386/fpu/s_asinh.S: Likewise.
41286         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41287         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41288         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41289         * sysdeps/i386/asm-syntax.h: Likewise.
41290         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41291         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41292         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41293         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41294         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41295         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41296         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41297         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41298         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41299         * sysdeps/powerpc/sysdep.h: Likewise.
41300         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41301         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41302
41303 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41304
41305         [BZ #411]
41306         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41307
41308 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41309
41310         * sysdeps/i386/sysdep.h: Include <features.h>.
41311         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41312         version.
41313
41314 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
41315
41316         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41317         Define.
41318         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41319         LOAD_PIC_REG_STR.
41320
41321 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41322
41323         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41324         (SETUP_PIC_REG): Use GET_PC_THUNK.
41325         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41326         macro.
41327
41328 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41329
41330         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41331         for non-PIC compilation.
41332         (SETUP_PIC_REG): Add .p2align directive.
41333         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41334         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41335         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41336         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41337         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41338         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41339         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41340         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41341         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41342         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41343         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41344         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41345         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41346         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41347         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41348         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41349         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41350         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41351         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41352         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41353         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41354         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41355         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41356         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41357         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41358         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41359         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41360         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41361         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41362         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41363         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41364         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41365         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41366         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41367         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41368         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41369         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41370         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41371         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41372         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41373         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41374
41375 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41376
41377         * math/tst-CMPLX.c: Include <stdio.h>.
41378
41379 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
41380
41381         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41382         float.
41383         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41384         * sysdeps/sparc/bits/mathdef.h: Likewise.
41385
41386 2012-01-31  Marek Polacek  <polacek@redhat.com>
41387
41388         * libio/libio.h: Don't define _PARAMS.
41389         * locale/programs/config.h: Don't define PARAMS.
41390         * stdlib/strtol_l.c: Likewise.
41391         (__strtol_l): Remove PARAMS from the prototype.
41392
41393 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
41394
41395         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
41396         names.  Just use the correct names.  Remove unnecessary wrapper
41397         functions.
41398         * malloc/arena.c: Likewise.
41399         * malloc/hooks.c: Likewise.
41400
41401         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41402         ARENA_TEST says not to.  Simplify test for creation of a new arena.
41403         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41404
41405 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
41406
41407         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41408         into tail calls.
41409         (update_get_addr): New function.
41410         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41411         GET_ADDR_MODULE parameter.
41412
41413 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41414
41415         * crypt/cert.c: Remove __STDC__ conditionals.
41416         * crypt/crypt-entry.c: Likewise.
41417         * crypt/crypt_util.c: Likewise.
41418         * libio/filedoalloc.c: Likewise.
41419         * libio/fileops.c: Likewise.
41420         * libio/genops.c: Likewise.
41421         * libio/iofclose.c: Likewise.
41422         * libio/iofdopen.c: Likewise.
41423         * libio/iofopen.c: Likewise.
41424         * libio/iofopen64.c: Likewise.
41425         * libio/iogetdelim.c: Likewise.
41426         * libio/iopopen.c: Likewise.
41427         * libio/obprintf.c: Likewise.
41428         * libio/oldfileops.c: Likewise.
41429         * libio/oldiofclose.c: Likewise.
41430         * libio/oldiofdopen.c: Likewise.
41431         * libio/oldiofopen.c: Likewise.
41432         * libio/oldiopopen.c: Likewise.
41433         * libio/wfiledoalloc.c: Likewise.
41434         * libio/wgenops.c: Likewise.
41435         * locale/programs/xmalloc.c: Likewise.
41436         * misc/syslog.c: Likewise.
41437         * stdio-common/xbug.c: Likewise.
41438         * string/memchr.c: Likewise.
41439         * string/memcmp.c: Likewise.
41440         * string/memrchr.c: Likewise.
41441         * string/rawmemchr.c: Likewise.
41442         * sysdeps/posix/getcwd.c: Likewise.
41443         * time/strftime_l.c: Likewise.
41444
41445 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41446
41447         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41448         * config.make.in (config-cflags-sse2avx): Define.
41449         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41450         Fix typo.
41451
41452 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
41453
41454         * scripts/config.guess: Update from upstream config git repository.
41455         * scripts/config.sub: Likewise.
41456
41457 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
41458
41459         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41460         (EM_NUM): Update.
41461         (R_TILEPRO_*, R_TILEGX_*): New macros.
41462
41463         * scripts/firstversions.awk: Fix bug in version range handling.
41464
41465         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41466
41467         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41468
41469         * include/sys/epoll.h: New file.
41470         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41471         libc_hidden_def.
41472
41473 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
41474
41475         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41476         Avoid unnecessary __WORDSIZE == 64 test.
41477         (fmaxf): Use VEX format if possible.
41478         (fmax): Likewise.
41479         (fminf): Likewise.
41480         (fmin): Likewise.
41481
41482         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41483         * math/math_private.h: Remove libc_fegetround* and
41484         libc_fesetround*.
41485         * sysdeps/i386/configure.in: Check for -msse2avx.
41486         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41487         also if SSE2AVX is defined.
41488         Remove libc_fegetround* and libc_fesetround*.
41489         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41490         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
41491         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41492         of HAS_YMM_USABLE.
41493         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41494         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41495         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41496         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41497         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41498
41499         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41500
41501 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41502
41503         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41504         size is not set.
41505         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41506
41507 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
41508
41509         [BZ #13618]
41510         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41511         relocation.
41512         * Makeconfig (libm): Define.
41513         * elf/Makefile: Add rules to build and run tst-relsort1.
41514         * elf/tst-relsort1.c: New file.
41515         * elf/tst-relsort1mod1.c: New file.
41516         * elf/tst-relsort1mod2.c: New file.
41517
41518 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
41519
41520         * math/s_ldexp.c: Remove __STDC__ conditionals.
41521         * math/s_ldexpf.c: Likewise.
41522         * math/s_ldexpl.c: Likewise.
41523         * math/s_nextafter.c: Likewise.
41524         * math/s_nexttowardf.c: Likewise.
41525         * math/s_significand.c: Likewise.
41526         * math/s_significandf.c: Likewise.
41527         * math/s_significandl.c: Likewise.
41528         * math/w_jnl.c: Likewise.
41529         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41530         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41531         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41532         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41533         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41534         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41535         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41536         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41537         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41538         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41539         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41540         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41541         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41542         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41543         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41544         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41545         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41546         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41547         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41548         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41549         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41550         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41551         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41552         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41553         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41554         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41555         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41556         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41557         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41558         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41559         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41560         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41561         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41562         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41563         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41564         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41565         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41566         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41567         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41568         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41569         * sysdeps/ieee754/k_standard.c: Likewise.
41570         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41571         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41572         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41573         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41574         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41575         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41576         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41577         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41578         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41579         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41580         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41581         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41582         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41583         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41584         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41585         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41586         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41587         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41588         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41589         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41590         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41591         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41592         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41593         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41594         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41595         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41596         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41597         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41598         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41599         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41600         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41601         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41602         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41603         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41604         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41605         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41606         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41607         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41608         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41609         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41610         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41611         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41612         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41613         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41614         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41615         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41616         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41617         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41618         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41619         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41620         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41621         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41622         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41623         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41624         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41625         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41626         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41627         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41628         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41629         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41630         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41631         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41632         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41633         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41634         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41635         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41636         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41637         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41638         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41639         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41640         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41641         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41642         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41643         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41644         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41645         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41646         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41647         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41648         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41649         * sysdeps/ieee754/s_matherr.c: Likewise.
41650         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41651         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41652         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41653         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41654
41655 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41656
41657         * crypt/md5.h: Remove __STDC__ conditionals.
41658         * libio/libioP.h: Likewise.
41659         * locale/programs/config.h: Likewise.
41660         * sysdeps/generic/sysdep.h: Likewise.
41661         * sysdeps/i386/asm-syntax.h: Likewise.
41662         * sysdeps/s390/asm-syntax.h: Likewise.
41663         * sysdeps/unix/sysdep.h: Likewise.
41664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41666
41667 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41668
41669         * libio/libio.h: Remove __STDC__ conditionals.
41670         * malloc/obstack.h: Likewise.
41671         * math/complex.h: Likewise.
41672         * math/math.h: Likewise.
41673         * sysdeps/generic/_G_config.h: Likewise.
41674         * sysdeps/gnu/_G_config.h: Likewise.
41675         * sysdeps/mach/hurd/_G_config.h: Likewise.
41676         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41677         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41678         * sysdeps/sparc/bits/mathdef.h: Likewise.
41679
41680 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
41681
41682         [BZ #13583]
41683         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41684         Clean up HAS_* macros.
41685         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41686         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41687         possible.
41688         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41689         HAS_AVX.
41690         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41691         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41692         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41693         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41694         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41695
41696 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
41697
41698         * elf/tst-unique3.cc (gets): Remove declaration.
41699         * elf/tst-unique3lib.cc (gets): Likewise.
41700         * elf/tst-unique3lib2.cc (gets): Likewise.
41701         * elf/tst-unique4.cc (gets): Likewise.
41702
41703 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
41704
41705         * include/stdio.h: Add C++ protection.  Add gets declarations and
41706         definitions.
41707         * debug/tst-chk1.c: Don't declare gets here.
41708         * stdio-common/tst-gets.c: Likewise.
41709
41710 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41711
41712         * posix/glob: Remove directory.
41713
41714 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41715
41716         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41717
41718 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
41719
41720         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41721         of the non-standard EPFNOSUPPORT.
41722
41723 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41724
41725         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41726         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41727         ANYWHERE set to 1 only on KERN_NO_SPACE error.
41728
41729 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
41730
41731         * wcsmbs/uchar.h: Test __STDC_VERSION__.
41732
41733 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
41734
41735         * nscd/aicache.c (addhstaiX): Do not cache negative results of
41736         transient errors.
41737         * nscd/grpcache.c (cache_addgr): Likewise.
41738         * nscd/hstcache.c (cache_addhst): Likewise.
41739         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41740         * nscd/pwdcache.c (cache_addpw): Likewise.
41741         * nscd/servicescache.c (cache_addserv): Likewise.
41742
41743 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
41744
41745         * malloc/malloc.c: Various cleanups.
41746         * malloc/hooks.c: Likewise.
41747
41748         * stdlib/Makefile (tests): Add bug-fmtmsg1.
41749         * stdlib/bug-fmtmsg1.c: New file.
41750
41751         * stdlib/fmtmsg.c (init): Add missing unlock.
41752         Patch by Peng Haitao <penght@cn.fujitsu.com>.
41753
41754 2012-01-12  Marek Polacek  <polacek@redhat.com>
41755
41756         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41757         and _GNU_SOURCE.
41758
41759 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41760
41761         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41762         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41763         macro to ensure uniqueness of label name.
41764         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41765         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41766
41767 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
41768
41769         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41770
41771         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41772         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41773         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41774         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41775
41776 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
41777
41778         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41779
41780         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41781         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41782         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41783
41784         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41785
41786         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41787         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41788         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41789         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41790
41791         * math/bits/math-finite.h: Add ldexp support.
41792
41793 2012-01-10  Marek Polacek  <polacek@redhat.com>
41794
41795         * locale/programs/localedef.h (show_archive_content): Add noreturn
41796         attribute.
41797
41798 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
41799
41800         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41801
41802 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41803
41804         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41805
41806         * io/Makefile (headers): Add bits/poll2.h.
41807
41808 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
41809
41810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41811         typo #include statement.
41812
41813 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41814
41815         * include/sys/cdefs.h: Define __attribute_alloc_size.
41816         * catgets/gencat.c: Add alloc_size attribute and apply consistently
41817         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41818         * elf/pldd.c: Likewise.
41819         * iconv/iconv_charmap.c: Likewise.
41820         * iconv/iconvconfig.c: Likewise.
41821         * iconv/strtab.c: Likewise.
41822         * locale/programs/locale.c: Likewise.
41823         * locale/programs/localedef.h: Likewise.
41824         * locale/programs/simple-hash.c: Likewise.
41825         * nscd/nscd.h: Likewise.
41826         * nss/makedb.c: Likewise.
41827         * sysdeps/generic/ldconfig.h: Likewise.
41828         * locale/programs/localedef.c: Remove xmalloc prototype.
41829         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41830
41831 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41832
41833         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41834         appropriate.
41835
41836 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41837
41838         * math/Makefile (tests): Add tst-CMPLX.
41839         * math/tst-CMPLX.c: New file.
41840
41841         * math/complex.h (CMPLXL): Fix typo.
41842
41843         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41844         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41845         GLIBC_2.16.
41846         * debug/tst-chk1.c: Add poll and ppoll tests.
41847         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41848         * include/sys/poll.h: Add hidden proto for ppoll.
41849         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41850         * sysdeps/mach/hurd/ppoll.c: Likewise.
41851         * io/ppoll.c: Likewise.
41852         * debug/poll_chk.c: New file.
41853         * debug/ppoll_chk.c: New file.
41854         * include/bits/poll2.h: New file.
41855         * io/bits/poll2.h: New file.
41856
41857         [BZ #1350]
41858         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41859
41860         * configure.in: static is always set to yes.  Remove.
41861         * config.make.in: Don't set build-static.
41862         * Makeconfig: Remove use of build-static.
41863         * dlfcn/Makefile: Likewise.
41864         * elf/Makefile: Likewise.
41865         * math/Makefile: Likewise.
41866         * misc/Makefile: Likewise.
41867         * nptl/Makefile: Likewise.
41868         * sysdeps/mach/hurd/Makefile: Likewise.
41869
41870         * configure.in: PWD_P is not used anymore.
41871         * config.make.in: Remove PWD_P entry.
41872
41873         * configure.in: Remove last remnants of RANLIB.
41874         No need to check for signed size_t anymore.
41875         Don't set libc_commonpagesize and libc_relro_required here for Alpha
41876         and IA-64.
41877         Remove __builtin_expect test because we require at least gcc 3.4.
41878         * aclocal.m4: Likewise.
41879
41880         * wcsmbs/mbrtoc16.c: Implement using towc function.
41881         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41882         * wcsmbs/wcsmbsload.c: Likewise.
41883         * iconv/gconv_simple.c: Likewise.
41884         * iconv/gconv_int.h: Likewise.
41885         * iconv/gconv_builtin.h: Likewise.
41886         * iconv/iconv_prog.c: Remove CHAR16 handling.
41887
41888         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41889
41890         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41891
41892         * configure.in: Remove --with-elf and --enable-bounded options.
41893         Dont set base_machine for ia64.  More non-ELF conditions removed.
41894         Remove testing and setting of leading underscore information.
41895         * config.make.in (build-bounded): Set to no.
41896         * config.h.in: Remove NO_UNDERSCORES entry.
41897         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
41898         them.
41899         * csu/start.c: Remove !NO_UNDERSCORE code.
41900         * locale/localeinfo.h: Likewise.
41901         * sysdeps/generic/machine-gmon.h: Likewise.
41902         * sysdeps/generic/sysdep.h: Likewise.
41903         * sysdeps/i386/sysdep.h: Likewise.
41904         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41905         * sysdeps/mach/sysdep.h: Likewise.
41906         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41907         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41908         * sysdeps/sh/sysdep.h: Likewise.
41909         * sysdeps/sparc/sparc32/alloca.S: Likewise.
41910         * sysdeps/unix/i386/sysdep.S: Likewise.
41911         * sysdeps/unix/sparc/start.c: Likewise.
41912         * sysdeps/unix/sparc/sysdep.S: Likewise.
41913         * sysdeps/unix/sparc/sysdep.h: Likewise.
41914         * sysdeps/unix/start.c: Likewise.
41915         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41916         * sysdeps/x86_64/sysdep.h: Likewise.
41917
41918 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
41919
41920         [BZ #13553]
41921         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41922         for non-gcc.
41923         * argp/argp-fmtstream.h: Use const instead __const.
41924         * argp/argp.h: Likewise.
41925         * assert/assert.h: Likewise.
41926         * bits/fenv.h: Likewise.
41927         * bits/sched.h: Likewise.
41928         * bits/sigset.h: Likewise.
41929         * bits/sigthread.h: Likewise.
41930         * catgets/nl_types.h: Likewise.
41931         * conform/data/pthread.h-data: Likewise.
41932         * crypt/crypt-private.h: Likewise.
41933         * crypt/crypt.h: Likewise.
41934         * crypt/crypt_util.c: Likewise.
41935         * ctype/ctype.h: Likewise.
41936         * debug/execinfo.h: Likewise.
41937         * debug/mbsnrtowcs_chk.c: Likewise.
41938         * debug/mbsrtowcs_chk.c: Likewise.
41939         * debug/wcsnrtombs_chk.c: Likewise.
41940         * debug/wcsrtombs_chk.c: Likewise.
41941         * debug/wcstombs_chk.c: Likewise.
41942         * dirent/dirent.h: Likewise.
41943         * dlfcn/dlfcn.h: Likewise.
41944         * elf/neededtest4.c: Likewise.
41945         * grp/grp.h: Likewise.
41946         * gshadow/gshadow.h: Likewise.
41947         * iconv/gconv.h: Likewise.
41948         * iconv/gconv_int.h: Likewise.
41949         * iconv/gconv_simple.c: Likewise.
41950         * iconv/iconv.h: Likewise.
41951         * iconv/loop.c: Likewise.
41952         * iconv/skeleton.c: Likewise.
41953         * include/aio.h: Likewise.
41954         * include/aliases.h: Likewise.
41955         * include/argz.h: Likewise.
41956         * include/arpa/inet.h: Likewise.
41957         * include/assert.h: Likewise.
41958         * include/dirent.h: Likewise.
41959         * include/dlfcn.h: Likewise.
41960         * include/execinfo.h: Likewise.
41961         * include/fcntl.h: Likewise.
41962         * include/fenv.h: Likewise.
41963         * include/glob.h: Likewise.
41964         * include/grp.h: Likewise.
41965         * include/libintl.h: Likewise.
41966         * include/mntent.h: Likewise.
41967         * include/netdb.h: Likewise.
41968         * include/pwd.h: Likewise.
41969         * include/rpc/netdb.h: Likewise.
41970         * include/sched.h: Likewise.
41971         * include/search.h: Likewise.
41972         * include/shadow.h: Likewise.
41973         * include/signal.h: Likewise.
41974         * include/stdio.h: Likewise.
41975         * include/stdlib.h: Likewise.
41976         * include/string.h: Likewise.
41977         * include/sys/socket.h: Likewise.
41978         * include/sys/stat.h: Likewise.
41979         * include/sys/statfs.h: Likewise.
41980         * include/sys/statvfs.h: Likewise.
41981         * include/sys/syslog.h: Likewise.
41982         * include/sys/time.h: Likewise.
41983         * include/sys/uio.h: Likewise.
41984         * include/time.h: Likewise.
41985         * include/unistd.h: Likewise.
41986         * include/utmp.h: Likewise.
41987         * include/wchar.h: Likewise.
41988         * include/wctype.h: Likewise.
41989         * inet/aliases.h: Likewise.
41990         * inet/arpa/inet.h: Likewise.
41991         * inet/netinet/ether.h: Likewise.
41992         * inet/netinet/in.h: Likewise.
41993         * intl/libintl.h: Likewise.
41994         * io/bits/fcntl2.h: Likewise.
41995         * io/fcntl.h: Likewise.
41996         * io/ftw.h: Likewise.
41997         * io/sys/poll.h: Likewise.
41998         * io/sys/stat.h: Likewise.
41999         * io/sys/statfs.h: Likewise.
42000         * io/sys/statvfs.h: Likewise.
42001         * io/utime.h: Likewise.
42002         * libio/bits/stdio.h: Likewise.
42003         * libio/bits/stdio2.h: Likewise.
42004         * libio/libio.h: Likewise.
42005         * libio/libioP.h: Likewise.
42006         * libio/stdio.h: Likewise.
42007         * locale/lc-ctype.c: Likewise.
42008         * locale/locale.h: Likewise.
42009         * login/utmp.h: Likewise.
42010         * malloc/arena.c: Likewise.
42011         * malloc/malloc.c: Likewise.
42012         * malloc/malloc.h: Likewise.
42013         * malloc/mcheck.c: Likewise.
42014         * malloc/mtrace.c: Likewise.
42015         * math/bits/mathcalls.h: Likewise.
42016         * math/fenv.h: Likewise.
42017         * math/math_private.h: Likewise.
42018         * misc/bits/error.h: Likewise.
42019         * misc/bits/syslog.h: Likewise.
42020         * misc/err.h: Likewise.
42021         * misc/error.h: Likewise.
42022         * misc/fstab.h: Likewise.
42023         * misc/mntent.h: Likewise.
42024         * misc/regexp.h: Likewise.
42025         * misc/search.h: Likewise.
42026         * misc/sgtty.h: Likewise.
42027         * misc/sys/mman.h: Likewise.
42028         * misc/sys/syslog.h: Likewise.
42029         * misc/sys/uio.h: Likewise.
42030         * misc/sys/xattr.h: Likewise.
42031         * misc/ttyent.h: Likewise.
42032         * nis/rpcsvc/ypclnt.h: Likewise.
42033         * nss/nss.h: Likewise.
42034         * posix/bits/unistd.h: Likewise.
42035         * posix/fnmatch.h: Likewise.
42036         * posix/glob.h: Likewise.
42037         * posix/sched.h: Likewise.
42038         * posix/spawn.h: Likewise.
42039         * posix/sys/wait.h: Likewise.
42040         * posix/unistd.h: Likewise.
42041         * posix/wordexp.h: Likewise.
42042         * pwd/pwd.h: Likewise.
42043         * resolv/netdb.h: Likewise.
42044         * resource/sys/resource.h: Likewise.
42045         * rt/aio.h: Likewise.
42046         * rt/bits/mqueue2.h: Likewise.
42047         * rt/mqueue.h: Likewise.
42048         * shadow/shadow.h: Likewise.
42049         * signal/signal.h: Likewise.
42050         * socket/send.c: Likewise.
42051         * socket/sendto.c: Likewise.
42052         * socket/sys/socket.h: Likewise.
42053         * stdio-common/printf.h: Likewise.
42054         * stdlib/bits/stdlib.h: Likewise.
42055         * stdlib/fmtmsg.h: Likewise.
42056         * stdlib/monetary.h: Likewise.
42057         * stdlib/stdlib.h: Likewise.
42058         * stdlib/ucontext.h: Likewise.
42059         * streams/stropts.h: Likewise.
42060         * string/argz.h: Likewise.
42061         * string/bits/string2.h: Likewise.
42062         * string/string.h: Likewise.
42063         * string/strings.h: Likewise.
42064         * sunrpc/rpc/auth.h: Likewise.
42065         * sunrpc/rpc/auth_des.h: Likewise.
42066         * sunrpc/rpc/clnt.h: Likewise.
42067         * sunrpc/rpc/netdb.h: Likewise.
42068         * sunrpc/rpc/pmap_clnt.h: Likewise.
42069         * sunrpc/rpc/xdr.h: Likewise.
42070         * sysdeps/generic/inttypes.h: Likewise.
42071         * sysdeps/generic/net/if.h: Likewise.
42072         * sysdeps/generic/sys/swap.h: Likewise.
42073         * sysdeps/gnu/net/if.h: Likewise.
42074         * sysdeps/gnu/utmpx.h: Likewise.
42075         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42076         * sysdeps/i386/i486/bits/string.h: Likewise.
42077         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42078         * sysdeps/s390/bits/string.h: Likewise.
42079         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42080         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42081         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42082         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42083         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42084         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42085         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42086         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42087         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42088         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42089         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42090         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42091         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42092         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42093         * sysdeps/unix/sysv/linux/readv.c: Likewise.
42094         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42095         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42096         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42097         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42098         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42099         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42100         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42101         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42102         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42103         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42104         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42105         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42106         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42107         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42108         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42109         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42110         * sysvipc/sys/ipc.h: Likewise.
42111         * sysvipc/sys/msg.h: Likewise.
42112         * sysvipc/sys/sem.h: Likewise.
42113         * sysvipc/sys/shm.h: Likewise.
42114         * termios/termios.h: Likewise.
42115         * time/sys/time.h: Likewise.
42116         * time/time.h: Likewise.
42117         * wcsmbs/bits/wchar2.h: Likewise.
42118         * wcsmbs/uchar.h: Likewise.
42119         * wcsmbs/wchar.h: Likewise.
42120         * wctype/wctype.h: Likewise.
42121
42122         [BZ #13551]
42123         * Makeconfig: Remove all but ELF support including AIX support.
42124         * Makerules: Likewise.
42125         * config.h.in: Likewise.
42126         * config.make.in: Likewise.
42127         * configure: Likewise.
42128         * configure.in: Likewise.
42129         * csu/Makefile: Likewise.
42130         * csu/version.c: Likewise.
42131         * debug/Makefile: Likewise.
42132         * dlfcn/Makefile: Likewise.
42133         * elf/Makefile: Likewise.
42134         * extra-lib.mk: Likewise.
42135         * iconv/Makefile: Likewise.
42136         * include/libc-symbols.h: Likewise.
42137         * include/shlib-compat.h: Likewise.
42138         * resolv/Makefile: Likewise.
42139         * resolv/res_libc.c: Likewise.
42140         * rt/Makefile: Likewise.
42141         * sysdeps/i386/asm-syntax.h: Likewise.
42142         * sysdeps/i386/sysdep.h: Likewise.
42143         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42144         * sysdeps/mach/sysdep.h: Likewise.
42145         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42146         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42147         * sysdeps/s390/asm-syntax.h: Likewise.
42148         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42149         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42150         * sysdeps/sh/sysdep.h: Likewise.
42151         * sysdeps/unix/sparc/sysdep.h: Likewise.
42152         * sysdeps/wordsize-32/divdi3.c: Likewise.
42153         * sysdeps/x86_64/sysdep.h: Likewise.
42154
42155         * argp/Versions: Remove _argp_unlock_xxx.
42156
42157         [BZ #13559]
42158         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
42159         * abilist/libBrokenLocale.abilist: Likewise.
42160         * abilist/libanl.abilist: Likewise.
42161         * abilist/libc.abilist: Likewise.
42162         * abilist/libcrypt.abilist: Likewise.
42163         * abilist/libdl.abilist: Likewise.
42164         * abilist/libm.abilist: Likewise.
42165         * abilist/libnsl.abilist: Likewise.
42166         * abilist/libpthread.abilist: Likewise.
42167         * abilist/libresolv.abilist: Likewise.
42168         * abilist/librt.abilist: Likewise.
42169         * abilist/libthread_db.abilist: Likewise.
42170         * abilist/libutil.abilist: Likewise.
42171         * abilist/libnss_db.abilist: New file.
42172
42173         * scripts/abilist.awk: Add support for indirect functions.
42174
42175         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42176
42177         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42178
42179         * shlib-versions: Remove entries for ports architectures.
42180
42181         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
42182         files in ports.
42183         * elf/stackguard-macros.h: Remove support for IA-64.
42184         * elf/tst-auditmod1.c: Likewise.
42185         * sysdeps/generic/ldsodefs.h: Likewise.
42186
42187         * sysdeps/unix/sysv/linux/configure.in: Ports should define
42188         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42189         configure files.
42190
42191         [BZ #13552]
42192         * configure.in: Remove --enable-omitfp support.
42193         * FAQ.in: Adjust.
42194         * config.make.in: Likewise.
42195         * Makeconfig: Likewise.
42196         * manual/install.texi: Likewise.
42197
42198         In case anyone cares, the IA-64 architecture could move to ports.
42199         * sysdeps/ia64/*: Removed.
42200         * sysdeps/unix/sysv/linux/ia64/*: Removed.
42201         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42202
42203         [BZ #13555]
42204         * configure.in: Remove entries for unsupported architectures.
42205
42206         [BZ #13533]
42207         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42208         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
42209         routines.
42210         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42211         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42212         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
42213         fall back to using wcrtomb.
42214         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42215         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
42216         renaming.
42217         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42218         * wcsmbs/tst-c16c32-1.c: New file.
42219
42220         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42221         local variable.
42222
42223         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42224
42225         * elf/tst-unique3.cc: Add explicit declaration of gets.
42226         * elf/tst-unique3lib.cc: Likewise.
42227         * elf/tst-unique3lib2.cc: Likewise.
42228         * elf/tst-unique4.cc: Likewise.
42229
42230         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42231
42232 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
42233
42234         [BZ #13566]
42235         * assert/assert.h (static_assert): Don't define for C++.
42236         * libio/stdio.h (gets): Do declare for C++ <= C++11.
42237         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42238
42239 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
42240
42241         * iconv/loop.c (single loop): Fix assertion in storing of
42242         remaining bytes.
42243
42244         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42245
42246 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
42247
42248         * posix/getconf.c: Update copyright year.
42249         * nss/getent.c: Likewise.
42250         * nss/makedb.c: Likewise.
42251         * iconv/iconvconfig.c: Likewise.
42252         * iconv/iconv_prog.c: Likewise.
42253         * elf/ldconfig.c: Likewise.
42254         * elf/pldd.c: Likewise.
42255         * elf/sotruss.ksh: Likewise.
42256         * catgets/gencat.c: Likewise.
42257         * csu/version.c: Likewise.
42258         * elf/ldd.bash.in: Likewise.
42259         * elf/sprof.c (print_version): Likewise.
42260         * locale/programs/locale.c: Likewise.
42261         * locale/programs/localedef.c: Likewise.
42262         * login/programs/pt_chown.c: Likewise.
42263         * nscd/nscd.c (print_version): Likewise.
42264         * debug/xtrace.sh: Likewise.
42265         * malloc/memusage.sh: Likewise.
42266         * malloc/mtrace.pl: Likewise.
42267         * debug/catchsegv.sh: Likewise.
42268
42269 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
42270
42271         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42272         pure attribute.
42273
42274 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
42275
42276         [BZ #13533]
42277         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42278         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42279         transformations.
42280         * iconv/gconv_int.h: Likewise.
42281         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42282         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42283         from libc for GLIBC_2.16.
42284         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42285         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42286         * wcsmbs/uchar.h: Really define mbstate_t.
42287         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42288         * wcsmbs/c16rtomb.c: New file.
42289         * wcsmbs/mbrtoc16.c: New file.
42290         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42291         for C/POSIX locale.
42292         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42293         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42294
42295         * wcsmbs/wchar.h: Add missing __restrict.
42296
42297 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42298
42299         [BZ #13532]
42300         * time/Makefile (routines): Add timespec_get.
42301         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42302         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
42303         timespec for ISO C11.
42304         * time/timespec_get.c: New file.
42305         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42306         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42307
42308         [BZ #13531]
42309         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42310         * stdlib/stdlib.h: Declare aligned_alloc.
42311         * Versions.def: Add GLIBC_2.16 for libc.
42312         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42313
42314         [BZ 13527]
42315         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42316         ISO C11.
42317
42318         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42319         code.
42320
42321         [BZ #13528]
42322         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42323
42324         [BZ #13529]
42325         * assert/assert.h (static_assert): Define.
42326
42327         * version.h: Update for 2.16 development version.
42328
42329         [BZ #13526]
42330         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42331         _ISOC11_SOURCE.
42332
42333         * version.h (RELEASE): Bump for 2.15 release.
42334         * include/features.h (__GLIBC_MINOR__): Bump to 15.
42335
42336         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42337         Patch by Marek Polacek <mpolacek@redhat.com>.
42338
42339         * bits/byteswap.h: Protect long long constants with __extension__.
42340         * sysdeps/i386/bits/byteswap.h: Likewise.
42341         * sysdeps/ia64/bits/byteswap.h: Likewise.
42342         * sysdeps/s390/bits/byteswap.h: Likewise.
42343         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42344
42345 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42346
42347         [BZ #13540]
42348         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42349         destination buffer.
42350         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42351
42352 2011-12-23  Marek Polacek  <polacek@redhat.com>
42353
42354         * elf/dl-addr.c (determine_info): Add inline keyword.
42355         * elf/tst-auditmod4b.c (check_avx): Likewise.
42356         * elf/tst-auditmod6b.c (check_avx): Likewise.
42357         * elf/tst-auditmod6c.c (check_avx): Likewise.
42358         * elf/tst-auditmod7b.c (check_avx): Likewise.
42359
42360 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42361
42362         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42363         !__SSE_MATH__.
42364
42365 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42366
42367         [BZ #13540]
42368         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42369         processing for last bytes.
42370
42371 2011-08-06  Bruno Haible  <bruno@clisp.org>
42372
42373         [BZ #13061]
42374         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42375         U+0385, not to U+1FEE.
42376
42377         [BZ #13062]
42378         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42379         entry for U+00A5 U+0301.
42380
42381 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42382
42383         [BZ #13166]
42384         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42385         buffer for the output is too small.
42386
42387         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42388         optimization.
42389
42390         [BZ #13185]
42391         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42392         SSE flags if possible.
42393
42394 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42395
42396         [BZ #13540]
42397         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42398         processing for last bytes.
42399
42400 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
42401
42402         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42403         (syscall-list-default-options, syscall-list-default-condition)
42404         (syscall-list-includes): Define.
42405         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42406         list of ABIs and options and #if conditions for each ABI.  Do not
42407         handle common syscalls between ABIs specially.
42408         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42409         Remove.
42410         (syscall-list-variants, syscall-list-32bit-options)
42411         (syscall-list-32bit-condition, syscall-list-64bit-options)
42412         (syscall-list-64bit-condition): Define.
42413         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42414         (syscall-list-variants, syscall-list-32bit-options)
42415         (syscall-list-32bit-condition, syscall-list-64bit-options)
42416         (syscall-list-64bit-condition): Define.
42417         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42418         Remove.
42419         (syscall-list-variants, syscall-list-32bit-options)
42420         (syscall-list-32bit-condition, syscall-list-64bit-options)
42421         (syscall-list-64bit-condition): Define.
42422         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42423         Remove.
42424         (syscall-list-variants, syscall-list-32bit-options)
42425         (syscall-list-32bit-condition, syscall-list-64bit-options)
42426         (syscall-list-64bit-condition): Define.
42427
42428 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42429
42430         * locale/iso-639.def: Add brx entry.
42431
42432         [BZ #13328]
42433         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42434         Proposed by Mariusz_Cukr <marcukr@op.pl>.
42435
42436         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42437         __feraiseexcept_renamed.
42438
42439 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42440
42441         [BZ #13538]
42442         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42443         EPOLLET with unsigned values.
42444         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42445         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42446
42447         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42448         to large cancellation.
42449         * math/s_cacoshf.c: Likewise.
42450         * math/s_cacoshl.c: Likewise.
42451
42452 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
42453
42454         [BZ #13305]
42455         [BZ #12786]
42456         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42457         * math/s_cacoshf.c: Likewise.
42458         * math/s_cacoshl.c: Likewise.
42459
42460 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42461
42462         [BZ #13439]
42463         * iconv/gconv.h: Define __GCONV_SWAP.
42464         * iconvdata/unicode.c: The swap bit must be stored in __flags.
42465         * iconvdata/utf-16.c: Likewise.
42466         * iconvdata/utf-32.c: Likewise.
42467
42468 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
42469
42470         [BZ #13524]
42471         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42472         numerator after shifting it by one limb.
42473
42474 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
42475
42476         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42477         under [__USE_EXTERN_INLINES].
42478
42479 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42480
42481         [BZ #13446]
42482         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42483
42484 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42485
42486         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42487         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42488         optimized code.
42489         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42490         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42491         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42492         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42493         for strncasecmp/strncasecmp_l compilation.
42494         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42495         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42496
42497 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
42498
42499         [BZ #13484]
42500         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42501         of __asm__.
42502
42503 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42504
42505         [BZ #13506]
42506         * time/tzfile.c (__tzfile_read): Check values from file header.
42507
42508 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
42509
42510         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42511         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42512         * powerpc/powerpc32/dl-start.S: Likewise.
42513         * powerpc/powerpc32/elf/start.S: Likewise.
42514         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42515         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42516         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42517         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42518         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42519         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42520         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42521         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42522         * powerpc/powerpc32/fpu/s_round.S: Likewise.
42523         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42524         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42525         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42526         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42527         * powerpc/powerpc32/memset.S: Likewise.
42528         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42529         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42530         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42531         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42532         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42533         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42534         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42535         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42536         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42537         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42538         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42539         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42540         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42541
42542 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42543
42544         * math/libm-test.inc: Added more nearbyint tests.
42545         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42546         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42547         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42548         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42549
42550 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
42551
42552         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42553         FD_CLOEXEC.
42554
42555 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42556
42557         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42558         Add wcscpy-ssse3 wcscpy-c.
42559         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42560         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42561         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42562         * sysdeps/x86_64/wcschr.S: New file.
42563         * sysdeps/x86_64/wcsrchr.S: New file.
42564         * string/test-strcmp.c: Remove checking of wcscmp function for
42565         wrong alignments.
42566         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42567         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42568         wcsrchr-sse2 wcsrchr-c.
42569         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42570         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42571         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42572         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42573         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42574         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42575         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42576         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42577         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42578         * wcsmbc/wcschr.c (WCSCHR): New macro.
42579
42580 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42581
42582         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42583         * wcsmbs/test-wcsrchr.c: New file.
42584         * string/test-strrchr.c: Add wcsrchr support.
42585         (WIDE): New macro.
42586         * wcsmbs/test-wcscpy.c: New file.
42587         * string/test-strcpy.c: Add wcscpy support.
42588         (WIDE): New macro.
42589
42590 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
42591
42592         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42593         the inner loop.
42594
42595 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
42596
42597         [BZ #13472]
42598         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42599
42600 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
42601
42602         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42603         Minor optimizations.
42604
42605         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42606         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42607         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42608
42609 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
42610
42611         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42612         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42613         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42614         for gcc to avoid warnings.
42615         * inet/Makefile (tests): Add tst-checks.
42616         * inet/tst-checks.c: New file.
42617
42618         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42619         warning.
42620
42621         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42622         __wmemcmp_sse2.
42623
42624         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42625         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42626
42627         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42628
42629 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
42630
42631         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42632         problem.
42633
42634         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42635
42636 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
42637
42638         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42639         conditional on GCC version.
42640         (__arch_compare_and_exchange_val_8_acq)
42641         (__arch_compare_and_exchange_val_16_acq)
42642         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42643         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42644         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42645
42646 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
42647
42648         * sysdeps/sh/backtrace.c: New file.
42649
42650 2011-12-02  Andreas Schwab  <schwab@redhat.com>
42651
42652         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
42653         parenthesis.
42654
42655 2011-12-01  Andreas Schwab  <schwab@redhat.com>
42656
42657         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42658         falling back to utime.
42659
42660 2011-11-30  Andreas Schwab  <schwab@redhat.com>
42661
42662         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42663         expectations for float.
42664
42665 2011-11-29  Andreas Schwab  <schwab@redhat.com>
42666
42667         * locale/weight.h (findidx): Add parameter len.
42668         * locale/weightwc.h (findidx): Likewise.
42669         * posix/fnmatch_loop.c (FCT): Adjust caller.
42670         * posix/regcomp.c (build_equiv_class): Likewise.
42671         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42672         * posix/regexec.c (check_node_accept_bytes): Likewise.
42673         * string/strcoll_l.c (STRCOLL): Likewise.
42674         * string/strxfrm_l.c (STRXFRM): Likewise.
42675
42676 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
42677
42678         * Makefile.in: Remove CVSOPT handling.
42679         * configure.in: Remove use of AC_REVISION.
42680         * iconvdata/Makefile (distribute): No need to filter out CVS.
42681         * scripts/list-sources.sh: Remove CVS, subversion and monotone
42682         handling.
42683
42684 2011-11-16  Andreas Schwab  <schwab@redhat.com>
42685
42686         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42687         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42688         [USE_AS_STRNCASECMP_L]: Likewise.
42689         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42690         NO_TLS_DIRECT_SEG_REFS.
42691         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42692         Fix argument offsets for non-PIC.
42693         [USE_AS_STRNCASECMP_L]: Likewise.
42694         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42695         NO_TLS_DIRECT_SEG_REFS.
42696
42697 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42698
42699         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42700         O_CLOEXEC.
42701         * locale/loadlocale.c (_nl_load_locale): Likewise.
42702
42703 2011-11-15  Andreas Schwab  <schwab@redhat.com>
42704
42705         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42706         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42707         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42708         (SYSCALL_GETTIME): Set errno on error.
42709
42710         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42711         count references to noai6ai_cached.
42712
42713 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42714
42715         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42716
42717         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42718         FD_CLOEXEC for /proc/self/maps.
42719
42720         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42721         FD_CLOEXEC for /proc/meminfo.
42722
42723         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42724         gai.conf.
42725
42726         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
42727         FD_CLOEXEC for given file.
42728
42729         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42730
42731         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42732         FD_CLOEXEC for /etc/hosts.
42733         (_gethtent): Likewise.
42734
42735         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42736
42737         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42738         cancellation and set FD_CLOEXEC for /etc/netgroup.
42739
42740         * nss/nss_files/files-key.c (search): Don't allow cancellation when
42741         reading /etc/publickey.
42742
42743         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42744         allow cancellation when reading /etc/group.
42745
42746         * nss/nss_files/files-alias.c (internal_setent): Don't allow
42747         cancellation.
42748         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
42749
42750         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42751         when using data file.
42752
42753         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42754
42755         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42756         (write_nis_obj): Use "c" and "e" in fopen.
42757
42758         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42759
42760         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42761
42762         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42763
42764         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42765
42766         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42767         locale.alias.
42768
42769         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42770
42771         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42772
42773         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42774
42775         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42776         file parsing and set FD_CLOEXEC.
42777
42778 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42779
42780         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42781
42782 2011-11-14  Andreas Schwab  <schwab@redhat.com>
42783
42784         * malloc/arena.c (arena_get2): Don't call reused_arena when
42785         _int_new_arena failed.
42786
42787 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42788
42789         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42790         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42791         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42792         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42793         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42794         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42795         to compile strcasecmp and strncasecmp.
42796         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42797         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42798
42799         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42800
42801 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
42802
42803         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42804         locale-defines.sym to gen-as-const-headers.
42805         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42806         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42807         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42808         to compile strcasecmp and strncasecmp.
42809         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42810         strcasecmp_l and strncasecmp_l.
42811         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42812         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42813         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42814         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42815         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42816         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42817         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42818         * sysdeps/i386/i686/multiarch/strncase.S: New file.
42819         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42820         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42821         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42822
42823 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
42824
42825         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42826         result of SYSDEP_GETTIME_CPU to retval.
42827         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42828         parameter list to macro.  Remove trailing semicolon.  Adjust users.
42829
42830         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42831         variable.
42832
42833         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42834         mantissa words.
42835         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42836
42837         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42838         from unused variable.
42839
42840         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42841         DWARF definitions.
42842         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42843         for assembling.
42844
42845         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42846         over namespaces.
42847
42848         * sunrpc/rpc_prot.c (rejected): Fix case value.
42849
42850         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42851         unsigned long long int to avoid warnings in shift.
42852
42853         * posix/regex_internal.c (re_string_reconstruct): Actually use result
42854         of use of trans.
42855         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42856         variable tmp.
42857
42858         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42859         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42860         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42861
42862         * nis/nis_table.c (nis_list): Use variable of correct type for
42863         result of __follow_path call.
42864
42865 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42866
42867         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42868         of math functions ceil, trunc, floor, round, and sqrt, when
42869         avaliable on the platform.
42870         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42871         name clash.
42872         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42873         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42874         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42875
42876 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
42877
42878         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42879         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42880
42881 2011-11-11  Roland McGrath  <roland@hack.frob.com>
42882
42883         * include/unistd.h: Fix __readlink return type.
42884         Reported by Chris Metcalf <cmetcalf@tilera.com>.
42885
42886 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
42887
42888         * stdlib/ucontext.h: Undo last change for makecontext.
42889
42890 2011-11-11  Andreas Schwab  <schwab@redhat.com>
42891
42892         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42893
42894         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42895         * setjmp/setjmp.h: Mark functions as non-leaf.
42896         * setjmp/bits/setjmp2.h: Likewise.
42897         * stdlib/ucontext.h: Likewise.
42898
42899 2011-11-10  Andreas Schwab  <schwab@redhat.com>
42900
42901         * malloc/arena.c (_int_new_arena): Don't increment narenas.
42902         (reused_arena): Don't check arena limit.
42903         (arena_get2): Atomically check arena limit.
42904
42905 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
42906
42907         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42908         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42909
42910         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42911         instructions.
42912
42913 2011-11-07  Andreas Schwab  <schwab@redhat.com>
42914
42915         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42916         handler when locking.
42917
42918         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42919         Fix size of allocated buffer.
42920
42921 2011-11-04  Andreas Schwab  <schwab@redhat.com>
42922
42923         [BZ #10103]
42924         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42925         declarations for long double functions.
42926         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42927
42928         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42929
42930 2011-11-03  Andreas Schwab  <schwab@redhat.com>
42931
42932         * nscd/nscd.c (main): Don't start AVC thread until credentials are
42933         installed.
42934
42935         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42936         is disabled.
42937
42938 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42939
42940         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42941
42942 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42943
42944         * include/alloca.h (stackinfo_alloca_round): Define.
42945         (extend_alloca): Use it.
42946         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42947         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42948         here.
42949
42950         * scripts/check-local-headers.sh: Ignore libaudit.h.
42951
42952         * nscd/Makefile (extra-objs): Make recursively expanded.
42953
42954 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
42955
42956         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42957         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42958
42959         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42960         * posix/tst-rfc3484-2.c: Likewise.
42961         * posix/tst-rfc3484-3.c: Likewise.
42962
42963         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42964         process_vm_writev.
42965         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42966         process_vm_writev.
42967         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42968         process_vm_writev from libc using GLIBC_2.15 version.
42969
42970         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42971
42972 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
42973
42974         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42975         stack usage.
42976
42977 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
42978
42979         [BZ #13367]
42980         * nss/getent.c (initgroups_keys): Show error message in case no group
42981         names are given.
42982
42983         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42984         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42985         __bump_nl_timestamp.
42986         * nscd/connections (nscd_init): When host database is served open
42987         netlink socket and request notification about configuration changes.
42988         (main_loop_poll): Track netlink file descriptor and bump timestamp
42989         in case data becomes available.
42990         (main_loop_epoll): Likewise.
42991         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42992         (database_pers_head): Add extra_data fileds.
42993         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42994         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42995         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42996         Adjust caller.
42997         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42998         in6ai data, call __free_in6ai.
42999         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43000         Add -DHAVE_NETLINK.
43001         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
43002         interface information.  Reuse previous data if netlink timestamp
43003         is not changed.
43004         (__bump_nl_timestamp): New function.
43005         (__free_in6ai): New function.
43006
43007 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
43008
43009         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43010         close_not_cancel_no_status here.
43011         (__check_pf): Reorganize code a bit to not call close twice if OOM.
43012
43013 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43014
43015         [BZ #13276]
43016         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43017         return value.
43018
43019         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43020         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43021         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43022
43023 2011-07-03  Andreas Jaeger  <aj@suse.de>
43024
43025         [BZ #10709]
43026         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43027         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43028         * math/libm-test.inc (sin_test): Add test case.
43029
43030 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43031
43032         [BZ #13337]
43033         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43034         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43035
43036         * elf/chroot_canon.c (chroot_canon): Cleanups.
43037
43038         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43039
43040         [BZ #13335]
43041         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43042         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43043
43044         * string/test-strchr.c: Make usable for strchrnul testing.
43045         * string/test-strchrnul.c: New file.
43046         * string/Makefile (strop-tests): Add strchrnul.
43047
43048         * po/it.po: Update from translation team.
43049         * po/es.po: Likewise.
43050
43051 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
43052
43053         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43054         the three constants needed as parameters.  Drop the others.
43055         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43056         __m128i_strloadu_tolower.
43057         Create and initialize variable zero and use it in all the places
43058         where _mm_setzero_si128 was used.
43059
43060         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43061         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43062         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43063         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43064         anymore.
43065         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43066         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43067         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43068         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43069         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43070         __mpranred, __mptan.
43071         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43072         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43073         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43074         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43075         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43076         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43077         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43078         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43079         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43080
43081 2011-10-28  Andreas Schwab  <schwab@redhat.com>
43082
43083         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43084         redefine if SHARED.
43085         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43086
43087         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43088         wide char related routines to wcsmbs subdir.
43089
43090 2011-10-27  Andreas Schwab  <schwab@redhat.com>
43091
43092         [BZ #13344]
43093         * misc/sys/cdefs.h (__THROWNL): Define.
43094         * posix/unistd.h: Use __THREADNL instead of __THREAD
43095         for memory synchronization functions.
43096
43097 2011-10-26  Roland McGrath  <roland@hack.frob.com>
43098
43099         [BZ #13349]
43100         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43101         doesn't exist.
43102         * manual/stdio.texi (Obstack Streams): Node removed.
43103
43104 2011-10-26  Andreas Schwab  <schwab@redhat.com>
43105
43106         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43107         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43108         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43109
43110         * math/math_private.h (math_force_eval): Allow non-addressable
43111         arguments.
43112         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43113
43114 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43115
43116         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43117         file is not needed.
43118
43119         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43120         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43121         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43122         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43123         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43124         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43125         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43126         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43127         Add AVX variants.
43128         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43129         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43130         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43131         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43132         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43133         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43134         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43135         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43136         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43137         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43138         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43139         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43140         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43141         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43142         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43143         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43144         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43145         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43146         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43147
43148         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43149         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
43150
43151         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43152         place.  Use VEX encoding when compiling for AVX.
43153
43154 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43155
43156         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43157         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43158
43159         * string/test-strchr.c (do_test): Don't generate NUL bytes.
43160
43161 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43162
43163         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43164         useless if() expression.
43165         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43166         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43167         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43168         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43169         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43170         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43171         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43172         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43173         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43174         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43175         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43176         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43177         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43178         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43179         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43180         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43181         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43182         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43183         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43184
43185         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43186
43187 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43188
43189         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43190         condition.
43191         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43192
43193 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43194
43195         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43196         .text section.  Avoid duplicate constants.
43197         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43198         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43199         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43200         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43201         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43202         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43203         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43204         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43205         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43206         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43207         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43208         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43209         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43210         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43211         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43212         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43213         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43214         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43215         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43216         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43217         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43218         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43219         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43220         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43221         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43222         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43223         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43224         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43225         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43226         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43227         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43228         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43229         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43230         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43231         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43232         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43233         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43234         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43235         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43236         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43237         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43238         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43239         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43240         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43241         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43242
43243 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
43244
43245         * sysdeps/x86_64/dla.h: Move to ...
43246         * sysdeps/x86_64/fpu/dla.h: ...here.
43247         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43248         situations.  Use __builtin_fma only for gcc 4.6 and up.
43249
43250         * config.make.in: Add have-mfma4 entry.
43251         * configure.in: Substitute libc_cv_cc_fma4.
43252         * math/Makefile (dbl-only-routines): Add sincostab.
43253         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43254         Use __sincostab not sincos.
43255         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43256         name is a macro.
43257         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43258         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43259         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43260         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
43261         using __copysign.
43262         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
43263         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
43264         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43265         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43266         and __inv.
43267         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43268         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43269         __copysign.
43270         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
43271         define aliases when function name is a macro.
43272         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43273         sysdeps/ieee754/dbl-64/sincos.tbl.
43274         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43275         fma4-enabled routines.
43276         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43277         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43278         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43279         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43280         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43281         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43282         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43283         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43284         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43285         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43286         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43287         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43288         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43289         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43290         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43291         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43292         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43293         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43294         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43295         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43296         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43297         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43298         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43299         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43300         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43301         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43302         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43303         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43304         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43305         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43306
43307         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43308         rename.
43309         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43310         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43311         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43312         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43313         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43314         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43315         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43316         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43317
43318 2011-10-24  Andreas Schwab  <schwab@redhat.com>
43319
43320         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43321
43322 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43323
43324         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43325
43326         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43327         prediction.
43328         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43329
43330         * string/strnlen.c: Don't define STRNLEN, reverse logic.
43331         Remove unused variable magic_bits.
43332         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43333
43334         * string/strnlen.c: Define and use STRNLEN macro.
43335         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43336         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43337         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43338         * wcsmbs/wcslen.c: Define and use WCSLEN.
43339         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43340         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43341         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43342         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43343         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43344         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43345         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43346
43347 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43348
43349         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43350         strnlen-sse2-no-bsf.
43351         Rename strlen-no-bsf to strlen-sse2-no-bsf.
43352         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43353         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43354         Add strnlen support.
43355         (USE_AS_STRNLEN): New macro.
43356         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43357         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43358         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43359         * sysdeps/x86_64/wcslen.S: New file.
43360
43361 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
43362
43363         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43364         XMM-moves are used for copying on small sizes.
43365
43366 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43367
43368         * wcsmbs/Makefile (strop-tests): Add wcschr.
43369         * wcsmbs/test-wcschr.c: New file.
43370         * string/test-strchr.c: Update.
43371         Add wcschr support.
43372         (WIDE): New macro.
43373
43374 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43375
43376         * wcsmbs/Makefile (strop-tests): Add wcslen.
43377         * wcsmbs/test-wcslen.c: New file.
43378         * string/test-strlen.c: Update.
43379         Add wcslen support.
43380         (WIDE): New macro.
43381
43382 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43383
43384         * po/it.po: Update from translation team.
43385
43386 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43387
43388         * sysdeps/x86_64/wcscmp.S: Update.
43389         Fix wrong comparison semantics.
43390         wcscmp shall use signed comparison not unsigned.
43391         Don't use substraction to avoid overflow bug.
43392         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43393         * wcsmbc/wcscmp.c: Likewise.
43394         * string/test-strcmp.c: Likewise.
43395         Add new tests to check cases with negative values.
43396
43397 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43398
43399         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43400         * sysdeps/x86_64/dla.h: ...here.  New file.
43401         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43402         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43403         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43404         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43405         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43406         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43407         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43408         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43409         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43410
43411 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
43412
43413         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43414         __ynl_finite aliases.
43415
43416 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43417
43418         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43419
43420         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43421         define DLA_FMA.
43422         [DLA_FMA] (EMULV): Use DLA_FMA.
43423         [DLA_FMA] (MUL12): Use EMULV.
43424         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43425         that are not needed.
43426         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43427         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43428         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43429         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43430         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43431         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43432         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43433
43434 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
43435
43436         * math/s_nan.c: Undef __nan.
43437         * math/s_nanf.c: Undef __nanf.
43438         * math/s_nanl.c: Undef __nanl.
43439         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43440         "math_private.h".
43441
43442 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43443
43444         * math/s_catan.c: Add branch predictions.
43445         * math/s_catanf.c: Likewise.
43446         * math/s_catanh.c: Likewise.
43447         * math/s_catanhf.c: Likewise.
43448         * math/s_catanhl.c: Likewise.
43449         * math/s_catanl.c: Likewise.
43450         * math/s_cexp.c: Likewise.
43451         * math/s_cexpf.c: Likewise.
43452         * math/s_cexpl.c: Likewise.
43453         * math/s_clog.c: Likewise.
43454         * math/s_clog10.c: Likewise.
43455         * math/s_clog10f.c: Likewise.
43456         * math/s_clog10l.c: Likewise.
43457         * math/s_clogf.c: Likewise.
43458         * math/s_clogl.c: Likewise.
43459         * math/s_csqrt.c: Likewise.
43460         * math/s_csqrtf.c: Likewise.
43461         * math/s_csqrtl.c: Likewise.
43462         * math/s_ctanf.c: Likewise.
43463         * math/s_ctanh.c: Likewise.
43464         * math/s_ctanhf.c: Likewise.
43465         * math/s_ctanhl.c: Likewise.
43466         * math/s_ctanl.c: Likewise.
43467
43468         * math/math_private.h: Define __nan, __nanf, __nanl.
43469         * math/s_cacosh.c: Include <math_private.h>.
43470         * math/s_cacoshl.c: Likewise.
43471         * math/s_casinh.c: Likewise.
43472         * math/s_casinhf.c: Likewise.
43473         * math/s_casinhl.c: Likewise.
43474         * math/s_ccos.c: Rely entire on ccosh.
43475         * math/s_ccosf.c: Rely entire on ccoshf.
43476         * math/s_ccosl.c: Rely entirely on ccoshl.
43477         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
43478         Remove tests for FE_INVALID.
43479         * math/s_ccoshf.c: Likewise.
43480         * math/s_ccoshl.c: Likewise.
43481         * math/s_csin.c: Likewise.
43482         * math/s_csinf.c: Likewise.
43483         * math/s_csinh.c Likewise.
43484         * math/s_csinhf.c: Likewise.
43485         * math/s_csinhl.c: Likewise.
43486         * math/s_csinl.c: Likewise.
43487         * math/s_ctan.c: Likewise.
43488         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43489         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43490         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43491
43492 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
43493
43494         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43495         compilation problems.
43496
43497         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43498         __builtin_expect.
43499
43500 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
43501
43502         * sysdeps/i386/configure.in: Test for -mfma4 option.
43503         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43504         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43505         COMMON_CPUID_INDEX_80000001.
43506         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43507         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43508         use it if FMA3 is not supported.
43509         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43510
43511         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43512         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43513
43514 2011-10-20  Andreas Schwab  <schwab@redhat.com>
43515
43516         [BZ #12892]
43517         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43518         it would create a cycle with a link time dependency.
43519
43520 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
43521
43522         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43523         instruction.
43524         * string/Makefile (strop-tests): Add rawmemchr.
43525         * string/test-rawmemchr.c: New file.
43526
43527         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43528         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
43529         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
43530         when compiling str{,n}casecmp and when AVX is available.  Hook up
43531         new optimized code in initializers.
43532
43533 2011-10-19  Andreas Schwab  <schwab@redhat.com>
43534
43535         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43536         __feraiseexcept instead of feraiseexcept.
43537
43538 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
43539
43540         * math/math_private.h: Define defaults for libc_fetestexcept and
43541         libc_feupdateenv.
43542         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43543         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43544         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43545         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43546         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43547         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43548         libc_fetestexcept and libc_feupdateenv.
43549
43550         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43551         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43552         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43553         * sysdeps/x86_64/fpu/math_private.h: Define special version of
43554         libc_feholdexcept_setround.
43555
43556         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43557         Add s_nearbyint-c and s_nearbyintf-c.
43558         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43559         nearbyintf inlines.
43560         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43561         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43562         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43563         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43564
43565         * math/math_private.h: Define defaults for libc_fegetround,
43566         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43567         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43568         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43569         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43570         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43571         standard functions.
43572         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43573         Remove comments and hacks for old compiler versions.
43574         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43575         libc_fegetround, libc_fesetround, libc_feholdexcept, and
43576         libc_feholdexceptl.
43577
43578 2011-10-18  Andreas Schwab  <schwab@redhat.com>
43579
43580         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43581         (__feraiseexcept_renamed): Add __NTH.
43582         (feraiseexcept): Add __NTH.  Rename local variables to fix
43583         namespace violations.
43584
43585 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
43586
43587         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43588
43589         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43590
43591         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43592         recently added interfaces.
43593         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43594
43595         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43596         about macro parameter expansion.
43597
43598         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43599         __NO_MATH_INLINES is defined.  Cleanups.
43600
43601         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43602         and __floorf is target has SSE4.1.
43603         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43604         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43605         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43606         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43607
43608         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43609         name.
43610         (floorf): Likewise.
43611
43612         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43613
43614 2011-10-17  Andreas Schwab  <schwab@redhat.com>
43615
43616         * misc/sys/cdefs.h: Fix last change.
43617
43618         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43619         database lookup.
43620
43621 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
43622
43623         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43624
43625         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43626         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43627         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43628         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43629         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43630         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43631         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43632         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43633         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43634         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43635         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43636         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43637         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43638         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43639         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43640         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43641         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43642         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43643         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43644         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43645         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43646         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43647
43648         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43649         ceil, ceilf, floor, floorf.
43650
43651         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43652         Perform IRELATIVE relocations last.
43653
43654         * elf/do-rel.h: Add another parameter nrelative, replacing the
43655         local variable with the same name.  Change name of the function
43656         to end in Rel or Rela (uppercase).
43657         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43658         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
43659         elf_dynamic_do_##reloc function.
43660
43661 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43662
43663         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43664         is sufficient, at least on modern CPUs.
43665
43666         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43667
43668         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43669         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43670
43671         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43672         __expl_finite.
43673         * math/bits/math-finite.h: Add entries for exp.
43674         * math/e_expl.c: Add __*_finite alias.
43675         * sysdeps/i386/fpu/e_exp.S: Likewise.
43676         * sysdeps/i386/fpu/e_expf.S: Likewise.
43677         * sysdeps/i386/fpu/e_expl.c: Likewise.
43678         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43679         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43680         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43681         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43682         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43683         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43684         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43685
43686         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43687         is sufficient, at least on modern CPUs.
43688
43689         * ctype/ctype-info.c (__ctype_init): Define.
43690         * include/ctype.h (__ctype_init): Declare.
43691         (__ctype_b_loc): The variable is always initialized.
43692         (__ctype_toupper_loc): Likewise.
43693         (__ctype_tolower_loc): Likewise.
43694         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43695         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43696
43697 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
43698
43699         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43700
43701         * configure.in: Also look in $cxxmachine/include for C++ system
43702         headers.
43703
43704 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43705
43706         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43707         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43708         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43709         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
43710         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43711         (USE_AS_WMEMCMP): New macro.
43712         Fixing indents.
43713         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43714         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43715         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43716         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43717         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43718         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43719         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43720         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43721         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43722         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43723         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43724         (USE_AS_WMEMCMP): New macro.
43725         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43726         * sysdeps/string/test-memcmp.c: Update.
43727         Fix simple_wmemcmp.
43728         Add new tests.
43729         * wcsmbs/wmemcmp.c: Update.
43730         (WMEMCMP): New macro.
43731         Fix overflow bug.
43732
43733 2011-10-12  Andreas Jaeger  <aj@suse.de>
43734
43735         [BZ #13268]
43736         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43737
43738 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43739
43740         * libio/iofwide.c (do_length): Avoid warning.
43741
43742         * ctype/ctype.h (__isctype_f): Add missing __THROW.
43743
43744 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
43745
43746         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43747
43748         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43749         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43750         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43751         * sysdeps/i386/i686/fpu/e_log.S: New file.
43752         * sysdeps/i386/i686/fpu/e_logf.S: New file.
43753         * sysdeps/i386/i686/fpu/e_logl.S: New file.
43754
43755         * ctype/ctype.h: Add support for inlined isXXX functions when
43756         compiling C++ code.
43757
43758 2011-10-14  Andreas Schwab  <schwab@redhat.com>
43759
43760         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43761
43762         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43763
43764 2011-10-13  Roland McGrath  <roland@hack.frob.com>
43765
43766         [BZ #13291]
43767         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43768
43769 2011-10-13  Andreas Schwab  <schwab@redhat.com>
43770
43771         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43772         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43773         feraiseexcept.
43774
43775         * sysdeps/x86_64/memrchr.S: Check for zero size.
43776
43777         * string/stratcliff.c: Add memrchr tests.
43778
43779 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43780
43781         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43782         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43783         rawmemchr-sse2 rawmemchr-sse2-bsf.
43784         * sysdeps/i386/i686/multiarch/memchr.S: New file.
43785         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43786         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43787         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43788         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43789         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43790         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43791         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43792         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43793         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43794         * string/memrchr.c (MEMRCHR): New macro.
43795
43796 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
43797
43798         Add integration with gcc's -ffinite-math-only and optimize wrapper
43799         functions in libm.
43800         * Versions.def: Define GLIBC_2.15 version for libm.
43801         * math/Makefile (headers): Add bits/math-finite.h.
43802         * math/bits/math-finite.h: New file.
43803         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43804         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43805         * math/e_acoshl.c: Add __*_finite alias.
43806         * math/e_acosl.c: Likewise.
43807         * math/e_asinl.c: Likewise.
43808         * math/e_atan2l.c: Likewise.
43809         * math/e_atanhl.c: Likewise.
43810         * math/e_coshl.c: Likewise.
43811         * math/e_exp10.c: Likewise.
43812         * math/e_exp10f.c: Likewise.
43813         * math/e_exp10l.c: Likewise.
43814         * math/e_exp2l.c: Likewise.
43815         * math/e_fmodl.c: Likewise.
43816         * math/e_gammal_r.c: Likewise.
43817         * math/e_hypotl.c: Likewise.
43818         * math/e_j0l.c: Likewise.
43819         * math/e_j1l.c: Likewise.
43820         * math/e_jnl.c: Likewise.
43821         * math/e_lgammal_r.c: Likewise.
43822         * math/e_log10l.c: Likewise.
43823         * math/e_log2l.c: Likewise.
43824         * math/e_logl.c: Likewise.
43825         * math/e_powl.c: Likewise.
43826         * math/e_sinhl.c: Likewise.
43827         * math/e_sqrtl.c: Likewise.
43828         * math/e_scalb.c: Completely rewritten and optimized.
43829         * math/e_scalbf.c: Likewise.
43830         * math/e_scalbl.c: Likewise.
43831         * math/w_acos.c: Likewise.
43832         * math/w_acosf.c: Likewise.
43833         * math/w_acosl.c: Likewise.
43834         * math/w_acosh.c: Likewise.
43835         * math/w_acoshf.c: Likewise.
43836         * math/w_acoshl.c: Likewise.
43837         * math/w_asin.c: Likewise.
43838         * math/w_asinf.c: Likewise.
43839         * math/w_asinl.c: Likewise.
43840         * math/w_atan2.c: Likewise.
43841         * math/w_atan2f.c: Likewise.
43842         * math/w_atan2l.c: Likewise.
43843         * math/w_atanh.c: Likewise.
43844         * math/w_atanhf.c: Likewise.
43845         * math/w_atanhl.c: Likewise.
43846         * math/w_exp10.c: Likewise.
43847         * math/w_exp10f.c: Likewise.
43848         * math/w_exp10l.c: Likewise.
43849         * math/w_fmod.c: Likewise.
43850         * math/w_fmodf.c: Likewise.
43851         * math/w_fmodl.c: Likewise.
43852         * math/w_j0.c: Likewise.
43853         * math/w_j0f.c: Likewise.
43854         * math/w_j0l.c: Likewise.
43855         * math/w_j1.c: Likewise.
43856         * math/w_j1f.c: Likewise.
43857         * math/w_j1l.c: Likewise.
43858         * math/w_jn.c: Likewise.
43859         * math/w_jnf.c: Likewise.
43860         * math/w_log.c: Likewise.
43861         * math/w_logf.c: Likewise.
43862         * math/w_logl.c: Likewise.
43863         * math/w_log10.c: Likewise.
43864         * math/w_log10f.c: Likewise.
43865         * math/w_log10l.c: Likewise.
43866         * math/w_log2.c: Likewise.
43867         * math/w_log2f.c: Likewise.
43868         * math/w_log2l.c: Likewise.
43869         * math/w_pow.c: Likewise.
43870         * math/w_powf.c: Likewise.
43871         * math/w_powl.c: Likewise.
43872         * math/w_remainder.c: Likewise.
43873         * math/w_remainderf.c: Likewise.
43874         * math/w_remainderl.c: Likewise.
43875         * math/w_scalb.c: Likewise.
43876         * math/w_scalbf.c: Likewise.
43877         * math/w_scalbl.c: Likewise.
43878         * math/w_sqrt.c: Likewise.
43879         * math/w_sqrtf.c: Likewise.
43880         * math/w_sqrtl.c: Likewise.
43881         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43882         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
43883         used.
43884         * math/math_private.h: Declare __kernel_standard_f.
43885         * math/w_cosh.c: Remove cruft and optimize a bit.
43886         * math/w_coshf.c: Likewise.
43887         * math/w_coshl.c: Likewise.
43888         * math/w_exp2.c: Likewise.
43889         * math/w_exp2f.c: Likewise.
43890         * math/w_exp2l.c: Likewise.
43891         * math/w_hypot.c: Likewise.
43892         * math/w_hypotf.c: Likewise.
43893         * math/w_hypotl.c: Likewise.
43894         * math/w_lgamma.c: Likewise.
43895         * math/w_lgamma_r.c: Likewise.
43896         * math/w_lgammaf.c: Likewise.
43897         * math/w_lgammaf_r.c: Likewise.
43898         * math/w_lgammal.c: Likewise.
43899         * math/w_lgammal_r.c: Likewise.
43900         * math/w_sinh.c: Likewise.
43901         * math/w_sinhf.c: Likewise.
43902         * math/w_sinhl.c: Likewise.
43903         * math/w_tgamma.c: Likewise.
43904         * math/w_tgammaf.c: Likewise.
43905         * math/w_tgammal.c: Likewise.
43906         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43907         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43908         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43909         Minor optimizations.  Pretty printing.  Remove cruft.
43910         * sysdeps/i386/fpu/e_acosf.S: Likewise.
43911         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43912         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43913         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43914         * sysdeps/i386/fpu/e_acosl.c: Likewise.
43915         * sysdeps/i386/fpu/e_asin.S: Likewise.
43916         * sysdeps/i386/fpu/e_asinf.S: Likewise.
43917         * sysdeps/i386/fpu/e_atan2.S: Likewise.
43918         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43919         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43920         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43921         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43922         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43923         * sysdeps/i386/fpu/e_exp10.S: Likewise.
43924         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43925         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43926         * sysdeps/i386/fpu/e_exp2.S: Likewise.
43927         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43928         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43929         * sysdeps/i386/fpu/e_fmod.S: Likewise.
43930         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43931         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43932         * sysdeps/i386/fpu/e_hypot.S: Likewise.
43933         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43934         * sysdeps/i386/fpu/e_log.S: Likewise.
43935         * sysdeps/i386/fpu/e_log10.S: Likewise.
43936         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43937         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43938         * sysdeps/i386/fpu/e_log2.S: Likewise.
43939         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43940         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43941         * sysdeps/i386/fpu/e_logf.S: Likewise.
43942         * sysdeps/i386/fpu/e_logl.S: Likewise.
43943         * sysdeps/i386/fpu/e_pow.S: Likewise.
43944         * sysdeps/i386/fpu/e_powf.S: Likewise.
43945         * sysdeps/i386/fpu/e_powl.S: Likewise.
43946         * sysdeps/i386/fpu/e_remainder.S: Likewise.
43947         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43948         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43949         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43950         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43951         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43952         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43953         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43954         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43955         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43956         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43957         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43958         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43959         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43960         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43961         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43962         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43963         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43964         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43965         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43966         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43967         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43968         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43969         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43970         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43971         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43972         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43973         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43974         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43975         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43976         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43977         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43978         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43979         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43980         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43981         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43982         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43983         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43984         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43985         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43986         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43987         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43988         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43989         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43990         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43991         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43992         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43993         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43994         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43995         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43996         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43997         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43998         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43999         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44000         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44001         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44002         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44003         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44004         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44005         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44006         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44007         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44008         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44009         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44010         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44011         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44012         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44013         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44014         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44015         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44016         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44017         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44018         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44019         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44020         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44021         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44022         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44023         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44024         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44025         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44026         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44027         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44028         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44029         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44030         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44031         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44032         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44033         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44034         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44035         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44036         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44037         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44038         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44039         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44040         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44041         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44042         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44043         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44044         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44045         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44046         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44047         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44048         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44049         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44050         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44051         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44052         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44053         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44054         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44055         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44056         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44057         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44058         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44059         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44060         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44061         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44062         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44063         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44064         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44065         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
44066         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44067         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44068         (__isnanf): Likewise.
44069         (__isinf_ns): Likewise.
44070         (__isinf_nsf): Likewise.
44071         (__finite): Likewise.
44072         (__finitef): Likewise.
44073         (__ieee754_sqrt): Define as macro.
44074         (__ieee754_sqrtf): Define as macro.
44075         (__ieee754_sqrtl): Define as macro.
44076         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44077         inlined copy.
44078         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44079         __FINITE_MATH_ONLY__ consistent.
44080         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44081
44082 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
44083
44084         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44085         of rawmemchr.
44086
44087         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44088
44089 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
44090
44091         * po/ja.po: Update from translation team.
44092
44093 2011-10-08  Roland McGrath  <roland@hack.frob.com>
44094
44095         * locale/programs/locarchive.c (prepare_address_space): New function.
44096         (create_archive, enlarge_archive, open_archive): Use it.
44097
44098         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44099         inside [SHARED], where it is used.
44100
44101         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44102
44103         * nss/getent.c (netgroup_keys): Remove unused variable.
44104         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44105
44106 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
44107
44108         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44109         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44110         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44111         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44112         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44113         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44114         * math/Makefile (libm-calls): Add s_isinf_ns.
44115         * math/divtc3.c: Use __isinf_nsl instead of isinf.
44116         * math/multc3.c: Likewise.
44117         * math/s_casin.c: Likewise.
44118         * math/s_casinf.c: Likewise.
44119         * math/s_casinl.c: Likewise.
44120         * math/s_ccos.c: Likewise.
44121         * math/s_ccosf.c: Likewise.
44122         * math/s_ccosl.c: Likewise.
44123         * math/s_ctan.c: Likewise.
44124         * math/s_ctanf.c: Likewise.
44125         * math/s_ctanh.c: Likewise.
44126         * math/s_ctanhf.c: Likewise.
44127         * math/s_ctanhl.c: Likewise.
44128         * math/s_ctanl.c: Likewise.
44129         * math/w_fmod.c: Likewise.
44130         * math/w_fmodf.c: Likewise.
44131         * math/w_fmodl.c: Likewise.
44132         * math/w_remainder.c: Likewise.
44133         * math/w_remainderf.c: Likewise.
44134         * math/w_remainderl.c: Likewise.
44135         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44136         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44137         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44138         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44139         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44140         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44141         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44142         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44143
44144         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44145         of the number.
44146         * stdio-common/printf_fphex.c: Likewise.
44147         * stdio-common/printf_size.c: Likewise.
44148
44149         * math/e_exp10.c: Include math_private.h using <...> not "...".
44150         * math/e_exp10f.c: Likewise.
44151         * math/e_exp10l.c: Likewise.
44152         * math/e_exp2l.c: Likewise.
44153         * math/e_j0l.c: Likewise.
44154         * math/e_j1l.c: Likewise.
44155         * math/e_jnl.c: Likewise.
44156         * math/e_lgammal_r.c: Likewise.
44157         * math/e_rem_pio2l.c: Likewise.
44158         * math/e_scalb.c: Likewise.
44159         * math/e_scalbf.c: Likewise.
44160         * math/e_scalbl.c: Likewise.
44161         * math/k_cosl.c: Likewise.
44162         * math/k_sinl.c: Likewise.
44163         * math/k_tanl.c: Likewise.
44164         * math/s_cacoshf.c: Likewise.
44165         * math/s_catan.c: Likewise.
44166         * math/s_catanf.c: Likewise.
44167         * math/s_catanh.c: Likewise.
44168         * math/s_catanhf.c: Likewise.
44169         * math/s_catanhl.c: Likewise.
44170         * math/s_catanl.c: Likewise.
44171         * math/s_ccosh.c: Likewise.
44172         * math/s_ccoshf.c: Likewise.
44173         * math/s_ccoshl.c: Likewise.
44174         * math/s_cexp.c: Likewise.
44175         * math/s_cexpf.c: Likewise.
44176         * math/s_cexpl.c: Likewise.
44177         * math/s_clog.c: Likewise.
44178         * math/s_clog10.c: Likewise.
44179         * math/s_clog10f.c: Likewise.
44180         * math/s_clog10l.c: Likewise.
44181         * math/s_clogf.c: Likewise.
44182         * math/s_clogl.c: Likewise.
44183         * math/s_csin.c: Likewise.
44184         * math/s_csinf.c: Likewise.
44185         * math/s_csinh.c: Likewise.
44186         * math/s_csinhf.c: Likewise.
44187         * math/s_csinhl.c: Likewise.
44188         * math/s_csinl.c: Likewise.
44189         * math/s_csqrt.c: Likewise.
44190         * math/s_csqrtf.c: Likewise.
44191         * math/s_csqrtl.c: Likewise.
44192         * math/s_ctan.c: Likewise.
44193         * math/s_ctanf.c: Likewise.
44194         * math/s_ctanh.c: Likewise.
44195         * math/s_ctanhf.c: Likewise.
44196         * math/s_ctanhl.c: Likewise.
44197         * math/s_ctanl.c: Likewise.
44198         * math/s_ldexp.c: Likewise.
44199         * math/s_ldexpf.c: Likewise.
44200         * math/s_ldexpl.c: Likewise.
44201         * math/s_significand.c: Likewise.
44202         * math/s_significandf.c: Likewise.
44203         * math/s_significandl.c: Likewise.
44204         * math/w_acos.c: Likewise.
44205         * math/w_acosf.c: Likewise.
44206         * math/w_acosh.c: Likewise.
44207         * math/w_acoshf.c: Likewise.
44208         * math/w_acoshl.c: Likewise.
44209         * math/w_acosl.c: Likewise.
44210         * math/w_asin.c: Likewise.
44211         * math/w_asinf.c: Likewise.
44212         * math/w_asinl.c: Likewise.
44213         * math/w_atan2.c: Likewise.
44214         * math/w_atan2f.c: Likewise.
44215         * math/w_atan2l.c: Likewise.
44216         * math/w_atanh.c: Likewise.
44217         * math/w_atanhf.c: Likewise.
44218         * math/w_atanhl.c: Likewise.
44219         * math/w_cosh.c: Likewise.
44220         * math/w_coshf.c: Likewise.
44221         * math/w_coshl.c: Likewise.
44222         * math/w_dremf.c: Likewise.
44223         * math/w_exp10.c: Likewise.
44224         * math/w_exp10f.c: Likewise.
44225         * math/w_exp10l.c: Likewise.
44226         * math/w_exp2.c: Likewise.
44227         * math/w_exp2f.c: Likewise.
44228         * math/w_fmod.c: Likewise.
44229         * math/w_fmodf.c: Likewise.
44230         * math/w_fmodl.c: Likewise.
44231         * math/w_hypot.c: Likewise.
44232         * math/w_hypotf.c: Likewise.
44233         * math/w_hypotl.c: Likewise.
44234         * math/w_j0.c: Likewise.
44235         * math/w_j0f.c: Likewise.
44236         * math/w_j0l.c: Likewise.
44237         * math/w_j1.c: Likewise.
44238         * math/w_j1f.c: Likewise.
44239         * math/w_j1l.c: Likewise.
44240         * math/w_jn.c: Likewise.
44241         * math/w_jnf.c: Likewise.
44242         * math/w_jnl.c: Likewise.
44243         * math/w_lgamma.c: Likewise.
44244         * math/w_lgamma_r.c: Likewise.
44245         * math/w_lgammaf.c: Likewise.
44246         * math/w_lgammaf_r.c: Likewise.
44247         * math/w_lgammal.c: Likewise.
44248         * math/w_lgammal_r.c: Likewise.
44249         * math/w_log.c: Likewise.
44250         * math/w_log10.c: Likewise.
44251         * math/w_log10f.c: Likewise.
44252         * math/w_log10l.c: Likewise.
44253         * math/w_log2.c: Likewise.
44254         * math/w_log2f.c: Likewise.
44255         * math/w_log2l.c: Likewise.
44256         * math/w_logf.c: Likewise.
44257         * math/w_logl.c: Likewise.
44258         * math/w_pow.c: Likewise.
44259         * math/w_powf.c: Likewise.
44260         * math/w_powl.c: Likewise.
44261         * math/w_remainder.c: Likewise.
44262         * math/w_remainderf.c: Likewise.
44263         * math/w_remainderl.c: Likewise.
44264         * math/w_scalb.c: Likewise.
44265         * math/w_scalbf.c: Likewise.
44266         * math/w_scalbl.c: Likewise.
44267         * math/w_sinh.c: Likewise.
44268         * math/w_sinhf.c: Likewise.
44269         * math/w_sinhl.c: Likewise.
44270         * math/w_sqrt.c: Likewise.
44271         * math/w_sqrtf.c: Likewise.
44272         * math/w_sqrtl.c: Likewise.
44273         * math/w_tgamma.c: Likewise.
44274         * math/w_tgammaf.c: Likewise.
44275         * math/w_tgammal.c: Likewise.
44276
44277         * po/ja.po: Update from translation team.
44278
44279 2011-09-29  Andreas Jaeger  <aj@suse.de>
44280
44281         [BZ #13179]
44282         * sunrpc/netname.c (netname2host): Fix logic.
44283
44284         [BZ #6779]
44285         [BZ #6783]
44286         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44287         correctly.
44288         * math/w_remainder.c (__remainder): Likewise.
44289         * math/w_remainderf.c (__remainderf): Likewise.
44290         * math/libm-test.inc (remainder_test): Add test cases.
44291
44292 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44293
44294         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
44295         sdiv_qrnnd.
44296
44297 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44298
44299         * string/test-memcmp.c: Avoid unncessary #defines.
44300         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44301
44302 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44303
44304         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44305         Use new sse2 version for core i3 - i7 as it's faster
44306         than sse42 version.
44307         (bit_Prefer_PMINUB_for_stringop): New.
44308         * sysdeps/x86_64/rawmemchr.S: Update.
44309         Replace with faster SSE2 version.
44310         * sysdeps/x86_64/memrchr.S: New file.
44311         * sysdeps/x86_64/memchr.S: Update.
44312         Replace with faster SSE2 version.
44313
44314 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
44315
44316         * elf/dl-load.c (lose): Add cast to avoid warning.
44317
44318 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44319
44320         * po/ca.po: Update from translation team.
44321
44322         * inet/getnetgrent_r.c: Hook up nscd.
44323         * nscd/Makefile (routines): Add nscd_netgroup.
44324         (nscd-modules): Add netgroupcache.
44325         (CFLAGS-netgroupcache.c): Define.
44326         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44327         (cache_search): Add const to second parameter.
44328         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44329         INNETGR.
44330         (dbs): Add netgrdb entry.
44331         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44332         (verify_persistent_db): Handle netgrdb.
44333         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44334         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44335         GETFDNETGR.
44336         (netgroup_response_header): Define.
44337         (innetgroup_response_header): Define.
44338         (datahead): Add netgroup_response_header and innetgroup_response_header
44339         elements.
44340         * nscd/nscd.conf: Add entries for netgroup cache.
44341         * nscd/nscd.h (dbtype): Add netgrdb.
44342         (_PATH_NSCD_NETGROUP_DB): Define.
44343         (netgroup_iov_disabled): Declare.
44344         (xmalloc, xcalloc, xrealloc): Move declarations here.
44345         (cache_search): Adjust prototype.
44346         Add netgroup-related prototypes.
44347         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44348         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44349         (__nscd_innetgr): Declare.
44350         * nscd/selinux.c (perms): Use access_vector_t as element type and
44351         add netgroup-related initializers.
44352         * nscd/netgroupcache.c: New file.
44353         * nscd/nscd_netgroup.c: New file.
44354         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44355         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44356         For four parameters use innetgr.
44357         * nss/nss_files/files-init.c: Add definition and callback for netgr.
44358         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44359         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44360         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44361
44362         * nscd/connections.c (register_traced_file): Don't register file
44363         for disabled databases.
44364
44365 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
44366
44367         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44368
44369         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44370         from tree and freeing node.
44371
44372 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
44373
44374         * nss/nsswitch.c (__nss_database_lookup): Handle
44375         nss_parse_service_list out of memory case.
44376
44377 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
44378
44379         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44380         out of memory case.
44381
44382 2011-10-04  Andreas Schwab  <schwab@redhat.com>
44383
44384         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44385         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44386         pass it down.
44387         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44388         elf_machine_rela, elf_machine_lazy_rel.
44389         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44390         (ELF_DYNAMIC_DO_REL): Likewise.
44391         (ELF_DYNAMIC_DO_RELA): Likewise.
44392         (ELF_DYNAMIC_RELOCATE): Likewise.
44393         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44394         to ELF_DYNAMIC_DO_REL.
44395         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44396         (dl_main): In trace mode always set __RTLD_NOIFUNC.
44397         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44398         elf_machine_rela.
44399         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44400         skip_ifunc, don't call ifunc function if non-zero.
44401         (elf_machine_rela): Likewise.
44402         (elf_machine_lazy_rel): Likewise.
44403         (elf_machine_lazy_rela): Likewise.
44404         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44405         (elf_machine_lazy_rel): Likewise.
44406         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44407         Likewise.
44408         (elf_machine_lazy_rel): Likewise.
44409         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44410         Likewise.
44411         (elf_machine_lazy_rel): Likewise.
44412         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44413         (elf_machine_lazy_rel): Likewise.
44414         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44415         (elf_machine_lazy_rel): Likewise.
44416         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44417         (elf_machine_lazy_rel): Likewise.
44418         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44419         (elf_machine_lazy_rel): Likewise.
44420         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44421         (elf_machine_lazy_rel): Likewise.
44422         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44423         (elf_machine_lazy_rel): Likewise.
44424
44425 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
44426
44427         * nss/nss_files/files-init.c (_nss_files_init): Use static
44428         initialization for all the *_traced_file variables.
44429
44430 2011-09-28  Andreas Schwab  <schwab@redhat.com>
44431
44432         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44433
44434 2011-09-27  Roland McGrath  <roland@hack.frob.com>
44435
44436         [BZ #13226]
44437         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44438
44439 2011-09-27  Andreas Schwab  <schwab@redhat.com>
44440
44441         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44442         Reread the line before reparsing it.
44443
44444 2011-09-26  Andreas Schwab  <schwab@redhat.com>
44445
44446         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44447
44448 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
44449             Maxim Kuvyrkov  <maxim@codesourcery.com>
44450             Joseph Myers  <joseph@codesourcery.com>
44451
44452         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44453         if needed for __stack_chk_guard.
44454
44455 2011-09-19  Roland McGrath  <roland@hack.frob.com>
44456
44457         * sysdeps/posix/spawni.c (script_execute): Always define it.
44458         It will be optimized away if unused.
44459         (maybe_script_execute): New function.
44460         (__spawni): Call it.
44461
44462         * Makerules: Don't include tls.make.
44463         (config-tls): Always set to thread.
44464         * tls.make.c: File removed.
44465
44466 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
44467
44468         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44469         * config.make.in (CPPFLAGS-config): New substituted variable.
44470
44471 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44472
44473         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44474
44475         [BZ #13192]
44476         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44477         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44478
44479 2011-09-15  Roland McGrath  <roland@hack.frob.com>
44480
44481         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44482         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44483         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44484         (CALL_FAIL): Likewise.
44485         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44486         (CALL_FAIL): Macro removed.
44487         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44488
44489 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44490
44491         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44492         for __FINITE_MATH_ONLY__ == 1.
44493
44494 2011-09-15  Andreas Schwab  <schwab@redhat.com>
44495
44496         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44497         __ieee754_sqrt instead of sqrt.
44498         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44499         __ieee754_sqrtf instead of sqrtf.
44500         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44501         __floorf instead of floorf.
44502         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44503         __floorf, __truncf instead of floorf, truncf.
44504
44505 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
44506
44507         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44508
44509         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44510         __extern_always_inline.
44511         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44512         32-bit.
44513
44514 2011-09-14  Andreas Schwab  <schwab@redhat.com>
44515
44516         * elf/rtld.c (dl_main): Also relocate in dependency order when
44517         doing symbol dependency testing.
44518
44519 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
44520
44521         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44522         Always define `refsym'.
44523
44524 2011-09-13  Andreas Schwab  <schwab@redhat.com>
44525
44526         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44527         (__FD_ELT): Renamed from __FDELT.
44528         * misc/bits/select2.h (__FD_ELT): Likewise.
44529         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44530         __FD_MASK instead of __FDELT, __FDMASK.
44531         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44532         Likewise.
44533         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44534         Likewise.
44535
44536         * elf/Makefile (gen-ldd): Fix pattern.
44537
44538         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44539         (init_tls): Likewise.
44540
44541 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
44542
44543         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44544
44545 2011-09-12  Andreas Schwab  <schwab@redhat.com>
44546
44547         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44548         `struct cmsghdr *' instead of `void *'.
44549         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44550         Likewise.
44551
44552 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
44553
44554         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44555         if non-absolute.
44556         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44557         ldd_rewrite_script.
44558
44559 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
44560
44561         * configure.in: Remove --with-tls option.
44562         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44563         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44564         out in case it is missing.
44565         * sysdeps/ia64/elf/configure.in: Likewise.
44566         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44567         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44568         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44569         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44570         * sysdeps/sh/elf/configure.in: Likewise.
44571         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44572         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44573         * sysdeps/x86_64/elf/configure.in: Likewise.
44574         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44575         * sysdeps/mach/hurd/tls.h: Likewise.
44576
44577         [BZ #13067]
44578         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44579
44580         [BZ #13090]
44581         * configure.in: Fix use of AC_INIT.
44582
44583         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44584
44585 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
44586
44587         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44588         __set_errno.
44589         * malloc/hooks.c: Likewise.
44590
44591         [BZ #11929]
44592         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
44593         variables statically.
44594         (narenas): Initialize.
44595         (list_lock): Initialize.
44596         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
44597         initializtion of main_arena and list_lock.  Small cleanups.
44598         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44599         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
44600         Add initializers to main_arena and mp_.
44601         (malloc_state): Remove pagesize member.  Change all users to use
44602         GLRO(dl_pagesize).
44603
44604         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44605         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
44606         is always initialized.
44607
44608         * malloc/malloc.c: Removed unused configurations and dead code.
44609         * malloc/arena.c: Likewise.
44610         * malloc/hooks.c: Likewise.
44611         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44612
44613         * include/tls.h: Removed.  USE___THREAD must always be defined.
44614         * bits/libc-tsd.h: Don't handle !USE___THREAD.
44615         * elf/dl-libc.c: Likewise.
44616         * elf/dl-tsd.c: Likewise.
44617         * include/errno.h: Likewise.
44618         * include/netdb.h: Likewise.
44619         * include/resolv.h: Likewise.
44620         * inet/herrno-loc.c: Likewise.
44621         * inet/herrno.c: Likewise.
44622         * malloc/arena.c: Likewise.
44623         * malloc/hooks.c: Likewise.
44624         * malloc/malloc.c: Likewise.
44625         * resolv/res-state.c: Likewise.
44626         * resolv/res_libc.c: Likewise.
44627         * sysdeps/i386/dl-machine.h: Likewise.
44628         * sysdeps/ia64/dl-machine.h: Likewise.
44629         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44630         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44631         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44632         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44633         * sysdeps/sh/dl-machine.h: Likewise.
44634         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44635         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44636         * sysdeps/unix/i386/sysdep.S: Likewise.
44637         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44638         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44639         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44640         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44641         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44642         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44643         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44644         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44645         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44646         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44647         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44648         * sysdeps/x86_64/dl-machine.h: Likewise.
44649         * tls.make.c: Likewise.
44650
44651         * configure.in: Remove --with-__thread option.  Make tests for
44652         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44653         tls_model attribute fail if no support is available.  Remove
44654         USE_IN_LIBIO.
44655         * Makeconfig: Adjust for dropped configure option.  All features are
44656         now mandatory.
44657         * Makerules: Likewise.
44658         * Versions.def: Likewise.
44659         * argp/argp-fmtstream.c: Likewise.
44660         * argp/argp-fmtstream.h: Likewise.
44661         * argp/argp-help.c: Likewise.
44662         * assert/assert.c: Likewise.
44663         * config.h.in: Likewise.
44664         * config.make.in: Likewise.
44665         * configure: Likewise.
44666         * configure.in: Likewise.
44667         * csu/Versions: Likewise.
44668         * csu/init.c: Likewise.
44669         * elf/tst-audit2.c: Likewise.
44670         * elf/tst-tls10.c: Likewise.
44671         * elf/tst-tls10.h: Likewise.
44672         * elf/tst-tls11.c: Likewise.
44673         * elf/tst-tls12.c: Likewise.
44674         * elf/tst-tls14.c: Likewise.
44675         * elf/tst-tlsmod11.c: Likewise.
44676         * elf/tst-tlsmod12.c: Likewise.
44677         * elf/tst-tlsmod13.c: Likewise.
44678         * elf/tst-tlsmod13a.c: Likewise.
44679         * elf/tst-tlsmod14a.c: Likewise.
44680         * elf/tst-tlsmod15b.c: Likewise.
44681         * elf/tst-tlsmod16a.c: Likewise.
44682         * elf/tst-tlsmod16b.c: Likewise.
44683         * elf/tst-tlsmod7.c: Likewise.
44684         * elf/tst-tlsmod8.c: Likewise.
44685         * elf/tst-tlsmod9.c: Likewise.
44686         * gmon/gmon.c: Likewise.
44687         * grp/fgetgrent_r.c: Likewise.
44688         * grp/putgrent.c: Likewise.
44689         * hurd/fopenport.c: Likewise.
44690         * include/libc-symbols.h: Likewise.
44691         * include/tls.h: Likewise.
44692         * intl/gettextP.h: Likewise.
44693         * intl/loadinfo.h: Likewise.
44694         * locale/global-locale.c: Likewise.
44695         * locale/localeinfo.h: Likewise.
44696         * mach/devstream.c: Likewise.
44697         * malloc/arena.c: Likewise.
44698         * malloc/set-freeres.c: Likewise.
44699         * misc/err.c: Likewise.
44700         * misc/getttyent.c: Likewise.
44701         * misc/mntent_r.c: Likewise.
44702         * posix/getopt.c: Likewise.
44703         * posix/wordexp.c: Likewise.
44704         * pwd/fgetpwent_r.c: Likewise.
44705         * resolv/Versions: Likewise.
44706         * resolv/res_hconf.c: Likewise.
44707         * shadow/fgetspent_r.c: Likewise.
44708         * shadow/putspent.c: Likewise.
44709         * stdio-common/printf_fphex.c: Likewise.
44710         * stdio-common/tmpfile.c: Likewise.
44711         * stdlib/abort.c: Likewise.
44712         * stdlib/fmtmsg.c: Likewise.
44713         * sunrpc/auth_unix.c: Likewise.
44714         * sunrpc/clnt_perr.c: Likewise.
44715         * sunrpc/clnt_tcp.c: Likewise.
44716         * sunrpc/clnt_udp.c: Likewise.
44717         * sunrpc/clnt_unix.c: Likewise.
44718         * sunrpc/openchild.c: Likewise.
44719         * sunrpc/svc_simple.c: Likewise.
44720         * sunrpc/svc_tcp.c: Likewise.
44721         * sunrpc/svc_udp.c: Likewise.
44722         * sunrpc/svc_unix.c: Likewise.
44723         * sunrpc/xdr.c: Likewise.
44724         * sunrpc/xdr_array.c: Likewise.
44725         * sunrpc/xdr_rec.c: Likewise.
44726         * sunrpc/xdr_ref.c: Likewise.
44727         * sunrpc/xdr_stdio.c: Likewise.
44728
44729 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44730
44731         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44732
44733 2011-07-03  Andreas Jaeger  <aj@suse.de>
44734
44735         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44736         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44737         regenerate with gen-libm-tests.pl.
44738
44739 2010-05-12  Petr Baudis  <pasky@suse.cz>
44740
44741         [BZ #11589]
44742         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44743         around j0() zero points by switching to j1().
44744         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44745         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44746         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44747         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44748
44749 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44750
44751         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44752         instead of 0.
44753         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44754         instead of 0.
44755         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44756         Patch in part by Pavel Roskin <proski@gnu.org>.
44757
44758         [BZ #13138]
44759         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44760         realloc.
44761         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
44762         Free memory block if necessary.
44763
44764         [BZ #12847]
44765         * libio/genops.c (INTDEF): For string streams the _lock pointer can
44766         be NULL.  Don't lock in this case.
44767
44768 2011-09-09  Roland McGrath  <roland@hack.frob.com>
44769
44770         * elf/elf.h (ELFOSABI_GNU): New macro.
44771         (ELFOSABI_LINUX): Define to that.
44772
44773 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
44774
44775         * string/strncat.c (strncat): Undef the symbol in case it has been
44776         defined in bits/string.h.
44777
44778 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44779
44780         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44781
44782         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44783         link map.
44784
44785 2011-08-17  Andreas Jaeger  <aj@suse.de>
44786
44787         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44788
44789 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44790             Ian Lance Taylor  <iant@google.com>
44791
44792         * math/libm-test.inc (lround_test): New testcase.
44793         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44794
44795 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
44796
44797         * Makefile: Remove support for automatic cvs check-ins.
44798         * Makerules: Likewise.
44799         * config.make.in: Likewise.
44800         * configure.in: Likewise.
44801         * intl/Makefile: Likewise.
44802         * locale/Makefile: Likewise.
44803         * po/Makefile: Likewise.
44804         * posix/Makefile: Likewise.
44805         * sysdeps/gnu/Makefile: Likewise.
44806         * sysdeps/mach/hurd/Makefile: Likewise.
44807         * sysdeps/sparc/sparc32/Makefile: Likewise.
44808
44809         [BZ #13118]
44810         * posix/Makefile (bug-regex32-ENV): Define.
44811         Patch by John Stanley <jpsinthemix@verizon.net>.
44812
44813         * misc/Makefile (headers): Add bits/select2.h.
44814         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44815         * misc/bits/select2.h: New file.
44816         * include/bits/select2.h: New file.
44817         * debug/Makefile (routines): Add fdelt_chk.
44818         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44819         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44820         FD_ISSET.
44821         * debug/fdelt_chk.c: New file.
44822
44823         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
44824         * wcsmbs/test-wmemcmp.c: Likewise.
44825         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44826         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44827
44828 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44829
44830         * string/Makefile (strop-tests): Add memcmp.
44831         * string/test-wmemcmp.c: New file.
44832         * string/test-memcmp.c: Add wmemcmp support.
44833
44834 2011-09-08  Roland McGrath  <roland@hack.frob.com>
44835
44836         [BZ #13153]
44837         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44838         2011-07-19 change.
44839
44840         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44841         garbage value in a __mach_port_mod_refs call in the cases of the
44842         task-self and thread-self ports.
44843
44844 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44845
44846         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44847
44848 2011-09-08  Andreas Schwab  <schwab@redhat.com>
44849
44850         * elf/dl-load.c (lose): Check for non-null L.
44851
44852 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44853
44854         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44855
44856         * elf/dl-libc.c (dlerror_run): Pass back error code from
44857         dl_catch_error.
44858
44859         [BZ #13123]
44860         * elf/dl-load.c (lose): Free l_origin if it is valid.
44861
44862         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44863         names.
44864         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44865         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44866         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44867         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44868         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44869         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44870
44871 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44872
44873         * sysdeps/powerpc/fpu/e_hypot.c: New file.
44874         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44875         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44876         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44877         * sysdeps/powerpc/fpu/k_cosf.c: New file.
44878         * sysdeps/powerpc/fpu/k_sinf.c: New file.
44879         * sysdeps/powerpc/fpu/s_cosf.c: New file.
44880         * sysdeps/powerpc/fpu/s_sinf.c: New file.
44881         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44882         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44883
44884 2011-08-15  Alan Modra  <amodra@gmail.com>
44885
44886         [BZ #13092]
44887         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44888         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44889         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
44890         ppc_mcount to static-only-routines.
44891         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44892         __mcount_internal.
44893         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44894         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
44895
44896 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
44897
44898         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44899         for finite and infinity parameters.
44900
44901 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44902
44903         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44904         and add nop instructions for throughput optimization.
44905         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44906
44907 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
44908
44909         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44910         aligned copy for power7 with vector-scalar instructions.
44911         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44912
44913 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
44914
44915         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44916         AVX check.
44917
44918 2011-09-07  Andreas Schwab  <schwab@redhat.com>
44919
44920         [BZ #13144]
44921         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44922         last change.
44923
44924 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44925
44926         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44927         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44928         syscall wrapper around clock_gettime in __vdso_clock_gettime.
44929         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44930         clock_gettime.
44931
44932 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44933
44934         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44935         Forgot to demangle the pointer.
44936
44937         * sysdeps/i386/sysdep.h: Define atom_text_section.
44938         * sysdeps/x86_64/sysdep.h: Likewise.
44939         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44940         section with atom_text_section.
44941         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44942         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44943         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44944         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44945         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44946
44947         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44948         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44949         already be defined.  Change to take two parameters and don't assign
44950         result to variable.  Adjust all users.
44951         Define INTERNAL_GETTIME if not already defined.
44952         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44953         call.
44954         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44955         HAVE_CLOCK_GETTIME_VSYSCALL.
44956         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44957
44958         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44959         gettimeofday vsyscall, just use time.
44960
44961 2011-09-06  Andreas Schwab  <schwab@redhat.com>
44962
44963         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44964         <errno.h>.
44965
44966 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44967
44968         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44969         syscall on x86-64.
44970         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44971         syscall.
44972         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44973         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44974         syscall if possible.
44975
44976 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44977
44978         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44979         e_ident.  Don't pass to find_mapsXX.
44980         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44981
44982 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44983
44984         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44985         strchr-sse2-no-bsf strrchr-sse2-no-bsf
44986         * sysdeps/x86_64/multiarch/strchr.S: Update.
44987         Check bit_slow_BSF bit.
44988         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44989         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44990         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44991
44992 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44993
44994         [BZ #13134]
44995         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44996         before glibc 2.15.
44997         (tryshell): Define.
44998         (__spawni): Change last parameter to be flag.  Test
44999         SPAWN_XFLAGS_USE_PATH flag to use path or not.
45000         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45001         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45002         * posix/spawni.c: Likewise.
45003         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45004         * posix/spawnp.c: Likewise.  Change normal version to use
45005         SPAWN_XFLAGS_USE_PATH.
45006         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45007         SPAWN_XFLAGS_TRY_SHELL.
45008
45009         [BZ #13150]
45010         * posix/glob.h: Remove gcc 1.x support.
45011
45012         [BZ #13068]
45013         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45014
45015 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45016
45017         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45018         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45019         strrchr-sse2-bsf
45020         * sysdeps/i386/i686/multiarch/strchr.S: New file.
45021         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45022         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45023         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45024         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45025         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45026
45027 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45028
45029         * sysdeps/x86_64/wcscmp.S: New file.
45030
45031         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45032         wcscmp-c wcscmp-sse2
45033         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45034         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45035         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45036         * wcsmbs/wcscmp.c: Allow renaming.
45037
45038 2011-09-05  David S. Miller  <davem@davemloft.net>
45039
45040         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45041         stack slot, rather than the struct return pointer slot.
45042         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45043         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45045         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45046
45047 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45048
45049         * po/ja.po: Update from translation team.
45050
45051         [BZ #13144]
45052         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45053         kernel in 64-bit binaries.
45054
45055 2011-09-01  David S. Miller  <davem@davemloft.net>
45056
45057         * elf/elf.h (HWCAP_SPARC_*): Move to..
45058         * sysdeps/sparc/sysdep.h: this new file and add new values.
45059         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45060         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45061         _DL_HWCAP_COUNT to 24.
45062         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45063         entries.
45064         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45065         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45066         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45067         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45068         instead of magic constants.
45069         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45070
45071 2011-08-31  David S. Miller  <davem@davemloft.net>
45072
45073         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45074         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45075         Reimplement to do errno handling inline.
45076         (SYSCALL_ERROR_HANDLER): New macro.
45077         (__SYSCALL_STRING): Do not do errno handling in asm.
45078         (__CLONE_SYSCALL_STRING): Delete.
45079         (__INTERNAL_SYSCALL_STRING): Delete.
45080         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45081         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45082         (PSEUDO): Reimplement to do errno handling inline.
45083         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45084         (SYSCALL_ERROR_HANDLER): New macro.
45085         (__SYSCALL_STRING): Do not do errno handling in asm.
45086         (__CLONE_SYSCALL_STRING): Delete.
45087         (__INTERNAL_SYSCALL_STRING): Delete.
45088         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45089         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45090         i386.
45091         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45092         (inline_syscall*): Add 'err' argument.
45093         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45094         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45095         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45096         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45097
45098         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45099         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45100
45101 2011-08-30  Andreas Schwab  <schwab@redhat.com>
45102
45103         * elf/rtld.c (dl_main): Relocate objects in dependency order.
45104
45105 2011-08-29  Jiri Olsa <jolsa@redhat.com>
45106
45107         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45108         directive.
45109
45110 2011-08-24  David S. Miller  <davem@davemloft.net>
45111
45112         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45113
45114 2011-08-24  Andreas Schwab  <schwab@redhat.com>
45115
45116         * elf/Makefile: Add rules to build and run unload8 test.
45117         * elf/unload8.c: New file.
45118         * elf/unload8mod1.c: New file.
45119         * elf/unload8mod1x.c: New file.
45120         * elf/unload8mod2.c: New file.
45121         * elf/unload8mod3.c: New file.
45122
45123         * elf/dl-close.c (_dl_close_worker): Reset private search list if
45124         it wasn't used.
45125
45126 2011-08-23  David S. Miller  <davem@davemloft.net>
45127
45128         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45129         subtract stack bias.
45130         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45131         %sp not %fp in calculations.
45132         (_JMPBUF_UNWINDS_ADJ): Likewise.
45133
45134         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45135         (aio_suspend): Call it to force an exception region around the
45136         AIO_MISC_WAIT() invocation.
45137
45138 2011-08-23  Andreas Schwab  <schwab@redhat.com>
45139
45140         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45141         backslash.
45142
45143 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
45144
45145         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45146         protection macro.
45147         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45148         and <dl-machine.h>.
45149         (Elf64_FuncDesc): Remove.
45150
45151 2011-08-22  David S. Miller  <davem@davemloft.net>
45152
45153         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45154         sigaltstack check, add missing cfi directives.
45155         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45156         missing cfi directives, and sigaltstack handling.
45157
45158 2011-08-16  Andreas Schwab  <schwab@redhat.com>
45159
45160         [BZ #11724]
45161         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45162         object is seen twice.
45163         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45164
45165         * elf/Makefile (distribute): Add tst-initorder2.c.
45166         (tests): Add tst-initorder2.
45167         (modules-names): Add tst-initorder2a tst-initorder2b
45168         tst-initorder2c tst-initorder2d.  Add rules to build them.
45169         ($(objpfx)tst-initorder2.out): New rule.
45170         * elf/tst-initorder2.c: New file.
45171         * elf/tst-initorder2.exp: New file.
45172
45173 2011-08-22  Andreas Schwab  <schwab@redhat.com>
45174
45175         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45176
45177         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45178         dependencies back to end of function.
45179
45180         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45181         $(elfobjdir)/ld.so.
45182
45183 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
45184
45185         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45186         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45187         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45188         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45189         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45190         of __vdso_gettimeofday.
45191         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45192         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
45193         attribute_hidden.
45194         (_libc_vdso_platform_setup): Remove initialization of
45195         __vdso_gettimeofday and __vdso_time.
45196
45197 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45198
45199         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45200         and fgetc_unlocked.
45201         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45202         getc_unlocked.
45203
45204         * elf/dl-open.c (add_to_global): Report additions to the global scope
45205         for LD_DEBUG=scopes.
45206         (dl_open_worker): Also print scope of newly loaded dependencies.
45207         (_dl_show_scope): Indicate if there is no scope.
45208
45209         [BZ #13114]
45210         * stdio-common/Makefile (tests): Add bug24.
45211         * stdio-common/bug24.c: New file.
45212
45213 2011-08-19  Andreas Jaeger  <aj@suse.de>
45214
45215         [BZ #13114]
45216         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45217         non-existant file when using close-on-exec mode.
45218
45219 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45220
45221         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45222         the very first instruction.
45223
45224         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45225         the CFI state in the end.
45226         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45227         inclusion of dl-trampoline.h.
45228         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45229
45230 2011-08-19  Andreas Schwab  <schwab@redhat.com>
45231
45232         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45233         expectations for long double.
45234
45235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45236         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45237
45238 2011-08-14  David S. Miller  <davem@davemloft.net>
45239
45240         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45241         artificual limit depends upon the system page size.
45242
45243 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45244
45245         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45246         * resolv/Makefile: Define CFLAGS-libresolv.
45247
45248 2011-08-17  Andreas Schwab  <schwab@redhat.com>
45249
45250         * nss/makedb.c (compute_tables): Make variables used in nested
45251         function static.
45252
45253 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45254
45255         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45256         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45257         if buffer was too small.
45258
45259         * elf/pldd.c (main): Attach to all threads in the process.
45260         Rewrite /proc handling to use *at functions.
45261
45262 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
45263
45264         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45265         specifies first scope to show.
45266         (dl_open_worker): Update callers.  Move printing scope of new
45267         object to before the relocation.
45268         * elf/rtld.c (dl_main): Update _dl_show_scope call.
45269         * sysdeps/generic/ldsodefs.h: Update declaration.
45270
45271         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45272         string for the scope number.
45273
45274 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
45275
45276         * nscd/servicescache.c (cache_addserv): Make sure written is always
45277         initialized.
45278
45279 2011-08-14  Roland McGrath  <roland@hack.frob.com>
45280
45281         * sysdeps/i386/i486/bits/atomic.h
45282         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45283         statement expression, so as to suppress "set but not used" warning.
45284         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45285
45286         * string/strncat.c (STRNCAT): Use prototype definition.
45287
45288         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45289         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45290         -Iprograms here.
45291         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45292         (localedef-modules): Add localedef.
45293         (locale-modules): Add locale.
45294
45295         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45296         * elf/rtld.c (dl_main): Invert order of assignment in last change,
45297         to avoid a warning.
45298
45299 2011-08-14  David S. Miller  <davem@davemloft.net>
45300
45301         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45302         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45303
45304 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
45305
45306         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45307         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45308         * elf/rtld.c (dl_main): Set l_name of vDSO.
45309         Call _dl_show_scope when DL_DEBUG_SCOPES.
45310         (process_dl_debug): Recognize scopes flag and also set it for all.
45311         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45312         Declare _dl_show_scope.
45313
45314         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45315         (do_dlopen): Pass caller_dlopen to dl_open.
45316         (__libc_dlopen_mode): Initialize caller_dlopen.
45317
45318         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45319         of libc.  Make tolower call locale-independent.  Optimize a bit by
45320         using isdigit instead of isalnum.
45321         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45322
45323 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
45324
45325         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45326         was a dependency or dynamically loaded.
45327
45328 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
45329
45330         * intl/l10nflist.c: Allow architecture-specific pop function.
45331         * sysdeps/x86_64/l10nflist.c: New file.
45332
45333         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45334         classification.
45335
45336 2011-08-10  Andreas Schwab  <schwab@redhat.com>
45337
45338         * include/dirent.h: Add libc_hidden_proto for scandirat and
45339         scandirat64.  Don't declare __scandirat64.
45340         * dirent/scandirat.c: Add libc_hidden_def.
45341         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45342         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45343
45344 2011-08-10  David S. Miller  <davem@davemloft.net>
45345
45346         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45347         enum.
45348         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45349         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45350         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45351
45352 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
45353
45354         * Versions.def [libc]: Add GLIBC_2.15.
45355         * dirent/Makefile (routines): Add scandirat and scandirat64.
45356         * dirent/Versions [libc]: Export scandirat and scandirat64 for
45357         GLIBC_2.15.
45358         * dirent/dirent.h: Declare scandirat and scandirat64.
45359         * dirent/scandirat.c: New file.
45360         * dirent/scandirat64.c: New file.
45361         * sysdeps/wordsize-64/scandirat.c: New file.
45362         * sysdeps/wordsize-64/scandirat64.c: New file.
45363         * dirent/opendir.c: Define opendirat.
45364         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
45365         using scandirat.
45366         * dirent/scandir64.c: Adjust for scandir.c change.
45367         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
45368         __scandirat64, and __scandir_cancel_handler.
45369         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
45370         additional parameter and use openat instead of open (outside of ld.so).
45371         Add new __opendir as wrapper around __opendirat.
45372         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45373         here without requiring old scandirat implementation.
45374
45375 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
45376
45377         * dirent/scandir.c (cancel_handler): Renamed to
45378         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
45379         defined.  Adjust users.
45380         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45381         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45382
45383 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
45384
45385         * string/test-string.h (IMPL): Use __STRING to expand name and then
45386         stringify it.
45387
45388         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
45389         of cleanups.
45390
45391 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45392
45393         * string/Makefile: Update.
45394         (strop-tests): Append strncat.
45395         * string/test-wcscmp.c: New file.
45396         New comprehensive test for wcscmp.
45397         * string/test-strcmp.c: Update.
45398         (WIDE): New define.
45399
45400 2011-07-22  Andreas Schwab  <schwab@redhat.com>
45401
45402         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45403         line.
45404
45405 2011-07-26  Andreas Schwab  <schwab@redhat.com>
45406
45407         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45408         encoding to ACE if AI_IDN.
45409
45410 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
45411
45412         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45413         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45414
45415 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45416
45417         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45418         Fix overflow bug in strncat.
45419         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45420
45421         * string/test-strncat.c: Update.
45422         Add new tests for checking overflow bugs.
45423
45424 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45425
45426         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45427         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45428         * sysdeps/i386/i686/multiarch/strcat.S: New file.
45429         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45430         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45431         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45432         * sysdeps/i386/i686/multiarch/strncat.S: New file.
45433         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45434         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45435
45436         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45437         (USE_AS_STRCAT): Define.
45438         Add strcat and strncat support.
45439         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45440
45441 2011-07-25  Andreas Schwab  <schwab@redhat.com>
45442
45443         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45444         __n bigger than INT_MAX+1.
45445         (__strncmp_g): Likewise.
45446
45447 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
45448
45449         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45450         * libio/stido.h: Likewise.
45451
45452         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45453         (AF_NFC): Define.
45454         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45455         (AF_NFC): Define.
45456
45457         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45458         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45459         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45460         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45461         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45462
45463         [BZ #13021]
45464         * scripts/test-installation.pl: Don't expect libnss_test1 to be
45465         installed.
45466
45467         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45468         typo.
45469         (_dl_x86_64_save_sse): Likewise.
45470
45471 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
45472
45473         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45474         OSXSAVE.
45475         (_dl_x86_64_save_sse): Likewise.
45476
45477         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45478
45479         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45480
45481 2011-07-21  Andreas Schwab  <schwab@redhat.com>
45482
45483         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45484         change.
45485         (_dl_x86_64_save_sse): Use correct AVX check.
45486
45487 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45488
45489         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45490         bug in strncpy/strncat.
45491         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45492
45493 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
45494
45495         * string/tester.c (test_strcat): Add tests for different alignments
45496         of source and destination.
45497         (test_strncat): Likewise.
45498
45499 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45500
45501         [BZ #12852]
45502         * posix/glob.c (glob): Check passed in values before using them in
45503         expressions to avoid some overflows.
45504         (glob_in_dir): Likewise.
45505
45506         [BZ #13007]
45507         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45508         check for AVX enablement so that we don't crash with old kernels and
45509         new hardware.
45510         * elf/tst-audit4.c: Add same checks here.
45511         * elf/tst-audit6.c: Likewise.
45512
45513         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45514
45515 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
45516
45517         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45518
45519 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45520
45521         * po/cs.po: Update from translation team.
45522         * po/bg.po: Likewise.
45523
45524 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
45525
45526         * misc/sys/cdefs.h: Add support for const attribute.
45527         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45528         to gnu_dev_{major,minor,makedev} functions.
45529
45530 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
45531
45532         * intl/dcigettext.c (get_output_charset): Add missing bracket.
45533
45534 2011-07-20  Andreas Schwab  <schwab@redhat.com>
45535
45536         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45537         strlen results.
45538
45539 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45540
45541         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45542         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45543         register in order to avoid conflicts with the soft frame pointer
45544         being held in r11 when necessary.
45545         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45546         (INTERNAL_VSYSCALL_NCS): Likewise.
45547
45548 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
45549
45550         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45551         * elf/dl-fini.c (_dl_fini): Adjust caller.
45552         * elf/dl-close.c (_dl_close_worker): Likewise.
45553         * sysdeps/generic/ldsodefs.h: Adjust declaration.
45554
45555 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45556
45557         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45558         "aux_cache->nlibs < 0".
45559
45560         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45561         in the reload-count case.
45562
45563 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45564
45565         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45566         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45567         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45568         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45569         * sysdeps/x86_64/multiarch/strcat.S: New file.
45570         * sysdeps/x86_64/multiarch/strncat.S: New file.
45571         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45572         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45573         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45574         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45575         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45576         (USE_AS_STRCAT): Define.
45577         Add strcat and strncat support.
45578         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45579         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45580         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45581         * string/strncat.c: Update.
45582         (USE_AS_STRNCAT): Define.
45583         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45584         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45585         and i7.
45586         * sysdeps/x86_64/multiarch/init-arch.h
45587         (bit_Prefer_PMINUB_for_stringop): New.
45588         (index_Prefer_PMINUB_for_stringop): Likewise.
45589         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45590         bit_Prefer_PMINUB_for_stringop.
45591
45592 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45593
45594         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45595         buffer64.
45596         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45597         of casting of buffer.
45598         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45599         buffer32 and buffer64.
45600         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45601         writes instead of casting of buffer.
45602         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45603         buffer32.
45604         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45605         casting of buffer.
45606
45607 2011-07-19  Andreas Schwab  <schwab@redhat.com>
45608
45609         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45610
45611 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45612
45613         * nscd/nscd.c (termination_handler): Don't do anything for a database
45614         if it has not yet been initialized.
45615
45616 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45617
45618         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45619
45620 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45621
45622         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45623
45624 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45625
45626         * po/nl.po: Update from translation team.
45627         * po/sv.po: Likewise.
45628
45629 2011-07-16  Roland McGrath  <roland@hack.frob.com>
45630
45631         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45632         now disallowed by GCC.
45633
45634         * configure.in (use-default-link): Default to yes if a test -shared
45635         link meets our qualifications.
45636         * configure: Regenerated.
45637
45638         * config.make.in (output-format): New variable.
45639         * configure.in: Check for ld --print-output-format support.
45640         * configure: Regenerated.
45641         * Makerules ($(common-objpfx)format.lds)
45642         [$(output-format) != unknown]: Just use $(output-format),
45643         instead of the linker-script munging.
45644
45645 2011-07-14  Roland McGrath  <roland@hack.frob.com>
45646
45647         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45648         of $(common-objpfx)shlib.lds.
45649         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45650
45651         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45652         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45653
45654         * configure.in (-z relro check): Adjust test code to add a large
45655         writable data section after it.
45656         * configure: Regenerated.
45657
45658 2011-07-11  Roland McGrath  <roland@hack.frob.com>
45659
45660         * configure.in (-z relro check): Fix test code to make the variable
45661         truly const.
45662         * configure: Regenerated.
45663
45664 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
45665
45666         * nscd/nscd.h (struct traced_file): Define.
45667         (struct database_dyn): Remove inotify_descr, reset_res, and filename
45668         elements.  Add traced_files.
45669         (inotify_fd): Declare.
45670         (register_traced_file): Declare.
45671         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45672         (inotify_fd): Export.
45673         (resolv_conf_descr): Remove.
45674         (nscd_init): Move inotify descriptor creation to main.
45675         Don't register files for notification here.
45676         (register_traced_file): New function.
45677         (invalidate_cache): Don't use reset_res to determine whether to call
45678         res_init, go through the list of registered files.
45679         (main_loop_poll): The inotify descriptors are now stored in the
45680         structures for the traced files.
45681         (main_loop_epoll): Likewise
45682         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
45683         to __nss_disable_nscd.
45684         * nscd/cache.c (prune_cache): There is no single inotify descriptor
45685         for a database anymore.  Check the records for all the registered
45686         files instead.
45687         * nss/Makefile (libnss_files-routines): Add files-init.
45688         (libnss_db-routines): Add db-init.
45689         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45690         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45691         * nss/nss_db/db-init.c: New file.
45692         * nss/nss_files/files-init.c: New file.
45693         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
45694         __nss_lookup_function.
45695         (__nss_lookup_function): Call nss_load_library.
45696         (nss_load_all_libraries): New function.
45697         (__nss_disable_nscd): Take parameter with callback function for files
45698         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
45699         used for the cached services.
45700         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45701         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45702         options for features to all the files in nscd.
45703
45704         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45705
45706 2011-07-10  Roland McGrath  <roland@hack.frob.com>
45707
45708         * csu/elf-init.c (__libc_csu_init): Comment typo.
45709
45710 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
45711
45712         * po/pl.po: Update from translation team.
45713         * po/ja.po: Likewise.
45714         * po/ru.po: Likewise.
45715         * po/ko.po: Likewise.
45716         * po/fr.po: Likewise.
45717
45718 2011-07-09  Roland McGrath  <roland@hack.frob.com>
45719
45720         * configure.in (.ctors/.dtors header and trailer check):
45721         Use an empirical test on a built program.
45722         * configure: Regenerated.
45723
45724         * configure.in (-z relro check): Use an empirical test on a built DSO.
45725         Detect, but do not require, on ia64.
45726         * configure: Regenerated.
45727
45728         * configure.in (READELF): Find it with AC_CHECK_TOOL.
45729         Update tests that use readelf to use $READELF instead.
45730         * configure: Regenerated.
45731
45732 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
45733
45734         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45735         if the result is not used.
45736
45737 2011-07-05  Andreas Jaeger  <aj@suse.de>
45738
45739         [BZ#9696]
45740         * stdlib/tst-strtod.c: Add testcase.
45741
45742 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
45743
45744         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45745         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45746         The latter has a higher limit.  Take additional parameter to pass to
45747         the new function.
45748         (__pathconf): Pass file to __statfs_link_max.
45749         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45750         __statfs_link_max.
45751         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45752         __statfs_link_max.
45753
45754         [BZ #12868]
45755         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45756         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45757         Handle Lustre.
45758         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45759         (__statfs_filesize_max): Likewise.
45760         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45761
45762 2011-07-05  Andreas Jaeger  <aj@suse.de>
45763
45764         * resolv/res_comp.c (dn_skipname): Remove unused variable.
45765
45766 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
45767
45768         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45769         `status' variable.
45770         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45771         Likewise.
45772
45773 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
45774
45775         * Makefile (strop-tests): Add strncat.
45776         * string/test-strncat.c: New file.
45777
45778 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
45779
45780         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45781
45782 2011-06-21  Andreas Jaeger  <aj@suse.de>
45783
45784         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45785         Copy rule from iconvdata/Makefile.
45786
45787 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45788
45789         [BZ #12922]
45790         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45791         but no long options are defined, just return 'W'.
45792
45793 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
45794
45795         [BZ #9696]
45796         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45797
45798 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45799
45800         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45801         netgroups to read.
45802         (innetgr): Likewise.
45803
45804 2011-07-05  Roland McGrath  <roland@hack.frob.com>
45805
45806         * config.make.in (install_root): Default to $(DESTDIR).
45807
45808 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
45809
45810         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45811
45812 2011-07-02  Roland McGrath  <roland@hack.frob.com>
45813
45814         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45815
45816         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45817         containing directory rather than embedding absolute directory names.
45818
45819         * scripts/check-local-headers.sh: Rewritten using awk.
45820         Match by word, not by line.  Print error messages for matches.
45821         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45822
45823         * Makerules [shlib-lds-flags empty]:
45824         ($(common-objpfx)libc_pic.opts): New target.
45825         ($(common-objpfx)libc_pic.os.clean): New target.
45826         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45827
45828         * config.make.in (OBJCOPY): New variable.
45829         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45830         * configure: Regenerated.
45831
45832         * config.make.in (use-default-link): New variable.
45833         * configure.in (use_default_link): Grok --with-default-link to set it.
45834         * configure: Regenerated.
45835         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45836         (shlib-lds, shlib-lds-flags): Define to empty.
45837
45838         * Makerules (shlib-lds): New variable.
45839         (shlib-lds-flags): New variable.
45840         (build-shlib, build-moduile, build-module-asneeded): Use it.
45841         ($(common-objpfx)libc.so): Use $(shlib-lds).
45842         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45843         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45844
45845         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45846         DT_FLAGS/DT_FLAGS_1 with zero flags.
45847
45848         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45849         linker script munging.
45850
45851 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
45852
45853         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45854         as 128-bit value.
45855         * crypt/sha512.c (sha512_process_block): Perform total addition using
45856         128-bit if possible.
45857         (__sha512_finish_ctx): Likewise.
45858         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45859         as 64-bit value.
45860         * crypt/sha256.c (SWAP64): Define.
45861         (sha256_process_block): Perform total addition using 64-bit if
45862         possible.
45863         (__sha256_finish_ctx): Likewise.
45864
45865 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
45866
45867         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
45868         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45869         * nscd/hstcache.c (cache_addhst): Likewise.
45870         * nscd/grpcache.c (cache_addgr): Likewise.
45871         * nscd/aicache.c (addhstaiX): Likewise
45872         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45873
45874 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
45875
45876         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45877         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45878         * nscd/hstcache.c (cache_addhst): Likewise.
45879         * nscd/grpcache.c (cache_addgr): Likewise.
45880         * nscd/aicache.c (addhstaiX): Likewise
45881
45882 2011-07-01  Andreas Schwab  <schwab@redhat.com>
45883
45884         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45885         domain only when needed.
45886
45887 2011-06-30  Andreas Schwab  <schwab@redhat.com>
45888
45889         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45890         is always restored.
45891
45892 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
45893
45894         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45895         are re-adding the entry.
45896         * nscd/servicescache.c (cache_addserv): Likewise.
45897
45898 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
45899
45900         * sysdeps/generic/dl-irel.h: fix protection against multiple
45901         inclusions.
45902         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45903
45904 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
45905
45906         [BZ #12935]
45907         * malloc/memusage.sh: Fix quoting in message.
45908         * debug/xtrace.sh: Likewise.
45909
45910         * configure.in: Remove support for --experimental-malloc option, make
45911         it the default.
45912         * config.make.in: Likewise.
45913         * malloc/Makefile: Likewise.
45914
45915 2011-06-27  Andreas Schwab  <schwab@redhat.com>
45916
45917         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45918         two-byte characters.
45919
45920 2011-06-27  Roland McGrath  <roland@hack.frob.com>
45921
45922         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45923         AC_CACHE_CHECK invocation.
45924         * configure: Regenerated.
45925
45926         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45927
45928 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
45929
45930         [BZ #12350]
45931         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
45932         bit from old_res_options.
45933
45934         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45935
45936         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45937         value type for setfct.
45938
45939 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
45940
45941         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45942         __gettimeofday instead of gettimeofday.
45943
45944 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
45945
45946         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45947
45948 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
45949
45950         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45951
45952         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45953         info.
45954
45955 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45956
45957         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45958         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45959         strcpy-sse2-unaligned strncpy-sse2-unaligned
45960         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45961         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45962         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45963         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45964         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45965         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45966         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45967         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45968         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45969         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45970         (STRCPY): Support SSE2 and SSSE3 versions.
45971
45972 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
45973
45974         [BZ #12874]
45975         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45976         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45977         kernels which artificially limit size of requests.
45978
45979 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45980
45981         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45982         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45983         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45984         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45985         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45986         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45987         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45988         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45989         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45990         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45991         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45992         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45993         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45994         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45995         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45996         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45997         Enable unaligned load optimization for Intel Core i3, i5 and i7
45998         processors.
45999         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46000         Define.
46001         (index_Fast_Unaligned_Load): Define.
46002         (HAS_FAST_UNALIGNED_LOAD): Define.
46003
46004 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
46005
46006         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46007
46008 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46009
46010         [BZ #12907]
46011         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46012         until it is clear that the information is realy needed.
46013         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46014
46015 2011-06-22  Andreas Schwab  <schwab@redhat.com>
46016
46017         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46018
46019 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46020
46021         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46022         /sys/devices/system/cpu/online if it is usable.
46023
46024         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46025         reading the information from the /proc filesystem to once a second.
46026
46027 2011-06-21  Andreas Jaeger  <aj@suse.de>
46028
46029         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46030         NULL after inclusion of kernel headers.
46031
46032 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
46033
46034         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46035         calls to internal_setent.
46036
46037         [BZ #12885]
46038         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46039         addresses using gethostbyname4_r ignore IPv4 addresses.
46040
46041         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46042         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
46043
46044         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46045
46046 2011-06-20  David S. Miller  <davem@davemloft.net>
46047
46048         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46049         inclusions.
46050         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46051
46052         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46053         (elf_irel): Use it.
46054         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46055         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46056         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46057         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46058         * sysdeps/x86_64/dl-irel.h: Likewise.
46059
46060         * elf/dl-runtime.c: Use elf_ifunc_invoke.
46061         * elf/dl-sym.c: Likewise.
46062
46063 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46064
46065         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
46066         need to dereference resplen2.
46067
46068 2011-06-14  Andreas Schwab  <schwab@redhat.com>
46069
46070         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46071
46072 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46073
46074         * Makeconfig: Define vardbdir and inst_vardbdir.
46075         * nss/Makefile: Add rules to install db-Makefile.
46076
46077         * nss/nss_db/db-XXX.c: Cleanup.
46078
46079         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46080         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46081         GLIBC_PRIVATE.
46082         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46083         * nss/makedb.c: Implement -g option to specify that value strings
46084         are generated and should not be added to table iterated over for
46085         get*ent calls.
46086         * nss/nss_db/db-initgroups.c: New file.
46087
46088         * nss/getent.c: Add support for initgroups lookups through getgrouplist
46089         interface.
46090
46091         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46092         (internal_getgrouplist): Adjust to name change.
46093         Update use_initgroups_entry if this is not the first call.
46094         * nss/databases.def: Add initgroups entry.
46095
46096         * nss/makedb.c (compute_tables): Check result of multiple hash table
46097         sizes to minimize maximum chain length.
46098
46099 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
46100
46101         * Versions.def: Add entry for libnss_db.
46102         * shlib-versions: Likewise.
46103         * nss/Makefile: Add rules to build libnss_db.
46104         * nss/Versions: Add libnss_db information.  Organize libnss_files
46105         entries better.
46106         * nss/db-Makefile: Add gshadow support.  Change rules for the new
46107         makedb progra.  Some minor improvements to generate smaller files.
46108         * nss/nss_db/nss_db.h: Move NSS database header data structures to
46109         here from...
46110         * nss/makedb.c: ...here.
46111         Improve database format to be smaller and require less memory at
46112         runtime.
46113         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
46114         db anymore.
46115         * nss/nss_db/db-netgrp.c: Likewise.
46116         * nss/nss_db/db-open.c: Likewise.
46117         * nss/nss_files/flies-XXX.x: Adjust comments.
46118         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46119         * nss/nss_files/files-grp.c: Likewise.
46120         * nss/nss_files/files-hosts.c: Likewise.
46121         * nss/nss_files/files-network.c: Likewise.
46122         * nss/nss_files/files-proto.c: Likewise.
46123         * nss/nss_files/files-pwd.c: Likewise.
46124         * nss/nss_files/files-rpc.c: Likewise.
46125         * nss/nss_files/files-service.c: Likewise.
46126         * nss/nss_files/files-sgrp.c: Likewise.
46127         * nss/nss_files/files-spwd.c: Likewise.
46128         * nss/nss_db/db-alias.c: Removed.
46129         * nss/nss_db/dummy-db.h: Removed.
46130
46131 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
46132
46133         * nss/makedb.c: Rewritten to not use database library.
46134         * nss/Makefile: Update to build new makedb program.
46135
46136 2011-06-14  Andreas Jaeger  <aj@suse.de>
46137
46138         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46139         memset declaration.
46140
46141 2011-06-10  Andreas Schwab  <schwab@redhat.com>
46142
46143         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46144         tmpbuf.
46145
46146 2011-06-10  Roland McGrath  <roland@hack.frob.com>
46147
46148         * Makerules (shlib.lds): Fail if the linker script comes out empty.
46149         * elf/Makefile ($(objpfx)ld.so): Likewise.
46150
46151         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46152         Don't list ld.so twice in dependencies.
46153
46154         * posix/bug-regex31.c: Include <stdlib.h>.
46155
46156         * nscd/hstcache.c (cache_addhst): Remove unused variable.
46157
46158         * nis/nss_compat/compat-spwd.c
46159         (getspent_next_nss_netgr): Remove unused variable.
46160         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46161
46162         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46163         nonmembers" output to use the right array.
46164
46165         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46166
46167         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46168
46169         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46170         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46171         * catgets/gencat.c (read_input_file): Likewise.
46172         * locale/programs/locarchive.c (enlarge_archive): Likewise.
46173
46174         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46175         variable definition inside #if's controlling its use.
46176
46177         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46178
46179         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46180
46181         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46182
46183         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46184         unreachable code.
46185
46186         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46187
46188         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46189         * configure: Regenerated.
46190
46191         * Makerules: Revert last change.
46192         * elf/Makefile: Likewise.
46193
46194 2011-06-09  Roland McGrath  <roland@hack.frob.com>
46195
46196         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46197         * elf/Makefile ($(objpfx)librtld.os): Likewise.
46198         (reloc-link): Likewise.
46199
46200 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
46201
46202         * elf/Makefile: Add rules to build pldd.
46203         * elf/pldd.c: New file.
46204         * elf/pldd-xx.c: New file.
46205
46206 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
46207
46208         * version.h: Update for 2.15 development version.
46209
46210 2011-06-07  David S. Miller  <davem@davemloft.net>
46211
46212         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46213         ifuncs.
46214         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46215         elf_machine_lazy_rel): Likewise.
46216         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46217         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46218         elf_machine_lazy_rel): Likewise.
46219         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46220         dl_hwcap via passed in argument.
46221         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46222         Likewise.
46223
46224 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46225
46226         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
46227
46228 2011-06-06  Roland McGrath  <roland@hack.frob.com>
46229
46230         [BZ #12849]
46231         * manual/fdl-1.1.texi: New file, verbatim from:
46232         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46233         * manual/lgpl-2.1.texi: New file, verbatim from:
46234         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46235         * manual/Makefile (licenses): New variable, list those new file names.
46236         (texis): Use it.
46237         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46238
46239         * manual/fdl.texi: File removed.
46240         * manual/lesser.texi: File removed.
46241         * manual/libc.texinfo (Copying, Documentation License):
46242         Use new @include file names, put @appendix directive before @include.
46243
46244 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
46245
46246         [BZ #12841]
46247         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46248         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46249         (mq_open): Add __NTH.
46250
46251 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
46252
46253         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46254         Assume Intel Core i3/i5/i7 processor if AVX is available.
46255
46256 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46257
46258         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46259         typo.
46260
46261 2011-05-31  Andreas Schwab  <schwab@redhat.com>
46262
46263         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46264         memory.  Use alloca_account.  Fix memory leak when retrying.
46265
46266 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46267
46268         * version.h (RELEASE): Bump for 2.14 release.
46269         * include/features.h (__GLIBC_MINOR__): Bump to 14.
46270
46271         * config.make.in (RANLIB): Remove entry.
46272
46273 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
46274
46275         * po/Makefile (po-sed-cmd): Add ksh to extensions.
46276         (libc.pot): Work around missing support for .ksh extension in xgettext.
46277
46278         [BZ #12684]
46279         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46280         if both request failed.
46281         (send_dg): In case of server errors clear resplen or *resplen2.
46282
46283         [BZ #12454]
46284         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46285         when there are multiple maps.
46286         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46287         (_dl_fini): Remove test here.
46288
46289         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46290
46291 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
46292
46293         [BZ #12350]
46294         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46295         bit from old_res_options.
46296         (gaih_inet): Likewise.
46297
46298         [BZ #11099]
46299         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46300         as signed.
46301
46302         * resolv/res_init.c (res_setoptions): Make the code more compact.
46303
46304         [BZ #11558]
46305         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46306         set RES_USEVC.
46307
46308         [BZ #11634]
46309         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46310
46311         * malloc/malloc.h: Mark malloc hook variables as deprecated.
46312
46313         [BZ #11781]
46314         * malloc/malloc.h: Declare malloc hook variables as volatile.
46315
46316         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46317         in last patch.
46318
46319         [BZ #11799]
46320         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46321         raise in the comment.
46322         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46323         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46324         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46325
46326 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
46327
46328         [BZ #12811]
46329         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46330         grow the buffers more if it already has to be sufficient.
46331         (build_wcs_upper_buffer): Likewise.
46332         * posix/regexec.c (check_matching): Likewise.
46333         (clean_state_log_if_needed): Likewise.
46334         (extend_buffers): Don't enlarge buffers beyond size of the input
46335         buffer.
46336         Patches mostly by Emil Wojak <emil@wojak.eu>.
46337         * posix/bug-regex32.c: New file.
46338         * posix/Makefile (tests): Add bug-regex32.
46339
46340         * locale/findlocale.c (_nl_find_locale): Return right away if
46341         _nl_explode_name failed.
46342         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46343
46344         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46345
46346         * debug/xtrace.sh: Unify messages.
46347         * malloc/memusage.sh: Likewise.
46348
46349         [BZ #12813]
46350         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46351         time symbol from vDSO.  Substitute with vsyscall if not available.
46352         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46353         __vdso_time.
46354
46355         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46356         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46357         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46358         Add sendmmsg and internal_sendmmsg.
46359         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46360         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46361         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46362
46363         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46364         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46365         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46366
46367 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
46368
46369         [BZ #12813]
46370         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46371         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
46372         available.
46373         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46374         __vdso_getcpu.
46375
46376         [BZ #12814]
46377         * iconvdata/Makefile (tests): Add bug-iconv9.
46378         * iconvdata/bug-iconv9.c: New file.
46379
46380 2011-05-27  Andreas Schwab  <schwab@redhat.com>
46381
46382         [BZ #12814]
46383         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46384
46385 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
46386
46387         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46388         (struct user_regs_struct): Change intcs field back to cs.
46389
46390 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
46391
46392         * po/ja.po: Update from translation team.
46393
46394 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
46395
46396         [BZ #12795]
46397         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46398         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46399
46400 2011-05-20  Andreas Schwab  <schwab@redhat.com>
46401
46402         * stdlib/longlong.h: Update from GCC.
46403
46404 2011-05-23  Andreas Schwab  <schwab@redhat.com>
46405
46406         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46407         parameter name.
46408         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46409         Add parameter name.
46410         (__sysconf): Pass it down.
46411
46412 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
46413
46414         [BZ #12671]
46415         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46416         some situations.
46417         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46418         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46419         add in in __libc_use_alloca calls.  Adjust callers.
46420         (glob): Use malloc in some situations.
46421
46422         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46423         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46424         pltexit.
46425
46426 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
46427
46428         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46429         and CLOCK_BOOTTIME_ALARM.
46430
46431         [BZ #12782]
46432         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46433         is returned.
46434
46435         * string/_strerror.c (__strerror_r): Print negative errors as signed
46436         numbers.
46437
46438         [BZ #12777]
46439         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46440         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46441         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46442
46443         * configure.in: Fix typo in redirection and correct removal of test
46444         files in two cases.
46445
46446         [BZ #12788]
46447         * locale/setlocale.c (new_composite_name): Fix test to check for
46448         identical name of all categories.
46449
46450         [BZ #12792]
46451         * libio/filedoalloc.c (local_isatty): New function.
46452         (_IO_file_doallocate): Use local_isatty.
46453         * stdio-common/perror.c (perror): In case a new stream is used
46454         forward the stream error.
46455         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46456         error flag.
46457
46458 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
46459
46460         [BZ #11869]
46461         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46462         alloca.
46463         * include/alloca.h (extend_alloca_account): Define.
46464
46465         [BZ #11857]
46466         * posix/regex.h: Fix comments with documentation of user-accessible
46467         fields after compilation and describe correct free'ing of pattern
46468         after re_compile_pattern.
46469         Patch by Reuben Thomas <rrt@sc3d.org>.
46470
46471 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
46472
46473         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46474         and -mno-altivec to prevent the compiler from using Altivec and/or
46475         VSX instructions when the corresponding registers are not available.
46476
46477 2011-05-19  Andreas Schwab  <schwab@redhat.com>
46478
46479         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46480
46481 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
46482
46483         * libio/freopen.c (freopen): Use __dup2, not dup2.
46484         * libio/freopen64.c (freopen64): Likewise.
46485
46486 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46487
46488         [BZ #12775]
46489         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46490         * math/Makefile (tests): Add test-powl.
46491         (CFLAGS-test-powl.c): Define.
46492         * math/test-powl.c: New file.
46493
46494 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46495
46496         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46497
46498 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
46499
46500         [BZ #11837]
46501         * iconvdata/gb18030.c: Update to GB18020-2005.
46502
46503 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
46504
46505         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46506         RE_SYNTAX_POSIX_AWK): Update to match recent development.
46507         Patch by Aharon Robbins <arnold@skeeve.com>.
46508
46509         [BZ #11892]
46510         * stdlib/putenv.c (putenv): Don't always create copy of the variable
46511         on the stack.
46512
46513         [BZ #11895]
46514         * misc/pselect.c (__pselect): Handle timeout value errors hidden
46515         through underflows.
46516
46517         [BZ #12766]
46518         * misc/error.c (error_at_line): Ensure file_name and old_file_name
46519         point to strings before performing equality test for error_one_per_line
46520         mode.
46521
46522         [BZ #11697]
46523         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46524
46525         [BZ #11820]
46526         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46527         (struct user_fpregs_struct): Avoid __uint*_t types.
46528
46529         [BZ #6420]
46530         * malloc/mtrace.c (tr_where): Add additional parameter to point to
46531         symbol info.  Use it instead of calling _dl_addr locally.
46532         (lock_and_info): New function.
46533         (tr_freehook): Call lock_and_info and pass symbol info as additional
46534         parameter to tr_where.
46535         (tr_mallochook): Likewise.
46536         (tr_reallochook): Likewise.
46537         (tr_memalignhook): Likewise.
46538
46539         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
46540         used and couldn't be at all thread-safe.
46541
46542 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
46543
46544         * libio/freopen.c (freopen): Don't close old file descriptor
46545         before the new one is opened.  Instead dup the new file descriptor
46546         to the old one after the new stream is created.
46547         * libio/freopen64.c (freopen64): Likewise.
46548         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46549         * libio/fileops.c (_IO_new_file_close_it): Handle new
46550         _IO_FLAGS2_NOCLOSE flag.
46551         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46552         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46553         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46554         _IO_FLAGS2_NOCLOSE flag.
46555         * include/unistd.h: Add hidden_proto for dup3.
46556         Define __have_dup3.
46557         * io/dup3.c: Define hidden symbol.
46558         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46559
46560         [BZ #7101]
46561         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46562         when an incomplete long option is used.
46563         * posix/tst-getopt_long1.c: New file.
46564         * posix/Makefile (tests): Add tst-getopt_long1.
46565
46566         [BZ #10138]
46567         * scripts/config.guess: Update from autoconf-2.68.
46568         * scripts/config.sub: Likewise.
46569
46570         [BZ #10157]
46571         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46572         tests into ...
46573         (has_cpuclock): ...this.  New function.
46574         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46575         macro here based on has_cpuclock code.
46576
46577         [BZ #10149]
46578         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46579         First byte (not low byte) is now always NUL.
46580         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46581
46582         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46583         Use non-cancelable interfaces.
46584
46585         [BZ #9809]
46586         * locale/iso-639.def: Add entry for Sorani.
46587
46588         [BZ #11901]
46589         * include/stdlib.h: Move include protection to the right place.
46590         Define abort_msg_s.  Declare __abort_msg with it.
46591         * stdlib/abort.c (__abort_msg): Adjust type.
46592         * assert/assert.c (__assert_fail_base): New function.  Majority
46593         of code from __assert_fail.  Allocate memory for __abort_msg with
46594         mmap.
46595         (__assert_fail): Now call __assert_fail_base.
46596         * assert/assert-perr.c: Remove bulk of implementation.  Use
46597         __assert_fail_base.
46598         * include/assert.hL Declare __assert_fail_base.
46599         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46600         mmap.
46601         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46602
46603 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
46604
46605         [BZ #11952]
46606         [BZ #12453]
46607         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46608         until all modules are registered in the DTV.
46609         * elf/Makefile: Add rules to build and run tst-tls19.
46610         * elf/tst-tls19.c: New file.
46611         * elf/tst-tls19mod1.c: New file.
46612         * elf/tst-tls19mod2.c: New file.
46613         * elf/tst-tls19mod3.c: New file.
46614         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46615
46616         [BZ #12083]
46617         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46618         correctly.
46619
46620         [BZ #12601]
46621         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46622         two-byte sequence errors.
46623         * iconvdata/Makefile (tests): Add bug-iconv8.
46624         * iconvdata/bug-iconv8.c: New file.
46625
46626         [BZ #12626]
46627         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46628         buf2 definition.
46629
46630         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46631
46632         [BZ #12432]
46633         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46634         (dummy_getcfa): New function.
46635         (init): Get _Unwind_GetCFA address, use dummy if not found.
46636         (backtrace_helper): In recursion check, also check whether CFA changes.
46637         (__backtrace): Completely initialize arg.
46638
46639         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46640         storing incomplete byte sequence in state object.  Avoid testing for
46641         guaranteed too small input if we know there is enough data available.
46642
46643 2011-05-11  Andreas Schwab  <schwab@redhat.com>
46644
46645         * Makeconfig (+link-pie): Indent.
46646         * Rules (binaries-pie): Define if $(have-fpie) and
46647         $(build-shared).
46648         (binaries-shared): Also filter out $(binaries-pie).
46649         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46650         * nscd/Makefile (others-pie): Add nscd.
46651         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46652         ($(objpfx)nscd): Remove command override.
46653         * login/Makefile (others-pie): Add pt_chown.
46654         ($(objpfx)pt_chown): Remove command override.
46655         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46656         remove command overrides.
46657
46658 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
46659
46660         * libio/tst_putwc.c: Fix error messages.
46661
46662         [BZ #12724]
46663         * libio/fileops.c (_IO_new_file_close_it): Always flush when
46664         currently writing and seek to current position when not.
46665         * libio/Makefile (tests): Add bug-fclose1.
46666         * libio/bug-fclose1.c: New file.
46667
46668 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
46669
46670         [BZ #12511]
46671         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46672         don't set DF_1_NODELETE here.
46673         (do_lookup_x): When entering new entry test for copy relocation
46674         and if necessary set DF_1_NODELETE flag.
46675         * elf/tst-unique4.cc: New file.
46676         * elf/tst-unique4.h: New file.
46677         * elf/tst-unique4lib.cc: New file.
46678         * elf/Makefile: Add rules to build and run tst-unique4.
46679         Patch by Piotr Bury <pbury@goahead.com>.
46680
46681 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
46682
46683         [BZ #12052]
46684         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46685
46686         [BZ #12625]
46687         * misc/mntent_r.c (addmntent): Flush the stream after the output
46688
46689         [BZ #12393]
46690         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46691         (is_trusted_path_normalize): Skip initial colon.  Append slash
46692         to empty buffer.  Duplicate is_trusted_path code but allow
46693         constructed patch to be prefix.
46694         (is_dst): Allow $ORIGIN followed by /.
46695         (_dl_dst_substitute): Correct clearing of check_for_trusted.
46696         Correct testing of result of is_trusted_path_normalize
46697         (decompose_rpath): Fix warning.
46698
46699 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
46700
46701         [BZ #11257]
46702         * grp/initgroups.c (internal_getgrouplist): When we found the service
46703         list through the initgroups entry in nsswitch.conf do not always
46704         continue on a successful lookup.  Don't always use the
46705         __nss_group_database value if it is set.
46706         * nss/nsswitch.conf (initgroups): Change action for successful db
46707         lookup to continue for compatibility.
46708
46709 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
46710
46711         [BZ #11532]
46712         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46713         and CP774 modules.
46714         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46715         and CP774 modules.
46716         * iconvdata/tst-tables.sh: Likewise.
46717         * iconvdata/cp770.c: New file.
46718         * iconvdata/cp771.c: New file.
46719         * iconvdata/cp772.c: New file.
46720         * iconvdata/cp773.c: New file.
46721         * iconvdata/cp774.c: New file.
46722         * iconvdata/testdata/CP770: New file.
46723         * iconvdata/testdata/CP770..UTF8: New file.
46724         * iconvdata/testdata/CP771: New file.
46725         * iconvdata/testdata/CP771..UTF8: New file.
46726         * iconvdata/testdata/CP772: New file.
46727         * iconvdata/testdata/CP772..UTF8: New file.
46728         * iconvdata/testdata/CP773: New file.
46729         * iconvdata/testdata/CP773..UTF8: New file.
46730         * iconvdata/testdata/CP774: New file.
46731         * iconvdata/testdata/CP774..UTF8: New file.
46732
46733         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46734         END CHARMAP line.
46735         * iconvdata/gen-8bit-gap.sh: Likewise.
46736         * iconvdata/gen-8bit.sh: Likewise.
46737
46738         * locale/iso-639.def: Add ary entry.
46739
46740         [BZ #11258]
46741         * locale/C-translit.h.in: Add U20A1 transliteration.
46742
46743         [BZ #12178]
46744         * locale/iso-639.def: Add wae entry.
46745         Patch by Kevin Bortis <bortis@translate-wae.ch>.
46746
46747         [BZ #12545]
46748         * locale/programs/localedef.c (construct_output_path): Use ssize_t
46749         for n.
46750
46751         [BZ #12711]
46752         * locale/C-translit.h.in: Add entry for U20B9.
46753         Patch by pravin.d.s@gmail.com.
46754
46755 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
46756
46757         [BZ #12713]
46758         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46759         ENAMETOOLONG use generic getcwd.
46760         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
46761         in rtld.  Use *stat64.
46762         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46763         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46764         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46765         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46766         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46767         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46768         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46769         __fstatat64 macros.
46770         * include/dirent.h: Add libc_hidden_proto for rewinddir.
46771         * dirent/rewinddir.c: Add libc_hidden_def.
46772         * sysdeps/mach/hurd/rewinddir.c: Likewise.
46773         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
46774
46775         * include/dirent.h (__alloc_dir): Add flags parameter.
46776         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46777         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46778         __alloc_dir.
46779         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
46780         from fdopendir if O_CLOEXEC is already set.
46781
46782 2011-03-15  Alan Modra  <amodra@gmail.com>
46783
46784         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46785         l_tls_firstbyte_offset non-zero.  Save padding offset in
46786         l_tls_firstbyte_offset for later use.
46787         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46788         freeing static tls block.
46789
46790 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
46791
46792         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46793         where #ifdef was intended.  The intent is to prevent ARG_MAX from
46794         being defined by the kernel headers.
46795
46796 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
46797
46798         [BZ #12734]
46799         * resolv/resolv.h: Define RES_NOTLDQUERY.
46800         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46801         no-tld-query and set RES_NOTLDQUERY.
46802         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46803         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46804         modern BIND to search name as TLD unless forbidden.
46805
46806 2011-05-07  Petr Baudis  <pasky@suse.cz>
46807             Ulrich Drepper  <drepper@gmail.com>
46808
46809         [BZ #12393]
46810         * elf/dl-load.c (fillin_rpath): Move trusted path check...
46811         (is_trusted_path): ...to here.
46812         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46813         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46814         using is_trusted_path_normalize() in setuid scripts.
46815
46816 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46817
46818         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46819         __BEGIN/__END_DECLS.
46820
46821 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
46822
46823         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46824         NSS_STATUS_NOTFOUND if no record was found.
46825
46826 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46827
46828         * sunrpc/Makefile (headers): Add rpc/netdb.h.
46829         (headers-not-in-tirpc): Remove rpc/netdb.h
46830         * resolv/netdb.h: Revert last change.
46831
46832 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46833
46834         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46835         circular dependency between libgcc.a and libc.a.
46836
46837 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46838
46839         * resolv/netdb.h: Don't include <rpc/netdb.h>.
46840         * nis/Makefile: Don't install rpcsvc/*.
46841         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46842         instead of <rpc/types.h>.
46843         (MAXHOSTNAMELEN): Define.
46844
46845 2011-05-03  Andreas Schwab  <schwab@redhat.com>
46846
46847         * elf/ldconfig.c (add_dir): Don't crash on empty path.
46848
46849 2011-04-28  Maciej Babinski  <mbabinski@google.com>
46850
46851         [BZ #12714]
46852         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46853         gethostbyname4_r when IPv6 results are possible.
46854
46855 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
46856
46857         [BZ #12723]
46858         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46859         _PC_PIPE_BUF handling.
46860
46861 2011-04-30  Bruno Haible  <bruno@clisp.org>
46862
46863         [BZ #12717]
46864         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46865         * resolv/netdb.h (getnameinfo): Change type of flags parameter
46866         to 'int'.
46867         * inet/getnameinfo.c (getnameinfo): Likewise.
46868
46869 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
46870
46871         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46872         to groups setting in database lookup.
46873         * nss/nsswitch.conf: Add initgroups entry.
46874
46875 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
46876
46877         [BZ #12685]
46878         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46879         mode string.
46880         Patch by Eric Blake <eblake@redhat.com>.
46881
46882 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
46883
46884         * sunrpc/Makefile (need-export-routines): Add svc_run.
46885         (routines): Remove svc_run.
46886         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46887         * sunrpc/clnt_perr.c (clnt_perrno): Export.
46888         * sunrpc/svc_run.c (svc_run): Likewise.
46889         * sunrpc/svc_udp.c (svcudp_create): Likewise.
46890
46891 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
46892
46893         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46894         problem in reallocation in last patch.
46895
46896 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
46897
46898         * sunrpc/Makefile: Move inclusion of Rules.
46899
46900 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46901
46902         * nss/nss_files/files-initgroups.c: New file.
46903         * nss/Makefile (libnss_files-routines): Add files-initgroups.
46904         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46905         _nss_files_initgroups_dyn.
46906
46907 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
46908
46909         * elf/elf.h (R_ARM_IRELATIVE): Define.
46910
46911 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46912
46913         * po/ru.po: Update from translation team.
46914
46915 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46916
46917         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46918         dependencies.
46919
46920 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
46921
46922         [BZ #12653]
46923         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46924         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46925         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46926         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46927         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46928
46929 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
46930
46931         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46932         differing bytes.
46933         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46934         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46935         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46936
46937 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46938
46939         [BZ #12420]
46940         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46941         storing it.
46942         * stdlib/bug-getcontext.c: New file.
46943         * stdlib/Makefile: Add rules to build and run bug-getcontext.
46944
46945 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46946
46947         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46948         instructions into .machine "z9-109".
46949         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46950         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46951
46952 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46953
46954         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46955         between environment variables and auxiliary vector.
46956
46957 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
46958
46959         * Makefile: Add rules to build linkobj/libc.so.
46960         * include/libc-symbols.h: Define libc_hidden_nolink.
46961         * include/rpc/auth.h: Mark functions which are to be hidden.
46962         * include/rpc/auth_des.h: Likewise.
46963         * include/rpc/auth_unix.h: Likewise.
46964         * include/rpc/clnt.h: Likewise.
46965         * include/rpc/des_crypt.h: Likewise.
46966         * include/rpc/key_prot.h: Likewise.
46967         * include/rpc/pmap_clnt.h: Likewise.
46968         * include/rpc/pmap_prot.h: Likewise.
46969         * include/rpc/pmap_rmt.h: Likewise.
46970         * include/rpc/rpc_msg.h: Likewise.
46971         * include/rpc/svc.h: Likewise.
46972         * include/rpc/svc_auth.h: Likewise.
46973         * include/rpc/xdr.h: Likewise.
46974         * nis/Makefile: Link all DSOs against linkobj/libc.so.
46975         * nss/Makefile: Likewise.
46976         * sunrpc/Makefile: Don't install headers.  Build library with normal
46977         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
46978         * sunrpc/auth_des.c: Hide exported symbols by default, export some
46979         for the compat linking library.  Remove use of INTDEF/INTUSE.
46980         * sunrpc/auth_none.c: Likewise.
46981         * sunrpc/auth_unix.c: Likewise.
46982         * sunrpc/authdes_prot.c: Likewise.
46983         * sunrpc/authuxprot.c: Likewise.
46984         * sunrpc/clnt_gen.c: Likewise.
46985         * sunrpc/clnt_perr.c: Likewise.
46986         * sunrpc/clnt_raw.c: Likewise.
46987         * sunrpc/clnt_simp.c: Likewise.
46988         * sunrpc/clnt_tcp.c: Likewise.
46989         * sunrpc/clnt_udp.c: Likewise.
46990         * sunrpc/clnt_unix.c: Likewise.
46991         * sunrpc/des_crypt.c: Likewise.
46992         * sunrpc/des_soft.c: Likewise.
46993         * sunrpc/get_myaddr.c: Likewise.
46994         * sunrpc/key_call.c: Likewise.
46995         * sunrpc/key_prot.c: Likewise.
46996         * sunrpc/netname.c: Likewise.
46997         * sunrpc/pm_getmaps.c: Likewise.
46998         * sunrpc/pm_getport.c: Likewise.
46999         * sunrpc/pmap_clnt.c: Likewise.
47000         * sunrpc/pmap_prot.c: Likewise.
47001         * sunrpc/pmap_prot2.c: Likewise.
47002         * sunrpc/pmap_rmt.c: Likewise.
47003         * sunrpc/publickey.c: Likewise.
47004         * sunrpc/rpc_cmsg.c: Likewise.
47005         * sunrpc/rpc_common.c: Likewise.
47006         * sunrpc/rpc_dtable.c: Likewise.
47007         * sunrpc/rpc_prot.c: Likewise.
47008         * sunrpc/rpc_thread.c: Likewise.
47009         * sunrpc/rtime.c: Likewise.
47010         * sunrpc/svc.c: Likewise.
47011         * sunrpc/svc_auth.c: Likewise.
47012         * sunrpc/svc_authux.c: Likewise.
47013         * sunrpc/svc_raw.c: Likewise.
47014         * sunrpc/svc_run.c: Likewise.
47015         * sunrpc/svc_simple.c: Likewise.
47016         * sunrpc/svc_tcp.c: Likewise.
47017         * sunrpc/svc_udp.c: Likewise.
47018         * sunrpc/svc_unix.c: Likewise.
47019         * sunrpc/svcauth_des.c: Likewise.
47020         * sunrpc/xcrypt.c: Likewise.
47021         * sunrpc/xdr.c: Likewise.
47022         * sunrpc/xdr_array.c: Likewise.
47023         * sunrpc/xdr_float.c: Likewise.
47024         * sunrpc/xdr_intXX_t.c: Likewise.
47025         * sunrpc/xdr_mem.c: Likewise.
47026         * sunrpc/xdr_rec.c: Likewise.
47027         * sunrpc/xdr_ref.c: Likewise.
47028         * sunrpc/xdr_sizeof.c: Likewise.
47029         * sunrpc/xdr_stdio.c: Likewise.
47030
47031 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
47032
47033         [BZ #12650]
47034         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47035         * sysdeps/ia64/dl-tls.h: Likewise.
47036         * sysdeps/powerpc/dl-tls.h: Likewise.
47037         * sysdeps/s390/dl-tls.h: Likewise.
47038         * sysdeps/sh/dl-tls.h: Likewise.
47039         * sysdeps/sparc/dl-tls.h: Likewise.
47040         * sysdeps/x86_64/dl-tls.h: Likewise.
47041         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47042
47043 2011-03-14  Andreas Schwab  <schwab@redhat.com>
47044
47045         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47046         rpath element also skip the following colon.
47047         (expand_dynamic_string_token): Add is_path parameter and pass
47048         down to DL_DST_REQUIRED and _dl_dst_substitute.
47049         (decompose_rpath): Call expand_dynamic_string_token with
47050         non-zero is_path.  Ignore empty rpaths.
47051         (_dl_map_object_from_fd): Call expand_dynamic_string_token
47052         with zero is_path.
47053
47054 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
47055
47056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47057         Make cancelable.
47058
47059 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
47060
47061         [BZ #12655]
47062         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47063         Patch by Filipe David Manana <fdmanana@apache.org>.
47064
47065 2011-04-07  Andreas Schwab  <schwab@redhat.com>
47066
47067         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47068         Maintain aligned stack.
47069         (CHECK_RSP): Remove unused macro.
47070
47071 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
47072
47073         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47074         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47075
47076 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
47077
47078         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47079
47080         * include/features.h: Mention __USE_XOPEN2K8 in comment.
47081
47082 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
47083
47084         [BZ #12518]
47085         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47086         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47087         * sysdeps/x86_64/memmove.c: New file.
47088         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47089         (memcpy): Renamed to ...
47090         (__new_memcpy): This.
47091         (memcpy): Provide GLIBC_2_14 memcpy.
47092         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47093         (memcpy): Provide GLIBC_2_2_5 memcpy.
47094
47095 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47096
47097         [BZ #12631]
47098         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47099
47100 2011-03-30  Andreas Schwab  <schwab@redhat.com>
47101
47102         * misc/syncfs.c: New file.
47103         * misc/Makefile (routines): Add syncfs.
47104         * posix/unistd.h: Declare syncfs.
47105         * sysdeps/unix/syscalls.list: Add syncfs.
47106
47107 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47108
47109         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47110         open_by_handle_at.
47111         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47112         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47113         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47114         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47115         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47116         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47117         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47118
47119 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47120
47121         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47122         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47123         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47124         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47125         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47126         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47127         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47128
47129         * io/Makefile: Compile fallocate.c, fallocate64.c, and
47130         sync_file_range.c with -fexceptions.
47131         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47132         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47133         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47134         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47135         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47136         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47137         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47138         sync_file_range as cancellation point
47139         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
47140         now a wrapper around __call_sync_file_range with cancellation handling.
47141         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47142         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
47143         function name to __call_sync_file_range.
47144         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47145         Add call_sync_file_range.
47146
47147 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47148
47149         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47150         bits/timex.h.
47151
47152 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47153
47154         * iconv/iconv.h: Fix typo in comment.
47155         * io/fcntl.h: Likewise.
47156         * libio/stdio.h: Likewise.
47157         * posix/spawn.h: Likewise.
47158         * posix/unistd.h: Likewise.
47159         * stdlib/stdlib.h: Likewise.
47160         * time/time.h: Likewise.
47161         * wcsmbs/wchar.h: Likewise.
47162
47163         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47164         open_by_handle): Add.
47165         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47166         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
47167         Augment a few comments.
47168         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47169         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47170         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47171         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47172         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47173         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47174         open_by_handle.
47175
47176         * io/fcntl.h (AT_EMPTY_PATH): Define.
47177
47178 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
47179
47180         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47181         * sysdeps/unix/sysv/linux/bits/time.h: New file.
47182         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47183         to...
47184         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
47185         * Versions.def: Add GLIBC_2.14.
47186         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47187         Export.
47188
47189 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
47190
47191         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47192         round counter.
47193         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47194
47195 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47196
47197         [BZ #12597]
47198         * string/test-strncmp.c (do_page_test): New function.
47199         (check2): Likewise.
47200         (test_main): Call check2.
47201         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47202
47203 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
47204
47205         [BZ #12587]
47206         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47207         Handle cache information in CPU leaf 4.
47208         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47209
47210 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
47211
47212         [BZ #12583]
47213         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47214         character representation.
47215         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47216
47217 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
47218
47219         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47220         END(__isnan) to END(__isnanf) to match function entry point/label
47221         EALIGN(__isnanf,...).
47222
47223 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
47224
47225         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47226
47227 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
47228
47229         [BZ #12510]
47230         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47231         copy from the symbol referenced in the relocation to initialize the
47232         used variable.
47233         Patch by Piotr Bury <pbury@goahead.com>.
47234         * elf/Makefile: Add rules to build and tst-unique3.
47235         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47236         * elf/tst-unique3.cc: New file.
47237         * elf/tst-unique3.h: New file.
47238         * elf/tst-unique3lib.cc: New file.
47239         * elf/tst-unique3lib2.cc: New file.
47240
47241         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47242
47243 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
47244
47245         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47246         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
47247         to _start.
47248
47249 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
47250
47251         * elf/dl-load.c (_dl_map_object): If we are looking for the first
47252         to-be-loaded object along a path to loader is ld.so.
47253
47254 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47255             Ulrich Drepper  <drepper@gmail.com>
47256
47257         * sysdeps/x86_64/memset.S: After aligning destination, code
47258         branches to different locations depending on the value of
47259         misalignment, when multiarch is enabled. Fix this.
47260
47261 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47262
47263         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47264         Set _x86_64_preferred_memory_instruction for AMD processsors.
47265         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47266         Set bit_Prefer_SSE_for_memop for AMD processors.
47267
47268 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
47269
47270         * libio/fmemopen.c (fmemopen): Optimize a bit.
47271
47272 2011-03-03  Andreas Schwab  <schwab@redhat.com>
47273
47274         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47275
47276 2011-03-03  Roland McGrath  <roland@redhat.com>
47277
47278         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47279
47280 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
47281
47282         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47283         __bzero_ultra1 instead of __memset_ultra1.
47284
47285 2011-02-23  Andreas Schwab  <schwab@redhat.com>
47286             Ulrich Drepper  <drepper@gmail.com>
47287
47288         [BZ #12509]
47289         * include/link.h (struct link_map): Add l_orig_initfini.
47290         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47291         returning unsuccessfully.
47292         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47293         close of a file loaded at startup, restore the original l_initfini
47294         list.
47295         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47296         list, store the pointer.
47297         * elf/Makefile ($(objpfx)noload-mem): New rule.
47298         (noload-ENV): Define.
47299         (tests): Add $(objpfx)noload-mem.
47300         * elf/noload.c: Include <memcheck.h>.
47301         (main): Call mtrace.  Close all opened handles.
47302
47303 2011-02-17  Andreas Schwab  <schwab@redhat.com>
47304
47305         [BZ #12454]
47306         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47307         dependencies are missing.
47308
47309 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47310
47311         Fix __if_freereq crash: Unlike the generic version which uses free,
47312         Hurd needs munmap.
47313         * sysdeps/mach/hurd/ifreq.h: New file.
47314
47315 2011-01-27  Petr Baudis  <pasky@suse.cz>
47316             Ulrich Drepper  <drepper@gmail.com>
47317
47318         [BZ 12445]#
47319         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47320         to extend_alloca().
47321         * stdio-common/bug23.c: New file.
47322         * stdio-common/Makefile (tests): Add bug23.
47323
47324 2010-09-28  Andreas Schwab  <schwab@redhat.com>
47325             Ulrich Drepper  <drepper@gmail.com>
47326
47327         [BZ #12489]
47328         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47329         before performing relro protection.  At old place add assertion
47330         to make sure nothing changed.
47331
47332 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
47333             Glauber de Oliveira Costa  <glommer@gmail.com>
47334
47335         * elf/elf.h: Add new ARM TLS relocs.
47336
47337 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
47338
47339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47340         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47341         cast from r3.
47342         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
47343         'tests' variable.
47344         * sysdeps/wordsize-64/tst-writev.c: New file.
47345
47346 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
47347
47348         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47349         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47350         insns in _dl_start to prevent a TOC reference before relocs are
47351         resolved.
47352
47353 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
47354
47355         [BZ #12469]
47356         * Makeconfig: Remove RANLIB definition.
47357         * Makerules: Don't use RANLIB.
47358         * aclocal.m4: Remove ranlib test.
47359         * configure.in: No need to check for ranlib.
47360         * elf/rtld-Rules: Don't use RANLIB.
47361
47362 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47363
47364         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47365         protection macro.
47366         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47367         inclusion protection macro.
47368
47369         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47370         SIGRTMIN and SIGRTMAX and print information in that case only when
47371         SIGRTMIN is defined.
47372
47373 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
47374
47375         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47376         arginfo fn returning -1.
47377
47378         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47379         and thousands string is zero terminated.
47380
47381 2011-02-03  Andreas Schwab  <schwab@redhat.com>
47382
47383         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47384         sysdeps/unix/sysv/linux/bits/socket.h.
47385
47386 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47387
47388         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47389         (__CPU_COUNT): Remove old macros.
47390         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47391         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47392         (__CPU_ALLOC, __CPU_FREE): Add macros.
47393         (__sched_cpualloc, __sched_cpufree): Add declarations.
47394
47395 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
47396
47397         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47398         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47399         * nscd/aicache.c (addhstaiX): Return timeout of added value.
47400         (readdhstai): Return value of addhstaiX call.
47401         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47402         (addgrbyX): Return value returned by cache_addgr.
47403         (readdgrbyname): Return value returned by addgrbyX.
47404         (readdgrbygid): Likewise.
47405         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47406         (addpwbyX): Return value returned by cache_addpw.
47407         (readdpwbyname): Return value returned by addhstbyX.
47408         (readdpwbyuid): Likewise.
47409         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47410         (addservbyX): Return value returned by cache_addserv.
47411         (readdservbyname): Return value returned by addservbyX:
47412         (readdservbyport): Likewise.
47413         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47414         (addhstbyX): Return value returned by cache_addhst.
47415         (readdhstbyname): Return value returned by addhstbyX.
47416         (readdhstbyaddr): Likewise.
47417         (readdhstbynamev6): Likewise.
47418         (readdhstbyaddrv6): Likewise.
47419         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47420         (readdinitgroups): Return value returned by addinitgroupsX.
47421         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47422         (prune_cache): Keep track of timeout value of re-added entries.
47423         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47424         * nscd/nscd.h: Adjust prototypes of readd* functions.
47425
47426 2011-02-04  Roland McGrath  <roland@redhat.com>
47427
47428         * nis/nis_server.c (nis_servstate): Use the right name for 0.
47429         (nis_stats): Likewise.
47430         * nis/nis_modify.c (nis_modify): Likewise.
47431         * nis/nis_remove.c (nis_remove): Likewise.
47432         * nis/nis_add.c (nis_add): Likewise.
47433
47434         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47435
47436         * posix/fnmatch_loop.c: Add some consts.
47437
47438         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47439
47440 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
47441
47442         [BZ #12460]
47443         * config.make.in (config-cflags-novzeroupper): Define.
47444         * configure.in: Substitute libc_cv_cc_novzeroupper.
47445         * elf/Makefile (AVX-CFLAGS): Define.
47446         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47447         (CFLAGS-tst-auditmod4a.c): Likewise.
47448         (CFLAGS-tst-auditmod4b.c): Likewise.
47449         (CFLAGS-tst-auditmod6b.c): Likewise.
47450         (CFLAGS-tst-auditmod6c.c): Likewise.
47451         (CFLAGS-tst-auditmod7b.c): Likewise.
47452         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47453
47454 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
47455
47456         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47457         function to the callback.
47458         Patch partly by Jiri Olsa <jolsa@redhat.com>.
47459
47460 2011-02-02  Andreas Schwab  <schwab@redhat.com>
47461
47462         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47463         of errno.
47464
47465 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
47466
47467         [BZ #11724]
47468         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47469         of constructors.
47470         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47471         of destructors.
47472         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47473
47474         [BZ #11724]
47475         * elf/Makefile: Add rules to build and run new test.
47476         * elf/tst-initorder.c: New file.
47477         * elf/tst-initorder.exp: New file.
47478         * elf/tst-initordera1.c: New file.
47479         * elf/tst-initordera2.c: New file.
47480         * elf/tst-initordera3.c: New file.
47481         * elf/tst-initordera4.c: New file.
47482         * elf/tst-initorderb1.c: New file.
47483         * elf/tst-initorderb2.c: New file.
47484         * elf/tst-order-a1.c: New file.
47485         * elf/tst-order-a2.c: New file.
47486         * elf/tst-order-a3.c: New file.
47487         * elf/tst-order-a4.c: New file.
47488         * elf/tst-order-b1.c: New file.
47489         * elf/tst-order-b2.c: New file.
47490         * elf/tst-order-main.c: New file.
47491         New test case by George Gensure <werkt0@gmail.com>.
47492
47493 2010-10-01  Andreas Schwab  <schwab@redhat.com>
47494
47495         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47496         decoding ACE if AI_CANONIDN.
47497
47498 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
47499
47500         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47501
47502 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
47503
47504         * version.h (RELEASE): Bump for 2.13 release.
47505         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47506
47507         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47508
47509         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47510         MADV_NOHUGEPAGE.
47511         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47512         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47513         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47514         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47515         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47516         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47517
47518         * posix/getconf.c: Update copyright year.
47519         * catgets/gencat.c: Likewise.
47520         * csu/version.c: Likewise.
47521         * debug/catchsegv.sh: Likewise.
47522         * debug/xtrace.sh: Likewise.
47523         * elf/ldconfig.c: Likewise.
47524         * elf/ldd.bash.in: Likewise.
47525         * elf/sprof.c (print_version): Likewise.
47526         * iconv/iconv_prog.c: Likewise.
47527         * iconv/iconvconfig.c: Likewise.
47528         * locale/programs/locale.c: Likewise.
47529         * locale/programs/localedef.c: Likewise.
47530         * malloc/memusage.sh: Likewise.
47531         * malloc/mtrace.pl: Likewise.
47532         * nscd/nscd.c (print_version): Likewise.
47533         * nss/getent.c: Likewise.
47534
47535         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47536         PF_CAIF, and PF_ALG.
47537         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47538
47539 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
47540
47541         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47542         (modules-names): Use them.
47543         (ifunc-test-modules, ifunc-pie-tests): Define.
47544         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47545         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47546         (test-extras): Likewise.
47547         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47548         $(compile-command.c).
47549         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47550         (all-built-dso): Define.
47551         (check-textrel.out, check-execstack.out): Depend on it.
47552
47553         * configure.in: Don't override --enable-multi-arch.
47554
47555 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
47556
47557         [BZ #6812]
47558         * nscd/hstcache.c (tryagain): Define.
47559         (cache_addhst): Return tryagain not notfound for temporary errors.
47560         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47561         failed.
47562
47563 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
47564
47565         [BZ #10563]
47566         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47567         to make the syscall.
47568         * sysdeps/unix/sysv/linux/setgroups.c: New file.
47569
47570         [BZ #12378]
47571         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47572         and fall back to matching as normal character if the string ends before
47573         the matching ']' is found.  This is what POSIX requires.
47574         * posix/testfnm.c: Adjust test result.
47575         * posix/globtest.sh: Adjust test result.  Add new test.
47576         * posix/tst-fnmatch.input: Likewise.
47577         * posix/tst-fnmatch2.c: Add new test.
47578
47579 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
47580
47581         * elf/Makefile (check-execstack): Revert last change.  Depend on
47582         check-execstack.h.
47583         (check-execstack.h): New target.
47584         (generated): Add check-execstack.h.
47585         * elf/check-execstack.c: Include "check-execstack.h".
47586         (main): Revert last change.
47587         (handle_file): Return zero if GNU_STACK is absent and
47588         DEFAULT_STACK_PERMS doesn't include PF_X.
47589
47590 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
47591
47592         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47593         in child fails because the descriptor is already closed.
47594         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47595         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47596         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47597
47598         [BZ #12397]
47599         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47600         syscall.
47601
47602         [BZ #10484]
47603         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47604         temporary buffer used to handle multi lookups locally.
47605         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47606
47607 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47608
47609         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47610         loader is ld.so.
47611
47612 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
47613
47614         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47615         alignment for SSE2.
47616
47617 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47618
47619         [BZ #12394]
47620         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47621         characters.  When rounding increased number of integer digits recompute
47622         number of groups.
47623         * stdio-common/tst-grouping.c: New file.
47624         * stdio-common/Makefile: Add rules to build and run tst-grouping.
47625
47626 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
47627
47628         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47629         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
47630
47631         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47632         void.
47633         * bits/select.h: Likewise.
47634
47635 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
47636
47637         * po/ja.po: Update from translation team.
47638
47639 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
47640
47641         [BZ #11155]
47642         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47643         implementation just like for lxstat, fxstatat, et al.
47644
47645 2010-12-27  Jim Meyering  <meyering@redhat.com>
47646
47647         [BZ #12348]
47648         * posix/regexec.c (build_trtable): Return failure indication upon
47649         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
47650
47651 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
47652
47653         [BZ #12201]
47654         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47655         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47656         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47657         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47658
47659         [BZ #12207]
47660         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47661
47662         [BZ #12204]
47663         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47664         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47665
47666 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
47667
47668         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47669         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47670         script has SORT_BY_INIT_PRIORITY.
47671         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47672         NO_CTORS_DTORS_SECTIONS is defined.
47673         * elf/soinit.c: Likewise.
47674         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47675         NO_CTORS_DTORS_SECTIONS is defined.
47676         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47677         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47678         * sysdeps/sh/init-first.c: Likewise.
47679         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47680
47681 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
47682
47683         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47684         always use the slow path.
47685
47686 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
47687
47688         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47689         similar rule which adds the sysdep directories to the header search in
47690         order to pick up the correct platform stackinfo.h.
47691         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47692         perform test if it is, otherwise return successfully without testing.
47693         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47694         DEFAULT_STACK_PERMS define in stackinfo.h.
47695         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47696         defined in stackinfo.h.
47697         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47698         DEFAULT_STACK_PERMS defined in stackinfo.h.
47699         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47700         * sysdeps/ia64/stackinfo.h: Likewise.
47701         * sysdeps/s390/stackinfo.h: Likewise.
47702         * sysdeps/sh/stackinfo.h: Likewise.
47703         * sysdeps/sparc/stackinfo.h: Likewise.
47704         * sysdeps/x86_64/stackinfo.h: Likewise.
47705         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47706         PF_X for powerpc64.  Retain PF_X for powerpc32.
47707
47708 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
47709
47710         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47711         accurately.
47712         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47713         GETDENTS_64BIT_ALIGNED.
47714
47715 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
47716
47717         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47718
47719 2010-12-10  Andreas Schwab  <schwab@redhat.com>
47720
47721         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47722         _GNU_SOURCE.
47723
47724         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47725         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47726         Remove __restrict.
47727         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47728         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47729
47730 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
47731
47732         [BZ #11655]
47733         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47734         are initialized.
47735
47736 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
47737
47738         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47739
47740 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
47741
47742         * po/it.po: Update from translation team.
47743
47744 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
47745
47746         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47747         unused codes.
47748
47749 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
47750
47751         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47752
47753 2010-11-24  Andreas Schwab  <schwab@redhat.com>
47754
47755         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47756         specially.
47757         (gaih_getanswer_slice): Likewise.
47758
47759 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
47760
47761         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47762
47763 2010-05-31  Petr Baudis  <pasky@suse.cz>
47764
47765         [BZ #11149]
47766         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47767         silently even in the chroot mode.
47768
47769 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
47770
47771         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47772         last patch a bit.  Pretty printing
47773
47774 2010-05-31  Petr Baudis <pasky@suse.cz>
47775
47776         [BZ #10085]
47777         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47778         initialization of skip_initgroups_dyn.
47779
47780 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
47781
47782         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47783         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47784
47785 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
47786
47787         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47788
47789 2010-11-11  Andreas Schwab  <schwab@redhat.com>
47790
47791         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47792         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47793         (tst-fnmatch-ENV): Set MALLOC_TRACE.
47794         ($(objpfx)tst-fnmatch-mem): New rule.
47795         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47796         * posix/tst-fnmatch.c (main): Call mtrace.
47797
47798 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
47799
47800         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47801         Support Intel processor model 6 and model 0x2c.
47802
47803 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
47804
47805         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47806           signed comparison.
47807
47808 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
47809
47810         [BZ #12205]
47811         * string/test-strncasecmp.c (check_result): New function.
47812         (do_one_test): Use it.
47813         (check1): New function.
47814         (test_main): Use it.
47815         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47816         Support strcasecmp and strncasecmp.
47817
47818 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
47819
47820         [BZ #12194]
47821         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47822         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47823
47824 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47825
47826         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47827         IFUNC support.
47828         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47829         memset-x86-64.
47830         * sysdeps/x86_64/multiarch/bzero.S: New file.
47831         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47832         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47833         * sysdeps/x86_64/multiarch/memset.S: New file.
47834         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47835         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47836         Set bit_Prefer_SSE_for_memop for Intel processors.
47837         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47838         Define.
47839         (index_Prefer_SSE_for_memop): Define.
47840         (HAS_PREFER_SSE_FOR_MEMOP): Define.
47841
47842 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
47843
47844         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47845         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47846
47847 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
47848
47849         [BZ #12191]
47850         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47851         (__x86_64_raw_data_cache_size_half): Likewise.
47852         (__x86_64_raw_shared_cache_size): Likewise.
47853         (__x86_64_raw_shared_cache_size_half): Likewise.
47854
47855         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47856         (__x86_64_raw_data_cache_size_half): Likewise.
47857         (__x86_64_raw_shared_cache_size): Likewise.
47858         (__x86_64_raw_shared_cache_size_half): Likewise.
47859         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47860         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47861         and __x86_64_raw_shared_cache_size_half.  Round
47862         __x86_64_data_cache_size_half, __x86_64_data_cache_size
47863         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47864         to multiple of 256 bytes.
47865
47866 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
47867
47868         [BZ #12167]
47869         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47870         of inacessible symlinks.  Verify result of symlink before returning it.
47871         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47872         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47873
47874 2010-10-28  Erich Ritz  <erichritz@gmail.com>
47875
47876         * math/math.h (isinf): Fix typo in comment.
47877
47878 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
47879
47880         * po/da.po: Update from translation team.
47881
47882 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
47883
47884         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47885         is added to the list.
47886
47887 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47888             Ulrich Drepper  <drepper@gmail.com>
47889
47890         * elf/dl-object.c (_dl_new_object): Don't append the new object to
47891         the global list here.  Move code to...
47892         (_dl_add_to_namespace_list): ...here.  New function.
47893         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47894         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47895         * elf/dl-load.c (lose): Don't remove the element from the list.
47896         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47897         (_dl_map_object): Likewise.
47898
47899 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
47900
47901         [BZ #12159]
47902         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47903         into all bytes of SSE register.
47904         Patch by Richard Li <richardpku@gmail.com>.
47905
47906 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
47907
47908         [BZ #12140]
47909         * malloc/malloc.c (_int_free): Fill correct number of bytes when
47910         perturbing.
47911
47912 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
47913
47914         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47915         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47916         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47917         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47919         submachine.
47920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47921
47922 2010-10-22  Andreas Schwab  <schwab@redhat.com>
47923
47924         * include/dlfcn.h (__RTLD_SECURE): Define.
47925         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
47926         mode & __RTLD_SECURE instead.
47927         (open_path): Rename preloaded parameter to secure.
47928         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47929         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47930         * elf/dl-deps.c (openaux): Likewise.
47931         * elf/rtld.c (struct map_args): Remove is_preloaded.
47932         (map_doit): Don't use it.
47933         (dl_main): Likewise.
47934         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47935         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47936
47937 2010-09-09  Andreas Schwab  <schwab@redhat.com>
47938
47939         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47940         (sysd-rules-targets): Remove duplicates.
47941         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47942         rtld-%.$o dependency.
47943
47944 2010-10-18  Andreas Schwab  <schwab@redhat.com>
47945
47946         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47947         _dl_map_object do it.
47948
47949 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
47950
47951         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47952         fast fma builtins, define the macros in the C99 standard.
47953         (FP_FAST_FMAF): Likewise.
47954         (FP_FAST_FMAL): Likewise.
47955         * sysdeps/x86_64/bits/mathdef.h: Likewise.
47956
47957         * bits/mathdef.h: Update copyright year.
47958         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47959
47960 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
47961
47962         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47963         builtins, define the macros in the C99 standard.
47964         (FP_FAST_FMAF): Likewise.
47965         (FP_FAST_FMAL): Likewise.
47966         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47967         multiply/add.
47968         (FP_FAST_FMAF): Likewise.
47969
47970 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
47971
47972         [BZ #3268]
47973         * math/libm-test.inc (fma_test): Some new testcases.
47974         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47975         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47976         y and infinite z.  Do multiplication by C already in long double.
47977         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47978         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47979         y and infinite z.  Do bitwise or of inexact bit into u.d.
47980         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47981         * sysdeps/i386/fpu/s_fmaf.S: Removed.
47982         * sysdeps/i386/fpu/s_fma.S: Removed.
47983         * sysdeps/i386/fpu/s_fmal.S: Removed.
47984
47985 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
47986
47987         [BZ #3268]
47988         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47989         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47990         computation is not scheduled after fetestexcept.  Fix value
47991         of minimum denormal long double.
47992
47993 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
47994
47995         [BZ #3268]
47996         * math/libm-test.inc (fma_test): Add some more tests.
47997         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47998         correctly.
47999
48000 2010-10-15  Andreas Schwab  <schwab@redhat.com>
48001
48002         * scripts/data/localplt-s390-linux-gnu.data: New file.
48003         * scripts/data/localplt-s390x-linux-gnu.data: New file.
48004
48005 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
48006
48007         [BZ #3268]
48008         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48009         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48010         instead of dbl-64.
48011         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48012         inlines.
48013         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48014         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48015         if one of x and y is very large and the other is subnormal.
48016         * sysdeps/s390/fpu/s_fmaf.c: New file.
48017         * sysdeps/s390/fpu/s_fma.c: New file.
48018         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48019         * sysdeps/powerpc/fpu/s_fma.S: New file.
48020         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48021         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48022         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48023
48024 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
48025
48026         [BZ #3268]
48027         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48028         fma tests.
48029         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48030         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48031         * sysdeps/i386/i686/multiarch/s_fma.c: Include
48032         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48033         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48034         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48035         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48036
48037 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
48038
48039         [BZ #12078]
48040         * posix/regcomp.c (parse_branch): One more memory leak plugged.
48041         * posix/bug-regex31.input: Add test case.
48042
48043 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48044
48045         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48046         * posix/bug-regex31.input: New file.
48047
48048         [BZ #12078]
48049         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48050         (parse_sub_exp): Fix last change, use postorder.
48051
48052         * posix/bug-regex31.c: New file.
48053         * posix/Makefile: Add rules to build and run bug-regex31.
48054
48055         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48056
48057         [BZ #12078]
48058         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48059
48060         [BZ #12108]
48061         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48062         to have entries in sys_siglist.
48063
48064         [BZ #12093]
48065         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48066         be NULL.
48067
48068 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
48069
48070         [BZ #3268]
48071         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48072         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48073         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48074         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48075         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48076         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48077         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48078         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48079         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48080         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48081         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48082         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48083         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48084         * math/ftestexcept.c (fetestexcept): Likewise.
48085         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48086         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48087         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48088         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48089         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48090         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48091         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48092
48093 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48094
48095         [BZ #12107]
48096         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48097         newline.
48098
48099 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
48100
48101         * string/bug-strstr1.c: New file.
48102         * string/Makefile: Add rules to build and run bug-strstr1.
48103
48104 2010-10-05  Eric Blake  <eblake@redhat.com>
48105
48106         [BZ #12092]
48107         * string/str-two-way.h (two_way_long_needle): Always clear memory
48108         when skipping input due to the shift table.
48109
48110 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
48111
48112         [BZ #12005]
48113         * malloc/mcheck.c: Handle large requests.
48114
48115         [BZ #12077]
48116         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48117         for strncmp and strncasecmp.
48118         * string/stratcliff.c: Add tests for strcmp and strncmp.
48119         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48120
48121 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48122
48123         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48124         __set_fpscr.
48125
48126 2010-09-30  Andreas Jaeger  <aj@suse.de>
48127
48128         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48129         (CGROUP_SUPER_MAGIC): Define.
48130         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48131         Handle btrfs and cgroup file systems.
48132         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48133         Likewise.
48134
48135 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
48136
48137         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48138         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48139
48140 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48141
48142         [BZ #12067]
48143         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48144         trying to locate the ELF header.
48145
48146 2010-09-27  Andreas Schwab  <schwab@redhat.com>
48147
48148         [BZ #11611]
48149         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48150         Mask out sign-bit copies when constructing f_fsid.
48151
48152 2010-09-24  Petr Baudis <pasky@suse.cz>
48153
48154         * debug/stack_chk_fail_local.c: Add missing licence exception.
48155         * debug/warning-nop.c: Likewise.
48156
48157 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
48158
48159         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48160         implementing getdents64 using getdents syscall, set d_type if
48161         __ASSUME_GETDENTS32_D_TYPE.
48162
48163 2010-09-16  Andreas Schwab  <schwab@redhat.com>
48164
48165         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48166         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48167
48168 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
48169
48170         [BZ #12037]
48171         * posix/unistd.h: Undo change of feature selection for ftruncate from
48172         2010-01-11.
48173
48174 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
48175
48176         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48177         detection.
48178
48179 2010-09-20  Andreas Schwab  <schwab@redhat.com>
48180
48181         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48182         fanotify_mark.
48183         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48184
48185 2010-09-14  Andreas Schwab  <schwab@redhat.com>
48186
48187         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48188         variables after CHECK_SP call.
48189         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48190
48191 2010-09-13  Andreas Schwab  <schwab@redhat.com>
48192             Ulrich Drepper  <drepper@redhat.com>
48193
48194         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48195         re-relocationg ld.so.
48196         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48197         _dl_init_paths call.
48198         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
48199         here anymore.
48200
48201 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
48202
48203         * resolv/res_init.c (__res_vinit): Count the default server we added.
48204
48205 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
48206             Ulrich Drepper  <drepper@redhat.com>
48207
48208         [BZ #11968]
48209         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48210         (____longjmp_chk): Use %ebx for saving value across system call.
48211         Add unwind info.
48212
48213 2010-09-06  Andreas Schwab  <schwab@redhat.com>
48214
48215         * manual/Makefile: Don't mix pattern rules with normal rules.
48216
48217 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
48218
48219         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48220         operation.
48221         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48222         * libio/iofopncook.c (_IO_cookie_init): Likewise.
48223         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48224         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48225         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48226         Likewise.
48227
48228 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
48229
48230         [BZ #11979]
48231         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48232         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48233
48234 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
48235
48236         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48237         * sysdeps/x86_64/addmul_1.S: Likewise.
48238         * sysdeps/x86_64/lshift.S: Likewise.
48239         * sysdeps/x86_64/mul_1.S: Likewise.
48240         * sysdeps/x86_64/rshift.S: Likewise.
48241         * sysdeps/x86_64/sub_n.S: Likewise.
48242         * sysdeps/x86_64/submul_1.S: Likewise.
48243
48244 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48245
48246         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48247         Define __sched_param instead of SCHED_* and sched_param when
48248         <bits/sched.h> is included with __need_schedparam defined.
48249         * bits/sched.h [__need_schedparam]
48250         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48251         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48252         (__defined_schedparam): Define to 1.
48253         (__sched_param): New structure, identical to sched_param.
48254         (__need_schedparam): Undefine.
48255
48256 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
48257
48258         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48259         (epoll_create1): Declare.
48260
48261         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48262
48263 2010-08-31  Andreas Schwab  <schwab@redhat.com>
48264
48265         [BZ #7066]
48266         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48267         shifting retval into place.
48268
48269 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
48270
48271         * nis/rpcsvc/nis.h: Update copyright notice.
48272         * nis/rpcsvc/nis.x: Likewise.
48273         * nis/rpcsvc/nis_callback.h: Likewise.
48274         * nis/rpcsvc/nis_callback.x: Likewise.
48275         * nis/rpcsvc/nis_object.x: Likewise.
48276         * nis/rpcsvc/nis_tags.h: Likewise.
48277         * nis/rpcsvc/yp.h: Likewise.
48278         * nis/rpcsvc/yp.x: Likewise.
48279         * nis/rpcsvc/ypupd.h: Likewise.
48280         * nis/yp_xdr.c: Likewise.
48281         * nis/ypupdate_xdr.c: Likewise.
48282
48283         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
48284         mainly the body of pmap_getport.  Add parameters to specify timeouts.
48285         (pmap_getport): Use __libc_rpc_getport.
48286         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48287         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48288         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48289
48290 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
48291
48292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48293         fanotify_mark.
48294
48295 2010-08-27  Roland McGrath  <roland@redhat.com>
48296
48297         * sysdeps/i386/i686/multiarch/Makefile
48298         (CFLAGS-varshift.c): New variable.
48299
48300 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
48301
48302         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48303         * sysdeps/i386/i686/multiarch/varshift.c: New file.
48304
48305         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48306
48307         * sysdeps/x86_64/strlen.S: Minimal code improvement.
48308
48309 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
48310
48311         * sysdeps/x86_64/strlen.S: Unroll the loop.
48312         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48313         strlen-sse2 strlen-sse2-bsf.
48314         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48315         __strlen_no_bsf if bit_Slow_BSF is set.
48316         (__strlen_sse42): Removed.
48317         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48318         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48319
48320 2010-08-25  Roland McGrath  <roland@redhat.com>
48321
48322         * sysdeps/x86_64/multiarch/varshift.S: File removed.
48323         * sysdeps/x86_64/multiarch/varshift.c: New file.
48324         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48325         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48326         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48327         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48328
48329 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
48330
48331         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48332         strlen-sse2 strlen-sse2-bsf.
48333         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48334         __strlen_sse2_bsf if bit_Slow_BSF is unset.
48335         (__strlen_sse2): Removed.
48336         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48337         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48338         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48339         bit_Slow_BSF for Atom.
48340         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48341         (index_Slow_BSF): Define.
48342         (HAS_SLOW_BSF): Define.
48343
48344 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
48345
48346         [BZ #10851]
48347         * resolv/res_init.c (__res_vinit): When no server address at all
48348         is given default to loopback.
48349
48350 2010-08-24  Roland McGrath  <roland@redhat.com>
48351
48352         * configure.in: Remove config-name.h generation.
48353         * configure: Regenerated.
48354         * config-name.in: File removed.
48355         * scripts/config-uname.sh: New file.
48356         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48357         ($(objdir)config-name.h): New target.
48358
48359         * sunrpc/rpc_parse.h: Avoid nested comment.
48360
48361 2010-08-24  Richard Henderson  <rth@redhat.com>
48362             Ulrich Drepper  <drepper@redhat.com>
48363             H.J. Lu  <hongjiu.lu@intel.com>
48364
48365         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48366         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48367         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48368         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
48369         _mm_alignr_epi8 with _mm_loadu_si128.
48370         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48371         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48372         (__m128i_shift_right): Removed.
48373         * sysdeps/i386/i686/multiarch/varshift.h: New file.
48374         * sysdeps/i386/i686/multiarch/varshift.S: New file.
48375         * sysdeps/x86_64/multiarch/varshift.h: New file.
48376         * sysdeps/x86_64/multiarch/varshift.S: New file.
48377
48378 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
48379
48380         * configure.in: Move assembler checks to before sysdep dir checking.
48381
48382 2010-08-20  Petr Baudis  <pasky@suse.cz>
48383
48384         * LICENSES: Sync the sunrpc license.
48385
48386 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
48387
48388         * sunrpc/auth_des.c: Update copyright notice once again.
48389         * sunrpc/auth_none.c: Likewise.
48390         * sunrpc/auth_unix.c: Likewise.
48391         * sunrpc/authdes_prot.c: Likewise.
48392         * sunrpc/authuxprot.c: Likewise.
48393         * sunrpc/bindrsvprt.c: Likewise.
48394         * sunrpc/clnt_gen.c: Likewise.
48395         * sunrpc/clnt_perr.c: Likewise.
48396         * sunrpc/clnt_raw.c: Likewise.
48397         * sunrpc/clnt_simp.c: Likewise.
48398         * sunrpc/clnt_tcp.c: Likewise.
48399         * sunrpc/clnt_udp.c: Likewise.
48400         * sunrpc/clnt_unix.c: Likewise.
48401         * sunrpc/des_crypt.c: Likewise.
48402         * sunrpc/des_soft.c: Likewise.
48403         * sunrpc/get_myaddr.c: Likewise.
48404         * sunrpc/getrpcport.c: Likewise.
48405         * sunrpc/key_call.c: Likewise.
48406         * sunrpc/key_prot.c: Likewise.
48407         * sunrpc/openchild.c: Likewise.
48408         * sunrpc/pm_getmaps.c: Likewise.
48409         * sunrpc/pm_getport.c: Likewise.
48410         * sunrpc/pmap_clnt.c: Likewise.
48411         * sunrpc/pmap_prot.c: Likewise.
48412         * sunrpc/pmap_prot2.c: Likewise.
48413         * sunrpc/pmap_rmt.c: Likewise.
48414         * sunrpc/rpc/auth.h: Likewise.
48415         * sunrpc/rpc/auth_unix.h: Likewise.
48416         * sunrpc/rpc/clnt.h: Likewise.
48417         * sunrpc/rpc/des_crypt.h: Likewise.
48418         * sunrpc/rpc/key_prot.h: Likewise.
48419         * sunrpc/rpc/netdb.h: Likewise.
48420         * sunrpc/rpc/pmap_clnt.h: Likewise.
48421         * sunrpc/rpc/pmap_prot.h: Likewise.
48422         * sunrpc/rpc/pmap_rmt.h: Likewise.
48423         * sunrpc/rpc/rpc.h: Likewise.
48424         * sunrpc/rpc/rpc_des.h: Likewise.
48425         * sunrpc/rpc/rpc_msg.h: Likewise.
48426         * sunrpc/rpc/svc.h: Likewise.
48427         * sunrpc/rpc/svc_auth.h: Likewise.
48428         * sunrpc/rpc/types.h: Likewise.
48429         * sunrpc/rpc/xdr.h: Likewise.
48430         * sunrpc/rpc_clntout.c: Likewise.
48431         * sunrpc/rpc_cmsg.c: Likewise.
48432         * sunrpc/rpc_common.c: Likewise.
48433         * sunrpc/rpc_cout.c: Likewise.
48434         * sunrpc/rpc_dtable.c: Likewise.
48435         * sunrpc/rpc_hout.c: Likewise.
48436         * sunrpc/rpc_main.c: Likewise.
48437         * sunrpc/rpc_parse.c: Likewise.
48438         * sunrpc/rpc_parse.h: Likewise.
48439         * sunrpc/rpc_prot.c: Likewise.
48440         * sunrpc/rpc_sample.c: Likewise.
48441         * sunrpc/rpc_scan.c: Likewise.
48442         * sunrpc/rpc_scan.h: Likewise.
48443         * sunrpc/rpc_svcout.c: Likewise.
48444         * sunrpc/rpc_tblout.c: Likewise.
48445         * sunrpc/rpc_util.c: Likewise.
48446         * sunrpc/rpc_util.h: Likewise.
48447         * sunrpc/rpcinfo.c: Likewise.
48448         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48449         * sunrpc/rpcsvc/key_prot.x: Likewise.
48450         * sunrpc/rpcsvc/klm_prot.x: Likewise.
48451         * sunrpc/rpcsvc/mount.x: Likewise.
48452         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48453         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48454         * sunrpc/rpcsvc/rex.x: Likewise.
48455         * sunrpc/rpcsvc/rstat.x: Likewise.
48456         * sunrpc/rpcsvc/rusers.x: Likewise.
48457         * sunrpc/rpcsvc/sm_inter.x: Likewise.
48458         * sunrpc/rpcsvc/spray.x: Likewise.
48459         * sunrpc/rpcsvc/yppasswd.x: Likewise.
48460         * sunrpc/rtime.c: Likewise.
48461         * sunrpc/svc.c: Likewise.
48462         * sunrpc/svc_auth.c: Likewise.
48463         * sunrpc/svc_authux.c: Likewise.
48464         * sunrpc/svc_raw.c: Likewise.
48465         * sunrpc/svc_run.c: Likewise.
48466         * sunrpc/svc_simple.c: Likewise.
48467         * sunrpc/svc_tcp.c: Likewise.
48468         * sunrpc/svc_udp.c: Likewise.
48469         * sunrpc/svc_unix.c: Likewise.
48470         * sunrpc/svcauth_des.c: Likewise.
48471         * sunrpc/xcrypt.c: Likewise.
48472         * sunrpc/xdr.c: Likewise.
48473         * sunrpc/xdr_array.c: Likewise.
48474         * sunrpc/xdr_float.c: Likewise.
48475         * sunrpc/xdr_mem.c: Likewise.
48476         * sunrpc/xdr_rec.c: Likewise.
48477         * sunrpc/xdr_ref.c: Likewise.
48478         * sunrpc/xdr_sizeof.c: Likewise.
48479         * sunrpc/xdr_stdio.c: Likewise.
48480
48481         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48482         handling.
48483
48484 2010-08-19  Andreas Schwab  <schwab@redhat.com>
48485
48486         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48487
48488 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
48489
48490         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48491         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48492         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48493         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48494         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48495         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48496         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48497         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48498         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48499         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48500         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48501         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48502         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48503         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48504
48505 2010-07-26  Anton Blanchard  <anton@samba.org>
48506
48507         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48508         * malloc/arena.c (heap_trim): Likewise.
48509
48510 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
48511
48512         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48513         here.  Not...
48514         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48515         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48516
48517 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
48518
48519         * sysdeps/i386/elf/Makefile: New file.
48520
48521 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48522
48523         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48524         from fanotify_init.
48525         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48526         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48527
48528 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
48529
48530         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48531         of strncasecmp_l.
48532         * sysdeps/multiarch/strcmp.S: Likewise.
48533
48534 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
48535
48536         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48537         strncase_l-nonascii.
48538         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48539         Add strncase_l-ssse3.
48540         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48541         * sysdeps/x86_64/strcmp.S: Likewise.
48542         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48543         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48544         * sysdeps/x86_64/strncase.S: New file.
48545         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48546         * sysdeps/x86_64/strncase_l.S: New file.
48547         * string/Makefile (strop-tests): Add strncasecmp.
48548         * string/test-strncasecmp.c: New file.
48549
48550         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48551         warning.
48552
48553         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48554         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48555
48556 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48557
48558         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48559
48560 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
48561
48562         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48563         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48564         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48565
48566 2010-05-01  Alan Modra  <amodra@gmail.com>
48567
48568         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48569         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48570         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48571         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48572         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48573         tidying.  Don't tail-call __sigjmp_save for static lib.
48574         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48575         save location.
48576         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48577         (CALL_MCOUNT): Add eh info, and nop after bl.
48578         (TAIL_CALL_SYSCALL_ERROR): New macro.
48579         (PSEUDO_RET): Use it.
48580         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48581         Correct save location of integer regs and cr.
48582         (_dl_profile_resolve): Correct cr save location.  Delete nops
48583         after bl when SHARED.  Reduce cfi size a little by better
48584         placement of cfi directives.
48585         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48586         make a stack frame.  Instead use parm save area as a temp.
48587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48588         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
48589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48590         Don't make a stack frame for parent, use parm save area.
48591         Increase child stack frame to 112 bytes.  Don't save unused reg,
48592         and adjust reg usage.  Set up cfi on error recovery and
48593         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48595         (__makecontext): Add dummy nop after jump to exit.
48596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48597         Use correct parm save area and cr save, reduce stack frame.
48598         Correct cfi for possible PSEUDO_RET frame setup.
48599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48600         Branch to local label emitted by PSEUDO_RET rather than
48601         __syscall_error.
48602
48603 2010-08-12  Andreas Schwab  <schwab@redhat.com>
48604
48605         [BZ #11904]
48606         * locale/programs/locale.c (print_assignment): New function.
48607         (show_locale_vars): Use it.
48608
48609 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
48610
48611         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48612         field.
48613         (struct statfs64): Likewise.
48614         (_STATFS_F_FLAGS): Define.
48615         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48616         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48617         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48618         (ST_VALID): Define locally.
48619         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48620         __statvfs_getflags, use the provided value.
48621         * sysdeps/unix/sysv/linux/kernel-features.h: Define
48622         __ASSUME_STATFS_F_FLAGS.
48623
48624         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48625
48626         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48627         Add sys/fanotify.h.
48628         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48629         fanotify_mask for GLIBC_2.13.
48630         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48631         fanotify_init and fanotify_mark.
48632         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48633         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48634
48635         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48636         Add prlimit.
48637         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48638         prlimit64 for GLIBC_2.13.
48639         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48640         prlimit64.
48641         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48642         syscall.
48643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48644         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48645         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48646         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48647         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
48648         add prlimit alias.
48649         * sysdeps/unix/sysv/linux/prlimit.c: New file.
48650
48651         [BZ #11903]
48652         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48653         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48654
48655         * nss/Makefile: Add rules to build and run tst-nss-test1.
48656         * shlib-versions: Add entry for libnss_test1.
48657         * nss/nss_test1.c: New file.
48658         * nss/tst-nss-test1.c: New file.
48659
48660         * nss/nsswitch.c (__nss_database_custom): Define new variable.
48661         (__nss_configure_lookup): Set appropriate entry in
48662         __nss_configure_lookup to true.
48663         * nss/nsswitch.h: Define enum with indeces of databases in
48664         databases and __nss_database_custom arrays.  Declare
48665         __nss_database_custom.
48666         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48667         to avoid using nscd when custom rules are installed.
48668         * nss/getXXbyYY_r.c: Likewise.
48669         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48670
48671         * nss/nss_files/files-parse.c: Whitespace fixes.
48672
48673 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
48674
48675         [BZ #11883]
48676         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48677         * posix/fnmatch_loop.c: Likewise.
48678
48679 2010-07-17  Andi Kleen  <ak@linux.intel.com>
48680
48681         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48682         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48683         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48684         * Versions.def [GLIBC_2.13]: Add.
48685
48686 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
48687
48688         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48689         Also fail if tpwd after pwuid call is NULL.
48690
48691 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48692
48693         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48694         when converting to ms.
48695
48696 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48697
48698         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48699         EOPNOTSUPP errors with ENOTTY.
48700         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48701         EOPNOTSUPP errors with ENOTTY.
48702
48703 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
48704
48705         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48706         Add strcasecmp_l-ssse3.
48707         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48708         strcasecmp.
48709         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48710         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48711         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48712
48713 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
48714
48715         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48716
48717         * string/Makefile (strop-tests): Add strcasecmp.
48718         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48719         strcasecmp_l-nonascii.
48720         (gen-as-const-headers): Add locale-defines.sym.
48721         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48722         * sysdeps/x86_64/strcasecmp.S: New file.
48723         * sysdeps/x86_64/strcasecmp_l.S: New file.
48724         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48725         * sysdeps/x86_64/locale-defines.sym: New file.
48726         * string/test-strcasecmp.c: New file.
48727
48728         * string/test-strcasestr.c: Test both ends of the range of characters.
48729         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48730
48731 2010-07-29  Roland McGrath  <roland@redhat.com>
48732
48733         [BZ #11856]
48734         * manual/locale.texi (Yes-or-No Questions): Fix example code.
48735
48736 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
48737
48738         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48739         for ld.so.
48740
48741 2010-07-27  Andreas Schwab  <schwab@redhat.com>
48742
48743         * manual/memory.texi (Malloc Tunable Parameters): Document
48744         M_PERTURB.
48745
48746 2010-07-26  Roland McGrath  <roland@redhat.com>
48747
48748         [BZ #11840]
48749         * configure.in (-fgnu89-inline check): Set and substitute
48750         gnu89_inline, not libc_cv_gnu89_inline.
48751         * configure: Regenerated.
48752         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48753
48754 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
48755
48756         * string/test-strnlen.c: New file.
48757         * string/Makefile (strop-tests): Add strnlen.
48758         * string/tester.c (test_strnlen): Add a few more test cases.
48759         * string/tst-strlen.c: Better error reporting.
48760
48761         * sysdeps/x86_64/strnlen.S: New file.
48762
48763 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
48764
48765         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48766         lower-latency instructions.
48767
48768 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
48769
48770         * string/test-strcasestr.c: New file.
48771         * string/test-strstr.c: New file.
48772         * string/Makefile (strop-tests): Add strstr and strcasestr.
48773         * string/str-two-way.h: Don't undefine MAX.
48774         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48775
48776 2010-07-21  Andreas Schwab  <schwab@redhat.com>
48777
48778         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48779         strcasestr-nonascii.
48780         (CFLAGS-strcasestr-nonascii.c): Define.
48781         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48782         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48783         Remove unused attribute.
48784
48785 2010-07-20  Roland McGrath  <roland@redhat.com>
48786
48787         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48788         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
48789         ld.so.cache was broken.  With it, there is no way to disable dsocaps
48790         like LD_HWCAP_MASK can disable hwcaps.
48791
48792 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48793
48794         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48795
48796 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
48797
48798         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48799         call in strcasestr.
48800         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48801         __strcasestr_sse42_nonascii.
48802         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48803         strcasestr-nonascii.c.
48804         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48805
48806 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
48807
48808         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48809         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48810         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48811         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48812
48813 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
48814
48815         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48816         fcntl.
48817
48818 2010-07-06  Andreas Schwab  <schwab@redhat.com>
48819
48820         [BZ #11577]
48821         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48822         dl_signal_cerror.
48823
48824 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
48825
48826         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48827         _PC_PIPE_BUF using F_GETPIPE_SZ.
48828
48829 2010-07-05  Roland McGrath  <roland@redhat.com>
48830
48831         * manual/arith.texi (Rounding Functions): Fix rint description
48832         implicit in round description.
48833
48834 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
48835
48836         * elf/Makefile: Fix linking for a few tests to make recent linker
48837         happy.
48838
48839 2010-06-30  Andreas Schwab  <schwab@redhat.com>
48840
48841         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48842         $(common-objpfx)libc_nonshared.a.
48843
48844 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
48845
48846         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48847         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48848         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48849         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48850         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48851         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48852         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48853         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48868         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48869         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48870         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48871         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48872         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48873         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48874         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48875         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48876         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48877         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48878         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48879         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48894
48895 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
48896
48897         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48898         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
48899         * string/memmove.c (memmove): Renamed to ...
48900         (MEMMOVE): ...this.  Default to memmove.
48901         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48902         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48903         (END_CHK): Define.
48904         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48905         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48906         mempcpy-ssse3-back memmove-ssse3-back.
48907         * sysdeps/x86_64/multiarch/bcopy.S: New file .
48908         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48909         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48910         * sysdeps/x86_64/multiarch/memcpy.S: New file.
48911         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48912         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48913         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48914         * sysdeps/x86_64/multiarch/memmove.c: New file.
48915         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48916         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48917         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48918         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48919         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48920         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48921         Define.
48922         (index_Fast_Copy_Backward): Define.
48923         (HAS_ARCH_FEATURE): Define.
48924         (HAS_FAST_REP_STRING): Define.
48925         (HAS_FAST_COPY_BACKWARD): Define.
48926
48927 2010-06-21  Andreas Schwab  <schwab@redhat.com>
48928
48929         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48930         Restore proper fallback handling.
48931
48932 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
48933
48934         [BZ #11701]
48935         * posix/group_member.c (__group_member): Correct checking loop.
48936
48937         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48938         OOM in getpwuid_r correctly.  Return error number when the caller
48939         should return, otherwise -1.
48940         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48941         call returning > 0 value.
48942         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48943
48944 2010-06-07  Andreas Schwab  <schwab@redhat.com>
48945
48946         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48947         libc_nonshared.a from targets in modules-names.
48948
48949 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
48950
48951         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48952         requires it.
48953
48954 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
48955
48956         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48957         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48958         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48959         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48960
48961 2010-06-02  Andreas Schwab  <schwab@redhat.com>
48962
48963         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48964
48965 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
48966
48967         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48968         and F_GETPIPE_SZ.
48969         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48970         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48971         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48972         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48973         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48974         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48975
48976 2010-06-14  Roland McGrath  <roland@redhat.com>
48977
48978         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48979
48980 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
48981
48982         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48983         __REDIRECT followed by __THROW.
48984         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48985         * posix/getopt.h (getopt): Likewise.
48986
48987 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48988
48989         * hurd/lookup-at.c (__file_name_lookup_at): Accept
48990         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
48991         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48992         in AT_FLAGS.
48993         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48994         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48995
48996 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
48997
48998         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48999
49000 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
49001
49002         [BZ #11640]
49003         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49004         Properly check family and model.
49005
49006 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
49007
49008         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49009
49010 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
49011
49012         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49013
49014 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
49015
49016         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49017         symbol reference.
49018
49019 2010-05-19  Andreas Schwab  <schwab@redhat.com>
49020
49021         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49022         symbol reference.
49023
49024 2010-05-21  Andreas Schwab  <schwab@redhat.com>
49025
49026         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49027         and internal_recvmmsg.
49028         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49029         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49030         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49031         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49032
49033         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49034         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49035         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49036
49037 2010-05-20  Andreas Schwab  <schwab@redhat.com>
49038
49039         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49040
49041 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
49042
49043         POWER7 optimizations.
49044         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49045         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49046
49047 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
49048
49049         * version.h: Update for 2.13 development version.
49050
49051 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
49052
49053         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49054         exceptions.  Return 0.
49055
49056 2010-05-07  Roland McGrath  <roland@redhat.com>
49057
49058         * elf/ldconfig.c (main): Add a const.
49059
49060 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
49061
49062         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49063         (args_options): Add no-idn option.
49064         (ahosts_keys_int): Add idn_flags to ai_flags.
49065         (parse_option): Handle 'i' option to clear idn_flags.
49066
49067         * malloc/malloc.c (_int_free): Possible race in the most recently
49068         added check.  Only act on the data if no current modification
49069         happened.
49070
49071 See ChangeLog.17 for earlier changes.