Use better variable names in MIPS syscall macros.
[glibc.git] / ChangeLog
blob8abe7b1dd9f93e7293b8e8bedfd00dbb95ab43b9
1 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4         Use variable name _sc_err instead of err.
5         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
6         instead of ret.
7         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
8         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
9         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
10         (INLINE_SYSCALL): Likewise.
12         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
13         * include/string.h (__strnlen): Use libc_hidden_proto.
14         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
15         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
16         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
17         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
18         (libc_hidden_def): Undefine and redefine.
19         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
20         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
21         __GI_strnlen.
22         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
23         libc_hidden_def.
24         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
26         [BZ #18469]
27         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
28         weak alias of __towlower.  Use libc_hidden_weak.
29         (towupper): Rename to __towupper and define as weak alias of
30         __towupper.  Use libc_hidden_weak.
31         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
32         (__towupper): Likewise.
33         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
34         __towlower instead of towlower.
36 2015-06-02  Roland McGrath  <roland@hack.frob.com>
38         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
39         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
41 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
43         * sysdeps/aarch64/libm-test-ulps: Update.
45 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
47         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
48         Define.
49         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
50         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
51         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
52         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
53         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
54         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
55         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
57 2015-06-01  Martin Sebor  <msebor@redhat.com>
59         [BZ #18116]
60         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
61         (__setcontext): Use extended four-operand version of mtsf whenever
62         possible.
63         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
64         (__novec_swapcontext): Likewise.
66 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
68         * benchtests/scripts/compare_bench.py: New file.
69         * benchtests/scripts/import_bench.py (mean): New function.
70         (split_list): Likewise.
71         (do_for_all_timings): Likewise.
72         (compress_timings): Likewise.
74         * benchtests/scripts/import_bench.py: New file.
75         * benchtests/scripts/validate_benchout.py: Import import_bench
76         instead of jsonschema.
77         (validate_bench): Remove function.
78         (main): Use import_bench.
80 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
82         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
83         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
85 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
87         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
89 2015-05-28  Roland McGrath  <roland@hack.frob.com>
91         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
92         set THREAD_SELF->tid to a magic value and futex-wake it.
93         Pass its address to the thread_exit system call.
94         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
95         bit is clear.
96         * sysdeps/nacl/lowlevellock.h: New file.
97         * sysdeps/nacl/lll_timedwait_tid.c: New file.
99         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
100         Add TIMEOUT to current time, don't subtract it.
102 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
104         [BZ #18422]
105         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
106         ($(objpfx)tst-audit2.out): Also depend on
107         $(objpfx)tst-auditmod9b.so.
108         * elf/tst-audit2.c: Include <dlfcn.h>.
109         (calloc_called): New.
110         (calloc): Allow to be called more than once.
111         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
113 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
115         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
116         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
118 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
120         * stdlib/monetary.h: Fix comment.
122 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
124         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
125         Avoid using variables in #defines that might cause shadowing.
126         (INTERNAL_VSYSCALL_CALL): Likewise.
128 2015-05-26  Roland McGrath  <roland@hack.frob.com>
130         * sysdeps/nacl/lll_timedlock_wait.c: New file.
132         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
133         * nptl/lll_timedlock_wait.c: ... to this new file.
134         * nptl/Makefile (libpthread-routines): Add it.
135         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
136         * nptl/lll_timedwait_tid.c: ... to this new file.
137         * nptl/Makefile (libpthread-routines): Add it.
138         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
139         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
140         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
141         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
142         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
143         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
144         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
145         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
146         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
147         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
149 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
151         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
152         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
153         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
154         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
155         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
156         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
157         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
158         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
159         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
160         * sysdeps/unix/sysv/linux/tile/sysdep.h
161         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
162         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
163         using vDSO syscall macro.
165 2015-05-26  Andriy Rysin  <arysin@gmail.com>
167         [BZ #17293]
168         * uk_UA: Fix sorting order for Ukrainian locale
170 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
172         * stdlib/monetary.h: Fix comment.
174 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
176         [BZ #18234]
177         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
178         st_mtim and st_ctim members.
179         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
180         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
181         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
182         (struct stat64): Likewise.
183         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
184         (struct stat64): Likewise.
185         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
186         (struct stat64): Likewise.
188 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
190         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
191         Define and include sysdep-vdso.h.
192         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
193         Likewise.
194         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
195         Likewise.
196         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
197         Define with VDSO_SYMBOL and use PTR_MANGLE.
198         (__vdso_clock_gettime): Likewise.
199         (__vdso_clock_getres): Likewise.
200         (_libc_vdso_platform_setup): Likewise.
201         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
202         Likewise.
203         (_libc_vdso_platform_setup): Likewise.
204         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
205         Likewise.
206         (__vdso_clock_gettime): Likewise.
207         (__vdso_clock_getres): Likewise.
208         (__vdso_get_tbfreq): Likewise.
209         (__vdso_getcpu): Likewise.
210         (__vdso_time): Likewise.
211         (__vdso_sigtramp_rt64): Likewise.
212         (__vdso_signtramp32): Likewise.
213         (__vdso_sigtramp_rt32): Likewise.
214         (_libc_vdso_platform_setup): Likewise.
215         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
216         Likewise.
217         (__vdso_clock_gettime): Likewise.
218         (__vdso_clock_getres): Likewise.
219         (_libc_vdso_platform_setup): Likewise.
220         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
221         Likewise.
222         (__vdso_clock_gettime): Likewise.
223         (_libc_vdso_platform_setup): Likewise.
224         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
225         Likewise.
226         (__vdso_getcpu): Likewise.
227         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
228         Use VDSO_SYMBOL macro to define.
229         (__vdso_clock_gettime): Likewise.
230         (__vdso_clock_getres): Likewise.
231         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
232         Likewise.
233         (__vdso_clock_gettime): Likewise.
234         (__vdso_clock_getres): Likewise.
235         (__vdso_get_tbfreq): Likewise.
236         (__vdso_getcpu): Likewise.
237         (__vdso_time): Likewise.
238         (__vdso_sigtramp_rt64): Likewise.
239         (__vdso_signtramp32): Likewise.
240         (__vdso_sigtramp_rt32): Likewise.
241         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
242         Likewise.
243         (__vdso_clock_gettime): Likewise.
244         (__vdso_clock_getres): Likewise.
245         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
246         Likewise.
247         (__vdso_clock_gettime): Likewise.
248         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
249         Likewise.
250         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
251         macro.
252         (INTERNAL_VSYSCALL): Likewise.
253         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
254         Remove macro.
255         (INTERNAL_VSYSCALL): Likewise.
256         (INTERNAL_VSYSCALL_NCS): Likewise.
257         (INTERNAL_VSYSCALL_CALL): New macro.
258         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
259         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
260         Likewise.
261         (INTERNAL_VSYSCALL): Likewise.
262         (INTERNAL_VSYSCALL_NCS): Likewise.
263         (INTERNAL_VSYSCALL_CALL): New macro.
264         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
266         (INLINE_VSYSCALL): Remove macro.
267         (INTERNAL_VSYSCALL): Remove macro.
268         (INTERNAL_VSYSCALL_NCS): Remove macro.
269         (INTERNAL_VSYSCALL_CALL): New macro.
270         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
271         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
272         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
273         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
274         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
276         (INLINE_VSYSCALL): Remove macro.
277         (INTERNAL_VSYSCALL): Likewise.
278         (INTERNAL_VSYSCALL_NCS): Likewise.
279         (INTERNAL_VSYSCALL_CALL): New macro.
280         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
281         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
282         PTR_DEMANGLE on vDSO pointer.
283         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
284         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
285         macro.
286         (INTERNAL_SYSCALL): Likewise.
287         (INTERNAL_VSYSCALL_NCS): Remove macro.
288         (INTERNAL_VSYSCALL_CALL): New macro.
289         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
290         Remove macro.
291         (INTERNAL_VSYSCALL): Likewise.
292         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
293         sysdep-vdso.h instead of libc-vdso.h.
294         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
295         definition.
296         (INLINE_VSYSCALL): Likewise.
297         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
298         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
299         definition.
300         (INLINE_VSYSCALL): Likewise.
301         (INTERNAL_VSYSCALL): Likewise.
302         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
303         * sysdeps/unix/sysv/linux/timespec_get.c
304         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
305         (timespec_get): Use ANSI prototype.
306         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
307         and definition for Linux.
309 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
311         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
312         * include/libc-symbols.h: libmvec_hidden_* macro series added.
314 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
316         [BZ #18410]
317         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
318         for missing DT_PLTRELSZ.
320 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
322         Remove obsolete aliases that broke 'locale -a'
323         [BZ #18412]
324         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
325         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
326         breaking some applications that use 'locale -a' output.
327         Change the encoding of this file from Latin-1 to ASCII to avoid
328         other potential problems with people grepping this file.
330 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
332         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
333         -fasynchronous-unwind-tables.
334         (CFLAGS-sendto.c): Likewise.
335         (CFLAGS-sendmsg.c): Likewise.
336         (CFLAGS-connect.c): Likewise.
337         (CFLAGS-recvmsg.c): Likewise.
338         (CFLAGS-recvfrom.c): Likewise.
339         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
340         (SOCKETCALL): New macro: non-cancellable socketcall.
341         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
342         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
343         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
344         * sysdeps/unix/sysv/linux/accept.c: New file.
345         * sysdeps/unix/sysv/linux/bind.c: Likewise.
346         * sysdeps/unix/sysv/linux/connect.c: Likewise.
347         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
348         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
349         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
350         * sysdeps/unix/sysv/linux/listen.c: Likewise.
351         * sysdeps/unix/sysv/linux/recv.c: Likewise.
352         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
353         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
354         * sysdeps/unix/sysv/linux/send.c: Likewise.
355         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
356         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
357         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
358         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
359         * sysdeps/unix/sysv/linux/socket.c: Likewise.
360         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
361         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
362         prototype.
363         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
364         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
365         instead of __internal_xxx function.
366         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
367         prototype.
368         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
369         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
370         instead of __internal_xxx function.
371         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
372         prototype.
373         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
374         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
375         instead of __internal_xxx function.
376         * sysdeps/unix/sysv/linux/accept.S: Remove file.
377         * sysdeps/unix/sysv/linux/bind.S: Likewise.
378         * sysdeps/unix/sysv/linux/connect.S: Likewise.
379         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
380         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
381         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
382         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
383         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
384         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
385         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
386         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
387         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
388         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
389         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
390         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
391         * sysdeps/unix/sysv/linux/listen.S: Likewise.
392         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
393         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
394         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
395         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
398         * sysdeps/unix/sysv/linux/recv.S: Likewise.
399         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
400         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
401         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
402         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
403         * sysdeps/unix/sysv/linux/send.S: Likewise.
404         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
405         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
406         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
407         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
408         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
409         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
410         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
411         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
412         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
413         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
414         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
415         socketcall is implemented in GLIBC.
417 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
419         * soft-fp/fmadf4.c: Include <libc-internal.h>.
420         (__fma): Ignore uninitialized warnings around packing.
421         * soft-fp/fmasf4.c: Include <libc-internal.h>.
422         (__fmaf): Ignore uninitialized warnings around packing.
423         * soft-fp/fmatf4.c: Include <libc-internal.h>.
424         (__fmal): Ignore uninitialized warnings around packing.
426         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
427         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
428         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
429         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
431         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
432         switch statement into default case.
433         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
435         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
436         a conditional in forcing "inexact".
437         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
438         Likewise.
440 2015-05-22  Roland McGrath  <roland@hack.frob.com>
442         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
443         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
444         for each INTERNAL_SYSCALL use.
446 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
448         [BZ #438]
449         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
450         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
451         variable.
453         [BZ #18444]
454         * string/basename.c (basename): Rename to __basename and define as
455         weak alias of __basename.  Use libc_hidden_weak.
456         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
457         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
458         __basename instead of basename.
459         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
460         Remove variable.
461         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
463 2015-05-18  Florian Weimer  <fweimer@redhat.com>
465         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
466         (_IO_JUMPS_FILE_plus): New.
467         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
468         _IO_CAST_FIELD_ACCESS.
469         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
470         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
471         * libio/freopen.c (freopen): Likewise.
472         * libio/freopen64.c (freopen64): Likewise.
473         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
474         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
475         * libio/iofwide.c (_IO_fwide): Likewise.
476         * libio/memstream.c (open_memstream): Likewise.
477         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
478         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
479         * libio/oldiopopen.c (_IO_old_popen): Likewise.
481 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
483         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
484         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
485         NADJ.
486         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
487         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
488         NADJ.
489         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
490         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
491         NADJ.
493         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
494         (p == 4) case.
496         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
497         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
498         Remove variable.
499         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
500         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
501         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
503 2015-05-21  Florian Weimer  <fweimer@redhat.com>
505         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
506         Adjust jump table label generation macros.
508 2015-05-21  Florian Weimer  <fweimer@redhat.com>
510         * stdio-common/vfprintf.c (vfprintf): Move local variables
511         args_malloced, specs, specs_malloced, and the code after
512         do_positional to the printf_positional function.
513         (printf_positional): New function.
515 2015-05-21  Florian Weimer  <fweimer@redhat.com>
517         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
518         function.
519         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
520         STEP4_TABLE, process_arg): Move macro definitions
521         out of the vfprintf function.  (Cosmetic change only.)
523 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
525         * benchtests/Makefile (stdio-common-bench): Define.
526         (benchset): Add stdio-common-bench.
527         * sprintf-inputs: New file.
528         * sprintf-source.c: New file.
530 2015-05-21  Andreas Schwab  <schwab@suse.de>
532         [BZ #13028]
533         [BZ #17053]
534         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
535         of struct __res_state.
536         * resolv/res_send.c (__libc_res_nsend): Likewise.
537         (get_nsaddr): New function.
538         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
539         statp directly.
541 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
543         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
544         -D_POSIX_C_SOURCE=199506L.
546         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
548         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
549         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
550         Do not mention otherwise.
551         [POSIX] (_XOPEN_VERSION): Do not expect.
552         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
553         [POSIX] (_POSIX2_C_BIND): Likewise.
554         [POSIX] (_POSIX2_VERSION): Likewise.
555         [POSIX] (_XOPEN_XPG2): Likewise.
556         [POSIX] (_XOPEN_XPG3): Likewise.
557         [POSIX] (_XOPEN_XPG4): Likewise.
558         [POSIX] (_XOPEN_UNIX): Likewise.
559         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
560         [POSIX] (_POSIX_BARRIERS): Likewise.
561         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
562         [POSIX] (_POSIX_CPUTIME): Likewise.
563         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
564         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
565         [POSIX] (_POSIX_SHELL): Likewise.
566         [POSIX] (_POSIX_SPAWN): Likewise.
567         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
568         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
569         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
570         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
571         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
572         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
573         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
574         [POSIX] (_XBS5_LP64_OFF64): Likewise.
575         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
576         [POSIX] (_POSIX_TIMEOUTS): Likewise.
577         [POSIX] (_POSIX2_PBS): Likewise.
578         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
579         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
580         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
581         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
582         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
583         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
584         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
585         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
586         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
587         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
588         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
589         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
590         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
591         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
592         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
593         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
594         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
595         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
596         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
597         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
598         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
599         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
600         [POSIX] (_SC_2_C_BIND): Likewise.
601         [POSIX] (_SC_2_C_VERSION): Likewise.
602         [POSIX] (_SC_2_PBS): Likewise.
603         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
604         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
605         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
606         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
607         [POSIX] (_SC_2_PBS_TRACK): Likewise.
608         [POSIX] (_SC_ATEXIT_MAX): Likewise.
609         [POSIX] (_SC_BARRIERS): Likewise.
610         [POSIX] (_SC_BASE): Likewise.
611         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
612         [POSIX] (_SC_DEVICE_IO): Likewise.
613         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
614         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
615         [POSIX] (_SC_FD_MGMT): Likewise.
616         [POSIX] (_SC_FIFO): Likewise.
617         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
618         [POSIX] (_SC_FILE_LOCKING): Likewise.
619         [POSIX] (_SC_FILE_SYSTEM): Likewise.
620         [POSIX] (_SC_IOV_MAX): Likewise.
621         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
622         [POSIX] (_SC_NETWORKING): Likewise.
623         [POSIX] (_SC_PAGE_SIZE): Likewise.
624         [POSIX] (_SC_PASS_MAX): Likewise.
625         [POSIX] (_SC_PIPE): Likewise.
626         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
627         [POSIX] (_SC_REGEXP): Likewise.
628         [POSIX] (_SC_SHELL): Likewise.
629         [POSIX] (_SC_SIGNALS): Likewise.
630         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
631         [POSIX] (_SC_SPIN_LOCKS): Likewise.
632         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
633         [POSIX] (_SC_USER_GROUPS): Likewise.
634         [POSIX] (_SC_USER_GROUPS_R): Likewise.
635         [POSIX] (_SC_STREAMS): Likewise.
636         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
637         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
638         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
639         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
640         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
641         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
642         [POSIX] (_PC_FILESIZEBITS): Likewise.
643         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
644         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
645         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
646         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
647         [POSIX] (uid_t): Likewise.
648         [POSIX] (gid_t): Likewise.
649         [POSIX] (off_t): Likewise.
650         [POSIX] (pid_t): Likewise.
651         [POSIX] (cuserid): Allow.
652         (_SC_2_CHAR_TERM): Require constant.
653         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
654         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
655         variable.
657 2015-05-20  Roland McGrath  <roland@hack.frob.com>
659         * sysdeps/nacl/pthread-pids.h: New file.
660         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
661         (create_thread): Use __nacl_get_tid to initialize PD->tid.
663         * nptl/pthread-pids.h: New file.
664         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
665         * nptl/nptl-init.c: Include <pthread-pids.h>.
666         (__pthread_initialize_minimal_internal):
667         Call __pthread_initialize_pids instead of set_tid_address syscall.
669         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
670         * sysdeps/posix/usleep.c: ... here.
672 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
674         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
675         call_pselect6 object.
676         [$(subdir) = io]: Remove call_sync_file_range object.
677         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
678         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
679         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
680         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
682 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
684         * math/s_cproj.c: Add include "math_private.h".
685         * math/s_cprojf.c: Likewise.
686         * math/s_cprojl.c: Likewise.
688 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
690         [BZ #18244]
691         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
692         high mantissa bit when testing whether P is a NaN.
693         * math/libm-test.inc (remainder_test_data): Add more tests.
694         (remquo_test_data): Likewise.
696         [BZ #18049]
697         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
698         below -32, return the argument, with underflow if subnormal.
699         * math/auto-libm-test-in: Add more tests of atanh.
700         * math/auto-libm-test-out: Regenerated.
702 2015-05-19  Roland McGrath  <roland@hack.frob.com>
704         [BZ #18434]
705         * nptl/tst-sem15.c: New file.
706         * nptl/Makefile (tests): Add it.
707         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
708         s/<</>>/ to fix typo in EOVERFLOW check.
709         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
711 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
713         * manual/strings.texi (envz_remove): Fix typo in safety
714         annotations.
716 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
717             Steve Ellcey  <sellcey@imgtec.com>
719         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
720         in order to avoid strict alias warnings.
721         (iruserok_af): Ditto for ra.
723 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
725         [BZ #17581]
726         * malloc/hooks.c
727         (magicbyte): Convert to a function and avoid returning 0x01.
728         (mem2mem_check): Avoid using a length byte equal to the magic byte.
729         (mem2chunk_check): Fix unsigned comparisons to zero.
730         Hoist defs of sz and magic.
732 2015-05-19  Richard Henderson  <rth@redhat.com>
734         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
736         * sysdeps/alpha/fpu/libm-test-ulps: Update.
738 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
740         [BZ #16159]
741         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
742         * malloc/arena.c (arena_lock): Check if arena is corrupt.
743         (reused_arena): Find a non-corrupt arena.
744         (heap_trim): Pass arena to unlink.
745         * malloc/hooks.c (malloc_check_get_size): Pass arena to
746         malloc_printerr.
747         (top_check): Likewise.
748         (free_check): Likewise.
749         (realloc_check): Likewise.
750         * malloc/malloc.c (malloc_printerr): Add arena argument.
751         (unlink): Likewise.
752         (munmap_chunk): Adjust.
753         (ARENA_CORRUPTION_BIT): New macro.
754         (arena_is_corrupt): Likewise.
755         (set_arena_corrupt): Likewise.
756         (sysmalloc): Use mmap if there are no usable arenas.
757         (_int_malloc): Likewise.
758         (__libc_malloc): Don't fail if arena_get returns NULL.
759         (_mid_memalign): Likewise.
760         (__libc_calloc): Likewise.
761         (__libc_realloc): Adjust for additional argument to
762         malloc_printerr.
763         (_int_free): Likewise.
764         (malloc_consolidate): Likewise.
765         (_int_realloc): Likewise.
766         (_int_memalign): Don't touch corrupt arenas.
767         * malloc/tst-malloc-backtrace.c: New test case.
769         * Makefile (summarize-tests): Fix return value on success.
771         * manual/string.texi (Envz Functions): Add envz_remove.
773 2015-05-18  Roland McGrath  <roland@hack.frob.com>
775         * sysdeps/posix/opendir.c: Include <stdbool.h>.
776         (invalid_name): New function, broken out of ...
777         (__opendirat): ... here.  Call it.
778         (need_isdir_precheck): New function, broken out of ...
779         (__opendirat): ... here.  Call it.
780         Use __fxstatat64, not __xstatat64.
781         (opendir_oflags): New function, broken out of ...
782         (__opendirat): ... here.  Call it.
783         (opendir_tail): New function, broken out of ...
784         (__opendirat): ... here.  Call it.
785         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
786         opendir_tail, rather than punting to __opendirat.
787         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
789 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
791         * .gitignore: Ignore generated *.pyc.
793 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
795         * include/stdio.h: Define __need_wint_t.
796         * test-skeleton.c: Avoid `for' loop initial declaration.
797         * nptl/tst-initializers1.c: Use test-skeleton.c.
799 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
801         [BZ #18418]
802         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
804 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
806         [BZ #16352]
807         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
808         (__ieee754_atanh): Force underflow exception for results with
809         small absolute value.
810         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
811         (__ieee754_atanhf): Force underflow exception for results with
812         small absolute value.
813         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
814         (__ieee754_atanh): Force underflow exception for results with
815         small absolute value.
816         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
817         (__ieee754_atanhf): Force underflow exception for results with
818         small absolute value.
819         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
820         (__ieee754_atanhl): Force underflow exception for results with
821         small absolute value.
822         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
823         (__ieee754_atanhl): Force underflow exception for results with
824         small absolute value.
825         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
826         (__ieee754_atanhl): Force underflow exception for results with
827         small absolute value.
828         * math/auto-libm-test-in: Do not allow missing underflow
829         exceptions from atanh.
830         * math/auto-libm-test-out: Regenerated.
832         [BZ #18221]
833         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
834         2**-28 as threshold for returning x or +/- 1/x.
835         * math/auto-libm-test-in: Add more tests of tan.
836         * math/auto-libm-test-out: Regenerated.
838         [BZ #18220]
839         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
840         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
841         * math/auto-libm-test-in: Add another test of lgamma.
842         * math/auto-libm-test-out: Regenerated.
844 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
846         * stdio-common/printf_fp.c (___printf_fp): Use abs.
847         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
848         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
849         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
850         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
851         (ADD2A): Use fabs.  (SUB2A): Use fabs.
852         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
853         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
854         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
855         (log1): Use fabs.  (my_log2): Use fabs.
856         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
857         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
858         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
859         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
860         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
861         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
862         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
863         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
864         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
865         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
866         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
868 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
870         [BZ #18217]
871         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
872         as threshold for returning 1 - x.
873         * math/auto-libm-test-in: Add more tests of erfc.
874         * math/auto-libm-test-out: Regenerated.
876 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
878         [BZ #18196]
879         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
880         threshold for large arguments.
881         * math/auto-libm-test-in: Add another test of atan.
882         * math/auto-libm-test-out: Regenerated.
884         [BZ #16339]
885         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
886         (__log1p): Force underflow exception for results with small
887         absolute value.
888         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
889         (__log1pf): Force underflow exception for results with small
890         absolute value.
891         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
892         (__log1p): Force underflow exception for results with small
893         absolute value.
894         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
895         (__log1pf): Force underflow exception for results with small
896         absolute value.
897         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
898         (__log1pl): Force underflow exception for results with small
899         absolute value.
900         * math/auto-libm-test-in: Do not allow missing underflow
901         exceptions from log1p.
902         * math/auto-libm-test-out: Regenerated.
904 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
905             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
907         [BZ #16704]
908         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
910 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
912         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
913         (libmvec): New variable.
914         * configure.ac: Added option for mathvec build.
915         * configure: Regenerated.
916         * mathvec/Depend: New file.
917         * mathvec/Makefile: New file.
918         * shlib-versions: Added libmvec.
919         * math/Makefile: Added rule for libm.so installation.
921         * bits/math-vector.h: New file.
922         * bits/libm-simd-decl-stubs.h: New header.
923         * math/Makefile (headers): Added new header
924         libm-simd-decl-stubs.h.
925         * math/math.h (__MATHCALL_VEC): New macro.
927         * math/gen-libm-have-vector-test.sh: Script generates series of macros
928         for conditions in testing functions.
929         * math/Makefile: Added call of libm-have-vector-test.sh.
930         * math/libm-test.inc (HAVE_VECTOR): New macros.
932         * math/libm-test.inc: START refactored.
933         * math/test-double.c (TEST_MATHVEC): Add define.
934         * math/test-float.c: Likewise.
935         * math/test-idouble.c: Likewise.
936         * math/test-ifloat.c: Likewise.
937         * math/test-ildoubl.c: Likewise.
938         * math/test-ldouble.c: Likewise.
939         * sysdeps/generic/math-tests-arch.h
940         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
941         architecture check.
943         * math/test-double.c (FUNC_TEST): New macro.
944         * math/test-float.c: Likewise.
945         * math/test-idouble.c: Likewise.
946         * math/test-ifloat.c: Likewise.
947         * math/test-ildoubl.c: Likewise.
948         * math/test-ldouble.c: Likewise.
949         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
951 2015-05-13  Roland McGrath  <roland@hack.frob.com>
953         * sysdeps/nacl/fdopendir.c: New file.
955         * dirent/scandir-tail.c: New file.
956         * dirent/scandir64-tail.c: New file.
957         * dirent/Makefile (routines): Add them.
958         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
959         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
960         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
961         [!SCANDIR] (SCANDIR_TAIL): New macro.
962         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
963         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
964         (SCANDIRAT): Macro removed.
965         (SCANDIR_TAIL): New macro.
966         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
967         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
968         (SCANDIRAT): Just call __opendirat and __scandir_tail.
969         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
970         (READDIR): Macro removed.
971         (SCANDIR_TAIL): New macro.
972         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
973         (SCANDIR_TAIL): New macro.
975         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
976         * dirent/scandir-cancel.c: ... to this new file.
977         * dirent/Makefile (routines): Add it.
978         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
979         * sysdeps/unix/sysv/linux/i386/scandir64.c
980         (SKIP_SCANDIR_CANCEL): Macro removed.
981         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
983         * dirent/tst-scandir.c: New file.
984         * dirent/tst-scandir64.c: New file.
985         * dirent/Makefile (tests): Add them.
987 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
989         [BZ #18409]
990         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
992 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
994         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
995         list.
997 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
999         * benchtests/bench-strcoll.c: New benchmark.
1000         * benchtests/Makefile: Generate locales and run benchmark.
1001         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
1002         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1003         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
1004         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
1005         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
1006         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
1007         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
1008         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
1009         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
1010         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
1011         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
1012         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
1013         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
1014         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
1015         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
1016         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
1017         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
1018         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
1019         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
1020         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
1021         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
1022         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
1023         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
1024         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
1026 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
1028         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
1029         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1031 2015-05-12  Roland McGrath  <roland@hack.frob.com>
1033         * posix/uname-values.h: New file.
1034         * posix/uname.c: Include that instead of <config-name.h>.
1035         * sysdeps/nacl/uname-values.h: New file.
1036         * sysdeps/arm/nacl/uname-values.h: New file.
1038 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
1040         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
1041         splitting into fields.
1043 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
1045         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
1046         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
1047         * locale/localeinfo.h: Add enum collation_encoding_type.
1048         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
1049         * programs/ld-collate.c (collate_output): Add encoding type info.
1050         * string/strcoll_l.c (STRDIFF): New function.
1051         * (STRCOLL): Use STRDIFF to skip over equal prefix.
1052         * wcsmbs/wcscoll_l.c: Define STRDIFF.
1054 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
1056         [BZ #18397]
1057         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
1058         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
1059         <fpu_control.h> instead of <math/fpu_control.c>.
1060         * sysdeps/mips/mips32/fpu/Makefile: New file.
1062 2015-05-11  Andreas Schwab  <schwab@suse.de>
1064         [BZ #18007]
1065         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
1066         nss_endgrent.
1067         (_nss_compat_endgrent): Call nss_endgrent.
1068         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
1069         nss_endpwent.
1070         (_nss_compat_endpwent): Call nss_endpwent.
1071         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
1072         needent, call nss_setspent only if non-zero.
1073         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
1074         (internal_endspent): Don't call nss_endspent.
1075         (_nss_compat_endspent): Call nss_endspent.
1076         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
1077         Remove.  All uses removed.
1078         (internal_setent): Remove parameter stayopen, add parameter
1079         stream.  Use it instead of global variable.
1080         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
1081         (internal_endent, internal_getent): Add parameter stream.  Use it
1082         instead of global variable.
1083         (CONCAT(_nss_files_end,ENTNAME))
1084         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
1085         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
1086         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
1087         uses removed.
1088         (internal_setent, internal_endent): Add parameter stream.  Use it
1089         instead of global variable.
1090         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
1091         stream.
1092         (get_next_alias): Add parameter stream.
1093         (_nss_files_getaliasent_r): Pass global stream.
1094         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
1095         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
1096         (_nss_files_gethostbyname4_r): Pass local stream to
1097         internal_setent, internal_getent and internal_endent.  Remove
1098         locking.
1100 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1102         * tst-strfmon1.c (tests): Update expected currency symbol.
1104 2015-05-08  Roland McGrath  <roland@hack.frob.com>
1106         * sysdeps/nacl/gethostname.c: New file.
1108 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
1110         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
1111         and sinh.
1112         * math/auto-libm-test-out: Regenerated.
1113         * sysdeps/i386/fpu/libm-test-ulps: Update.
1114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1116 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
1118         [BZ #18125]
1119         * stdlib/tst-setcontext3.c: New file.
1120         * stdlib/tst-setcontext3.sh: New file.
1121         * stdlib/Makefile (tests): Add tst-setcontext3.
1122         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
1123         to verify test program created output file.
1124         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
1125         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
1126         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
1127         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
1129 2015-05-06  Roland McGrath  <roland@hack.frob.com>
1131         [BZ #18383]
1132         * elf/tst-tlsalign.c: New file.
1133         * elf/tst-tlsalign-static.c: New file.
1134         * elf/tst-tlsalign-lib.c: New file.
1135         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
1136         (tests-static): Add tst-tlsalign-static.
1137         (modules-names): Add tst-tlsalign-lib.
1138         (test-xfail-tst-tlsalign): New variable.
1139         (test-xfail-tst-tlsalign-static): New variable.
1141         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
1142         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
1144 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
1146         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
1147         csqrt, erfc, sin and sincos.
1148         * math/auto-libm-test-out: Regenerated.
1149         * sysdeps/i386/fpu/libm-test-ulps: Update.
1150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1152 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1154         * sysdeps/aarch64/libm-test-ulps: Update.
1156 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
1158         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
1159         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
1160         * math/auto-libm-test-out: Regenerated.
1161         * sysdeps/i386/fpu/libm-test-ulps: Update.
1162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1164 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1166         [BZ #18265]
1167         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
1168         (wcsncpy): Likewise.
1170 2015-05-05  Florian Weimer  <fweimer@redhat.com>
1172         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1173         Assume __ASSUME_FALLOCATE is always true.
1174         * sysdeps/unix/sysv/linux/posix_fallocate64.c
1175         (__posix_fallocate64_l64): Likweise.
1176         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
1177         (posix_fallocate): Likewise.
1178         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
1179         (__posix_fallocate64_l64): Likewise.
1180         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1181         [!__ASSUME_FALLOCATE]: Add comment.
1183 2015-05-05  Florian Weimer  <fweimer@redhat.com>
1185         * sysdeps/unix/sysv/linux/i386/Makefile
1186         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
1187         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
1188         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
1189         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
1190         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
1191         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
1192         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
1194 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
1196         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
1197         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
1198         tgamma.
1199         * math/auto-libm-test-out: Regenerated.
1200         * sysdeps/i386/fpu/libm-test-ulps: Update.
1201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1203 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
1205         * math/auto-libm-test-in: Add more tests of tgamma.
1206         * math/auto-libm-test-out: Regenerated.
1207         * sysdeps/i386/fpu/libm-test-ulps: Update.
1208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1210         * math/auto-libm-test-in: Add more tests of tanh.
1211         * math/auto-libm-test-out: Regenerated.
1212         * sysdeps/i386/fpu/libm-test-ulps: Update.
1213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1215         * math/auto-libm-test-in: Add more tests of tan.
1216         * math/auto-libm-test-out: Regenerated.
1217         * sysdeps/i386/fpu/libm-test-ulps: Update.
1218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1220         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
1221         * math/auto-libm-test-out: Regenerated.
1222         * sysdeps/i386/fpu/libm-test-ulps: Update.
1223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1225         * math/auto-libm-test-in: Add another test of pow.
1226         * math/auto-libm-test-out: Regenerated.
1227         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1229         * math/auto-libm-test-in: Add more tests of lgamma.
1230         * math/auto-libm-test-out: Regenerated.
1231         * sysdeps/i386/fpu/libm-test-ulps: Update.
1232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1234         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
1235         log1p.
1236         * math/auto-libm-test-out: Regenerated.
1237         * sysdeps/i386/fpu/libm-test-ulps: Update.
1238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1240 2015-05-01  Mark Wielaard  <mjw@redhat.com>
1242         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
1243         Elf64_Chdr structs and ELFCOMPRESS constants.
1245 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
1247         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
1248         expm1.
1249         * math/auto-libm-test-out: Regenerated.
1250         * sysdeps/i386/fpu/libm-test-ulps: Update.
1251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1253         * math/auto-libm-test-in: Add more tests of erf and erfc.
1254         * math/auto-libm-test-out: Regenerated.
1255         * sysdeps/i386/fpu/libm-test-ulps: Update.
1256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1258 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1260         * config.h.in (HAVE_AARCH64_BE): Add.
1262 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
1264         * math/auto-libm-test-in: Add more tests of csqrt.
1265         * math/auto-libm-test-out: Regenerated.
1266         * sysdeps/i386/fpu/libm-test-ulps: Update.
1267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1269         * math/auto-libm-test-in: Add more tests of cosh and sinh.
1270         * math/auto-libm-test-out: Regenerated.
1271         * sysdeps/i386/fpu/libm-test-ulps: Update.
1272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1274         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
1276 2015-04-29  Roland McGrath  <roland@hack.frob.com>
1278         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
1279         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
1281         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
1282         (euidaccess, eaccess): Define as weak aliases.
1284         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
1285         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
1286         but __suseconds_t is often 'long int' so some sources assume that
1287         type is being used (e.g. they use %ld to print tv_usec).
1289 2015-04-29  Florian Weimer  <fweimer@redhat.com>
1291         [BZ #18007]
1292         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
1293         (CVE-2014-8121)
1294         * nss/tst-nss-getpwent.c: New file.
1295         * nss/Makefile (tests): Add new test.
1297 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
1299         [BZ #18346]
1300         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
1301         exponents less than 48 as cases where high part of mantissa needs
1302         examining to determine whether argument is integral.
1303         * math/libm-test.inc (round_test_data): Add more tests.
1305 2015-04-28  Mark Wielaard  <mjw@redhat.com>
1307         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
1309 2015-04-27  David S. Miller  <davem@davemloft.net>
1311         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
1312         __tls_get_addr.
1313         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1315 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
1317         [BZ#18333]
1318         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
1320 2015-04-27  Florian Weimer  <fweimer@redhat.com>
1322         [BZ#18333]
1323         * time/tzset.c (parse_tzname): Return error on memory allocation
1324         failure.
1325         * test-skeleton.c (struct temp_name_list): Change type of name
1326         member to non-const.
1327         (add_temp_file): Create a copy of the file name.
1328         (delete_temp_files): Deallocate memory.
1329         (create_temp_file): Add comment.
1331 2015-04-24  Florian Weimer  <fweimer@redhat.com>
1333         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
1334         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
1336 2015-04-24  Roland McGrath  <roland@hack.frob.com>
1338         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
1339         * sysdeps/arm/configure: Regenerated.
1341 2015-04-24  Florian Weimer  <fweimer@redhat.com>
1343         [BZ #17715]
1344         * time/tzfile.c (__tzfile_read): Check for large values of
1345         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
1346         * time/tzset.c (__tzstring_len): New function, based on the old
1347         __tzstring function.
1348         (__tzstring): Call __tzstring_len.
1349         (parse_tzname): New helper function extracted from
1350         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
1351         the input string.
1352         (parse_offset): New helper function extracted from
1353         __tzset_parse_tz.  Replace switch with fallthrough with
1354         initialization before sscanf.
1355         (parse_rule): Likewise.
1356         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
1357         new-style function definition.
1358         * timezone/Makefile (tests): Add tst-tzset.
1359         (tst-tzset.out): Dependencies on time zone files.
1360         (tst-tzset-ENV): Set TZDIR.
1361         (testdata/XT%): Copy crafted time zone files.
1362         * timezone/README: Mention crafted time zone files.
1363         * timezone/testdata/XT1, timezone/testdata/XT2,
1364         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
1365         files.
1366         * timezone/tst-tzset.c: New test.
1368 2015-04-24  Florian Weimer  <fweimer@redhat.com>
1370         * Makeconfig (+gccwarn): Remove -Winline.
1372 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1374         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
1376 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1378         * NEWS: Mention sysconf() cache information support for s390.
1379         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
1381 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
1383         * math/k_casinh.c (__kernel_casinh): Use __copysign.
1384         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
1385         (__nearbyint): Likewise.
1386         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
1387         (copysignl): Likewise.
1389 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
1391         [BZ #18287]
1392         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
1393         based on padding.  (CVE-2015-1781)
1395 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1397         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
1398         libc-vdso.h.
1399         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
1400         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
1401         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1402         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1403         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1404         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
1405         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
1406         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1407         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1408         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
1409         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1410         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1411         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1412         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
1413         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1414         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
1415         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
1416         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
1417         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
1418         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
1419         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
1420         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
1421         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
1423 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
1425         * stdlib/setenv.c (__add_to_environ):
1426         Dump core quickly if setenv (..., NULL, ...) is called.
1427         This time, do it the right way, and pacify GCC with a pragma.
1429 2015-04-17  Roland McGrath  <roland@hack.frob.com>
1431         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
1432         IMAP->l_prev cannot be null, and #if out the code for the contrary
1433         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
1434         believe that NS (&_dl_ns[NSID]) could point outside the array.
1436         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
1437         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
1438         before using NSID as an index.
1440 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
1442         [BZ #17825]
1443         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
1444         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
1445         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1447 2015-04-17  Roland McGrath  <roland@hack.frob.com>
1449         Add preliminary port to Google Native Client on ARM.
1450         * abi-tags (.*-.*-nacl.*): New entry.
1451         * sysdeps/arm/nacl: New directory.
1452         * sysdeps/nacl: New directory.
1454 2015-04-16  David S. Miller  <davem@davemloft.net>
1456         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
1457         lowlevellock-futex.h
1459 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
1461         * sysdeps/tile/configure.ac: New file.
1462         * sysdeps/tile/configure: Regenerated.
1464 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1466         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
1467         conditionals for weak_alias and libc_hidden_weak.
1468         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
1469         libc_hidden_weak and weak_alias.
1470         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
1471         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
1472         and weak_alias for static one.
1474 2015-04-15  David S. Miller  <davem@davemloft.net>
1476         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1478 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1480         [BZ #18206]
1481         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
1482           Use signed comparision instead of substraction to avoid
1483           overflow bug.
1484         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
1485           Take the sign of ret.
1486         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
1487           Do not expect precise return values. Only the sign matters.
1488         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
1489         * wcsmbs/test-wcsncmp.c: New File.
1490         * string/test-strncmp.c: Add wcsncmp support.
1492 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1494         [BZ #6792]
1495         * math/w_log1p.c: New file.
1496         * math/w_log1pf.c: Likewise.
1497         * math/w_log1pl.c: Likewise.
1498         * math/Makefile (libm-calls): Add w_log1p.
1499         * math/s_log1pl.c (log1pl): Remove weak_alias.
1500         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
1501         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
1502         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
1503         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
1504         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
1505         [NO_LONG_DOUBLE] (log1pl): Likewise.
1506         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
1507         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
1508         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
1509         (log1p): Remove long_double_symbol.
1510         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
1511         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
1512         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
1513         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
1514         remove weak_alias for corresponding log1p function.
1515         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
1516         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
1517         * sysdeps/ia64/fpu/w_log1p.c: New file.
1518         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
1519         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
1520         * math/libm-test.inc (log1p_test_data): Add errno expectations.
1522 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
1524         [BZ #18247]
1525         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
1526         decimal exponent by 1.
1527         * stdlib/tst-strtod-round-data: Add more tests.
1528         * stdlib/tst-strtod-round.c (tests): Regenerated.
1530 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
1532         * math/auto-libm-test-in: Add more tests of clog and clog10.
1533         * math/auto-libm-test-out: Regenerated.
1534         * sysdeps/i386/fpu/libm-test-ulps: Update.
1535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1537 2015-04-09  Roland McGrath  <roland@hack.frob.com>
1539         * Makeconfig (module-cppflags): Exclude all .v.i files.
1540         (skip-module-cppflags): Variable removed.
1542         * configure.ac (libc_config_ok): Initialize before reading
1543         preconfigure scripts, not after.
1544         * configure: Regenerated.
1546         * test-skeleton.c (TIMEOUT): Move #define to top level.
1547         (main): Grok environment variable TEST_DIRECT.  If set, print
1548         test expectation details into that file and then behave as if
1549         given --direct.
1551 2015-04-09  Florian Weimer  <fweimer@redhat.com>
1553         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
1554         warning on 32-bit.
1556 2015-04-08  David S. Miller  <davem@davemloft.net>
1558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1560 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
1562         * math/auto-libm-test-in: Add more tests of atanh.
1563         * math/auto-libm-test-out: Regenerated.
1564         * sysdeps/i386/fpu/libm-test-ulps: Update.
1565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1567         * math/auto-libm-test-in: Add more tests of atan.
1568         * math/auto-libm-test-out: Regenerated.
1569         * sysdeps/i386/fpu/libm-test-ulps: Update.
1570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1572 2015-04-08  Florian Weimer  <fweimer@redhat.com>
1574         * elf/pldd.c (main): Rewrite to use struct
1575         scratch_buffer instead of extend_alloca.
1576         * elf/pldd-xx.c (find_maps): Likewise.
1577         * grp/initgroups.c: Include <scratch_buffer.h> instead of
1578         <alloca.h>.
1579         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
1580         scratch_buffer instead of extend_alloca.
1581         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
1582         grp/compat-initgroups.c.
1583         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
1584         Rewrite to use struct scratch_buffer instead of extend_alloca.
1585         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
1586         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1588 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
1590         * math/auto-libm-test-in: Add more tests of cbrt.
1591         * math/auto-libm-test-out: Regenerated.
1592         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1594         * math/auto-libm-test-in: Add more tests of cabs.
1595         * math/auto-libm-test-out: Regenerated.
1596         * sysdeps/i386/fpu/libm-test-ulps: Update.
1597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1599         [BZ #18210]
1600         [BZ #18211]
1601         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
1602         (__ieee754_atan2): Set FE_TONEAREST mode for internal
1603         computations.
1604         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
1605         clog10.
1606         * math/auto-libm-test-out: Regenerated.
1607         * sysdeps/i386/fpu/libm-test-ulps: Update.
1608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1610         [BZ #18197]
1611         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
1612         (atan): Set FE_TONEAREST mode for internal computations.
1613         * math/auto-libm-test-in: Add more tests of atan.
1614         * math/auto-libm-test-out: Regenerated.
1616 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
1618         [BZ #17930]
1619         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
1621 2015-04-07  Florian Weimer  <fweimer@redhat.com>
1623         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
1625 2015-04-07  Florian Weimer  <fweimer@redhat.com>
1627         * include/scratch_buffer.h: New file.
1628         * malloc/scratch_buffer_grow.c: Likewise.
1629         * malloc/scratch_buffer_grow_preserve.c: Likewise.
1630         * malloc/scratch_buffer_set_array_size.c: Likewise.
1631         * malloc/tst-scratch_buffer.c: Likewise.
1632         * malloc/Makefile (routines): Add scratch_buffer_grow.
1633         (tests): Add test case.
1634         * malloc/Versions (GLIBC_PRIVATE): Export
1635         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
1636         __libc_scratch_buffer_set_array_size.
1638 2015-04-06  Richard Henderson  <rth@redhat.com>
1640         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
1641         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1643         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
1644         unsigned int before printing.
1646 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1648         [BZ #17596]
1649         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
1650         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1652 2015-04-02  Florian Weimer  <fweimer@redhat.com>
1654         * include/libc-internal.h (libc_max_align_t): Define.
1656 2015-04-02  Andreas Schwab  <schwab@suse.de>
1658         [BZ #16850]
1659         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
1661 2015-04-02  Mel Gorman  <mgorman@suse.de>
1663         [BZ #17195]
1664         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
1665         as well as the main arena.
1667 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
1669         [BZ #18185]
1670         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
1671         sharing L2 cache to 2 for Silvermont/Knights Landing.
1673 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
1675         [BZ #17711]
1676         * config.make.in (have-protected-data): New.
1677         * configure.ac: Check linker support for protected data symbol.
1678         * configure: Regenerated.
1679         * elf/Makefile (modules-names): Add tst-protected1moda and
1680         tst-protected1modb if $(have-protected-data) is yes.
1681         (tests): Add tst-protected1a and tst-protected1b if
1682         $(have-protected-data) is yes.
1683         ($(objpfx)tst-protected1a): New.
1684         ($(objpfx)tst-protected1b): Likewise.
1685         (tst-protected1modb.so-no-z-defs): Likewise.
1686         * elf/tst-protected1a.c: New file.
1687         * elf/tst-protected1b.c: Likewise.
1688         * elf/tst-protected1mod.h: Likewise.
1689         * elf/tst-protected1moda.c: Likewise.
1690         * elf/tst-protected1modb.c: Likewise.
1692 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
1694         [BZ #17711]
1695         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
1696         indicates it is called from do_lookup_x on relocation against
1697         protected data, skip the data definion in the executable from
1698         copy reloc.
1699         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
1700         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
1701         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
1702         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
1703         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
1704         otherwise to 0.
1705         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
1706         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
1707         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
1708         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
1709         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
1710         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
1712 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
1714         * sysdeps/nptl/pthread.h: Remove duplicate definition of
1715         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
1717 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
1719         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
1720         THREAD_SETMEM_NC.
1721         * sysdeps/x86_64/nptl/tls.h: Ditto.
1723 2015-03-27  Roland McGrath  <roland@hack.frob.com>
1725         * dlfcn/tststatic.c (main): Converted to ...
1726         (do_test): ... this.
1727         (TEST_FUNCTION): New macro.
1728         Include test-skeleton.c.
1730 2015-03-26  Alan Modra  <amodra@gmail.com>
1732         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
1733         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
1734         zero for undefined weak.
1735         (elf_machine_plt_conflict): Similarly.
1737 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
1739         * math/auto-libm-test-in: Add more tests of acosh, asinh and
1740         atanh.
1741         * math/auto-libm-test-out: Regenerated.
1742         * sysdeps/i386/fpu/libm-test-ulps: Update.
1743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1745         * math/auto-libm-test-in: Add another test of asin.
1746         * math/auto-libm-test-out: Regenerated.
1747         * sysdeps/i386/fpu/libm-test-ulps: Update.
1748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1750         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
1751         Remove macro.
1752         (LLL_EBX_REG): Likewise.
1753         (LLL_ENTER_KERNEL): Likewise.
1755         * math/auto-libm-test-in: Add more tests of asin.
1756         * math/auto-libm-test-out: Regenerated.
1757         * sysdeps/i386/fpu/libm-test-ulps: Update.
1758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1760         [BZ #18138]
1761         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
1762         libc_do_syscall_args): New structure.
1763         (INTERNAL_SYSCALL_MAIN_0): New macro.
1764         (INTERNAL_SYSCALL_MAIN_1): Likewise.
1765         (INTERNAL_SYSCALL_MAIN_2): Likewise.
1766         (INTERNAL_SYSCALL_MAIN_3): Likewise.
1767         (INTERNAL_SYSCALL_MAIN_4): Likewise.
1768         (INTERNAL_SYSCALL_MAIN_5): Likewise.
1769         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
1770         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
1771         Replace conditional definitions by conditional definitions of ....
1772         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
1773         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
1774         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
1775         (libpthread-sysdep_routines): Add libc-do-syscall.
1776         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
1777         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
1778         to __NR_futex not 240.
1780 2015-03-25  Alan Modra  <amodra@gmail.com>
1782         * NEWS: Advertise TLS optimization.
1783         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
1784         (DT_PPC_NUM): Increment.
1785         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
1786         (CHECK_STATIC_TLS): Use here.
1787         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
1788         TLS descriptors.
1789         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1790         * sysdeps/powerpc/dl-tls.c: New file.
1791         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
1792         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
1793         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
1794         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
1795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
1796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
1797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
1799 2015-03-25  Alan Modra  <amodra@gmail.com>
1801         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
1802         for overlapping .opd entries" to "support...".
1803         * sysdeps/powerpc/powerpc64/configure: Regenerate
1805 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
1807         * math/auto-libm-test-in: Add more tests of acos.
1808         * math/auto-libm-test-out: Regenerated.
1809         * sysdeps/i386/fpu/libm-test-ulps: Update.
1810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1812         * math/auto-libm-test-in: Add more tests of expm1.
1813         * math/auto-libm-test-out: Regenerated.
1814         * sysdeps/i386/fpu/libm-test-ulps: Update.
1815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1817 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
1819         * math/auto-libm-test-in: Add more tests of cosh and sinh.
1820         * math/auto-libm-test-out: Regenerated.
1821         * sysdeps/i386/fpu/libm-test-ulps: Update.
1822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1824         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1827         * math/auto-libm-test-in: Add more tests of log2.
1828         * math/auto-libm-test-out: Regenerated.
1829         * sysdeps/i386/fpu/libm-test-ulps: Update.
1830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1832 2015-03-23  Roland McGrath  <roland@hack.frob.com>
1834         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
1835         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
1836         _IO_IS_APPENDING bit in READ_WRITE instead.
1838 2015-03-23  Florian Weimer  <fweimer@redhat.com>
1840         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1841         (__determine_cpumask_size): Replace extend_alloca with a
1842         variable-length array.  Do not treat res == 0 as an error.
1844 2015-03-23  Florian Weimer  <fweimer@redhat.com>
1846         [BZ #18100]
1847         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
1848         and integer overflow.
1849         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
1850         (main): Add integer overflow tests.
1851         * manual/pattern.texi (Calling Wordexp): Document additional use
1852         for WRDE_SYNTAX.
1854 2015-03-23  Alan Modra  <amodra@gmail.com>
1856         * config.h.in: Remove HAVE_ASM_PPC_REL16.
1857         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
1858         and false branch of conditional.
1859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1860         Likewise.
1862 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
1864         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
1865         libc-modules.h
1866         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
1867         unused declaration of _hurd_intr_rpc_msg_in_trap.
1868         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
1869         defined instead of whether it is non-zero.
1870         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
1871         input constraint instead of both input and output constraint.  Use ecx
1872         clobber instead of %ecx.
1873         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
1874         mutex_unlock): Use a statement expression instead of an expression list.
1875         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
1876         type to vm_size_t instead of vm_address_t.
1877         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
1878         defined instead of whether it is non-zero.
1879         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
1880         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
1881         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
1882         comparisons with mapaddr.
1883         * nscd/nscd-client.h: Include <time.h>.
1884         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
1885         9th parameter to __vm_region instead of int.
1886         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
1887         * scripts/check-local-headers.sh (exclude): Add device/,
1888         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
1889         cthreads.h.
1891 2015-03-19  Roland McGrath  <roland@hack.frob.com>
1893         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
1894         to account for alignment padding.
1895         * sysdeps/arm/memmove.S: Likewise.
1897 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
1899         * sysdeps/unix/sysv/linux/generic/README: New file.
1901 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
1903         [BZ #18138]
1904         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
1905         (futex_abstimed_wait)
1906         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
1907         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
1908         of lll_futex_timed_wait.
1910 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
1912         [BZ #17542]
1913         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
1915 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
1917         [BZ #17090]
1918         [BZ #17620]
1919         [BZ #17621]
1920         [BZ #17628]
1921         * NEWS: Update.
1922         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
1923         entries with Static TLS too.  Skip entries past the end of the
1924         allocated DTV, from Alan Modra.
1925         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
1926         Static TLS DTV entry set up from...
1927         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
1928         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
1929         * nptl/allocatestack.c (init_one_static_tls): ... and here...
1930         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
1931         for Static TLS.
1932         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
1933         that the slot we find is associated with the given map before
1934         using its generation count.
1935         * nptl_db/db_info.c: Include ldsodefs.h.
1936         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
1937         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
1938         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
1939         (link_map::l_tls_offset): New struct field.
1940         (dtv_t::counter): Likewise.
1941         (rtld_global): New struct.
1942         (_rtld_global): New rtld variable.
1943         (dl_tls_dtv_slotinfo_list): New rtld global field.
1944         (dtv_slotinfo_list): New struct.
1945         (dtv_slotinfo): Likewise.
1946         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
1947         (td_lookup): Rename to...
1948         (td_mod_lookup): ... this.  Use new mod parameter instead of
1949         LIBPTHREAD_SO.
1950         * nptl_db/td_thr_tlsbase.c: Include link.h.
1951         (dtv_slotinfo_list, dtv_slotinfo): New functions.
1952         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
1953         addresses even if the DTV is out of date or missing them.
1954         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
1955         index zero-length arrays.
1956         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
1957         (td_lookup): Make it a macro implemented in terms of...
1958         (td_mod_lookup): ... this declaration.
1959         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
1960         (DB_MAIN_VARIABLE): Likewise.
1962 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1964         [BZ #18134]
1965         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1967 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
1969         * stdlib/setenv.c (__add_to_environ): Revert previous change.
1971 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
1973         [BZ #18128]
1974         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
1975         (atomic_add, atomic_increment_and_test)
1976         (atomic_decrement_and_test): Fix 64-bit arithmetic.
1978 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
1980         * stdlib/setenv.c (__add_to_environ):
1981         Dump core quickly if setenv (..., NULL, ...) is called.
1983 2015-03-13  Roland McGrath  <roland@hack.frob.com>
1985         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
1986         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
1987         all the necessary asm magic in one place.
1988         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
1989         using those.
1991 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
1993         [BZ #14906]
1994         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
1995         traced file mtime. Use consistent log message.
1996         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
1997         (register_traced_file): Call install_watches. Always set mtime.
1998         (invalidate_cache): Iterate over all trace files. Call install_watches.
1999         (inotify_check_files): Don't inline. Handle watching parent
2000         directories and configuration file movement in and out.
2001         (handle_inotify_events): New function.
2002         (main_loop_poll): Call handle_inotify_events.
2003         (main_loop_epoll): Likewise.
2004         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
2005         (struct traced_file): Use array of inotify fds. Add parent directory,
2006         and basename.
2007         (struct database_dyn): Remove unused file_mtime.
2008         (init_traced_file): New inline function.
2009         (define_traced_file): New macro.
2010         * nss/nss_db/db-init.c: Use define_traced_file.
2011         (_nss_db_init): Use init_traced_file.
2012         * nss/nss_files/files-init.c: Use define_traced_file.
2013         (_nss_files_init): Use init_traced_file.
2015 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
2017         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
2018         [_LIBC]: Do not include <stdlib.h>.
2019         [!_LIBC] (abort): Remove declaration.
2020         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
2021         _FP_STATIC_ASSERT instead of conditionally calling abort.
2022         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
2023         (_FP_EXTEND_CNAN): Likewise.
2024         (FP_TRUNC): Likewise.
2025         (__FP_CLZ): Likewise.
2026         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
2028 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
2030         * manual/string.texi (XPG basename): Fix prototype.
2032 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2034         [BZ #18080]
2035         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
2036         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2037         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
2038         (__setcontext): Likewise.
2039         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
2040         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2041         Call rt_sigprocmask syscall one time to set new signal mask
2042         and retrieve the current signal mask instead of two calls.
2043         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
2044         (__swapcontext): Likewise.
2045         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
2046         * stdlib/tst-setcontext2.c: New file.
2048 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2050         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2052 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
2054         [BZ #18093]
2055         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
2056         the wrong size.
2058 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2060         [BZ #18043]
2061         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
2063 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2065         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
2066         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
2067         Remove define.
2068         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
2069         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
2070         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
2071         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
2072         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
2073         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
2074         define.
2075         * nptl_db/td_symbol_list.c (td_lookup): Remove
2076         HAVE_ASM_GLOBAL_DOT_NAME code.
2077         * sysdeps/powerpc/powerpc64/configure.ac: Remove
2078         HAVE_ASM_GLOBAL_DOT_NAME check.
2079         * sysdeps/powerpc/powerpc64/configure: Regenerate.
2080         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
2081         (DOT_LABEL): Remove define.
2082         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
2083         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
2084         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
2085         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
2086         (__TLS_GET_ADDR): Likewise.
2087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
2088         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
2090 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
2092         [BZ #18111]
2093         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
2094         (_FPU_SETCW): Initialize cw from fpsr before storing.
2095         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
2096         (fesetexceptflag): Rewrite using fpu_control.h.
2097         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
2099 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
2101         [BZ #18110]
2102         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
2103         asms.
2104         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2106 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
2108         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
2109         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
2110         abort.
2111         (_FP_FMA): Likewise.
2112         (_FP_DIV): Likewise.
2114 2015-03-10  Roland McGrath  <roland@hack.frob.com>
2116         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
2117         with 0 in that case.
2118         * Makefile (summarize-tests): New canned sequence, factored out of
2119         commands for targets tests and xtests.  Display summary lines that
2120         don't start with PASS: or XFAIL: rather than ones that do start with
2121         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
2122         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
2123         do start with ERROR: or FAIL:.
2124         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
2125         (except for [$(build-shared) = yes]).
2126         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
2127         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
2128         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
2129         * nptl/Makefile: Revert 2015-03-04 changes.
2130         [$(CXX) empty] (tests-unsupported): New variable.
2131         * debug/Makefile: Likewise.
2133         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
2134         gnulib file.  Replace __attribute with __attribute__ throughout.
2136 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
2138         * sysdeps/hppa/fpu/libm-test-ulps: Update.
2140 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
2142         [BZ #18104]
2143         * math/auto-libm-test-in: Add another test of pow.
2144         * math/auto-libm-test-out: Regenerated.
2146 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2148         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
2149         $(config-cflags-nofma).
2151 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
2153         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
2154         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
2155         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
2156         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
2157         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
2158         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
2159         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
2160         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
2161         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
2162         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
2163         Add comment on closing #endif.
2165 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2167         * posix/wordexp.c (CHAR_IN_SET): New macro.
2168         (parse_param): Use it.
2170 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2172         * sysdeps/powerpc/fpu/libm-test-ulps: update.
2174 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2176         [BZ #18043]
2177         * posix/wordexp.c (parse_param): Fix buffer overflow.
2178         * posix/wordexp-test.c (test_case): Add test case.
2180 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2182         [BZ #18042]
2183         * posix/wordexp.c (parse_backtick): Fix off-by-one.
2184         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
2186 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2188         [BZ #18043]
2189         * posix/wordexp-test.c (test_case): Add test for BZ #18043
2190         (do_bz18043): Delete.
2191         (at_page_end): New.
2192         (testit): Refactor to have words at the edge of unreadable page.
2194 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
2196         [BZ #16734]
2197         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
2198         Cleanup read-only streams as well.
2199         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
2201 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2203         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
2204         <bits/libc-lockP.h>
2206 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
2208         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
2209         on [__KERNEL__].
2210         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
2211         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
2212         * soft-fp/op-common.h (_FP_DECL): Likewise.
2214 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
2216         * elf/ifuncdep2.c (global): Replace
2217         __attribute__((visibility("protected"))) with
2218         asm (".protected global").
2219         * elf/ifuncmod1.c (global): Likewise.
2220         * elf/ifuncmod5.c (global): Likewise.
2222 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
2224         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
2225         <asm/sfp-machine.h> instead of <sfp-machine.h>.
2227 2015-03-06  Roland McGrath  <roland@hack.frob.com>
2229         * manual/install.texi (Configuring and compiling):
2230         Document test-wrapper-env-only.
2231         * INSTALL: Regenerated.
2233 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
2235         [BZ #18043]
2236         * posix/wordexp.c (parse_param): Fix buffer overflow.
2237         * posix/wordexp-test.c (do_bz18043): Add test case.
2239 2015-03-06  Vincent Bernat  <vincent@bernat.im>
2241         * time/tst-strptime2.c (do_test): Ensure failing tests are
2242         reported correctly.
2243         * time/tst-strptime3.c (do_test): Likewise.
2245 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
2247         Fix aio_error thread-safety.
2248         * sysdeps/pthread/aio_error.c: New file
2249         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
2250         synchronization.
2252 2015-03-06  Florian Weimer  <fweimer@redhat.com>
2254         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
2255         (group_number, vfprintf): Use it.
2256         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
2257         (JUMP, REF): Use it.
2258         (WORK_BUFFER_SIZE): New enum constant.
2259         (process_arg, vfprintf): Use it.
2261 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
2263         * manual/errno.texi (Error Messages): Complete example function
2264         by adding missing #define.
2265         (program_invocation_name): Add statement indicating GNU
2266         extension and reference which header file declares the variable.
2267         (program_invocation_short_name): Likewise.
2269 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
2271         * manual/errno.texi (Error Messages): Delete strerror ISO C89
2272         compatibility note.
2274 2015-03-05  Roland McGrath  <roland@hack.frob.com>
2276         * Makeconfig (test-wrapper-env-only): New variable.
2277         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
2278         then use that with $(test-wrapper-env-only) rather than using
2279         $(test-wrapper-env) $(run-program-env) $($*-ENV).
2281 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
2283         [BZ #18082]
2284         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
2285         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
2286         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
2287         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
2288         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
2289         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
2290         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
2291         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2292         Likewise.
2293         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
2294         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
2295         Likewise.
2296         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
2297         Likewise.
2298         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
2299         Likewise.
2300         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
2301         Likewise.
2302         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
2303         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
2304         Likewise.
2305         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
2306         Likewise.
2307         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
2308         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
2310 2015-03-04  Roland McGrath  <roland@hack.frob.com>
2312         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
2313         (ETH_ALEN): New macro.
2314         (struct ether_addr): Use it for length of ether_addr_octet.
2316         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
2317         (setdb): Don't call __nss_configure_lookup for "rpc".
2318         (do_test): Don't call test_rpc.
2319         (output_rpcent, test_rpc): Functions moved ...
2320         * sunrpc/test-rpcent.c: ... to this new file.
2321         * sunrpc/Makefile (tests): Add it.
2323         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
2324         __xpg_sigpause.
2325         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
2326         * nptl/tst-signal6.c: Likewise.
2327         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
2328         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
2330         * configure.ac (libc_cv_cxx_link_ok): New check.
2331         Reset CXX to empty if it fails to link.
2332         * configure: Regenerated.
2333         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
2334         bug-atexit3-lib only if $(CXX) is nonempty.
2335         * nptl/Makefile (tests): Likewise for tst-cancel24.
2336         (tests, tests-static): Likewise for tst-cancel24-static.
2337         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
2338         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
2339         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
2340         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
2342 2015-03-04  Andreas Schwab  <schwab@suse.de>
2344         [BZ #17631]
2345         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
2346         for non-GCC compilers.
2347         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2348         Likewise.
2350 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2352         [BZ #17776]
2353         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
2354         integer before bitwise and assembly operations.
2355         (feclearexcept): Likewise.
2356         * math/test-fenvinline.c: New file.
2357         * math/Makefile: Add test-fenvinline test.
2359 2015-03-03  Alan Modra  <amodra@gmail.com>
2361         [BZ #16512]
2362         * scripts/localplt.awk: Strip off symbol version.
2363         * NEWS: Mention bug fix.
2365 2015-03-02  Roland McGrath  <roland@hack.frob.com>
2367         * sysdeps/pthread/timer_routines.c
2368         (timer_free_list, thread_free_list, thread_active_list): Make static.
2370 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
2372         [BZ #17779]
2373         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2374         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2375         Undefine.
2376         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2377         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2378         Likewise.
2379         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2380         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2381         Likewise.
2383 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
2385         [BZ #18036]
2386         * posix/fnmatch_loop.c (END): Detect invalid pattern.
2387         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
2389 2015-03-02  Andreas Schwab  <schwab@suse.de>
2391         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
2392         variable name.
2394 2015-03-02  Florian Weimer  <fweimer@redhat.com>
2396         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
2397         Return error status.
2399 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
2401         [BZ #15969]
2402         * locale/findlocale.c (_nl_find_locale): Introduce const
2403         version of loc_name and drop unsafe type casts.
2405 2015-02-27  Roland McGrath  <roland@hack.frob.com>
2407         * dlfcn/tststatic2.c (main): Converted to ...
2408         (do_test): ... this.
2409         (TEST_FUNCTION): New macro.
2410         Include test-skeleton.c.
2412 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
2414         [BZ #17711]
2415         * elf/Makefile (tests): Add vismain only if PIE is enabled.
2416         (tests-pie): Add vismain.
2417         (CFLAGS-vismain.c): New.
2418         * elf/vismain.c: Add comments for PIE requirement.
2420 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
2422         [BZ #18046]
2423         [BZ #18047]
2424         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
2425         0x1p-56L as threshold for just returning the argument.
2426         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
2427         0x1p-32L as threshold for just returning the argument.
2428         * math/auto-libm-test-in: Add more tests of atanh.
2429         * math/auto-libm-test-out: Regenerated.
2430         * sysdeps/i386/fpu/libm-test-ulps: Update.
2431         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
2433 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
2435         * string/bcopy.c (bcopy): Call memmove for performance.
2437 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
2439         * string/bzero.c (__bzero): Call memset for performance.
2441 2015-02-27  John David Anglin  <dave.anglin@bell.net>
2443         [BZ #18068]
2444         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
2445         to 00100000.
2447 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
2449         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
2451 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
2453         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
2454         (__kernel_standard): Use CSTR macro when setting exc.name.
2455         * sysdeps/ieee754/Makefile [$(subdir) = math]
2456         (CFLAGS-k_standard.c): Remove variable.
2458         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
2459         setting p and q from "else if" to "else".
2460         (qzero): Likewise.
2461         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
2462         (qone): Likewise.
2463         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
2464         (qzerof): Likewise.
2465         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
2466         (qonef): Likewise.
2467         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
2468         (qzero): Likewise.
2469         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
2470         (qone): Likewise.
2472         [BZ #18038]
2473         [BZ #18039]
2474         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
2475         return pi/2 for arguments below 0x1p-113L.
2476         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
2477         return pi/2 for arguments below 0x1p-106L.
2478         * math/auto-libm-test-in: Add more tests of acos.
2479         * math/auto-libm-test-out: Regenerated.
2481         [BZ #16351]
2482         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
2483         (MO): New macro.
2484         (__ieee754_asin): Force underflow exception for results with small
2485         absolute value.
2486         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
2487         (MO): New macro.
2488         (__ieee754_asinf): Force underflow exception for results with
2489         small absolute value.
2490         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
2491         (__ieee754_asin): Force underflow exception for results with small
2492         absolute value.
2493         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
2494         (__ieee754_asinf): Force underflow exception for results with
2495         small absolute value.
2496         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
2497         (__ieee754_asinl): Force underflow exception for results with
2498         small absolute value.
2499         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
2500         (__ieee754_asinl): Force underflow exception for results with
2501         small absolute value.
2502         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
2503         (__ieee754_asinl): Force underflow exception for results with
2504         small absolute value.
2505         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
2506         Include <math.h>.
2507         * math/auto-libm-test-in: Do not mark underflow exceptions as
2508         possibly missing for bug 16351.
2509         * math/auto-libm-test-out: Regenerated.
2511         [BZ #18030]
2512         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
2513         of power of 2 down when low part has opposite sign.
2514         * math/libm-test.inc (logb_test_data): Add more tests.
2516 2015-02-26  Andreas Schwab  <schwab@suse.de>
2518         [BZ #18032]
2519         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
2520         over collating symbol inside a bracket expression.  Minor cleanup.
2521         * posix/tst-fnmatch3.c (do_test): Add test case.
2523 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
2525         [BZ #18029]
2526         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
2527         Adjust exponent of power of 2 down when low part has opposite
2528         sign.
2529         * math/libm-test.inc (ilogb_test_data): Add more tests.
2531 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
2533         [BZ #15969]
2534         * locale/findlocale.c (_nl_find_locale): Fix constness error in
2535         the previous change.
2537         [BZ #15969]
2538         * locale/findlocale.c (_nl_find_locale): Retry archive search
2539         after alias expansion.
2541 2015-02-25  Roland McGrath  <roland@hack.frob.com>
2543         * iconv/tst-iconv3.c (main): Converted to ...
2544         (do_test): ... this.
2545         (TEST_FUNCTION): New macro.
2546         Include test-skeleton.c.
2548         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
2549         (convert): Make function static.
2550         (test_unalign): Likewise.  Add const to argument pointee types.
2551         (main): Replace with static function do_test.
2552         Print "Succeeded." only if RET is zero.
2553         (TEST_FUNCTION): New macro.
2554         Include test-skeleton.c.
2556         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
2557         returns a null pointer.
2559 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2561         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
2562         to __memcpy_ppc only for static builds.
2564 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
2566         [BZ #18020]
2567         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
2568         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
2569         * math/auto-libm-test-in: Add more tests of asinh.
2570         * math/auto-libm-test-out: Regenerated.
2571         * sysdeps/i386/fpu/libm-test-ulps: Update.
2572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2574 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
2576         [BZ #15850]
2577         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
2578         and ip6_mtuinfo definitions here.
2579         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
2580         in this define too.  Update comment.
2582 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
2584         * elf/sprof.c (load_shobj): Tweak error message to match others.
2586 2015-02-24  Kevin Easton  <kevin@guarana.org>
2588         [BZ #16145] (partial fix)
2589         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
2590         to reduce lock contention.
2592 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
2594         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
2595         (struct timex): Update time comment.
2596         (ADJ_SETOFFSET): Define.
2598 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
2600         [BZ #18019]
2601         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2602         2**56 not 2**28 as threshold for log (2x) formula.
2603         * math/auto-libm-test-in: Add more tests of acosh.
2604         * math/auto-libm-test-out: Regenerated.
2605         * sysdeps/i386/fpu/libm-test-ulps: Update.
2606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2608 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
2610         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
2611         parenthesis around the buf assignment.
2612         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
2614 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
2616         [BZ #16783]
2617         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
2618         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
2619         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
2620         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2621         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2622         * math/libm-test.inc (scalb_test_data): Add more tests.
2624 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2626         [BZ #17916]
2627         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
2628         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
2630 2015-02-24  Eric Rannaud  <e@nanocritical.com>
2632         [BZ #17523]
2633         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
2634         * io/bits/fcntl2.h (open): Use it.
2635         (openat): Likewise.
2636         * io/open.c (__libc_open): Likewise.
2637         * io/open64.c (__libc_open64): Likewise.
2638         * io/open64_2.c (__open64_2): Likewise.
2639         * io/open_2.c (__open_2): Likewise.
2640         * io/openat.c (__openat): Likewise.
2641         * io/openat64.c (__openat64): Likewise.
2642         * io/openat64_2.c (__openat64_2): Likewise.
2643         * io/openat_2.c (__openat_2): Likewise.
2644         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
2645         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
2646         * sysdeps/posix/open64.c (__libc_open64): Likewise.
2647         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2648         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2649         (__open_nocancel): Likewise.
2650         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2651         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2652         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
2654 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2656         [BZ #14841]
2657         * resolv/gethnamaddr.c (getanswer): Skip logging if
2658         RES_USE_DNSSEC is set.
2659         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2661 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
2663         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
2665 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
2667         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2668         201304L, for Unicode 7.
2670 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
2672         [BZ #17836]
2673         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
2674         shared library.  Add gmon-start.os otherwise.
2675         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
2676         $(objpfx)gmon-start.os if builing shared library.
2677         ($(objpfx)g$(static-start-installed-name)): Likewise.
2679 2015-02-23  Andreas Schwab  <schwab@suse.de>
2681         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
2683 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
2685         [BZ #17269]
2686         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
2687         (enlarge_userbuf): Likewise.
2689 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
2691         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
2692         * math/atest-exp.c (TIMEOUT): Adjust to 200.
2693         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
2694         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
2696 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
2698         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
2699         expression inside statement expression.
2701 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2703         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
2704         <sysdeps/nptl/lowlevellock.h> and remove macros and
2705         functions that are now defined there.
2706         (SYS_futex): Remove.
2707         (lll_compare_and_swap): Remove.
2708         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
2710 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
2712         [BZ #17999]
2713         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
2714         instead of scandirat.
2715         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
2716         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
2717         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
2718         __scandirat.
2719         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
2720         (__scandirat): Declare.  Use libc_hidden_proto.
2721         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
2722         Remove variable.
2723         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2725 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
2727         [BZ #15319]
2728         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
2729         (MO): New macro.
2730         (__ieee754_atan2): For results with small absolute value, force
2731         underflow exception and remove excess range and precision from
2732         return value.
2733         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
2734         (MO): New macro.
2735         (__ieee754_atan2f): For results with small absolute value, force
2736         underflow exception and remove excess range and precision from
2737         return value.
2738         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
2739         (MO): New macro.
2740         (__atan): For results with small absolute value, force underflow
2741         exception and remove excess range and precision from return value.
2742         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
2743         (MO): New macro.
2744         (__atanf): For results with small absolute value, force underflow
2745         exception and remove excess range and precision from return value.
2746         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
2747         <math.h>.
2748         (__ieee754_atan2): Force underflow exception for results with
2749         small absolute value.
2750         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
2751         <math_private.h>.
2752         (atan): Force underflow exception for results with small absolute
2753         value.
2754         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
2755         (__atanf): Force underflow exception for results with small
2756         absolute value.
2757         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
2758         <math.h>.
2759         (__atanl): Force underflow exception for results with small
2760         absolute value.
2761         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
2762         (__atanl): Force underflow exception for results with small
2763         absolute value.
2764         * sysdeps/x86/fpu/bits/mathinline.h
2765         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
2766         (__ieee754_atan2): Only define inline for long double.
2767         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
2768         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
2769         * math/auto-libm-test-in: Do not mark underflow exceptions as
2770         possibly missing for bug 15319.  Add more tests of atan2.
2771         * math/auto-libm-test-out: Regenerated.
2772         * math/libm-test.inc (casin_test_data): Do not mark underflow
2773         exceptions as possibly missing for bug 15319.
2774         (casinh_test_data): Likewise.
2775         * sysdeps/i386/fpu/libm-test-ulps: Update.
2777 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
2779         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
2780         * sysdeps/mips/bits/endian.h: Fix comments.
2782 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
2784         [BZ #17996]
2785         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
2786         (hdestroy_r): Likewise.
2787         (hsearch_r): Likewise.
2788         (__hcreate_r): Declare and use libc_hidden_proto.
2789         (__hdestroy_r): Likewise.
2790         (__hsearch_r): Likewise.
2791         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
2792         (hcreate): Call __hcreate_r instead of hcreate_r.
2793         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
2794         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
2795         as weak alias of __hcreate_r.
2796         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
2797         __hdestroy_r.
2798         (hsearch_r): Rename to __hsearch_r and define as weak alias of
2799         __hsearch_r.
2800         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
2801         Remove variable.
2802         (test-xfail-XPG4/search.h/linknamespace): Likewise.
2803         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2804         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2805         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2807 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2809         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
2810         arena_lock into a single arena_get.
2812 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
2814         * dl-reloc.c: Inlucde libc-internal.h.
2815         (_dl_try_allocate_static_tls): Call ALIGN_UP.
2816         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
2817         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
2818         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
2819         (grow_heap): Likewise.
2820         * malloc/malloc.c: Include libc-internal.h.
2821         (do_check_malloc): Call powerof2.
2822         (sysmalloc): Use pagesize. Call ALIGN_UP.
2823         (systrim): Use pagesize.
2824         (mremap_chunk): Use pagesize. Call ALIGN_UP.
2825         (__libc_valloc): Use pagesize.
2826         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
2828 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
2830         [BZ #17991]
2831         * include/sys/resource.h (__getrlimit64): Declare.  Use
2832         libc_hidden_proto.
2833         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
2834         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
2835         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
2836         getrlimit64.
2837         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
2838         __getrlimit64.
2839         [!getrlimit64] (getrlimit64): Define as weak alias of
2840         __getrlimit64.  Use libc_hidden_weak.
2841         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
2842         using __getrlimit64 not __new_getrlimit64.
2843         (__GI_getrlimit64): Likewise.
2844         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
2845         Likewise.
2846         (__GI_getrlimit64): Likewise.
2847         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
2848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
2849         (getrlimit): Add __getrlimit64 alias.
2850         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
2851         Likewise.
2852         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
2853         Remove variable.
2854         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2855         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2857 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
2859         * libio/fileops.c: Add missing sys/mman.h
2860         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
2862 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
2864         * manual/math.texi (Errors in Math Functions): Clarify goals
2865         regarding inexact and underflow exceptions.
2867 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
2869         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
2870         * sysdeps/mips/memset.S: Ditto.
2872 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
2874         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
2876 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2878         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
2879         (__v1longjmp): Remove versioned symbol.
2880         (__v1siglongjmp): Remove alias and versioned symbol.
2881         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
2882         (__v2siglongjmp): Likewise.
2884 2015-02-16  Torvald Riegel  <triegel@redhat.com>
2886         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
2888 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
2890         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
2892 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
2894         [BZ #17987]
2895         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
2896         zero result does not depend on the sign resulting from
2897         subtraction.
2898         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2899         Likewise.
2900         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2901         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2902         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2903         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2904         * math/libm-test.inc (remquo_test_data): Add more tests.
2906 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
2908         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
2909         Problem reported by J William Piggott.
2911 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
2913         [BZ #17978]
2914         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
2915         products 4 * y and 2 * y where those would overflow.
2916         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2917         Likewise.
2918         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2919         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2920         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2921         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2922         * math/libm-test.inc (remquo_test_data): Add more tests.
2924         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
2926         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
2927         [defined _COMPILING_NEWLIB].
2928         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
2929         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
2931         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
2932         [!defined __mips_isa_rev || __mips_isa_rev < 6].
2934 2015-02-16  Torvald Riegel  <triegel@redhat.com>
2936         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
2937         acquired.
2939 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
2941         [BZ #17792]
2942         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
2943         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
2944         HOST_STACK_END_ADDR): Likewise.
2946 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
2948         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
2949         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
2950         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
2952 2015-02-13  Roland McGrath  <roland@hack.frob.com>
2954         * sysdeps/generic/c++-types.data: New file.
2955         * sysdeps/generic/ld.abilist: New file.
2956         * sysdeps/generic/libBrokenLocale.abilist: New file.
2957         * sysdeps/generic/libanl.abilist: New file.
2958         * sysdeps/generic/libc.abilist: New file.
2959         * sysdeps/generic/libcrypt.abilist: New file.
2960         * sysdeps/generic/libdl.abilist: New file.
2961         * sysdeps/generic/libm.abilist: New file.
2962         * sysdeps/generic/libpthread.abilist: New file.
2963         * sysdeps/generic/libresolv.abilist: New file.
2964         * sysdeps/generic/librt.abilist: New file.
2966 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
2968         [BZ #17569]
2969         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2970         Compute absolute value of x as modified by fmod, not original
2971         value of x.
2972         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
2973         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
2974         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
2975         RUN_TEST_ffI_f1_mod8.
2976         (remquo_test_data): Add more tests.
2978 2015-02-13  Roland McGrath  <roland@hack.frob.com>
2980         * sysdeps/init_array/pt-crti.S: New file.
2982 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
2984         [BZ #17967]
2985         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
2986         __builtin_fmaf instead of relying on contraction of a * b + c.
2988 2015-02-12  J William Piggott  <elseifthen@gmx.com>
2990         [BZ #17969]
2991         * manual/time.texi: correct the zoneinfo path in the TZ Variable
2992         node.
2994 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
2996         [BZ #17964]
2997         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
2998         __builtin_fma instead of relying on contraction of a * b + c.
3000 2015-02-12  Roland McGrath  <roland@hack.frob.com>
3002         * Makeconfig (ASFLAGS): Add -Werror=undef.
3003         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
3004         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
3005         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
3007         * Makeconfig (after-link): New variable.
3008         (+link-pie, +link-pie-tests): Use it.
3009         (+link-static, +link-static-tests): Likewise.
3010         (+link, +link-tests): Likewise.
3011         * Makerules (build-module, build-module-asneeded): Likewise.
3012         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
3013         Likewise.
3014         * elf/Makefile ($(objpfx)ld.so): Likewise.
3016 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
3018         [BZ #17965]
3019         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
3020         both struct timeval and struct timespec.
3022 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
3024         [BZ #16560]
3025         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3026         and redefine.
3027         (__ieee754_exp2l): Do not multiply small fractional parts by
3028         M_LN2l.
3029         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
3030         small argument.
3031         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3032         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3033         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
3034         * math/auto-libm-test-in: Add more tests of exp2.
3035         * math/auto-libm-test-out: Regenerated.
3037 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3039         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
3040         unaligned path.
3042 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3044         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
3045         little endian.
3047 2015-02-12  Andreas Schwab  <schwab@suse.de>
3049         [BZ #15790]
3050         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3051         Filter out elision flags from value returned in kind.
3052         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
3053         * nptl/tst-pthread-mutexattr.c: New file.
3055 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3057         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
3058         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
3059         into gnu-gnu, and update comment to refer to abi-tags.
3061 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
3063         [BZ #15467]
3064         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
3065         (__sincos): Set errno to EDOM for infinite argument.
3066         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
3067         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
3068         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
3069         (__sincosl): Set errno to EDOM for infinite argument.
3070         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
3071         (__sincosl): Set errno to EDOM for infinite argument.
3072         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
3073         (__sincosl): Set errno to EDOM for infinite argument.
3074         * math/libm-test.inc (sincos_test_data): Test errno setting.
3076 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
3078         * string/strxfrm_l.c: Remove #define STRCMP.
3079         * string/strcoll_l.c: Remove #define STRLEN.
3080         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
3081         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
3083 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
3085         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
3086         * sysdeps/mips/mips32/sfp-machine.h: ... here.
3087         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
3088         * sysdeps/mips/mips64/Makefile: ... here.
3089         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
3090         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
3091         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
3092         * sysdeps/mips/mips64/sfp-machine.h: ... here.
3093         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
3094         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
3095         * sysdeps/mips/mips64/n64/Implies: Likewise.
3097 2015-02-10  Roland McGrath  <roland@hack.frob.com>
3099         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
3100         <sys/time.h>, <string.h>, and <errno.h>.
3101         (dest_offset, dest_address, value, zero): Remove unused variables.
3102         (ldouble): Remove typedef.
3103         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
3104         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
3105         1).  Fix code style.
3106         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
3107         (check): Function removed.
3108         (CHECK): New macro.
3109         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
3110         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
3111         Don't call set_sigaction_FP and remove_sigaction_FP here.
3112         (ldouble_test): Just use 'long double' as macro argument, no need for
3113         the 'ldouble' typedef.
3114         (do_test): Set up SIGFPE handler at start, using plain signal rather
3115         than sigaction.  Fix code style.
3117 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
3119         [BZ #17949]
3120         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
3121         jump label.
3123 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3125         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
3126         * sysdeps/powerpc/powerpc32/configure: Regenerated.
3128         * sysdeps/powerpc/configure.ac: Remove file.
3129         * sysdeps/powerpc/configure: Likewise.
3131         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3132         [sysdep_routines]: Remove wordcopy-power6 object.
3133         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3134         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
3135         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
3136         (__memmove_ppc32): Likewise.
3137         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
3138         file.
3139         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
3140         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
3141         Remove preprocessor.
3143         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3144         [sysdep_routines]: Remove wide chars objects.
3145         [wcsmbs]: New rule for wide char objects.
3147         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3148         Remove wordcopy-power6 obejct.
3149         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
3150         Use local call for wordcopy and memcpy symbols.
3151         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
3152         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
3153         implementation for loader.
3154         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
3156         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3157         Remove wordcopy-power7 object.
3158         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
3159         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
3160         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
3161         (_wordcopy_fwd_dest_aligned): Likewise.
3162         (_wordcopy_bwd_aligned): Likewise.
3163         (_wordcopy_bwd_dest_aligned): Likewise.
3165         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
3166         Rewrite to call __memmove_ppc instead of include default
3167         implementation.
3169         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3170         Remove wide chars objects.
3171         [wcsmbs]: New rule for wide char objects.
3173 2015-02-09  Andreas Schwab  <schwab@suse.de>
3175         [BZ #17912]
3176         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3177         in terms of __O_DIRECTORY.
3179 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3181         * time/getdate.c: Include <stdbool.h>.
3182         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
3183         call PTR_MANGLE.
3184         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
3185         PTR_DEMANGLE.
3187 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
3189         Add ersatz _Static_assert on older C hosts
3190         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
3191         pre-C11 C platform that is not known to support _Static_assert.
3193 2015-02-07  Richard Braun  <rbraun@sceen.net>
3195         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
3196         sigstate.
3197         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
3199 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3201         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
3202         priority against unexistent AIO_PRIO_DELTA_MAX.
3203         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
3204         instead of int.
3205         * misc/fchflags.c (fchflags): Likewise.
3206         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3207         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3208         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
3209         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
3210         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
3211         Declare macros.
3212         [__USE_MISC] (chflags, fchflags): Declare functions.
3213         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
3214         EINVAL when nfds is greater than FD_SETSIZE.
3215         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
3216         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
3217         45.
3218         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
3219         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
3220         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
3221         MACH_RCV_TIMED_OUT.
3222         * hurd/hurd/signal.h (_hurd_self_sigstate,
3223         _hurd_critical_section_lock, _hurd_critical_section_unlock):
3224         Explicit casts from void *.
3225         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
3226         * abi-tags: Rename gnu-gnu os into gnu.
3228         [BZ #4719]
3229         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
3230         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
3231         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
3232         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
3233         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
3234         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
3236         [BZ #17944]
3237         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
3238         duplicates ADDR->sun_path with sockaddr LEN limitation.
3239         * sysdeps/mach/hurd/connect.c: Include <string.h>
3240         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
3241         * sysdeps/mach/hurd/sendmsg.c: Likewise.
3242         * sysdeps/mach/hurd/sendto.c: Likewise.
3243         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
3244         implementing it by hand.
3246 2015-02-06  Roland McGrath  <roland@hack.frob.com>
3248         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
3249         Use sfi_breg on ldr.
3250         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
3251         Likewise.
3253         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
3254         it's defined.
3255         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
3256         Test SIGSETXID only if it's defined.
3258         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
3260         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
3261         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
3263         * nptl/tst-align2.c: Moved ...
3264         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
3265         * nptl/Makefile (tests): Remove tst-align2.
3266         * sysdeps/unix/sysv/linux/Makefile
3267         [$(subdir) = nptl] (tests): Add tst-align-clone.
3268         * nptl/tst-getpid1.c: Moved ...
3269         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
3270         * nptl/tst-getpid2.c: Moved ...
3271         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
3272         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
3273         * sysdeps/unix/sysv/linux/Makefile
3274         [$(subdir) = nptl] (tests): ... here.
3275         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
3276         * sysdeps/unix/sysv/linux/Makefile
3277         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
3279         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
3280         Drop trailing \n from perror argument.  Use return rather than exit.
3282         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
3283         on [SA_SIGINFO].
3284         * nptl/tst-cancel21.c (do_test): Likewise.
3285         * debug/tst-backtrace6.c: Include <signal.h> first thing.
3286         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
3287         [!SA_SIGINFO]: Make it a stub test.
3289         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
3290         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
3292         * posix/tst-getlogin.c: Move to ...
3293         * login/tst-getlogin.c: ... here.
3294         * posix/Makefile (tests): Move tst-getlogin to ...
3295         * login/Makefile (tests): ... here.
3297         * libio/tst-atime.c (do_test): Move local variables SV and E
3298         inside [ST_NOATIME] conditional.
3300         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
3302         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
3304         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
3305         (wait_code): New function replaces macro.
3306         Call nanosleep rather than syscall.
3308         * nptl/pt-system.c: Rewritten.  Put everything under
3309         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3310         Use IFUNC to redirect when possible.
3312         * nptl/pt-longjmp.c: Rewritten.  Put everything under
3313         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3314         Use IFUNC to redirect when possible.
3316         * nptl/pt-fork.c: Rewritten.  Put everything under
3317         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3318         Use IFUNC to redirect when possible.
3319         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
3321         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
3322         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
3323         unconditionally nowadays.  This included the only reference to
3324         __vdso_clock_gettime that appears outside libc proper.
3325         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
3326         Remove version set (containing only __vdso_clock_gettime).
3327         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3328         Add attribute_hidden.
3329         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3330         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
3331         libc_hidden_data_def.
3332         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3333         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3335         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
3336         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
3337         setrpcent, and getrpcport to ...
3338         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
3339         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
3340         getrpcbynumber_r, and getrpcent_r to ...
3341         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
3342         * inet/getrpcbyname.c: Moved ...
3343         * sunrpc/getrpcbyname.c: ... here.
3344         * inet/getrpcbyname_r.c: Moved ...
3345         * sunrpc/getrpcbyname_r.c: ... here.
3346         * inet/getrpcbynumber.c: Moved ...
3347         * sunrpc/getrpcbynumber.c: ... here.
3348         * inet/getrpcbynumber_r.c: Moved ...
3349         * sunrpc/getrpcbynumber_r.c: ... here.
3350         * inet/getrpcent.c: Moved ...
3351         * sunrpc/getrpcent.c: ... here.
3352         * inet/getrpcent_r.c: Moved ...
3353         * sunrpc/getrpcent_r.c: ... here.
3354         * inet/Makefile (routines): Move those to ...
3355         * sunrpc/Makefile (routines): ... here.
3356         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
3357         the $(subdirs) list.
3358         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
3359         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
3360         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
3361         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
3363         * elf/Makefile (routines): Include $(all-dl-routines), not just
3364         $(dl-routines).
3365         (rtld-routines): Likewise.  Use = rather than :=.
3366         * sysdeps/aarch64/Makefile [$(subdir) = elf]
3367         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
3368         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
3369         * sysdeps/arm/Makefile: Likewise.
3370         * sysdeps/i386/Makefile: Likewise.
3371         * sysdeps/x86_64/Makefile: Likewise.
3372         * sysdeps/hppa/Makefile [$(subdir) = elf]
3373         (sysdep_routines, sysdep-rtld-routines): Don't add
3374         $(sysdep-dl-routines) to these.
3375         * sysdeps/ia64/Makefile: Likewise.
3376         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
3377         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
3378         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
3379         Don't add dl-static to these; sysdep-dl-routines alone is enough.
3380         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3381         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
3382         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
3383         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
3384         * sysdeps/powerpc/Makefile [$(subdir) = elf]
3385         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
3386         these; sysdep-dl-routines alone is enough.
3388 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
3390         [BZ #17932]
3391         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
3392         where multiplication results in zero and third argument is finite
3393         and nonzero.
3394         * math/auto-libm-test-in: Add more tests of fma.
3395         * math/auto-libm-test-out: Regenerated.
3397         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
3398         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
3399         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
3400         (_FP_CMP_EQ): Likewise.
3401         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
3403         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
3404         extra argument CHECK_NAN.  Redefine as wrapper around
3405         _FP_EXTEND_CNAN.
3407 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
3409         * version.h (RELEASE): Set to "stable".
3410         (VERSION): Set to "2.21"
3411         * include/features.h (__GLIBC_MINOR__): Set to 21.
3413         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
3415 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3416             Paul Eggert  <eggert@cs.ucla.edu>
3418         [BZ #16618]
3419         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
3420         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
3421         size in bytes. Store needed elements in wpmax. Use needed size
3422         in bytes for extend_alloca.
3424 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
3426         * manual/install.texi: Latest tested versions are GCC 4.9.2,
3427         binutls 2.25, and texinfo 5.2.
3428         * INSTALL: Regenerate.
3429         * sysdeps/nios2/configure: Regenerate.
3430         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
3431         * manual/contrib.texi: Update.
3432         * po/be.po: Update.
3433         * po/bg.po: Update.
3434         * po/ca.po: Update.
3435         * po/cs.po: Update.
3436         * po/da.po: Update.
3437         * po/de.po: Update.
3438         * po/el.po: Update.
3439         * po/eo.po: Update.
3440         * po/es.po: Update.
3441         * po/fi.po: Update.
3442         * po/fr.po: Update.
3443         * po/gl.po: Update.
3444         * po/hr.po: Update.
3445         * po/hu.po: Update.
3446         * po/ia.po: Update.
3447         * po/id.po: Update.
3448         * po/it.po: Update.
3449         * po/ja.po: Update.
3450         * po/ko.po: Update.
3451         * po/lt.po: Update.
3452         * po/nb.po: Update.
3453         * po/nl.po: Update.
3454         * po/pl.po: Update.
3455         * po/pt_BR.po: Update.
3456         * po/ru.po: Update.
3457         * po/rw.po: Update.
3458         * po/sk.po: Update.
3459         * po/sl.po: Update.
3460         * po/sv.po: Update.
3461         * po/tr.po: Update.
3462         * po/uk.po: Update.
3463         * po/vi.po: Update.
3464         * po/zh_CN.po: Update.
3465         * po/zh_TW.po: Update.
3467         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
3468         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
3469         * sysdeps/hppa/dl-irel.h: Remove #warning.
3470         * sysdeps/hppa/entry.h: Provide prototype for
3471         __canonicalize_funcptr_for_compare and cast argument.
3472         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
3473         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
3474         * sysdeps/hppa/sotruss-lib.c: New file.
3475         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
3476         (atomic_compare_and_exchange_val_acq): Use __typeof__.
3477         (atomic_compare_and_exchange_bool_acq): Likewise.
3478         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
3479         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
3481         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
3482         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
3483         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
3485 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
3487         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
3488         called function in non-PIC case.
3490 2015-01-31  David S. Miller  <davem@davemloft.net>
3492         * sysdeps/sparc/sparc32/bits/atomic.h
3493         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
3494         unlock not after it.
3495         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
3496         volatile register usage warnings from the compiler.
3498         * sysdeps/sparc/nptl/sem_init.c: Delete.
3499         * sysdeps/sparc/nptl/sem_post.c: Delete.
3500         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
3501         * sysdeps/sparc/nptl/sem_wait.c: Delete.
3502         * sysdeps/sparc/sparc32/sem_init.c: New file.
3503         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
3504         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
3505         padding explicitly initialized.
3506         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
3507         padding for in-semaphore spinlock.
3508         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
3509         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
3510         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
3511         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
3512         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
3513         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
3514         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
3515         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
3516         version.
3517         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
3518         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
3520 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
3522         [BZ #17801]
3523         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3524         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
3525         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
3526         New.
3527         (index_AVX_Fast_Unaligned_Load): Likewise.
3528         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
3529         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
3530         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
3531         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
3532         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
3533         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
3534         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
3535         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
3536         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
3538 2015-01-29  Andreas Schwab  <schwab@suse.de>
3540         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
3542 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
3544         [BZ #17892]
3545         * nscd/nscd_stat.c (send_stats): Initialize DATA.
3547 2015-01-28  Martin Sebor  <msebor@redhat.com>
3549         * math/README.libm-test: Clarify. Add "How to read the test output."
3551 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
3553         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
3554         Define to 0.
3556 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
3558         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
3559         (__HAVE_64B_ATOMICS): Define to 0.
3561 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3563         [BZ #17885]
3564         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
3565         value to set as new flag.
3567         [BZ #16576]
3568         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
3569         and use _ARCH_PPCSQ instead.
3570         (__ieee754_sqrt): Likewise.
3571         (__ieee754_sqrtf): Likewise.
3572         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
3573         _ARCH_PPCSQ is defined.
3574         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
3575         fsqrt instruction.
3576         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
3577         _ARCH_PPCSQ is defined.
3578         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
3579         fsqrts instruction.
3580         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
3582 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3584         * iconv/loop.c: Suppress array out of bound warning caused by GCC
3585         bug (GCC BZ #64739).
3587 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
3589         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
3590         Mark _retval as used.
3591         (lll_futex_wake_unlock): Likewise.
3592         (lll_futex_timed_wait_requeue_pi): Likewise.
3594         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3595         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
3596         register variables.
3598         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
3599         libm_hidden_def.
3601         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
3602         (__bswap_64): Mark as __always_inline.
3604 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
3606         [BZ #15378]
3607         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
3608         when none of the search directories exist.
3610 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3612         [BZ #17869]
3613         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
3614         power8 in .machine directive.
3616         [BZ #17868]
3617         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
3618         set dependency from opd value.
3620 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
3622         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3623         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
3624         architecture.
3626 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
3628         [BZ #17870]
3629         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
3630         with uint64_t.
3631         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
3632         (uint64_t) 1.
3633         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
3634         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
3635         Replace 1UL with (uint64_t) 1.
3636         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
3637         int with uint64_t.
3639 2015-01-23  Roland McGrath  <roland@hack.frob.com>
3641         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
3642         (if_freenameindex): Likewise.
3644         * resource/getrlimit64.c: Add missing libc_hidden_def.
3646 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
3648         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
3649         __label__.
3650         (_FP_FMA): Likewise.
3651         (_FP_TO_INT_ROUND): Likewise.
3652         (_FP_FROM_INT): Likewise.
3654 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3656         [BZ #16418]
3657         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3658         Make code racy and cancel safe.
3660 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
3662         * sysdeps/arm/unwind-resume.h: Fix copyright year.
3663         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
3664         attribution.
3666         * pwd/tst-getpw.c: Rewrite.
3668         [BZ #17702]
3669         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
3670         (modules-names): Add moddummy1 and moddummy2.
3671         ($(objpfx)tst-rec-dlopen): Define.
3672         * dlfcn/moddummy1.c: New file.
3673         * dlfcn/moddummy2.c: New file.
3674         * dlfcn/tst-rec-dlopen.c: New file.
3675         * elf/dl-cache.c (_dl_load_cache_lookup):
3676         Return char*. Copy result with alloca/strcpy/strdup.
3677         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
3678         returns char*. Free cached. If not saving realname
3679         free cached.
3680         * elf/dl-open.c (dl_open_worker): Do not assert that
3681         _r_debug->r_state is RT_CONSISTENT.
3682         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
3683         returns char*.
3685 2015-01-21  Torvald Riegel  <triegel@redhat.com>
3686             Carlos O'Donell  <carlos@redhat.com>
3688         [BZ #12674]
3689         * nptl/sem_waitcommon.c: New file.
3690         * nptl/sem_wait.c: Include sem_waitcommon.c.
3691         (__sem_wait_cleanup, do_futex_wait): Remove.
3692         (__new_sem_wait): Adapt.
3693         (__new_sem_trywait): New function.
3694         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
3695         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
3696         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
3697         (sem_timedwait): Adapt.
3698         * nptl/sem_post.c (__new_sem_post): Adapt.
3699         (futex_wake): New function.
3700         (__old_sem_post): Add release MO fence.
3701         * nptl/sem_open.c (sem_open): Adapt.
3702         * nptl/sem_init.c (__new_sem_init): Adapt.
3703         (futex_private_if_supported): New function.
3704         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
3705         (__old_sem_getvalue): Add using previous code.
3706         * sysdeps/nptl/internaltypes.h: Adapt.
3707         * nptl/tst-sem13.c (do_test): Adapt.
3708         * nptl/tst-sem11.c (main): Adapt.
3709         * nptl/sem_trywait.c: Remove.
3710         * nptl/DESIGN-sem.txt: Remove.
3711         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
3712         (gen-as-const-headers): Remove structsem.sym.
3713         * nptl/structsem.sym: Remove.
3714         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
3715         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
3716         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
3717         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
3718         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
3719         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
3720         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
3721         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
3722         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
3723         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
3724         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
3725         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
3726         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
3727         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
3728         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
3729         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
3730         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
3731         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
3732         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
3733         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
3734         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
3735         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
3737 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
3739         * INSTALL: Regenerated.
3741         * po/libc.pot: Regenerated.
3743 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
3744             Sandra Loosemore  <sandra@codesourcery.com>
3745             Andrew Jenner  <andrew@codesourcery.com>
3746             Joseph Myers  <joseph@codesourcery.com>
3747             Nathan Sidwell  <nathan@codesourcery.com>
3749         * NEWS: Mention new Nios II port.
3750         * sysdeps/nios2/Implies: New file.
3751         * sysdeps/nios2/Makefile: New file.
3752         * sysdeps/nios2/Subdirs: New file.
3753         * sysdeps/nios2/Versions: New file.
3754         * sysdeps/nios2/__longjmp.S: New file.
3755         * sysdeps/nios2/abort-instr.h: New file.
3756         * sysdeps/nios2/backtrace.c: New file.
3757         * sysdeps/nios2/bits/endian.h: New file.
3758         * sysdeps/nios2/bits/fenv.h: New file.
3759         * sysdeps/nios2/bits/link.h: New file.
3760         * sysdeps/nios2/bits/setjmp.h: New file.
3761         * sysdeps/nios2/bsd-_setjmp.S: New file.
3762         * sysdeps/nios2/bsd-setjmp.S: New file.
3763         * sysdeps/nios2/configure: New generated file.
3764         * sysdeps/nios2/configure.ac: New file.
3765         * sysdeps/nios2/crti.S: New file.
3766         * sysdeps/nios2/crtn.S: New file.
3767         * sysdeps/nios2/dl-init.c: New file.
3768         * sysdeps/nios2/dl-machine.h: New file.
3769         * sysdeps/nios2/dl-sysdep.h: New file.
3770         * sysdeps/nios2/dl-tls.h: New file.
3771         * sysdeps/nios2/dl-trampoline.S: New file.
3772         * sysdeps/nios2/gccframe.h: New file.
3773         * sysdeps/nios2/gmp-mparam.h: New file.
3774         * sysdeps/nios2/jmpbuf-offsets.h: New file.
3775         * sysdeps/nios2/jmpbuf-unwind.h: New file.
3776         * sysdeps/nios2/ldsodefs.h: New file.
3777         * sysdeps/nios2/libc-tls.c: New file.
3778         * sysdeps/nios2/libm-test-ulps: New file.
3779         * sysdeps/nios2/machine-gmon.h: New file.
3780         * sysdeps/nios2/math-tests.h: New file.
3781         * sysdeps/nios2/math_private.h: New file.
3782         * sysdeps/nios2/memusage.h: New file.
3783         * sysdeps/nios2/nptl/Makefile: New file.
3784         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
3785         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
3786         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
3787         * sysdeps/nios2/nptl/pthreaddef.h: New file.
3788         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
3789         * sysdeps/nios2/nptl/tls.h: New file.
3790         * sysdeps/nios2/preconfigure: New file.
3791         * sysdeps/nios2/s_fma.c: New file.
3792         * sysdeps/nios2/s_fmaf.c: New file.
3793         * sysdeps/nios2/setjmp.S: New file.
3794         * sysdeps/nios2/sfp-machine.h: New file.
3795         * sysdeps/nios2/sotruss-lib.c: New file.
3796         * sysdeps/nios2/stackguard-macros.h: New file.
3797         * sysdeps/nios2/stackinfo.h: New file.
3798         * sysdeps/nios2/start.S: New file.
3799         * sysdeps/nios2/sysdep.h: New file.
3800         * sysdeps/nios2/tls-macros.h: New file.
3801         * sysdeps/nios2/tst-audit.h: New file.
3802         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
3803         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
3804         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
3805         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
3806         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
3807         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
3808         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
3809         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
3810         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
3811         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
3812         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
3813         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
3814         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
3815         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
3816         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
3817         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
3818         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
3819         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
3820         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
3821         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
3822         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
3823         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
3824         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
3825         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
3826         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
3827         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
3828         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
3829         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
3830         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
3831         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
3832         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
3833         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
3834         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
3835         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
3836         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
3837         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
3838         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
3839         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
3840         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
3841         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
3842         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
3843         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
3844         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
3845         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
3847 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3849         [BZ #17844]
3850         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
3851         (getutent): Use weak_alias in non SHARED case
3852         and default_symbol_version in SHARED case.
3853         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
3854         (getutent_r, pututline): Likewise.
3855         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
3856         (getutid): Likewise.
3857         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
3858         (getutid_r): Likewise.
3859         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
3860         (getutline): Likewise.
3861         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
3862         (getutline_r): Likewise.
3863         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
3864         (updwtmp): Likewise.
3866 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3868         [BZ #17848]
3869         * sysdeps/s390/s390-32/memcmp.S
3870         (memcmp_g5): Rename to __memcmp_g5.
3871         * sysdeps/s390/s390-32/memcpy.S
3872         (memcpy_g5): Rename to __memcpy_g5.
3873         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3874         (memcpy_mvcle) Rename to __memcpy_mvcle.
3875         * sysdeps/s390/s390-32/memset.S
3876         (memset_g5): Rename to __memset_g5.
3877         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3878         (IFUNC_RESOLVE): Prefix ifunc-resolve function
3879         and use prefixed functions.
3880         * sysdeps/s390/s390-32/multiarch/memcmp.S
3881         (memcmp_z196): Rename to __memcmp_z196.
3882         (memcmp_z10): Rename to __memcmp_z10.
3883         (memcmp): Set alias to __memcmp_g5.
3884         (bcmp): Set alias to __memcmp_g5.
3885         * sysdeps/s390/s390-32/multiarch/memcpy.S
3886         (memcpy_z196): Rename to __memcpy_z196.
3887         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3888         (memcpy_z10): Rename to __memcpy_z10.
3889         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3890         (memcpy): Set alias to __memcpy_g5.
3891         * sysdeps/s390/s390-32/multiarch/memset.S
3892         (memset_z196): Rename to __memset_z196.
3893         Jump to __memset_mvcle instead of memset_mvcle.
3894         (memset_z10): Rename to __memset_z10.
3895         Jump to __memset_mvcle instead of memset_mvcle.
3896         (memset_mvcle) Rename to __memset_mvcle.
3897         (memset): Set alias to __memset_g5.
3898         * sysdeps/s390/s390-64/memcmp.S
3899         (memcmp_z900): Rename to __memcmp_z900.
3900         * sysdeps/s390/s390-64/memcpy.S
3901         (memcpy_z900): Rename to __memcpy_z900.
3902         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3903         (memcpy_mvcle) Rename to __memcpy_mvcle.
3904         * sysdeps/s390/s390-64/memset.S
3905         (memset_z900): Rename to __memset_z900.
3906         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
3907         (IFUNC_RESOLVE): Prefix ifunc-resolve function
3908         and use prefixed functions.
3909         * sysdeps/s390/s390-64/multiarch/memcmp.S
3910         (memcmp_z196): Rename to __memcmp_z196.
3911         (memcmp_z10): Rename to __memcmp_z10.
3912         (memcmp): Set alias to __memcmp_z900.
3913         (bcmp): Set alias to __memcmp_z900.
3914         * sysdeps/s390/s390-64/multiarch/memcpy.S
3915         (memcpy_z196): Rename to __memcpy_z196.
3916         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3917         (memcpy_z10): Rename to __memcpy_z10.
3918         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3919         (memcpy): Set alias to __memcpy_z900.
3920         * sysdeps/s390/s390-64/multiarch/memset.S
3921         (memset_z196): Rename to __memset_z196.
3922         Jump to __memset_mvcle instead of memset_mvcle.
3923         (memset_z10): Rename to __memset_z10.
3924         Jump to __memset_mvcle instead of memset_mvcle.
3925         (memset_mvcle) Rename to __memset_mvcle.
3926         (memset): Set alias to __memset_z900.
3928 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
3930         [BZ #17748]
3931         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
3932         __fesetenv instead of fesetenv.
3934 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3936         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
3937         macro.
3939 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3941         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
3942         regression on LE.
3944         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
3945         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
3946         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3947         strncmp-power8 object.
3948         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3949         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
3950         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
3951         * NEWS: Update.
3953 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3954             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3956         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
3957         trailing byte check.
3959 2015-01-13  David S. Miller  <davem@davemloft.net>
3961         * include/signal.h (__sigreturn): Guard with __USE_MISC.
3963 2015-01-13  Roland McGrath  <roland@hack.frob.com>
3965         * login/logout.c (logout): Use memset rather than bzero.
3966         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
3967         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
3968         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
3969         (_gethtbyaddr): Likewise.
3970         * locale/programs/simple-hash.c (bcopy): Macro removed.
3972 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3974         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3975         Add strcmp-power8 object.
3976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3977         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
3978         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
3979         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
3980         __strcmp_power8 implementation.
3981         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
3982         * NEWS: Update.
3984         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3985         Add strncpy-power8 and stpncpy-power8 objects.
3986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3987         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
3988         implementations.
3989         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
3990         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
3991         __stpncpy_power8 implementation.
3992         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
3993         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
3994         __strncpy_power8 implementation.
3995         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
3996         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
3997         * NEWS: Update.
3999         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
4000         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
4001         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
4003         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4004         strncat-power8 object.
4005         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
4006         __strcat_power8 implementation.
4007         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4008         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
4009         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
4010         optimized strcat for power8.
4012         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4013         strcpy-power8 and stpcpy-power8 objects.
4014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4015         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
4016         implementations.
4017         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
4018         multiarch stpcpy implementation for POWER8.
4019         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
4020         multiarch strcpy implementation for POWER8.
4021         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
4022         __strcpy_power8 function.
4023         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
4024         stpcpy for POWER8.
4025         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
4026         strcpy for POWER8.
4027         * NEWS: Update.
4029 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
4031         [BZ #16009]
4032         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
4033         weights and rules. Use do_xfrm_cached if data fits in cache,
4034         do_xfrm otherwise.  Moved former main loop to...
4035         * (do_xfrm_cached): New function.
4036         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
4037         find_idx, find_position and stack_push.
4038         * (find_idx): New function.
4039         * (find_position): Likewise.
4040         * localedata/sort-test.sh: Added test run for do_xfrm.
4041         * localedata/xfrm-test.c (main): Added command line option
4042         -nocache to run the test with strings that are too large for
4043         the STRXFRM cache.
4045 2015-01-13  Torvald Riegel  <triegel@redhat.com>
4047         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
4048         variable to lll_futex_wake call, not the value itself.
4050 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
4052         [BZ #17803]
4053         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
4054         twom64.  Adjust value to 0x1p-64L.
4055         (__scalblnl): Only return standard underflowing result for K <=
4056         -64 not K <= -63; adjust exponent for underflowing result by 64
4057         not 63.
4058         * math/libm-test.inc (scalbn_test_data): Add more tests.
4059         (scalbln_test_data): Likewise.
4061         [BZ #17834]
4062         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
4063         0x1p63L.
4064         (__scalblnl): Get new exponent of adjusted subnormal value from ES
4065         not HX.
4066         * math/libm-test.inc (scalbn_test_data): Add more tests.
4067         (scalbln_test_data): Likewise.
4069 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4070             Stefani Seibold  <stefani@seibold.net>
4072         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
4073         (sysdep_routines): Add dl-vdso here, ...
4074         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
4075         (sysdep_routines): ... not here.
4076         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
4077         fallback when vDSO is not presented.
4078         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4079         Define with libc_hidden_proto/libc_hidden_data_def definitions.
4080         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
4081         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
4082         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
4083         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
4084         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
4085         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
4086         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
4087         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
4088         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
4089         fallback configurable symbol when vDSO is not available.
4090         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
4091         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
4092         be able to redefine fallback symbol when vDSO is not available.
4093         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
4094         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
4096 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4098         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
4099         (TLS_INIT_TP): Add tm_capable initialization.
4100         (TLS_DEFINE_INIT_TP): Likewise.
4101         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
4102         TCB.
4103         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
4104         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
4105         calculation.
4106         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
4107         transactoion is lock elision is built and TCB tm_capable is set.
4108         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
4109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4110         (INTERNAL_SYSCALL_NCS): Likewise.
4111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4112         (INTERNAL_SYSCALL_NCS): Likewise.
4113         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
4115         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
4116         for powerpc.
4117         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4118         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
4119         and remove it for 32 bits case.
4120         [pthread_rwlock_t] (__rwelision): New field for lock elision.
4121         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
4122         initialization.
4123         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
4124         Disable lock elision with rdlocks if elision is not available.
4126         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
4127         (sysdep_routines): Add lock elision objects.
4128         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4129         [pthread_mutex_t] (__spins): Rework to add lock elision field.
4130         [pthread_mutex_t] (__elision): Add field.
4131         [__PTHREAD_SPINS]: Adjust to init lock elision field.
4132         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
4133         elision definitions for powerpc.
4134         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
4135         implementation of lock elision for powerpc.
4136         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
4137         implementation of timed lock elision for powerpc.
4138         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
4139         implementation of trylock with lock elision for powerpc.
4140         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
4141         implementaion of unlock for lock elision for powerpc.
4142         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
4143         automatic enable lock elision for mutexes.
4144         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
4145         transaction execution definitions for powerpc.
4146         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
4147         definitions.
4148         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
4149         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
4150         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
4151         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
4152         * NEWS: Update.
4154 2015-01-09  Roland McGrath  <roland@hack.frob.com>
4156         * sysdeps/posix/shm-directory.c: Use <> rather than ""
4157         for #include of <shm-directory.h>.
4159 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
4161         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
4162         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
4164 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
4166         [BZ #17791]
4167         * NEWS: Mention bug fix.
4168         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
4169         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
4170         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
4172 2015-01-09  Torvald Riegel <triegel@redhat.com>
4174         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
4176 2015-01-09  Torvald Riegel <triegel@redhat.com>
4178         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
4180 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
4182         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
4183         pointer and cast to uintptr_t.
4185 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
4187         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
4188         removed.
4189         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
4191 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
4193         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
4194         of 0.
4196 2015-01-08  Roland McGrath  <roland@hack.frob.com>
4198         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
4199         <nptl/pthreadP.h> instead.
4200         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
4202         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
4203         already defined.
4204         [__SIGRTMIN] (init): Function removed.
4205         [__SIGRTMIN] (initialized): Variable removed.
4206         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
4207         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
4208         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
4209         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
4210         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
4211         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
4212         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
4213         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
4214         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
4215         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
4216         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
4217         * sysdeps/nptl/allocrtsig.c: New file.
4218         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
4219         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
4220         * sysdeps/generic/testrtsig.h: File removed.
4222         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
4223         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
4225         * nptl/nptl-init.c (pthread_functions): Conditionalize
4226         .ptr__nptl_setxid initialization on [SIGSETXID].
4228         * sysdeps/nptl/sys/procfs.h: New file.
4229         * nptl_db/Makefile (headers): Add it.
4230         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
4232         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
4233         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
4234         * nptl/pthread_attr_setaffinity.c: Include it.
4235         * nptl/pthread_setattr_default_np.c: Likewise.
4236         * nptl/check-cpuset.h: New file.
4238 2015-01-08  Richard Henderson  <rth@redhat.com>
4240         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
4241         (CFLAGS-tst-execstack-prog.c): Likewise.
4242         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
4244 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
4245             Sandra Loosemore  <sandra@codesourcery.com>
4246             Andrew Jenner  <andrew@codesourcery.com>
4247             Joseph Myers  <joseph@codesourcery.com>
4248             Nathan Sidwell  <nathan@codesourcery.com>
4250         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
4251         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
4252         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
4253         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
4254         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
4255         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
4256         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
4257         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
4258         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
4259         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
4260         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
4261         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
4262         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
4263         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
4264         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
4265         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
4266         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
4268 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4270         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
4271         timespec struct member in syscall macro.
4272         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4273         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
4274         first timeval struct member in syscall macro.
4275         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
4277 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
4279         [BZ #17748]
4280         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
4281         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
4282         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
4283         __feupdateenv and define as weak alias of __feupdateenv.  Use
4284         libm_hidden_weak.
4285         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
4286         libm_hidden_def.
4287         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
4288         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
4289         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4290         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
4291         libm_hidden_def.
4292         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
4293         __feupdateenv and define as weak alias of __feupdateenv.  Use
4294         libm_hidden_weak.
4295         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
4296         libm_hidden_def.
4297         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
4298         __feupdateenv and define as weak alias of __feupdateenv.  Use
4299         libm_hidden_weak.
4300         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
4301         libm_hidden_def.
4302         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4303         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4304         (__feupdateenv): Likewise.
4305         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
4306         __feupdateenv and define as weak alias of __feupdateenv.  Use
4307         libm_hidden_weak.
4308         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4309         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
4310         libm_hidden_def.
4311         * sysdeps/tile/math_private.h (__feupdateenv): New inline
4312         function.
4313         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
4314         libm_hidden_def.
4315         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
4316         __feupdateenv instead of feupdateenv.
4317         (default_libc_feupdateenv_test): Likewise.
4318         (libc_feresetround_ctx): Likewise.
4320 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4322         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
4323         prototype.
4325 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
4327         * posix/regcomp.c (parse_bracket_exp): Initialize type to
4328         COLL_SYM in a couple of places to avoid uninitialized variable
4329         wanings on tilegx gcc 4.8.2.
4331 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
4333         * sysdeps/aarch64/strcpy.S: New file.
4334         * sysdeps/aarch64/stpcpy.S: New file.
4335         * NEWS: Updated.
4337 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
4339         * sysdeps/aarch64/strrchr.S: New file.
4340         * NEWS: Updated.
4342 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
4344         [BZ #17658]
4345         * stdlib/setenv.c: Fix memory leak when setting large,
4346         duplicate string.
4348 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
4350         [BZ #17273]
4351         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
4352         and tabs from buffer before parsing fstab entry.
4353         * misc/tst-mntent.c (main): Add test for mount entry with
4354         trailing spaces and tabs.
4356 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
4358         [BZ #17748]
4359         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
4360         * math/fesetround.c (fesetround): Rename to __fesetround and
4361         define as weak alias of __fesetround.  Use libm_hidden_weak.
4362         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
4363         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
4364         * sysdeps/arm/fesetround.c (fesetround): Likewise.
4365         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
4366         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
4367         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
4368         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
4369         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
4370         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
4371         __fesetround_inline.
4372         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
4373         __fesetround_inline instead of __fesetround.
4374         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
4375         __fesetround and define as weak alias of __fesetround.  Use
4376         libm_hidden_weak.  Call __fesetround_inline instead of
4377         __fesetround.
4378         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
4379         __fesetround and define as weak alias of __fesetround.  Use
4380         libm_hidden_weak.
4381         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
4382         Likewise.
4383         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
4384         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4385         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
4386         * sysdeps/tile/math_private.h (__fesetround): New inline function.
4387         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
4388         __fesetround and define as weak alias of __fesetround.  Use
4389         libm_hidden_weak.
4390         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
4391         __fesetround instead of fesetround.
4392         (default_libc_feholdexcept_setround): Likewise.
4393         (libc_feholdsetround_ctx): Likewise.
4394         (libc_feholdsetround_noex_ctx): Likewise.
4396         [BZ #17748]
4397         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
4398         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
4399         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4400         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
4401         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4402         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
4403         define as weak alias of __fesetenv.  Use libm_hidden_weak.
4404         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4405         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4406         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4407         define as weak alias of __fesetenv.  Use libm_hidden_weak.
4408         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4409         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4410         define as weak alias of __fesetenv.  Use libm_hidden_weak.
4411         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
4412         libm_hidden_def.
4413         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
4414         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
4415         Likewise.
4416         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4417         define as weak alias of __fesetenv.  Use libm_hidden_weak.
4418         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4419         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4420         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
4421         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4422         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
4423         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
4424         __fesetenv instead of fesetenv.
4425         (libc_feresetround_noex_ctx): Likewise.
4426         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4427         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4428         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
4429         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4430         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4431         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4432         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4433         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4434         (__feupdateenv): Likewise.
4435         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4436         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4437         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4438         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
4440 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
4442         [BZ #17806]
4443         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
4444         addresses have been freed.
4446 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
4448         * resolv/res_init.c (__res_vinit): Improve comments about nserv
4449         and nservall.
4451 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
4453         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
4454         Clean up check_pf allocation pattern. addresses
4456 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4458         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
4459         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
4460         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
4461         * nptl/pthread_exit.c (__pthread_exit): Likewise.
4462         * nptl/pthread_join.c (pthread_join): Likewise.
4463         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
4464         * sysdeps/posix/waitid.c (__waitid): Likewise.
4465         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4466         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4467         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4468         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4469         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4470         Likewise.
4471         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4472         (__libc_pread64): Likewise.
4473         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4474         (__libc_pwrite): Likewise.
4475         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4476         (__libc_pwrite64): Likewsie.
4477         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4478         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4479         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4480         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4481         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4482         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4483         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4485         Likewise.
4486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4487         (__libc_pread64): Likewise.
4488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
4489         Likewise.
4490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4491         (__libc_pwrite64): Likewise.
4492         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4493         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4494         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
4495         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
4496         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4497         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4498         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
4499         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4500         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4501         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4502         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
4503         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4504         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4505         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
4506         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4507         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4508         Likewise.
4510 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
4512         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
4513         (CFLAGS-test-double.c): Likewise.
4514         (CFLAGS-test-ldouble.c): Likewise.
4515         (CPPFLAGS-test-ifloat.c): Likewise.
4516         (CPPFLAGS-test-idouble.c): Likewise.
4517         (CPPFLAGS-test-ildoubl.c): Likewise.
4518         (CFLAGS-test-test-fenv.c): Remove variable.
4519         (CFLAGS-test-misc.c): Likewise.
4521 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
4523         [BZ #17797]
4524         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
4525         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
4526         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
4527         CLOCKS_PER_SEC == 1000000.
4528         * time/clocktest.c (main): Replace %ld with %jd and cast to
4529         intmax_t.
4531 2015-01-05  Roland McGrath  <roland@hack.frob.com>
4533         * sysdeps/generic/unwind-resume.h: New file.
4534         * sysdeps/gnu/unwind-resume.c: Include it.
4535         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
4536         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
4537         argument list.
4538         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
4539         global rather than static.
4540         (_Unwind_Resume): Update user.
4541         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
4542         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
4543         rather than static.  Add __attribute__ ((cold)).
4544         (_Unwind_Resume, __gcc_personality_v0): Update callers.
4545         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
4546         * sysdeps/arm/arm-unwind-resume.S: New file.
4547         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
4548         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
4549         * sysdeps/arm/Makefile [$(subdir) = csu]
4550         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
4551         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4552         Add rt-arm-unwind-resume.
4553         [$(subdir) = nptl]
4554         (libpthread-sysdep_routines, libpthread-shared-only-routines):
4555         Add pt-arm-unwind-resume.
4556         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
4557         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
4559 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
4561         [BZ #17748]
4562         * include/fenv.h (__feholdexcept): Declare.  Use
4563         libm_hidden_proto.
4564         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
4565         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
4566         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4567         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
4568         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
4569         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
4570         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
4571         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4572         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
4573         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
4574         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4575         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
4576         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
4577         (feholdexcept): Likewise.
4578         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4579         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4580         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4581         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4582         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
4583         __feholdexcept instead of feholdexcept.
4584         (default_libc_feholdexcept_setround): Likewise.
4586 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
4588         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
4589         to avoid using stl/str to align destination.
4591 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
4593         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
4595 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
4597         [BZ #17796]
4598         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
4599         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
4600         Define as weak alias not strong alias.
4602 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
4604         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
4605         bltzal with addiupc.
4606         (RTLD_START): Ditto.
4608 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
4610         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
4611         for __vdso_* functions in declarations.
4612         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
4613         definitions.
4614         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
4615         INTERNAL_VSYSCALL): Use struct return types to check for error.
4617         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
4618         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
4619         function with cast from llround().
4620         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
4621         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
4622         Define.
4624 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
4626         [BZ #17793]
4627         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
4628         Define as weak alias not strong alias.
4630         [BZ #17635]
4631         * ctype/ctype-c99.c: New file.  isblank implementation moved from
4632         ...
4633         * ctype/ctype-extn.c: ... here.
4634         (__isblank_l): Move to ...
4635         * ctype/ctype-c99_l.c: ... here.  New file.
4636         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
4637         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
4638         Remove variable.
4639         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4640         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4641         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4642         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4643         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4645         [BZ #17777]
4646         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
4647         (posix_fadvise64): Define as weak alias not strong alias.
4648         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4649         (posix_fallocate64): Likewise.
4650         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
4651         Remove variable.
4652         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4653         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4654         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4655         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4656         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4658 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
4660         [BZ #16191]
4661         * NEWS: Mention bug fix.
4662         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
4663         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
4664         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
4665         (HOST_STACK_END_ADDR): Likewise.
4667 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
4669         [BZ #17748]
4670         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
4671         * math/fegetround.c (fegetround): Rename to __fegetround and
4672         define as weak alias of __fegetround.  Use libm_hidden_weak.
4673         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
4674         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
4675         * sysdeps/arm/fegetround.c (fegetround): Likewise.
4676         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
4677         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4678         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
4679         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
4680         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
4681         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4682         Undefine after rather than before function definition; use
4683         parentheses around function name in definition.
4684         (__fegetround): Also undefine macro after function definition.
4685         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
4686         __fegetround and define as weak alias of __fegetround.  Use
4687         libm_hidden_weak.  Do not undefine as macro.
4688         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4689         Likewise.
4690         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
4691         __fegetround and define as weak alias of __fegetround.  Use
4692         libm_hidden_weak.
4693         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4694         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4695         * sysdeps/tile/math_private.h (__fegetround): New inline function.
4696         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
4697         __fegetround and define as weak alias of __fegetround.  Use
4698         libm_hidden_weak.
4699         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
4700         __fegetround instead of fegetround.
4702         [BZ #17782]
4703         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
4704         Condition macro definition on [__USE_MISC].
4706         [BZ #17781]
4707         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
4708         (struct sigaction): Change type of sa_flags field to int.
4710         [BZ #17780]
4711         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
4712         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
4713         __glibc_reserved0.
4715         * nptl/version.c (banner): Use single year in copyright notice.
4717         * NEWS: Update copyright dates.
4718         * catgets/gencat.c (print_version): Likewise.
4719         * csu/version.c (banner): Likewise.
4720         * debug/catchsegv.sh: Likewise.
4721         * debug/pcprofiledump.c (print_version): Likewise.
4722         * debug/xtrace.sh (do_version): Likewise.
4723         * elf/ldconfig.c (print_version): Likewise.
4724         * elf/ldd.bash.in: Likewise.
4725         * elf/pldd.c (print_version): Likewise.
4726         * elf/sotruss.sh: Likewise.
4727         * elf/sprof.c (print_version): Likewise.
4728         * iconv/iconv_prog.c (print_version): Likewise.
4729         * iconv/iconvconfig.c (print_version): Likewise.
4730         * locale/programs/locale.c (print_version): Likewise.
4731         * locale/programs/localedef.c (print_version): Likewise.
4732         * login/programs/pt_chown.c (print_version): Likewise.
4733         * malloc/memusage.sh (do_version): Likewise.
4734         * malloc/memusagestat.c (print_version): Likewise.
4735         * malloc/mtrace.pl: Likewise.
4736         * manual/libc.texinfo: Likewise.
4737         * nptl/version.c (banner): Likewise.
4738         * nscd/nscd.c (print_version): Likewise.
4739         * nss/getent.c (print_version): Likewise.
4740         * nss/makedb.c (print_version): Likewise.
4741         * posix/getconf.c (main): Likewise.
4742         * scripts/test-installation.pl: Likewise.
4743         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4745 2015-01-02  Will Newton  <will.newton@linaro.org>
4747         * sysdeps/arm/armv7/configure: Removed.
4748         * sysdeps/arm/armv7/configure.ac: Likewise.
4750 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
4752         * All files with FSF copyright notices: Update copyright dates
4753         using scripts/update-copyrights.
4754         * intl/plural.c: Regenerated.
4755         * locale/programs/charmap-kw.h: Likewise.
4756         * locale/programs/locfile-kw.h: Likewise.
4758 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4760         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
4762 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
4764         [BZ #17748]
4765         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
4766         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
4767         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
4768         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
4769         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4770         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
4771         define as weak alias of __fegetenv.  Use libm_hidden_weak.
4772         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
4773         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4774         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4775         define as weak alias of __fegetenv.  Use libm_hidden_weak.
4776         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4777         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4778         define as weak alias of __fegetenv.  Use libm_hidden_weak.
4779         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
4780         libm_hidden_def.
4781         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
4782         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
4783         Likewise.
4784         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4785         define as weak alias of __fegetenv.  Use libm_hidden_weak.
4786         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4787         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4788         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
4789         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
4790         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
4791         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
4792         __fegetenv instead of fegetenv.
4793         (libc_feholdsetround_noex_ctx): Likewise.
4795 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
4797         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
4798         (Elf_MIPS_ABIFlags_v0): New structure.
4799         (EF_MIPS_FP64): Define.
4800         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
4801         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
4802         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
4803         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
4804         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
4805         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
4806         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
4807         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
4808         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
4809         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
4810         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
4811         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
4812         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
4813         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
4814         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
4815         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
4816         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
4817         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
4818         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
4819         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
4820         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
4821         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
4822         field.
4823         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
4824         EF_MIPS_FP64.
4825         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
4826         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
4827         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
4828         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
4829         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
4830         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
4831         * sysdeps/mips/tst-abi-interlink.c: Likewise.
4832         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
4833         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
4834         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
4835         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
4836         record the current FP ABI extension.
4837         (mips-mode-switch): Define to show if kernel headers support mode
4838         switching.
4839         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4840         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
4841         supported SYSV ABI version to 3.
4842         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
4843         feature.
4845 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4846             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4848         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
4849         path.
4850         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
4852 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
4854         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
4855         __fegetround and redefine to call __fegetround.  Remove condition
4856         on [!__NO_MATH_INLINES].
4857         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
4858         function.
4859         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
4860         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4861         Remove macro.
4862         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
4863         instead of <fenv_libc.h>.
4864         (__llrintl): Call fegetround instead of __fegetround.
4865         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
4866         instead of <fenv_libc.h>.
4867         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4868         (__lrintl): Call fegetround instead of __fegetround.
4869         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
4870         instead of <fenv_libc.h>.
4871         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4872         (__rintl): Call fegetround instead of __fegetround.
4874 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4876         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
4877         arrays.
4879 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
4881         [BZ #17775]
4882         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
4883         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
4884         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
4886 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
4888         * sysdeps/i386/tls-macros.h: Include <features.h>.
4889         (TLS_LE): Use non-PIC version for GCC >= 5.0.
4890         (TLS_IE): Likewise.
4891         (TLS_LD): Likewise.
4892         (TLS_GD): Likewise.
4893         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
4894         define for GCC >= 5.0.
4896 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
4898         * math/test-fenv.c (test_single_exception, set_single_exc,
4899         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
4900         feexcp_mask_test, feenable_test, fe_single_test): Add
4901         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
4902         case where they are not used.
4903         * math/libm-test.inc: Likewise.
4904         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
4905         unused in the absence of FP rounding/exception support.
4906         * stdio-common/tst-printf-round.c: Likewise.
4907         * stdlib/tst-strtod-round.c: Likewise.
4908         * stdlib/tst-strtod-underflow.c: Likewise.
4910 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
4912         [BZ #17723]
4913         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
4914         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
4915         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4916         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
4917         libm_hidden_weak.
4918         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
4919         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
4920         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
4921         libm_hidden_def.
4922         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4923         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
4924         libm_hidden_weak.
4925         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
4926         Likewise.
4927         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
4928         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4929         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
4930         libm_hidden_weak.
4931         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
4932         libm_hidden_def.
4933         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4934         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
4935         (__feraiseexcept): Likewise.
4936         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4937         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
4938         libm_hidden_weak.
4939         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
4940         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
4941         libm_hidden_def.
4942         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
4943         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
4944         Use libm_hidden_def.
4945         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
4946         libm_hidden_def.
4947         (feraiseexcept): Define as weak not strong alias.  Use
4948         libm_hidden_weak.
4949         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
4950         New inline function.  Factored out of ...
4951         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
4952         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
4953         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
4954         feraiseexcept.
4955         * math/w_acos.c (__acos): Likewise.
4956         * math/w_asin.c (__asin): Likewise.
4957         * math/w_ilogb.c (__ilogb): Likewise.
4958         * math/w_j0.c (y0): Likewise.
4959         * math/w_j1.c (y1): Likewise.
4960         * math/w_jn.c (yn): Likewise.
4961         * math/w_log.c (__log): Likewise.
4962         * math/w_log10.c (__log10): Likewise.
4963         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
4964         * sysdeps/aarch64/fpu/math_private.h
4965         (libc_feupdateenv_test_aarch64): Likewise.
4966         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4967         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
4968         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
4969         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4970         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4971         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4972         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
4973         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4974         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4975         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4977 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
4979         [BZ #17732]
4980         * io/test-utime.c (main): Replace %ld with %jd and cast to
4981         intmax_t.
4982         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
4983         * nptl/tst-mutex5.c: Include <stdint.h>.
4984         (do_test): Replace %ld with %jd and cast to intmax_t.
4985         * posix/tst-regex.c (run_test): Likewise.
4986         (run_test_backwards): Likewise.
4987         * rt/tst-clock.c: Include <stdint.h>.
4988         (clock_test): Replace %ld with %jd and cast to intmax_t.
4989         * rt/tst-cpuclock1.c: Include <stdint.h>.
4990         (do_test): Replace %lu with %ju and cast to uintmax_t.
4991         * rt/tst-cpuclock2.c: Include <stdint.h>.
4992         (do_test): Replace %lu with %ju and cast to uintmax_t.
4993         * rt/tst-mqueue1.c: Include <stdint.h>.
4994         (check_attrs): Replace %ld with %jd and cast to intmax_t.
4995         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
4996         intmax_t.
4997         * rt/tst-mqueue4.c (do_test): Likewise.
4998         * rt/tst-timer4.c: Include <stdint.h>.
4999         (check_ts): Replace %ld with %jd and cast to intmax_t.
5000         (do_test): Likewise.
5001         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
5002         and cast to intmax_t.
5003         * sysdeps/pthread/tst-timer.c (main): Likewise.
5004         * time/clocktest.c (main): Likewise.
5005         * time/tst-posixtz.c (do_test): Likewise.
5006         * timezone/tst-timezone.c (main): Likewise.
5008 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
5009             H.J. Lu  <hongjiu.lu@intel.com>
5011         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
5012         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
5013         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
5014         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
5015         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
5016         version if bit_Fast_Unaligned_Load is set.
5017         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5018         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5019         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5020         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5021         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5022         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5023         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5024         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
5025         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
5026         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
5027         to 4.
5028         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
5029         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
5030         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
5031         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
5033 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
5035         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
5036         instead of #if to avoid a Wundef warning.
5037         * stdlib/tst-limits.c (do_test): Likewise.
5039         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
5040         parallel other exception macros.
5041         (fegetenv): Convert from macro to extern inline so that it applies
5042         retroactively to inline functions already seen by the compiler.
5043         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
5045         * posix/Makefile (before-compile): Use $(objpfx) for
5046         posix-conf-vars-def.h.
5048 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5050         * posix/getconf.c (main): Use size_t for type of I.
5051         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
5052         NSPEC.
5054         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
5055         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
5056         * posix/posix-envs.def: Likewise.
5057         * sysdeps/posix/sysconf.c: Likewise.
5058         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
5059         (specs): Remove array.
5060         * scripts/gen-posix-conf-vars.awk: Support generation of specs
5061         array.
5063         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
5064         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
5065         (__sysconf): Use CONF_IS_* macros.
5067         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
5068         ($(objpfx)posix-conf-vars-def.h): New target.
5069         * posix/posix-conf-vars.list: New file.
5070         * posix/posix-conf-vars.h: New file.
5071         * posix/confstr.c: Include posix-conf-vars.h.
5072         (confstr): Use CONF_IS_* macros.
5073         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
5074         CONF_IS_* macros.
5075         * scripts/gen-posix-conf-vars.awk: New file.
5077 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
5079         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
5080         fegetround): Add no-op macros to avoid linknamespace issues.
5082         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
5083         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
5085         * sysdeps/unix/sysv/linux/tile/sysdep.h
5086         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
5087         assembly-specific section to avoid a redefinition warning.
5089         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
5090         long before casting to pointer to avoid a cast warning.
5092 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
5094         * sysdeps/tile/tilegx/Implies: New file.
5096 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
5098         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
5100 2014-12-23  Florian Weimer  <fweimer@redhat.com>
5102         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
5104 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
5106         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
5107         not define.
5108         * sysdeps/unix/sysv/linux/utimes.c: Do not include
5109         <kernel-features.h>.
5110         (__utimes) [__NR_utimes]: Make code unconditional.
5111         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
5112         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5113         (__ASSUME_UTIMES): Do not undefine.
5114         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5115         (__ASSUME_UTIMES): Likewise.
5116         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5117         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
5118         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
5119         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
5121 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
5123         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
5125 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
5127         [BZ #17747]
5128         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
5129         alias to weak alias for j0l, y0l.
5130         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
5131         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
5133         [BZ #17746]
5134         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
5135         conversion.
5137 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
5139         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
5140         to zero if not already defined.
5142 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
5144         [BZ #17724]
5145         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
5146         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
5147         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
5148         (char *) casts added.
5149         * sysdeps/ieee754/k_standardf.c: New file.
5150         * sysdeps/ieee754/k_standardl.c: Likewise.
5151         * math/Makefile (libm-support): Remove k_standard.
5152         (libm-calls): Add k_standard.
5154 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5156         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5157         Optimize to avoid an unnecessary FPCR read.
5159 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5161         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
5162         Optimize to reduce FPCR/FPSR accesses.
5164 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5166         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
5167         Call libc_fetestexcept_aarch64.
5169 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5171         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
5172         Call libc_fesetround_aarch64.
5174 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
5176         [BZ #17733]
5177         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
5178         (__bind): Do not define as weak alias.
5179         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
5180         define.
5181         (__getsockname): Do not define as weak alias.
5183 2014-12-22  Will Newton  <will.newton@linaro.org>
5185         * manual/install.texi: Document that we require bison 2.7
5186         or above.
5187         * INSTALL: Regenerate.
5188         * configure.ac: Use AC_CHECK_PROG_VER instead of
5189         AC_PATH_PROG when checking for bison and check for
5190         version 2.7 or above.
5191         * configure: Regenerate.
5193 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
5195         [BZ #17745]
5196         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
5197         * sysdeps/tile/ffsll.c (ffsll): To here.
5199         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
5201 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
5203         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
5204         if not defined.
5205         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
5206         definition.
5207         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5208         hidden ___tls_get_addr.
5209         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5210         hidden __tls_get_addr.
5211         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
5212         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
5213         Likewise.
5215 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
5217         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
5218         _dl_init call.
5220 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
5222         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
5223         from "call _dl_init@PLT".
5224         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
5226 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
5228         * manual/search.texi: (Array Sort Function): Clarify stable sorting
5229         guarantees.
5231 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
5233         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
5235 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
5237         [BZ #17744]
5238         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
5239         strnlen.
5241 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
5243         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
5244         of multu on MIPSr6.
5245         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
5246         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
5247         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
5248         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
5249         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
5251 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
5253         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
5254         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
5255         (PTR_SUBU): Use subu for mips32r6/mips64r6.
5256         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
5257         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
5258         mips32r6/mips64r6.
5259         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
5261 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
5263         * string/strncat.c (STRNCAT): Simplify implementation.
5265 2014-12-19  David S. Miller  <davem@davemloft.net>
5267         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
5268         access the quad as both a long double and as a series of 4 words.
5270         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
5271         link_map->l_info array access.
5273 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
5275         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
5277         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
5278         * math/atest-exp2.c (TIMEOUT): Likewise.
5279         * math/atest-sincos.c (TIMEOUT): Likewise.
5281 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
5283         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
5284         -Wno-error with -fno-builtin-lround.
5286 2014-12-19  Torvald Riegel  <triegel@redhat.com>
5288         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
5289         Contains futex constants and functions moved over from ...
5290         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
5291         <lowlevellock-futex.h>.
5292         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5293         (lll_timedwait_tid): Add comments and parentheses around macro
5294         arguments.
5296 2014-12-19  Torvald Riegel  <triegel@redhat.com>
5298         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
5299         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
5300         (__lll_private_flag): Remove.
5301         (lll_futex_wait): Likewise.
5302         (lll_futex_timed_wait): Likewise.
5303         (lll_futex_wake): Likewise.
5304         (lll_futex_requeue): Likewise.
5305         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5306         (__lll_timedwait_tid): Spell out argument names.
5307         (lll_timedwait_tid): Add comments and parentheses around macro
5308         arguments.
5309         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
5310         LLL_SHARED and LLL_PRIVATE usable from assembly code.
5312 2014-12-19  Torvald Riegel  <triegel@redhat.com>
5314         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
5315         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5316         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5317         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
5318         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
5319         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
5320         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
5321         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
5322         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
5323         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
5324         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
5325         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
5326         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
5327         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
5328         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
5329         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
5330         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
5331         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
5332         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
5334 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
5336         * sysdeps/x86_64/x32/Makefile: New file.
5338 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
5340         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
5341         1L with (mp_limb_t) 1.
5343 2014-12-17  Roland McGrath  <roland@hack.frob.com>
5345         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
5346         * nptl/libc_pthread_init.c: ... here.
5347         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
5348         * nptl/register-atfork.c: ... here.
5350         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
5351         Use pthread_sigmask rather than INTERNAL_SYSCALL.
5352         Use assert_perror to check its return value.
5353         (__gai_create_helper_thread): Likewise.
5355         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
5357         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
5359 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
5361         [BZ #17725]
5362         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
5363         __profil_counter.
5364         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
5365         Likewise.
5366         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
5367         Likewise.
5368         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
5369         Likewise.
5370         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
5371         (profil_counter): Likewise.
5372         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
5373         (profil_counter): Likewise.
5374         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
5375         Likewise.
5376         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
5377         Likewise.
5378         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
5379         (profil_counter): Likewise.
5380         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
5381         Likewise.
5382         [!__profil_counter] (profil_counter): Define as weak alias of
5383         __profil_counter.
5384         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
5385         (profil_counter): Rename to __profil_counter.
5386         [!__profil_counter] (profil_counter): Define as weak alias of
5387         __profil_counter.
5388         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
5389         (profil_counter): Rename to __profil_counter.
5390         [!__profil_counter] (profil_counter): Define as weak alias of
5391         __profil_counter.
5392         * sysdeps/posix/profil.c: Update comment referring to
5393         profil_counter.
5394         (__profil): Use __profil_counter instead of profil_counter.
5395         * sysdeps/posix/sprofil.c (profil_counter): Rename to
5396         __profil_counter.  Use __profil_counter_ushort and
5397         __profil_counter_uint in definitions.
5398         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
5399         instead of profil_counter_uint and profil_counter_ushort.
5401         [BZ #17722]
5402         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
5403         define as weak alias of __inet_makeaddr.
5404         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
5405         as weak alias of __inet_addr.
5406         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
5407         as weak alias of __inet_pton.  Use libc_hidden_weak.
5408         * include/arpa/inet.h (__inet_pton): Declare.  Use
5409         libc_hidden_proto.
5410         (inet_makeaddr): Don't use libc_hidden_proto.
5411         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
5412         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
5413         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
5414         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
5415         Remove variable.
5416         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5417         (test-xfail-POSIX/time.h/linknamespace): Likewise.
5419 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
5421         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
5423 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5425         * stdio-common/bug-vfprintf-nargs.c (do_test):
5426         Cast value to intptr_t to avoid format warning
5427         for usage with PRIdPTR printing macro.
5429 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5431         * libio/tst-widetext.c (do_test):
5432         Use format type %td instead of %Zd for ptrdiff_t
5433         in order to avoid format warning.
5435 2014-12-17  Andreas Schwab  <schwab@suse.de>
5437         * nscd/mem.c (gc): Add size_t cast to match printf format.
5439 2014-12-16  Roland McGrath  <roland@hack.frob.com>
5441         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
5442         (init): Apply PTR_MANGLE to pointers before storing them.
5443         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
5444         before using them.
5446 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
5448         [BZ #17719]
5449         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
5450         define as weak alias of __memrchr.
5451         (__memrchr): Do not define as strong alias of memrchr.
5452         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
5453         Remove variable.
5454         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5455         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5456         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5458         [BZ #17717]
5459         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
5460         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
5461         (if_indextoname): Rename to __if_indextoname and define as weak
5462         alias of __if_indextoname.  Use libc_hidden_weak.
5463         (if_freenameindex): Rename to __if_freenameindex and define as
5464         weak alias of __if_freenameindex.
5465         (if_nameindex): Rename to __if_nameindex and define as weak alias
5466         of __if_nameindex.
5467         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
5468         __if_nametoindex and define as weak alias of __if_nametoindex.
5469         Use libc_hidden_weak.
5470         (if_freenameindex): Rename to __if_freenameindex and define as
5471         weak alias of __if_freenameindex.
5472         (if_nameindex): Rename to __if_nameindex and define as weak alias
5473         of __if_nameindex.
5474         (if_indextoname): Rename to __if_indextoname and define as weak
5475         alias of __if_indextoname.  Use libc_hidden_weak.
5476         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
5477         __if_nametoindex and define as weak alias of __if_nametoindex.
5478         Use libc_hidden_weak.
5479         (if_freenameindex): Rename to __if_freenameindex and define as
5480         weak alias of __if_freenameindex.  Use libc_hidden_weak.
5481         (if_nameindex_netlink): Use __if_freenameindex instead of
5482         if_freenameindex.
5483         (if_nameindex): Rename to __if_nameindex and define as weak alias
5484         of __if_nameindex.  Use libc_hidden_weak.
5485         (if_indextoname): Rename to __if_indextoname and define as weak
5486         alias of __if_indextoname.  Use libc_hidden_weak.
5487         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
5488         libc_hidden_proto.
5489         [!_ISOMAC] (__if_freenameindex): Likewise.
5490         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
5491         if_nametoindex.
5492         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
5493         variable.
5494         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5495         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5496         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5497         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5498         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5499         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5500         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5502         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
5503         Remove variable.
5504         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5505         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5507 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5509         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
5510         subscript above bounds'
5512         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
5513         bounds.
5515 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
5517         * libio/tst-fopenloc.c: Use test-skeleton.c.
5519         * stdlib/tst-bsearch.c: Use test-skeleton.c.
5520         (entry): Rename to ITEM.
5521         (do_test, comp): Adjust.
5523         * stdio-common/tst-fseek.c: Use test-skeleton.c.
5525 2014-12-16  Torvald Riegel  <triegel@redhat.com>
5527         * string/tester.c: Include <libc-internal.h>.
5528         (test_memset): Ignore -Wmemset-transposed-args.
5530 2014-12-16  Torvald Riegel  <triegel@redhat.com>
5532         * misc/tst-mntent2.c (do_test): Fix warning.
5534 2014-12-16  Torvald Riegel  <triegel@redhat.com>
5536         * elf/tst-unique4lib.cc(a): Mark as used.
5538 2014-12-16  Florian Weimer  <fweimer@redhat.com>
5540         [BZ #17630]
5541         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
5542         names.
5544 2014-12-16  Allan McRae  <allan@archlinux.org>
5546         * stdio-common/Makefile (tests): Re-add bug26.
5548 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
5550         [BZ #17657]
5551         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
5552         static array.
5554 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
5556         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
5557         (__lll_lock_wait): Likewise.
5558         (__lll_timedlock_wait): Likewise.
5559         (__lll_timedwait_tid): Likewise.
5560         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
5561         (__lll_robust_timedlock_wait): Likewise.
5562         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
5563         (lll_cond_trylock): Likewise.
5564         (__lll_lock): Likewise.
5565         (__lll_robust_lock): Likewise.
5566         (__lll_cond_lock): Likewise.
5567         (lll_robust_cond_lock): Likewise.
5568         (__lll_timedlock): Likewise.
5569         (__lll_robust_timedlock): Likewise.
5570         (__lll_unlock): Likewise.
5571         (__lll_robust_unlock): Likewise.
5572         (lll_wait_tid): Likewise.
5573         (lll_timedwait_tid): Likewise.
5575 2014-12-15  Torvald Riegel  <triegel@redhat.com>
5577         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
5579 2014-12-15  Torvald Riegel  <triegel@redhat.com>
5581         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
5583 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
5585         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
5586         * stdio-common/tst-sprintf.c: Likewise.
5588 2014-12-15  Torvald Riegel  <triegel@redhat.com>
5590         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
5592 2014-12-15  Jeff Law  <law@redhat.com>
5594         [BZ #16617]
5595         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
5596         on the heap.  (CVE-2012-3406)
5597         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
5598         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
5599         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
5601 2014-12-15  Will Newton  <will.newton@linaro.org>
5603         * manual/install.texi: Bump required version of texinfo
5604         to 4.7 from 4.5.
5605         * INSTALL: Regenerated.
5606         * configure.ac: Check for makeinfo version 4.7 and above.
5607         * configure: Regenerated.
5609 2014-12-12  Roland McGrath  <roland@hack.frob.com>
5611         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
5612         PREFIX, string constant to insert between directory and name.
5613         * sysdeps/posix/shm_open.c: Update caller.
5614         * sysdeps/posix/shm_unlink.c: Likewise.
5615         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
5616         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
5617         (SEM_SHM_PREFIX): New macro.
5618         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
5619         [$(have-thread-library) = no].
5620         * nptl/Makefile (libpthread-routines): Add shm-directory.
5621         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
5622         * sysdeps/nptl/shm-directory.h: New file.
5623         * sysdeps/posix/shm-directory.c
5624         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
5625         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
5626         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
5627         INTERNAL_SYSCALL.
5628         (__where_is_shmfs): Function removed.
5629         (mountpoint, defaultmount, defaultdir, __namedsem_once):
5630         Variables removed.
5631         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
5632         Use SHM_GET_NAME.
5633         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
5635         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
5636         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
5637         unconditional for use inside libpthread.
5638         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
5640 2014-12-12  Roland McGrath  <roland@hack.frob.com>
5642         * nptl/pthread_getaffinity.c: New file.
5643         * nptl/pthread_setaffinity.c: New file.
5644         * nptl/pthread_getname.c: New file.
5645         * nptl/pthread_setname.c: New file.
5647         * nptl/pthread_create.c (START_THREAD_DEFN)
5648         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
5650 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5651             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5653         * resolv/res_send.c (send_vc): Disable warning resplen may
5654         be used uninitialized.
5656 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5658         * nptl/tst-mutex6.c
5659         (ATTR_NULL): New define checks ATTR against NULL.
5660         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
5661         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
5663 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
5665         [BZ #17581]
5666         * malloc/hooks.c
5667         (mem2mem_check): Revert my previous change.
5668         (malloc_check_get_size): Revert my previous change.
5669         (mem2chunk_check): Revert my previous change.
5671 2014-12-11  Roland McGrath  <roland@hack.frob.com>
5673         * sysdeps/posix/shm-directory.c: New file.
5674         * sysdeps/posix/shm-directory.h: New file.
5675         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
5676         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
5677         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
5678         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
5679         Transmute EPERM to EACCES.
5680         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
5681         from ...
5682         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
5683         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
5685 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5687         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
5688         pointer and cast to uintptr_t.
5689         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
5690         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
5691         Add cast to avoid warning.
5692         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
5694 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
5696         * nptl/semaphore.h: Move to ...
5697         * sysdeps/pthread/semaphore.h: ... here.
5698         * Makefile (installed-headers): Change nptl/semaphore.h to
5699         sysdeps/pthread/semaphore.h.
5701 2014-12-11  Roland McGrath  <roland@hack.frob.com>
5703         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
5704         generated error format strings.
5706         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
5707         -Wformat-extra-args warnings for scanf formats.
5708         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
5709         test of zero-length format (duh).
5710         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
5711         corner-case scanf format test.
5712         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
5713         generated fprintf format string.
5714         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
5715         corner-case sprintf format tests.
5716         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
5717         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
5718         -Wformat-extra-args warnings throughout.
5719         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
5720         (CFLAGS-scanf4.c): Likewise.
5721         (CFLAGS-scanf7.c): Likewise.
5722         (CFLAGS-tst-sprintf.c): Likewise.
5723         (CFLAGS-tst-printf.c): Likewise.
5724         (CFLAGS-tst-printfsz.c): Likewise.
5726 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
5728         * include/cpio.h: New file.
5729         * include/fmtmsg.h: Likewise.
5731         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
5732         corresponding format argument to size_t.
5733         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
5734         arguments.
5735         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
5736         corresponding format argument to size_t.
5737         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
5738         arguments.
5739         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
5740         corresponding format argument to size_t.
5741         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
5742         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
5743         (CFLAGS-tst-mbswcs2.c): Likewise.
5744         (CFLAGS-tst-mbswcs3.c): Likewise.
5745         (CFLAGS-tst-mbswcs4.c): Likewise.
5746         (CFLAGS-tst-mbswcs5.c): Likewise.
5747         (CFLAGS-tst-trans.c): Likewise
5749 2014-12-11  Roland McGrath  <roland@hack.frob.com>
5751         * posix/regexbug1.c (main): Use "%s" format with regerror results,
5752         rather than assuming they won't contain any '%'s.
5754 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
5756         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
5757         inhibit_loop_to_libcall to avoid recursive calls.
5758         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
5759         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
5761 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
5763         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
5764         prototype.
5766 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
5768         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
5769         integer value instead of boolean.
5771 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
5773         * malloc/malloc.c: Fix powerof2 check.
5775 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5777         * locale/programs/locfile.h (maybe_swap_uint32):
5778         Remove inline and add unused attribute.
5780 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5782         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5783         Truncating assembler expression to a .long expression.
5785 2014-12-11  Andreas Schwab  <schwab@suse.de>
5787         * elf/rtld.c (struct map_args): Constify str member.
5788         (do_preload): Constify fname argument.
5790 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5792         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
5793         constants definition.
5795 2014-12-11  Andreas Schwab  <schwab@suse.de>
5797         [BZ #16657]
5798         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
5799         FORCE_ELISION instead of DO_ELISION.
5800         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
5801         Remove.
5802         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
5803         Likewise.
5805         * iconvdata/gconv-modules: Remove duplicate entry.
5807 2014-12-11  Will Newton  <will.newton@linaro.org>
5809         Merge gettext 0.19.3 into intl/.
5811         This involves a number of cosmetic changes to comments
5812         and ANSI function definitions and prototypes throughout
5813         all the files. The gettext copyright header is used but
5814         with the date ranges taken from the glibc copy.
5816         * NEWS: Add gettext merge to 2.21.
5817         * intl/bindtextdom.c: Switch to gettext copyright.
5818         Use ANSI definitions and prototypes.
5819         Use gl_* locking primitives rather than __libc_* ones.
5820         Use __builtin_expect rather than __glibc_likely/unlikely.
5821         * intl/dcgettext.c: Switch to gettext copyright.
5822         Use ANSI definitions and prototypes.
5823         * intl/dcigettext.c: Switch to gettext copyright.
5824         Use ANSI definitions and prototypes.
5825         (INTDIV0_RAISES_SIGFPE): New define.
5826         Use gl_* locking primitives rather than __libc_* ones.
5827         Include eval-plural.h instead of plural-eval.c.
5828         Use __builtin_expect rather than __glibc_likely/unlikely.
5829         * intl/dcngettext.c: Switch to gettext copyright.
5830         Use ANSI definitions and prototypes.
5831         * intl/dgettext.c: Likewise.
5832         * intl/dngettext.c: Likewise.
5833         * intl/plural-eval.c: Renamed to...
5834         * intl/eval-plural.h: ...this.
5835         * intl/explodename.c: Switch to gettext copyright.
5836         Use ANSI definitions and prototypes.
5837         (_nl_explode_name): Use strchr instead of __rawmemchr.
5838         * intl/finddomain.c: Switch to gettext copyright.
5839         Use ANSI definitions and prototypes.
5840         Use gl_* locking primitives rather than __libc_* ones.
5841         (_nl_find_domain): Use malloc rather than alloca for
5842         allocation of temporary locale name.
5843         * intl/gettext.c: Switch to gettext copyright.
5844         Use ANSI definitions and prototypes.
5845         * intl/gettextP.h: Switch to gettext copyright.
5846         Use ANSI definitions and prototypes.
5847         Use gl_* locking primitives rather than __libc_* ones.
5848         * intl/gmo.h: Switch to gettext copyright.
5849         (struct sysdep_string): Move struct segment_pair outside of
5850         struct definition.
5851         * intl/hash-string.c: Use ANSI definitions and prototypes.
5852         * intl/hash-string.h: Switch to gettext copyright.
5853         Use ANSI definitions and prototypes.
5854         * intl/l10nflist.c: Switch to gettext copyright.
5855         Use ANSI definitions and prototypes.
5856         (_nl_normalize_codeset): Avoid integer overflow.
5857         * intl/loadinfo.h: Switch to gettext copyright.
5858         Use ANSI definitions and prototypes.
5859         (LIBINTL_DLL_EXPORTED): New define.
5860         (PATH_SEPARATOR): New define.
5861         * intl/loadmsgcat.c: Switch to gettext copyright.
5862         * intl/localealias.c: Switch to gettext copyright.
5863         Use ANSI definitions and prototypes.
5864         (_nl_expand_alias): Use PATH_SEPARATOR.
5865         * intl/ngettext.c: Switch to gettext copyright.
5866         Use ANSI definitions and prototypes.
5867         * intl/plural-exp.c: Likewise.
5868         * intl/plural-exp.h: Switch to gettext copyright.
5869         Use ANSI definitions and prototypes.
5870         (struct expression): Move definition of enum operator outside
5871         of struct definition.
5872         * intl/plural.c: Regenerate.
5873         * intl/plural.y: Switch to gettext copyright.
5874         Use ANSI definitions and prototypes.
5875         Port to bison 3.0.
5876         * intl/textdomain.c: Switch to gettext copyright.
5877         Use ANSI definitions and prototypes.
5878         Use gl_* locking primitives rather than __libc_* ones.
5880 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
5882         * debug/warning-nop.c: Add used atrribute.
5884 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
5886         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
5888         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
5889         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
5890         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
5892 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
5893             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5895         [BZ #17634]
5896         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
5897         Undefine after defining function.  Define as weak alias of
5898         __wcschr.  Use libc_hidden_weak.
5899         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
5900         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
5901         (libc_hidden_def): Also define __GI___wcschr alias.
5902         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
5903         __wcschr and define as weak alias of __wcschr.
5904         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
5905         __wcschr.
5906         [!WCSCHR] (DEFAULT_WCSCHR): Define.
5907         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
5908         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
5909         libc_hidden_weak.  Do not use libc_hidden_def.
5910         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
5911         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
5912         __GI___wcschr alias.
5913         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
5914         [IS_IN (libc)] (wcschr): Define as macro expanding to
5915         __redirect_wcschr.
5916         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
5917         [IS_IN (libc)] (__wcschr_power6): Likewise.
5918         [IS_IN (libc)] (__wcschr_power7): Likewise.
5919         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
5920         instead of wcschr.
5921         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
5922         __libc_wcschr.
5923         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
5924         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
5925         __wcschr and define as weak alias of __wcschr.  Use
5926         libc_hidden_builtin_def.
5927         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
5928         as weak alias of __wcschr.  Use libc_hidden_weak.
5929         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
5930         wcschr.
5931         * time/era.c (_nl_init_era_entries): Likewise.
5932         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
5933         variable.
5934         (test-xfail-XPG3/time.h/linknamespace): Likewise.
5935         (test-xfail-XPG4/time.h/linknamespace): Likewise.
5937 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
5939         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
5940         format for long int variable.
5942 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
5944         [BZ #10672]
5945         * manual/search.texi: (Array Sort Function): Remove claim how to make
5946         qsort stable.
5948 2014-12-10  Andreas Schwab  <schwab@suse.de>
5950         [BZ #12847]
5951         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
5952         user-controlled locks.
5954 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
5956         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
5957         register.
5959 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
5961         * configure.ac (--disable-werror): New configure option.
5962         (enable_werror): New AC_SUBST.
5963         * configure: Regenerated.
5964         * config.make.in (enable-werror): New variable.
5965         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
5966         -Wno-error=undef.
5967         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
5968         * manual/install.texi (Configuring and compiling): Document
5969         --disable-werror.
5970         * INSTALL: Regenerated.
5971         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
5972         (CFLAGS-tst-chk2.c): Likewise.
5973         (CFLAGS-tst-chk3.c): Likewise.
5974         (CFLAGS-tst-chk4.cc): Likewise.
5975         (CFLAGS-tst-chk5.cc): Likewise.
5976         (CFLAGS-tst-chk6.cc): Likewise.
5977         (CFLAGS-tst-lfschk1.c): Likewise.
5978         (CFLAGS-tst-lfschk2.c): Likewise.
5979         (CFLAGS-tst-lfschk3.c): Likewise.
5980         (CFLAGS-tst-lfschk4.cc): Likewise.
5981         (CFLAGS-tst-lfschk5.cc): Likewise.
5982         (CFLAGS-tst-lfschk6.cc): Likewise.
5984         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
5985         (main): Disable -Wdeprecated-declarations around calls to
5986         register_printf_function.
5988         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
5989         (do_test): Disable -Wdiv-by-zero around some calls to
5990         fwrite_unlocked and fread_unlocked.
5992         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
5993         (DIAG_POP_NEEDS_COMMENT): Likewise.
5994         (_DIAG_STR1): Likewise.
5995         (_DIAG_STR): Likewise.
5996         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
5997         * stdio-common/bug21.c: Include <libc-internal.h>.
5998         (do_test): Disable -Wformat around call to sscanf.
5999         * stdio-common/scanf14.c: Include <libc-internal.h>.
6000         (main): Disable -Wformat around some calls to scanf functions.
6002 2014-12-09  Torvald Riegel  <triegel@redhat.com>
6004         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
6006 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6008         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
6009         stack variable alignment.
6011 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
6013         [BZ #17682]
6014         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
6015         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
6016         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
6017         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
6018         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
6019         __getrlimit instead of getrlimit.
6020         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
6021         __gettimeofday instead of gettimeofday.
6022         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6023         Likewise.
6024         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6025         Likewise.
6026         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6027         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
6028         Remove variable.
6029         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6030         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6032 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6034         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
6035         for wide-character tests.
6037 2014-12-04  Roland McGrath  <roland@hack.frob.com>
6039         * io/openat64.c: #include <libc-internal.h>
6040         (__openat64): Prototypify.  Use ignore_value on MODE.
6041         * io/openat.c: Likewise.
6042         * misc/reboot.c: #include <libc-internal.h>
6043         (reboot): Prototypify.  Use ignore_value on HOWTO.
6044         * misc/ptrace.c: #include <libc-internal.h>
6045         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
6047 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
6049         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
6050         XPG4, UNIX98 and XOPEN2K.
6051         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
6052         Remove variable.
6053         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6055 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6057         * libio/fileops.c: Use ISO C style for function definitions.
6058         * libio/iofopen.c: Likewise.
6059         * libio/wfileops.c: Likewise.
6061         [BZ #17653]
6062         * libio/fileops.c (_IO_new_file_underflow): Unset cached
6063         offset on EOF.
6064         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6065         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
6066         (fgets_func): Function pointer to fgets and fgetws.
6067         (do_ftell_test): Add test to verify ftell value after read
6068         EOF.
6069         (do_test): Set fgets_func.
6071         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
6072         O_TRUNC flag for w and w+ modes.
6073         (do_rewind_test): Likewise.
6074         (do_ftell_test): Likewise.
6075         (do_write_test): Likewise.
6077         [BZ #17647]
6078         * libio/fileops.c (do_ftell): Seek only when there are
6079         unflushed writes.
6080         * libio/wfileops.c (do_ftell_wide): Likewise.
6081         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
6082         test case.
6083         (do_one_test): Call it.
6085 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
6087         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
6088         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
6089         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
6090         Remove variable.
6091         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6092         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6093         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6095 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
6097         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
6098         Remove variable.
6099         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6101         [BZ #17668]
6102         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
6103         as weak alias of __getifaddrs.  Use libc_hidden_weak.
6104         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6105         __freeifaddrs.  Use libc_hidden_weak.
6106         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
6107         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
6108         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6109         __freeifaddrs.  Use libc_hidden_weak.
6110         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
6111         __getifaddrs and define as weak alias of __getifaddrs.  Use
6112         libc_hidden_weak.
6113         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6114         __freeifaddrs.  Use libc_hidden_weak.
6115         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
6116         Remove variable.
6117         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6118         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6120 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
6122         [BZ #17601]
6123         * sysdeps/mips/start.S (__start): Use indirect jump to call
6124         __libc_start_main.
6126 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
6128         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
6130         * nptl/tst-mutex1.c: Include <stdbool.h>.
6131         [!ATTR] (ATTR_NULL): New macro.
6132         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
6133         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
6134         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
6136         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
6137         to char *.
6139         [BZ #17665]
6140         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
6141         Change conditional to [__USE_MISC].
6143         [BZ #17664]
6144         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
6145         fgets_unlocked.
6146         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
6147         __fgets_unlocked.
6148         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
6149         fgets_unlocked.
6150         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
6151         Remove variable.
6152         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6153         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6154         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6155         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6156         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6157         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6158         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6159         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6160         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6162         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
6164 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6166         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6167         Remove strpbrk objects.
6168         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6169         (__libc_ifunc_impl_list): Remove strpbrk implementation.
6170         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
6171         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
6172         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
6173         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
6175         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6176         Remove strcspn objects.
6177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6178         (__libc_ifunc_impl_list): Remove strcspn implementation.
6179         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
6180         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
6181         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
6182         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
6184         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6185         Remove strspn objetcs.
6186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6187         (__libc_ifunc_impl_list): Remove strspn implementation.
6188         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
6189         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6190         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
6191         * sysdeps/powerpc/powerpc64/strspn.S: New file.
6193 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
6195         [BZ #17581]
6196         * malloc/hooks.c
6197         (mem2mem_check): Add a terminator to the chain of checking blocks.
6198         (malloc_check_get_size): Use it here.
6199         (mem2chunk_check): Ditto.
6201 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6203         * sysdeps/powerpc/powerpc64/strtok.S: New file.
6204         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
6206 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
6208         * bits/ioctl-types.h: Indent preprocessor directives correctly.
6210         * nptl/nptl-init.c: Include libc-internal.h.
6211         (__pthread_initialize_minimal_internal): Use ROUND_UP.
6213         * elf/ldconfig.c (search_dir): Expand comment.
6215 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
6217         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
6218         variable.
6219         (linknamespace-symlist-stdlibs-tests): Likewise.
6220         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
6221         instead of $(objpfx)symlist-stdlibs.
6222         (linknamespace-libs-isoc): New variable.
6223         (linknamespace-libs): Use $(linknamespace-libs-isoc).
6224         (linknamespace-libs-ISO): New variable.
6225         (linknamespace-libs-ISO99): Likewise.
6226         (linknamespace-libs-ISO11): Likewise.
6227         (linknamespace-libs-XPG3): Likewise.
6228         (linknamespace-libs-XPG4): Likewise.
6229         (linknamespace-libs-POSIX): Likewise.
6230         (linknamespace-libs-UNIX98): Likewise.
6231         (linknamespace-libs-XOPEN2K): Likewise.
6232         (linknamespace-libs-POSIX2008): Likewise.
6233         (linknamespace-libs-XOPEN2K8): Likewise.
6234         ($(objpfx)symlist-stdlibs): Replace by
6235         $(linknamespace-symlist-stdlibs-tests).  Use
6236         $(linknamespace-libs-$*) as set of libraries.
6237         ($(linknamespace-header-tests)): Update dependencies.  Use
6238         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
6239         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
6240         * conform/linknamespace.pl: Remove comment about considering
6241         definitions of symbols from irrelevant libraries.
6243 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
6245         [BZ #13862]
6246         * elf/dl-tls.c: Include <atomic.h>.
6247         (oom): Remove #ifdef SHARED/#endif.
6248         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
6249         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
6250         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
6251         big enough.
6252         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
6253         * nptl/Makefile (tests): Add tst-stack4.
6254         (modules-names): Add tst-stack4mod.
6255         ($(objpfx)tst-stack4): New.
6256         (tst-stack4mod.sos): Likewise.
6257         ($(objpfx)tst-stack4.out): Likewise.
6258         ($(tst-stack4mod.sos)): Likewise.
6259         (clean): Likewise.
6260         * nptl/tst-stack4.c: New file.
6261         * nptl/tst-stack4mod.c: Likewise.
6263 2014-11-27  J. Brown  <jb999@gmx.de>
6265         * sysdeps/x86/bits/string.h: Add recent CPUs.
6267 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
6269         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
6270         sigblock.
6272         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
6273         feof.
6275         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
6276         variable.
6278 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6280         * nscd/connections.c: Include libc-internal.h because of macro
6281         usage ignore_value.
6283 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6285         * string/bits/string3.h (__warn_memset_zero_len): Don't
6286         declare for gcc newer than 5.0.
6287         (memset): Don't test for zero-length __LEN for gcc newer than
6288         5.0.
6290 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
6292         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
6293         size_t for %zu format.
6295         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
6296         difference, not %ju.
6298 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
6300         * include/libc-internal.h (ignore_value): New macro.
6301         * nscd/connections.c (restart): Wrap calls to setuid and setgid
6302         with ignore_value.
6304         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
6305         definition.
6307         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
6308         pthread_cleanup_push to void *.
6310         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
6311         Undefine.
6313         [BZ #16619]
6314         [BZ #16740]
6315         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
6316         instead of 1L << 52.
6318         * libio/bug-rewind.c (do_test): Check fwscanf return values.
6319         * libio/bug-rewind2.c (do_test): Likewise.
6321         * debug/test-stpcpy_chk-ifunc.c: Remove file.
6322         * debug/test-strcpy_chk-ifunc.c: Likewise.
6323         * wcsmbs/test-wcschr-ifunc.c: Likewise.
6324         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6325         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6326         * wcsmbs/test-wcslen-ifunc.c: Likewise.
6327         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6328         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6329         * Rules [$(multi-arch) = no] (tests): Do not filter out
6330         $(tests-ifunc).
6331         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
6332         * debug/Makefile (tests-ifunc): Remove variable.
6333         (tests): Do not add $(tests-ifunc).
6334         * wcsmbs/Makefile (tests-ifunc): Remove variable.
6335         (tests): Do not add $(tests-ifunc).
6336         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
6337         [TEST_IFUNC]: Remove conditionals.
6338         * string/test-string.h (TEST_IFUNC): Remove macro.
6339         [TEST_IFUNC]: Remove conditionals.
6341         * string/test-strchr.c [!WIDE] (L): New macro.
6342         [WIDE] (L): Likewise.
6343         (check1): Use CHAR instead of char.  Use L on string and character
6344         constants.
6346 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
6348         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
6349         tests.
6350         * sysdeps/powerpc/bits/atomic.h
6351         (__arch_atomic_exchange_and_add_32_acq): Add definition.
6352         (__arch_atomic_exchange_and_add_32_rel): Likewise.
6353         (atomic_exchange_and_add_acq): Likewise.
6354         (atomic_exchange_and_add_rel): Likewise.
6355         * sysdeps/powerpc/powerpc32/bits/atomic.h
6356         (__arch_atomic_exchange_and_add_64_acq): Add definition.
6357         (__arch_atomic_exchange_and_add_64_rel): Likewise.
6358         * sysdeps/powerpc/powerpc64/bits/atomic.h
6359         (__arch_atomic_exchange_and_add_64_acq): Add definition.
6360         (__arch_atomic_exchange_and_add_64_rel): Likewise.
6362 2014-11-26  Torvald Riegel  <triegel@redhat.com>
6364         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
6365         Change synchronization of __sched_fifo_min_prio and
6366         __sched_fifo_max_prio.
6367         * nptl/pthread_mutexattr_getprioceiling.c
6368         (pthread_mutexattr_getprioceiling): Likewise.
6369         * nptl/pthread_mutexattr_setprioceiling.c
6370         (pthread_mutexattr_setprioceiling): Likewise.
6371         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
6372         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6373         Likewise.
6375 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
6377         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
6378         void.
6380 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
6382         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
6383         third argument const.
6385 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
6387         fnmatch: work around GCC compiler warning bug with uninit var
6388         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
6389         This works around a bug with x86-64 GCC 4.9.2 and earlier
6390         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
6391         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
6392         used uninitialized in this function [-Wmaybe-uninitialized]".
6394 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
6396         * posix/bug-regex31.c (main): Return RES not 0.
6398 2014-11-25  Anton Blanchard <anton@samba.org>
6400         * sysdeps/powerpc/bits/atomic.h
6401         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
6403 2014-11-24  Sterling Augustine  <saugustine@google.com>
6405         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
6407 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
6409         [BZ #17608]
6410         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
6412 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
6414         [BZ #17633]
6415         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
6416         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
6417         variable.
6418         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6419         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6421 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
6423         * string/strncpy.c (strncpy): Improve performance by using memset.
6425 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
6427         * string/strcpy.c (strcpy):
6428         Improve performance by using strlen and memcpy.
6430 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
6432         * string/strcoll_l.c (get_next_seq): __always_inline.
6433         * string/strcoll_l.c (do_compare): __always_inline.
6435 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6437         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
6438         defined.
6439         * include/mqueue.h: Likewise.
6440         * include/stdlib.h: Likewise.
6442         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
6443         (get_null_defines): Adjust.
6444         * sunrpc/Makefile: Adjust comment.
6445         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
6446         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
6447         (CFLAGS-interp.c): Likewise.
6448         (CFLAGS-ldconfig.c): Likewise.
6449         (CPPFLAGS-.os): Likewise.
6450         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6451         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6452         * extra-modules.mk (extra-modules.mk): Likewise.
6453         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
6454         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
6455         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
6456         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
6457         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
6458         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
6459         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
6460         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
6461         * iconvdata/Makefile (CPPFLAGS): Likewise.
6462         (cpp-srcs-left): Add libof for all iconvdata routines.
6463         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
6464         * include/assert.h: Likewise.
6465         * include/ctype.h: Likewise.
6466         * include/errno.h: Likewise.
6467         * include/libc-symbols.h: Likewise.
6468         * include/math.h: Likewise.
6469         * include/netdb.h: Likewise.
6470         * include/resolv.h: Likewise.
6471         * include/stdio.h: Likewise.
6472         * include/stdlib.h: Likewise.
6473         * include/string.h: Likewise.
6474         * include/sys/stat.h: Likewise.
6475         * include/wctype.h: Likewise.
6476         * intl/l10nflist.c: Likewise.
6477         * libidn/idn-stub.c: Likewise.
6478         * libio/libioP.h: Likewise.
6479         * nptl/libc_multiple_threads.c: Likewise.
6480         * nptl/pthreadP.h: Likewise.
6481         * posix/regex_internal.h: Likewise.
6482         * resolv/res_hconf.c: Likewise.
6483         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
6484         * sysdeps/arm/memmove.S: Likewise.
6485         * sysdeps/arm/sysdep.h: Likewise.
6486         * sysdeps/generic/_itoa.h: Likewise.
6487         * sysdeps/generic/symbol-hacks.h: Likewise.
6488         * sysdeps/gnu/errlist.awk: Likewise.
6489         * sysdeps/gnu/errlist.c: Likewise.
6490         * sysdeps/i386/i586/memcpy.S: Likewise.
6491         * sysdeps/i386/i586/memset.S: Likewise.
6492         * sysdeps/i386/i686/memcpy.S: Likewise.
6493         * sysdeps/i386/i686/memmove.S: Likewise.
6494         * sysdeps/i386/i686/mempcpy.S: Likewise.
6495         * sysdeps/i386/i686/memset.S: Likewise.
6496         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6497         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6498         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
6499         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
6500         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6501         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6502         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
6503         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6504         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6505         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6506         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6507         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6508         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6509         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6510         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6511         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6512         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
6513         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
6514         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
6515         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6516         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6517         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6518         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6519         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6520         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6521         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6522         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
6523         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6524         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
6525         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6526         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6527         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6528         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6529         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6530         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6531         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6532         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6533         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6534         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6535         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6536         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6537         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6538         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6539         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6540         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6541         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6542         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
6543         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
6544         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6545         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6546         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6547         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
6548         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
6549         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6550         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6551         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
6552         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6553         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
6554         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
6555         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6556         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6557         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6558         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
6559         * sysdeps/nptl/bits/libc-lock.h: Likewise.
6560         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
6561         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
6562         * sysdeps/posix/closedir.c: Likewise.
6563         * sysdeps/posix/opendir.c: Likewise.
6564         * sysdeps/posix/readdir.c: Likewise.
6565         * sysdeps/posix/rewinddir.c: Likewise.
6566         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
6567         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
6568         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6569         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6570         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6571         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
6572         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
6573         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
6574         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
6575         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
6576         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
6577         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
6578         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
6579         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
6580         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
6581         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
6582         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
6583         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
6584         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
6585         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
6586         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
6587         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
6588         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
6589         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
6590         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
6591         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
6592         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
6593         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
6594         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
6595         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
6596         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
6597         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
6598         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
6599         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
6600         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
6601         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
6602         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6603         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6604         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
6605         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
6606         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
6607         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
6608         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
6609         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6610         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
6611         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
6612         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
6613         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
6614         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
6615         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6616         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
6617         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
6618         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
6619         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
6620         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
6621         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
6622         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
6623         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
6624         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
6625         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
6626         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6627         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
6628         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
6629         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
6630         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
6631         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6632         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
6633         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
6634         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
6635         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
6636         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6637         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
6638         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
6639         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
6640         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
6641         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
6642         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
6643         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
6644         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6645         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
6646         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
6647         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6648         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
6649         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
6650         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6651         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
6652         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
6653         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6654         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6655         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6656         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
6657         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
6658         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
6659         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6660         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6661         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
6662         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6663         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6664         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
6665         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
6666         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6667         * sysdeps/unix/alpha/sysdep.S: Likewise.
6668         * sysdeps/unix/alpha/sysdep.h: Likewise.
6669         * sysdeps/unix/make-syscalls.sh: Likewise.
6670         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6671         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6672         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6673         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
6674         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6675         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
6676         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
6677         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6678         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6679         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
6680         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6681         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6682         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6683         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
6684         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6685         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6686         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6687         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
6688         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
6689         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6690         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6691         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6692         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6693         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6694         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6695         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6696         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
6698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6699         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
6700         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6701         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6702         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6703         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6704         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6705         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6706         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6707         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6708         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6709         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6710         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6711         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6712         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6713         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6714         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6715         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6716         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6717         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6718         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6719         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6720         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6721         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6722         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6723         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6724         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6725         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6726         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6727         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6728         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
6729         * sysdeps/x86_64/memcpy.S: Likewise.
6730         * sysdeps/x86_64/memmove.c: Likewise.
6731         * sysdeps/x86_64/memset.S: Likewise.
6732         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
6733         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6734         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6735         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
6736         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
6737         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6738         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6739         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6740         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6741         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6742         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6743         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6744         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
6745         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6746         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6747         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
6748         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6749         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6750         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6751         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6752         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
6753         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6754         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6755         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6756         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6757         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6758         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6759         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
6760         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6761         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6762         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
6763         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6764         * sysdeps/x86_64/strcmp.S: Likewise.
6766         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
6768         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
6769         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
6770         * elf/rtld-Rules: Likewise.
6771         * elf/setup-vdso.h: Likewise.
6772         * include/assert.h: Likewise.
6773         * include/bits/stdlib-float.h: Likewise.
6774         * include/errno.h: Likewise.
6775         * include/sys/stat.h: Likewise.
6776         * include/unistd.h: Likewise.
6777         * sysdeps/aarch64/setjmp.S: Likewise.
6778         * sysdeps/alpha/setjmp.S: Likewise.
6779         * sysdeps/arm/__longjmp.S: Likewise.
6780         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
6781         * sysdeps/arm/setjmp.S: Likewise.
6782         * sysdeps/arm/sysdep.h: Likewise.
6783         * sysdeps/generic/_itoa.h: Likewise.
6784         * sysdeps/generic/dl-sysdep.h: Likewise.
6785         * sysdeps/generic/ldsodefs.h: Likewise.
6786         * sysdeps/i386/dl-tls.h: Likewise.
6787         * sysdeps/i386/setjmp.S: Likewise.
6788         * sysdeps/m68k/setjmp.c: Likewise.
6789         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
6790         * sysdeps/mach/hurd/opendir.c: Likewise.
6791         * sysdeps/posix/getcwd.c: Likewise.
6792         * sysdeps/posix/opendir.c: Likewise.
6793         * sysdeps/posix/profil.c: Likewise.
6794         * sysdeps/powerpc/dl-procinfo.h: Likewise.
6795         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6796         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6797         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6798         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6799         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
6800         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6801         * sysdeps/s390/dl-tls.h: Likewise.
6802         * sysdeps/s390/s390-32/setjmp.S: Likewise.
6803         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6804         * sysdeps/sh/sh3/setjmp.S: Likewise.
6805         * sysdeps/sh/sh4/setjmp.S: Likewise.
6806         * sysdeps/unix/alpha/sysdep.h: Likewise.
6807         * sysdeps/unix/arm/sysdep.S: Likewise.
6808         * sysdeps/unix/i386/sysdep.S: Likewise.
6809         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6810         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6811         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6812         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6813         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6814         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
6815         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6816         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6817         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
6818         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
6819         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
6820         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6821         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6824         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6825         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6826         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6827         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6828         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6829         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6830         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6831         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6832         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6833         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6834         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6835         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6836         * sysdeps/unix/x86_64/sysdep.S: Likewise.
6837         * sysdeps/x86_64/setjmp.S: Likewise.
6839         * include/math.h: Use IS_IN instead of IS_IN_libm.
6840         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
6841         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6842         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6843         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6844         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6845         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6846         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6847         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6848         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6849         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6850         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
6851         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6852         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
6853         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6854         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6855         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
6856         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
6857         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6858         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
6859         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
6860         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
6861         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
6862         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
6863         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
6864         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
6865         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6866         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
6867         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
6868         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
6869         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6870         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
6871         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6872         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6874         Likewise.
6875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
6876         Likewise.
6877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
6878         Likewise.
6879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
6880         Likewise.
6881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
6882         Likewise.
6883         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6884         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
6885         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6886         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6887         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6888         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
6891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
6892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
6893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
6894         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
6895         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
6896         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6897         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6898         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6899         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6900         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6901         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6902         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6903         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
6904         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
6905         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
6906         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
6907         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
6908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6909         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
6911         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
6912         * nptl/pthreadP.h: Likewise.
6913         * nptl_db/structs.def: Likewise.
6914         * sysdeps/arm/sysdep.h: Likewise.
6915         * sysdeps/nptl/bits/libc-lock.h: Likewise.
6916         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
6917         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
6918         * sysdeps/unix/alpha/sysdep.h: Likewise.
6919         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6920         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6921         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6922         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6923         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6924         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6925         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6926         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6927         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6928         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6929         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6930         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6931         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6932         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
6934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6935         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6936         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6937         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6938         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6939         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6940         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6941         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6942         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6943         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
6944         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6946         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
6947         * nptl/pthreadP.h: Likewise.
6948         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6949         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6950         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6951         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6952         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6953         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6954         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6955         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6956         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6957         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6958         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6959         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6961         Likewise.
6962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6963         Likewise.
6964         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6965         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6966         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6967         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6968         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6969         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6970         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6971         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6973         * dlfcn/dladdr.c: Use IS_IN.
6974         * dlfcn/dladdr1.c: Likewise.
6975         * dlfcn/dlclose.c: Likewise.
6976         * dlfcn/dlerror.c: Likewise.
6977         * dlfcn/dlinfo.c: Likewise.
6978         * dlfcn/dlmopen.c: Likewise.
6979         * dlfcn/dlopen.c: Likewise.
6980         * dlfcn/dlsym.c: Likewise.
6981         * dlfcn/dlvsym.c: Likewise.
6983         * include/ifaddrs.h: Use IS_IN.
6984         * inet/check_pf.c: Likewise.
6985         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6986         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
6988         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
6989         IS_IN_ldconfig.
6990         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
6991         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
6993         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
6994         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
6995         IS_IN (libc).
6997         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
6999         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
7000         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7001         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7002         * include/libc-symbols.h (IS_IN_LIB): New macro.
7003         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
7004         * include/netdb.h: Likewise.
7005         * include/stap-probe.h: Remove all uses of IN_LIB.
7007         * Makeconfig (module-cppflags-real): Define MODULE_NAME
7008         instead of IN_MODULE.
7009         * include/libc-symbols.h (IN_MODULE): Define using
7010         MODULE_NAME.
7011         (PASTE_NAME, PASTE_NAME1): New macros.
7012         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
7013         of IN_LIB.
7014         (STAP_PROBE_ASM): Likewise.
7016 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7018         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
7019         __mach_init in dlopened libc.
7021 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
7023         * sysdeps/arm/preconfigure.ac: Delete EABI check.
7024         * sysdeps/arm/preconfigure: Regenerate.
7026 2014-11-21  Roland McGrath  <roland@hack.frob.com>
7028         * nptl/pthread_create.c (__pthread_create_2_1): Set
7029         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
7030         when copying values from IATTR into PD.
7032 2014-11-21  Will Newton  <will.newton@linaro.org>
7033             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
7035         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
7036         Refactor inline-asm.  Also add comment.
7038         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
7039         ElfW macro instead of hardcoded Elf64 types.
7040         (la_aarch64_gnu_pltenter): Likewise.
7041         * sysdeps/aarch64/dl-machine.h
7042         (elf_machine_runtime_setup): Use ElfW(Addr).
7044         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
7045         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
7046         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
7047         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
7048         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
7049         (R_AARCH64_TLS_DTPMOD64): Rename to ..
7050         (R_AARCH64_TLS_DTPMOD): This.
7051         (R_AARCH64_TLS_DTPREL64): Rename to ...
7052         (R_AARCH64_TLS_DTPREL): This.
7053         (R_AARCH64_TLS_TPREL64): Rename to ...
7054         (R_AARCH64_TLS_TPREL): This.
7055         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
7056         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
7057         R_AARCH64_TLS_TPREL64.
7058         (elf_machine_rela): Likewise.
7060 2014-11-21  Torvald Riegel  <triegel@redhat.com>
7062         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
7063         by setting it to 0.  64b atomics are not supported currently.
7065 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7067         [BZ #16469]
7068         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
7069         search domain names.
7071 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7073         [BZ #16469]
7074         * NEWS: Update.
7075         * resolv/res_query.c (__libc_res_nquerydomain): Retain
7076         trailing dot.
7077         * posix/tst-getaddrinfo5.c: New.
7078         * posix/Makefile (tests): Add it.
7080 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7082         [BZ #14498]
7083         * NEWS: Fixed.
7084         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
7085         after parsing line but before break_if_match.
7086         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
7087         if there is a protocol mismatch.
7089 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
7091         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
7092         because the potential race is on the user-supplied stream.
7094 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7096         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
7097         string literal if not passed a buffer.
7098         * manual/job.texi (ctermid): Update reasoning, note deviation
7099         from posix, suggest mtasurace when not passed a buffer, for
7100         future non-preliminary safety notes.
7102 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7104         * manual/users.texi (cuserid): Fix MT-Safety note for the case
7105         of not passing it a buffer.
7106         Reported by Peng Haitao.
7108 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7110         * manual/Makefile ($(objpfx)stamp-summary): Require
7111         check-safety.sh to pass.
7112         * manual/check-safety.sh: Wish for verification that every
7113         @deftypefn and @deftypefun is followed by a @safety remark.
7115 2014-11-20  Roland McGrath  <roland@hack.frob.com>
7117         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
7119         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
7120         PTHREAD_CANCEL_ASYNCHRONOUS.
7121         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
7122         send SIGCANCEL.
7124         * nptl/default-sched.h: New file.
7125         * sysdeps/unix/sysv/linux/default-sched.h: New file.
7126         * nptl/pthread_create.c: Include it.
7127         (__pthread_create_2_1): Use collect_default_sched instead of making
7128         Linux syscalls here directly.
7130 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7132         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
7133         __pthread_once): Use C11 atomics.
7135 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7137         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
7139 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7141         * include/atomic.h (__atomic_link_error, __atomic_check_size,
7142         atomic_thread_fence_acquire, atomic_thread_fence_release,
7143         atomic_thread_fence_seq_cst, atomic_load_relaxed,
7144         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
7145         atomic_compare_exchange_weak_relaxed,
7146         atomic_compare_exchange_weak_acquire,
7147         atomic_compare_exchange_weak_release,
7148         atomic_exchange_acquire, atomic_exchange_release,
7149         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
7150         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
7151         atomic_fetch_and_acquire,
7152         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
7154 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7156         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
7157         USE_ATOMIC_COMPILER_BUILTINS): Define.
7158         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
7159         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7160         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
7161         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7162         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
7163         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7164         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
7165         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7166         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
7167         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7168         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
7169         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7170         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
7171         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7172         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
7173         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7174         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7175         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7176         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7177         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7178         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
7179         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7180         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7181         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7182         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
7183         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7184         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7185         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7186         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
7187         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7188         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
7189         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7190         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
7191         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7192         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7193         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7194         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
7195         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7196         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
7197         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7199 2014-11-19  Roland McGrath  <roland@hack.frob.com>
7201         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
7202         the sched_priority value here.  It was already checked when the user
7203         called pthread_attr_setschedparam.
7205         * nptl/tst-bad-schedattr.c: New file.
7206         * nptl/Makefile (tests): Add it.
7208 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
7209             Florian Weimer  <fweimer@redhat.com>
7210             Joseph Myers  <joseph@codesourcery.com>
7211             Adam Conrad  <adconrad@0c3.net>
7212             Andreas Schwab  <schwab@suse.de>
7213             Brooks  <bmoses@google.com>
7215         [BZ #17625]
7216         * wordexp-test.c (__dso_handle): Add prototype.
7217         (__register_atfork): Likewise.
7218         (__app_register_atfork): New function.
7219         (registered_forks): New global.
7220         (register_fork): New function.
7221         (test_case): Add 3 new tests for WRDE_CMDSUB.
7222         (main): Call __app_register_atfork.
7223         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
7224         fork count is non-zero fail the test.
7225         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
7226         is set.
7227         (parse_dollars): Remove check for WRDE_NOCMD.
7228         (parse_dquote): Likewise.
7230 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7232         * Makeconfig (built-modules): List non-library modules to be
7233         built.
7234         (module-cppflags): Include libc-modules.h for
7235         everything except shlib-versions.v.i.
7236         (CPPFLAGS): Use it.
7237         (before-compile): Add libc-modules.h.
7238         ($(common-objpfx)libc-modules.h,
7239         $(common-objpfx)libc-modules.stmp): New targets.
7240         (common-generated): Add libc-modules.h and libc-modules.stmp.
7241         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
7242         * include/libc-symbols.h: Don't include libc-modules.h.
7243         * include/libc-modules.h: Remove file.
7244         * scripts/gen-libc-modules.awk: New script to generate
7245         libc-modules.h.
7246         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
7247         Depend on libc-modules.stmp.
7249         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
7251         * Makeconfig (in-module): Get value of libof set for the
7252         translation unit.
7253         (CPPFLAGS): Use $(in-module).
7254         * Makerules: Don't suffix routine names for nonlib.
7255         * include/libc-modules.h: New file.
7256         * include/libc-symbols.h: Include libc-modules.h
7257         (IS_IN): New macro to replace IS_IN_* macros.
7258         * elf/Makefile: Set libof-* for each routine.
7259         * elf/rtld-Rules: Likewise.
7260         * extra-modules.mk: Likewise.
7261         * iconv/Makefile: Likewise.
7262         * iconvdata/Makefile: Likewise.
7263         * locale/Makefile: Likewise.
7264         * malloc/Makefile: Likewise.
7265         * nss/Makefile: Likewise.
7266         * sysdeps/gnu/Makefile: Likewise.
7267         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
7268         * sysdeps/unix/sysv/linux/Makefile: Likewise.
7269         * sysdeps/s390/s390-64/Makefile: Likewise.
7270         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
7271         CPPFLAGS for nscd instead of nonlib.
7273 2014-11-18  Roland McGrath  <roland@hack.frob.com>
7275         * nptl/createthread.c: New file.
7277         * nptl/createthread.c: Moved ...
7278         * sysdeps/unix/sysv/linux/createthread.c: ... here.
7280         * nptl/createthread.c: Add proper top-line comment.
7281         (do_clone): Folded into ...
7282         (create_thread): ... here.  Take new arguments STOPPED_START and
7283         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
7284         increment __nptl_threads, do event-reporting logic, do
7285         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
7286         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
7287         resource cleanup if sched_setaffinity or sched_setscheduler fails,
7288         just send SIGCANCEL.
7289         * nptl/pthread_create.c: Forward-declare create_thread before
7290         including createthread.c.
7291         (start_thread): Use new macro START_THREAD_DEFN to replace defining
7292         declaration, and new macro START_THREAD_SELF to replace argument.
7293         Remove return statement.
7294         (report_thread_creation): New function.
7295         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
7296         synchronization logic, and __nptl_nthreads increment here, around
7297         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
7298         PD->parent_cancelhandling here, before create_thread.  When
7299         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
7300         __deallocate_stack, and ENOMEM translation here.
7302 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
7304         [BZ #17616]
7305         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
7306         (mptwo): Rename to __mptwo.
7307         (__inv): Use __mptwo instead of mptwo.
7308         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
7309         (mptwo): Rename to __mptwo.
7310         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
7311         of mpone and __mptwo instead of mptwo.
7312         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
7313         instead of mpone.
7314         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7315         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
7316         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
7317         of mpone and __mptwo instead of mptwo.
7318         (__mpranred): Use __mpone instead of mpone.
7319         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
7320         variable.
7321         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7322         (test-xfail-ISO99/math.h/linknamespace): Likewise.
7323         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7324         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7325         (test-xfail-ISO11/math.h/linknamespace): Likewise.
7326         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7327         (test-xfail-XPG3/math.h/linknamespace): Likewise.
7328         (test-xfail-XPG4/math.h/linknamespace): Likewise.
7329         (test-xfail-POSIX/math.h/linknamespace): Likewise.
7330         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7331         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7332         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7333         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7334         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7335         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7336         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7337         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7338         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7339         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7341 2014-11-18  Tom de Vries  <tom@codesoucery.com>
7343         * manual/signal.texi (Primitives Interrupted by Signals): In section,
7344         replace BSD Handler xref with BSD Signal Handling.
7346 2014-11-17  Richard Henderson  <rth@redhat.com>
7348         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
7349         (_FP_PACK_RAW_2): Remove.
7350         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
7351         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
7352         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
7353         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
7354         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
7355         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
7356         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
7357         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
7358         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
7359         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
7360         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
7361         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
7362         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
7363         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
7364         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
7365         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
7367 2014-11-14  Roland McGrath  <roland@hack.frob.com>
7369         * signal/signal.h [__USE_MISC]
7370         (struct sigvec): Remove type.
7371         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
7372         (sigvec): Remove declaration.
7373         * sysdeps/posix/sigvec.c: Moved ...
7374         * signal/sigvec.c: ... here, replacing old file.
7375         (struct sigvec): New type, copied from old signal.h definition.
7376         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
7377         (__sigvec): Convert definition to prototype.
7378         (sigvec): Replace weak_alias with compat_symbol.
7379         * signal/Versions (libc: GLIBC_2.21): New version set.
7380         * include/signal.h: Remove __sigvec declaration.
7381         * sysdeps/unix/bsd/sigvec.c: Remove file.
7382         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
7383         * manual/signal.texi (BSD Handler): Remove subsection.
7384         Move siginterrupt up to ...
7385         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
7386         (Blocking in BSD): Fold subsection into its parent.
7387         * NEWS: Mention sigvec removal.
7389 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
7391         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
7392         (DLA_FMS): Make definition conditional only on [__FMA4__].
7393         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
7394         definition.
7396         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
7397         Make definition conditional only on [PROF].
7398         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
7399         definition.
7400         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
7401         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
7403         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
7404         !__GNUC__].
7405         * include/signal.h (__sigpause): Move declaration above call to
7406         libc_hidden_proto.
7407         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
7408         variable.
7409         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
7410         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
7412 2014-11-14  David S. Miller  <davem@davemloft.net>
7414         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
7415         Define before including <string/memcpy.c> and <string/mempcpy.c>.
7417 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
7419         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
7420         * configure: Regenerated.
7421         * manual/install.texi (Tools for Compilation): Document a
7422         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
7423         compiler verified to work.
7424         * INSTALL: Regenerated.
7426         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
7427         redeclare with asm name.
7428         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
7429         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
7430         including <string.h>.
7431         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7432         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
7433         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7434         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
7435         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7436         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7437         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7439 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
7441         * stdlib/strtol.c (__strtol): Use prototype definition.
7443         [BZ #17594]
7444         * stdlib/strtol.c (SYM__): New macro.
7445         (SYM__1): Likewise.
7446         (__strtol): Likewise.
7447         (strtol): Rename to __strtol and define as weak alias of
7448         __strtol.  Use libc_hidden_weak.
7450 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7452         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
7453         Use numbered labels in inline assembly.
7455 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7457         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
7458         Add setjmp LIBC_PROBE.
7459         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
7460         Likewise.
7461         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
7462         Add longjmp, longjmp_target LIBC_PROBE.
7463         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
7464         Likewise.
7466 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7468         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7469         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
7470         to get rid of unused variable warning.
7472 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7474         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
7475         Check for unwind_backtrace ==  NULL only in SHARED case.
7476         (__backchain_backtrace): Compile only in SHARED case.
7477         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
7478         Likewise.
7479         (__backchain_backtrace): Declare as static.
7481 2014-11-12  Roland McGrath  <roland@hack.frob.com>
7483         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
7484         (__libc_multiple_threads_ptr): Variable moved ...
7485         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
7487 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
7489         * conform/GlibcConform.pm: New file.
7490         * conform/conformtest.pl: Use GlibcConform module.
7491         * conform/linknamespace.pl: New file.
7492         * conform/list-header-symbols.pl: Likewise.
7493         * conform/Makefile (linknamespace-symlists-base): New variable.
7494         (linknamespace-symlists-tests): Likewise.
7495         (linknamespace-header-base): Likewise.
7496         (linknamespace-header-tests): Likewise.
7497         (tests-special): Add new tests.
7498         ($(linknamespace-symlists-tests)): New rule.
7499         (linknamespace-libs): New variable.
7500         ($(objpfx)symlist-stdlibs): New rule.
7501         ($(linknamespace-header-tests)): Likewise.
7502         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
7503         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
7504         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
7505         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
7506         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
7507         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
7508         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
7509         (test-xfail-ISO/math.h/linknamespace): Likewise.
7510         (test-xfail-ISO/signal.h/linknamespace): Likewise.
7511         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
7512         (test-xfail-ISO/time.h/linknamespace): Likewise.
7513         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7514         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
7515         (test-xfail-ISO99/math.h/linknamespace): Likewise.
7516         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
7517         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7518         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7519         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7520         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7521         (test-xfail-ISO11/math.h/linknamespace): Likewise.
7522         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
7523         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7524         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7525         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7526         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
7527         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
7528         (test-xfail-XPG3/math.h/linknamespace): Likewise.
7529         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
7530         (test-xfail-XPG3/search.h/linknamespace): Likewise.
7531         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
7532         (test-xfail-XPG3/time.h/linknamespace): Likewise.
7533         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
7534         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
7535         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7536         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
7537         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
7538         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
7539         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
7540         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
7541         (test-xfail-XPG4/math.h/linknamespace): Likewise.
7542         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
7543         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7544         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
7545         (test-xfail-XPG4/search.h/linknamespace): Likewise.
7546         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
7547         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
7548         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
7549         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
7550         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
7551         (test-xfail-XPG4/time.h/linknamespace): Likewise.
7552         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
7553         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
7554         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
7555         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
7556         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
7557         (test-xfail-POSIX/math.h/linknamespace): Likewise.
7558         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
7559         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
7560         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
7561         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7562         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
7563         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7564         (test-xfail-POSIX/time.h/linknamespace): Likewise.
7565         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
7566         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
7567         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7568         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7569         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
7570         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
7571         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
7572         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7573         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7574         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7575         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
7576         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
7577         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7578         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7579         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
7580         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7581         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7582         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
7583         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
7584         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
7585         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7586         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7587         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
7588         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7589         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
7590         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
7591         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
7592         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
7593         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7594         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
7595         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
7596         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
7597         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
7598         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
7599         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7600         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7601         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7602         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
7603         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
7604         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
7605         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7606         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7607         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7608         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7609         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
7610         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
7611         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
7612         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7613         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7614         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
7615         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
7616         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7617         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7618         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
7619         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
7620         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
7621         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
7622         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7623         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7624         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
7625         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7626         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
7627         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7628         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7629         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7630         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
7631         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7632         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7633         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
7634         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7635         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7636         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7637         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7638         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7639         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
7640         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7641         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7642         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7643         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7644         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
7645         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
7646         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7647         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7648         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7649         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7650         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
7651         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7652         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
7653         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7654         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7655         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7656         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7657         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7658         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7659         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
7660         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7661         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7662         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
7664         [BZ #17589]
7665         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
7666         of fgets_unlocked.
7668         [BZ #17585]
7669         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
7670         (memmem): Rename to __memmem and define as weak alias of
7671         __memmem.  Use libc_hidden_weak.
7672         (__memmem): Use libc_hidden_def.
7673         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
7674         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
7675         memmem.
7677         [BZ #17582]
7678         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
7679         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
7680         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
7681         and define as weak alias of __fgets_unlocked.  Use
7682         libc_hidden_weak.
7683         (__fgets_unlocked): Use libc_hidden_def.
7684         * include/stdio.h (__fgets_unlocked): Declare.  Use
7685         libc_hidden_proto.
7686         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
7687         __fgets_unlocked instead of fgets_unlocked.
7688         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
7689         (GET_NPROCS_CONF_PARSER): Likewise.
7690         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
7691         (GET_NPROCS_CONF_PARSER): Likewise.
7693         [BZ #17574]
7694         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
7695         weak alias of __wmemset.  Use libc_hidden_weak.
7696         (__wmemset): Use libc_hidden_def.
7697         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
7698         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
7699         of wmemset.
7701         [BZ #17573]
7702         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
7703         with asm name __mempcpy.
7704         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
7706         [BZ #17572]
7707         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
7708         and define as weak alias of __rawmemchr.
7709         (__rawmemchr): Do not define as strong alias of rawmemchr.
7711         [BZ #17571]
7712         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
7713         alias of __qsort_r.
7714         (qsort): Call __qsort_r instead of qsort_r.
7715         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
7716         (__qsort_r): Declare.  Call libc_hidden_proto.
7717         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
7718         instead of qsort_r.
7719         * nscd/gai.c (__qsort_r): Define to qsort_r.
7720         * posix/tst-rfc3484.c (__qsort_r): Likewise.
7721         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
7722         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
7724         [BZ #17570]
7725         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
7726         define as weak alias of __malloc_info.
7728         [BZ #17584]
7729         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
7730         as weak alias of __rewinddir.  Don't use libc_hidden_def.
7731         (__rewinddir): Use libc_hidden_def.
7732         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
7733         as weak alias of __rewinddir.  Don't use libc_hidden_def.
7734         (__rewinddir): Use libc_hidden_def.
7735         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
7736         weak alias of __rewinddir.  Don't use libc_hidden_def.
7737         (__rewinddir): Use libc_hidden_def.
7738         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
7739         (__rewinddir): Use libc_hidden_proto.
7740         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
7741         rewinddir.
7742         (__getcwd): Use __rewinddir instead of rewinddir.
7744         [BZ #17583]
7745         * libio/fileno.c (fileno): Rename to __fileno and define as weak
7746         alias of __fileno.  Use libc_hidden_weak.
7747         (__fileno): Use libc_hidden_def.
7748         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
7749         * libio/ftello.c (ftello): Rename to __ftello and define as weak
7750         alias of __ftello.
7751         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
7752         __ftello.
7753         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
7754         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
7755         libc_hidden_def.
7756         (fread_unlocked): Don't use libc_hidden_ver.
7757         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
7758         and define as weak alias of __fread_unlocked.  Don't use
7759         libc_hidden_def.
7760         (__fread_unlocked): Use libc_hidden_def.
7761         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
7762         (ftello): Don't use libc_hidden_proto.
7763         (__ftello): Declare.  Use libc_hidden_proto.
7764         (fread_unlocked): Don't use libc_hidden_proto.
7765         (__fread_unlocked): Declare.  Use libc_hidden_proto.
7766         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
7767         and __ftello instead of fileno, fread_unlocked and ftello.
7769 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7771         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
7772         GOT12.
7773         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7774         Likewise.
7775         (_dl_start_user): Likewise.
7776         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
7778 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
7779             Siddhesh Poyarekar  <siddhesh@redhat.com>
7781         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
7782         Move argv and envp down instead of moving argc up.
7783         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
7785 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
7787         [BZ #17506]
7788         * test-skeleton.c (main): Return successful if one of
7789         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
7790         * string/tst-strcoll-overflow.c: Define expected status.
7792 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
7794         [BZ #17475]
7795         * locale/iso-639.def: Define Bhili and Tulu language codes.
7797 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
7799         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
7801 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
7803         [BZ #17555]
7804         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
7806 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
7808         * configure.ac: Updated check of minimal required version to
7809         2.22.
7810         * manual/install.texi (Tools for Compilation): Updated version
7811         number.
7812         * configure: Regenerated.
7813         * INSTALL: Likewise.
7815 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
7817         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
7818         __tls_get_addr.
7820 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
7822         * include/sys/wait.h (__libc_waitpid): Remove declaration.
7823         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
7824         (__waitpid): Don't define as alias.  Use libc_hidden_def not
7825         libc_hidden_weak.
7826         (waitpid): Define as alias of __waitpid.
7827         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
7828         __waitpid.
7829         (__waitpid): Don't define as alias.  Use libc_hidden_def not
7830         libc_hidden_weak.
7831         (waitpid): Define as alias of __waitpid.
7832         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
7833         __libc_waitpid alias.
7834         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
7835         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
7836         Likewise.
7837         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
7838         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
7839         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
7840         alias.
7841         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
7842         __waitpid.
7843         (__waitpid): Don't define as alias.  Use libc_hidden_def not
7844         libc_hidden_weak.
7845         (waitpid): Define as alias of __waitpid.
7847 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
7849         * manual/llio.texi: Add comment that write safety has been
7850         fixed in Linux.
7852         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
7853         (localplt-build-dso): Add elf/ld.so.
7854         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
7855         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
7856         and free for ld.so.
7857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
7858         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
7859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
7860         Likewise.
7861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7862         Likewise.
7863         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
7864         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
7865         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
7866         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
7867         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7868         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
7869         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
7870         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
7871         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7872         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
7873         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7875 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
7877         [BZ #14132]
7878         * include/libc-symbols.h (INTUSE): Remove macro.
7879         (INTDEF): Likewise.
7880         (INTVARDEF): Likewise.
7881         (_INTVARDEF): Likewise.
7882         (INTDEF2): Likewise.
7883         (INTVARDEF2): Likewise.
7884         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
7885         rtld_hidden_def instead of INTVARDEF.
7886         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
7887         (_dl_starting_up_internal): Remove declaration.
7888         (_dl_starting_up): Use rtld_hidden_proto.
7889         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
7890         declaration.
7891         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
7892         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
7893         _dl_starting_up.
7894         * elf/dl-writev.h (_dl_writev): Likewise.
7895         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
7896         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
7897         _dl_starting_up_internal.
7899 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7901         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
7902         test-skeleton.c.
7904 2014-11-05  Will Newton  <will.newton@linaro.org>
7906         * benchtests/Makefile: (bench-malloc): Add malloc thread
7907         scalability benchmark.
7908         * benchtests/bench-malloc-threads.c: New file.
7910 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
7912         * sysdeps/aarch64/strchrnul.S: New file.
7914 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7916         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
7917         definition.
7918         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7919         Likwise.
7920         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7921         Likewise.
7922         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7923         Likewise.
7924         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7925         Likewise.
7926         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7927         Likewise.
7929 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
7931         * catgets/test-gencat.c: Use test-skeleton.c.
7932         * catgets/tst-catgets.c: Likewise.
7933         * csu/tst-empty.c: Likewise.
7934         * elf/tst-audit2.c: Likewise.
7935         * elf/tst-global1.c: Likewise.
7936         * elf/tst-pathopt.c: Likewise.
7937         * elf/tst-piemod1.c: Likewise.
7938         * elf/tst-tls10.c: Likewise.
7939         * elf/tst-tls11.c: Likewise.
7940         * elf/tst-tls12.c: Likewise.
7941         * gnulib/tst-gcc.c: Likewise.
7942         * iconvdata/tst-e2big.c: Likewise.
7943         * iconvdata/tst-loading.c: Likewise.
7944         * iconv/tst-iconv1.c: Likewise.
7945         * iconv/tst-iconv2.c: Likewise.
7946         * inet/test-inet6_opt.c: Likewise.
7947         * inet/tst-gethnm.c: Likewise.
7948         * inet/tst-network.c: Likewise.
7949         * inet/tst-ntoa.c: Likewise.
7950         * intl/tst-codeset.c: Likewise.
7951         * intl/tst-gettext2.c: Likewise.
7952         * intl/tst-gettext3.c: Likewise.
7953         * intl/tst-ngettext.c: Likewise.
7954         * intl/tst-translit.c: Likewise.
7955         * io/test-stat.c: Likewise.
7956         * libio/test-fmemopen.c: Likewise.
7957         * libio/tst-freopen.c: Likewise.
7958         * libio/tst-sscanf.c: Likewise.
7959         * libio/tst-ungetwc1.c: Likewise.
7960         * libio/tst-ungetwc2.c: Likewise.
7961         * libio/tst-widetext.c: Likewise.
7962         * localedata/tst-ctype.c: Likewise.
7963         * localedata/tst-digits.c: Likewise.
7964         * localedata/tst-leaks.c: Likewise.
7965         * localedata/tst-mbswcs1.c: Likewise.
7966         * localedata/tst-mbswcs2.c: Likewise.
7967         * localedata/tst-mbswcs3.c: Likewise.
7968         * localedata/tst-mbswcs4.c: Likewise.
7969         * localedata/tst-mbswcs5.c: Likewise.
7970         * localedata/tst-setlocale.c: Likewise.
7971         * localedata/tst-trans.c: Likewise.
7972         * localedata/tst-wctype.c: Likewise.
7973         * localedata/tst-xlocale1.c: Likewise.
7974         * login/tst-grantpt.c: Likewise.
7975         * malloc/tst-calloc.c: Likewise.
7976         * malloc/tst-malloc.c: Likewise.
7977         * malloc/tst-mallocstate.c: Likewise.
7978         * malloc/tst-mcheck.c: Likewise.
7979         * malloc/tst-mtrace.c: Likewise.
7980         * malloc/tst-obstack.c: Likewise.
7981         * math/atest-exp2.c: Likewise.
7982         * math/atest-exp.c: Likewise.
7983         * math/atest-sincos.c: Likewise.
7984         * math/test-matherr.c: Likewise.
7985         * math/test-misc.c: Likewise.
7986         * math/test-powl.c: Likewise.
7987         * math/tst-definitions.c: Likewise.
7988         * misc/tst-dirname.c: Likewise.
7989         * misc/tst-efgcvt.c: Likewise.
7990         * misc/tst-fdset.c: Likewise.
7991         * misc/tst-hsearch.c: Likewise.
7992         * misc/tst-mntent2.c: Likewise.
7993         * nptl/tst-sem7.c: Likewise.
7994         * nptl/tst-sem8.c: Likewise.
7995         * nptl/tst-sem9.c: Likewise.
7996         * nss/test-netdb.c: Likewise.
7997         * posix/tst-fnmatch.c: Likewise.
7998         * posix/tst-getlogin.c: Likewise.
7999         * posix/tst-gnuglob.c: Likewise.
8000         * posix/tst-mmap.c: Likewise.
8001         * pwd/tst-getpw.c: Likewise.
8002         * resolv/tst-inet_ntop.c: Likewise.
8003         * rt/tst-timer.c: Likewise.
8004         * stdio-common/test-fseek.c: Likewise.
8005         * stdio-common/test-popen.c: Likewise.
8006         * stdio-common/test-vfprintf.c: Likewise.
8007         * stdio-common/tst-cookie.c: Likewise.
8008         * stdio-common/tst-fileno.c: Likewise.
8009         * stdio-common/tst-gets.c: Likewise.
8010         * stdio-common/tst-obprintf.c: Likewise.
8011         * stdio-common/tst-perror.c: Likewise.
8012         * stdio-common/tst-sprintf2.c: Likewise.
8013         * stdio-common/tst-sprintf3.c: Likewise.
8014         * stdio-common/tst-sprintf.c: Likewise.
8015         * stdio-common/tst-swprintf.c: Likewise.
8016         * stdio-common/tst-tmpnam.c: Likewise.
8017         * stdio-common/tst-unbputc.c: Likewise.
8018         * stdio-common/tst-wc-printf.c: Likewise.
8019         * stdlib/tst-environ.c: Likewise.
8020         * stdlib/tst-fmtmsg.c: Likewise.
8021         * stdlib/tst-limits.c: Likewise.
8022         * stdlib/tst-rand48-2.c: Likewise.
8023         * stdlib/tst-rand48.c: Likewise.
8024         * stdlib/tst-random2.c: Likewise.
8025         * stdlib/tst-random.c: Likewise.
8026         * stdlib/tst-strtol.c: Likewise.
8027         * stdlib/tst-strtoll.c: Likewise.
8028         * stdlib/tst-tls-atexit.c: Likewise.
8029         * stdlib/tst-xpg-basename.c: Likewise.
8030         * string/test-ffs.c: Likewise.
8031         * string/tst-bswap.c: Likewise.
8032         * string/tst-inlcall.c: Likewise.
8033         * string/tst-strtok.c: Likewise.
8034         * string/tst-strxfrm.c: Likewise.
8035         * sysdeps/x86_64/tst-audit10.c: Likewise.
8036         * sysdeps/x86_64/tst-audit3.c: Likewise.
8037         * sysdeps/x86_64/tst-audit4.c: Likewise.
8038         * sysdeps/x86_64/tst-audit5.c: Likewise.
8039         * time/tst-ftime_l.c: Likewise.
8040         * time/tst-getdate.c: Likewise.
8041         * time/tst-mktime3.c: Likewise.
8042         * time/tst-mktime.c: Likewise.
8043         * time/tst-posixtz.c: Likewise.
8044         * time/tst-strptime2.c: Likewise.
8045         * time/tst-strptime3.c: Likewise.
8046         * wcsmbs/tst-btowc.c: Likewise.
8047         * wcsmbs/tst-mbrtowc.c: Likewise.
8048         * wcsmbs/tst-mbsrtowcs.c: Likewise.
8049         * wcsmbs/tst-wchar-h.c: Likewise.
8050         * wcsmbs/tst-wcpncpy.c: Likewise.
8051         * wcsmbs/tst-wcrtomb.c: Likewise.
8052         * wcsmbs/tst-wcsnlen.c: Likewise.
8053         * wcsmbs/tst-wcstof.c: Likewise.
8055 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
8057         [BZ #14132]
8058         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
8059         INTDEF.
8060         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
8061         declaration.
8062         (_dl_mcount): Use rtld_hidden_proto.
8063         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
8064         _dl_mcount.
8065         * elf/rtld.c (_rtld_global_ro): Likewise.
8067         [BZ #14132]
8068         * elf/dl-init.c (_dl_init): Don't use INTDEF.
8069         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
8070         of _dl_init_internal.
8071         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
8072         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
8073         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
8074         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
8075         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
8076         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
8077         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
8078         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
8079         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
8080         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
8081         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
8082         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
8083         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8084         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8085         * sysdeps/tile/dl-start.S (_start): Likewise.
8086         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
8087         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
8089         [BZ #14132]
8090         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
8091         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
8092         (rtld_progname): Make macro definition unconditional.
8093         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
8094         INTDEF.
8095         (dlmopen_doit): Do not use INTUSE with _dl_argv.
8096         (dl_main): Likewise.
8097         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8098         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
8099         instead of _dl_argv_internal.
8100         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8101         __GI__dl_argv instead of INTUSE(_dl_argv).
8102         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
8103         __GI__dl_argv instead of _dl_argv_internal.
8105         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
8106         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
8107         macro.
8108         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
8109         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
8110         New macro.
8111         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
8112         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
8113         macro.
8114         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
8115         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
8117 2014-11-04  Andreas Schwab  <schwab@suse.de>
8119         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
8121 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8123         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
8124         mtvsrd instruction in binary form.
8126 2014-11-03  Andreas Schwab  <schwab@suse.de>
8128         [BZ #17522]
8129         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
8130         for less than MB_LEN_MAX use a local buffer of that size.
8131         * libio/tst-fputws.c: New file.
8132         * libio/Makefile (tests): Add tst-fputws.
8134 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
8136         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
8137         the size of the fpu_fr.fpu_dregs[] array.
8139 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
8141         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
8142         (__nanosleep): Do not define as alias.
8143         (nanosleep): Define as alias of __nanosleep.
8144         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
8145         __libc_nanosleep name.
8147 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
8149         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
8150         install.texi in comment.
8152 2014-10-31  Torvald Riegel  <triegel@redhat.com>
8154         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
8155         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
8156         ... add here and use lwsync or sync ...
8157         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
8158         ... and add here using lwsync.
8160 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
8162         * elf/dl-machine-reject-phdr.h: New file.
8163         * elf/dl-load.c: #include that.
8164         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
8165         if that returned true.
8167 2014-10-31  Roland McGrath  <roland@hack.frob.com>
8169         [BZ #17496]
8170         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
8171         gen-as-const-headers chunk.  Add a big scare comment after the last
8172         safe place to touch before-compile.
8174 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
8176         * manual/install.texi (Tools for Compilation): Update autoconf
8177         version requirements.
8178         * INSTALL: Regenerated.
8180         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
8181         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
8182         (__libc_pselect): Likewise.
8184         [BZ #14138]
8185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
8186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8190 2014-10-31  Torvald Riegel  <triegel@redhat.com>
8192         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
8193         correct barrier instruction.
8194         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
8195         Likewise.
8196         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
8197         Likewise.
8199 2014-10-30  Roland McGrath  <roland@hack.frob.com>
8201         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
8202         after defining inlines.  Instead, just use parens to defeat macro
8203         expansion of __isctype in its declaration.
8205 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
8207         * include/sys/uio.h (__libc_readv): Remove declaration.
8208         (__libc_writev): Likewise.
8209         * misc/readv.c (__libc_readv): Rename to __readv.
8210         (__readv): Do not define as alias.
8211         (readv): Define as alias of __readv.
8212         * misc/writev.c (__libc_writev): Rename to __writev.
8213         (__writev): Do not define as alias.
8214         (writev): Define as alias of __writev.
8215         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
8216         (__readv): Do not define as alias.
8217         (readv): Define unconditionally as alias of __readv.
8218         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
8219         (__writev): Do not define as alias.
8220         (writev): Define unconditionally as alias of __writev.
8221         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
8222         name.
8223         (writev): Do not define __libc_writev name.
8225 2014-10-30  Roland McGrath  <roland@hack.frob.com>
8227         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
8228         (convert_charseq): New function, broken out of ...
8229         (use_from_charmap): ... here.  Call it.
8230         (use_to_charmap): Use convert_charseq and free instead of duplicating
8231         its code with a variable-length stack struct.
8233 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
8235         * include/fcntl.h (__libc_creat): Remove declaration.
8236         * io/creat.c (__libc_creat): Rename to creat.
8237         (creat): Do not define as alias.
8238         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
8239         of creat instead of __libc_creat.
8240         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
8241         to creat.
8242         (creat): Do not define as alias.
8243         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
8244         __libc_creat.
8245         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
8246         __libc_creat name.
8247         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
8248         Likewise.
8250 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
8252         * manual/llio.texi: Add comments discussing why write() may be
8253         considered MT-unsafe on Linux.
8255 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
8257         * dl-load.c (local_strdup): Remove.
8258         (expand_dynamic_string_token): Use __strdup.
8259         (decompose_rpath): Likewise.
8260         (_dl_map_object): Likewise.
8262 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
8264         [BZ #14132]
8265         * sysdeps/generic/unwind-dw2-fde.c
8266         (__register_frame_info_bases_internal): Do not declare.
8267         (__register_frame_info_table_bases_internal): Likewise.
8268         (__deregister_frame_info_bases_internal): Likewise.
8269         (__register_frame_info_bases): Declare and use hidden_proto before
8270         definition.  Use hidden_def instead of INTDEF.
8271         (__register_frame_info_table_bases): Likewise.
8272         (__deregister_frame_info_bases): Likewise.
8273         (__register_frame_info): Do not use INTUSE.
8274         (__register_frame): Likewise.
8275         (__register_frame_info_table): Likewise.
8276         (__register_frame_table): Likewise.
8277         (__deregister_frame_info): Likewise.
8278         (__deregister_frame): Likewise.
8280 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
8282         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8283         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
8284         not undefine.
8285         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
8286         Likewise.
8287         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
8288         Likewise.
8290 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
8292         [BZ #14138]
8293         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
8294         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
8295         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
8296         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
8297         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
8298         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
8299         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
8300         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
8301         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
8302         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
8303         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
8304         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
8305         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
8306         syscall.
8307         (setfsuid): Likewise.
8308         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
8309         (setfsuid): Likewise.
8310         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
8311         (setfsuid): Likewise.
8312         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
8313         Likewise.
8314         (setfsuid): Likewise.
8315         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
8316         (setfsuid): Likewise.
8317         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
8318         Likewise.
8319         (setfsuid): Likewise.
8321 2014-10-27  Andreas Schwab  <schwab@suse.de>
8323         [BZ #17501]
8324         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
8325         check for Slow_SSE4_2 feature bit.
8326         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
8327         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8328         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
8329         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
8331 2014-10-24  Roland McGrath  <roland@hack.frob.com>
8333         * configure.ac: Validate compiler version with a empirical test of
8334         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
8335         $CC -v output.
8336         * configure: Regenerated.
8338         * inet/htons.c (htons): Prototypify.
8339         * inet/htonl.c (htonl): Likewise.
8341 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8343         * string/strncat.c (strncat): Improve performance by using strlen.
8345 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8347         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
8349 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8351         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
8352         Call libc_fetestexcept_aarch64.
8354 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8356         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
8357         Call libc_feholdexcept_aarch64.
8359 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8361         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
8362         Call get_rounding_mode.
8364 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8366         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8367         Simplify logic.
8369 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8371         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
8372         Simplify logic.
8374 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
8376         [BZ #14138]
8377         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
8378         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
8379         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
8380         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
8381         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
8382         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
8383         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
8384         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
8385         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
8386         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
8387         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8388         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
8389         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
8390         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
8391         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
8392         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
8393         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
8394         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
8395         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
8396         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
8397         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
8398         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
8399         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
8400         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
8401         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
8402         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
8403         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
8404         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
8405         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
8406         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
8407         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
8408         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
8409         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
8410         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
8411         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
8412         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
8413         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
8414         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
8415         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
8416         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
8417         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
8418         syscall.
8419         (geteuid): Likewise.
8420         (getgid): Likewise.
8421         (getuid): Likewise.
8422         (getresgid): Likewise.
8423         (getresuid): Likewise.
8424         (getgroups): Likewise.
8425         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
8426         (geteuid): Likewise.
8427         (getgid): Likewise.
8428         (getuid): Likewise.
8429         (getresgid): Likewise.
8430         (getresuid): Likewise.
8431         (getgroups): Likewise.
8432         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
8433         (geteuid): Likewise.
8434         (getgid): Likewise.
8435         (getuid): Likewise.
8436         (getresgid): Likewise.
8437         (getresuid): Likewise.
8438         (getgroups): Likewise.
8439         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
8440         Likewise.
8441         (geteuid): Likewise.
8442         (getgid): Likewise.
8443         (getuid): Likewise.
8444         (getresgid): Likewise.
8445         (getresuid): Likewise.
8446         (getgroups): Likewise.
8447         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
8448         (geteuid): Likewise.
8449         (getgid): Likewise.
8450         (getuid): Likewise.
8451         (getresgid): Likewise.
8452         (getresuid): Likewise.
8453         (getgroups): Likewise.
8454         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
8455         Likewise.
8456         (geteuid): Likewise.
8457         (getgid): Likewise.
8458         (getuid): Likewise.
8459         (getgroups): Likewise.
8461         [BZ #14138]
8462         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
8463         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
8464         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
8465         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
8466         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
8467         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
8468         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
8469         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
8470         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
8471         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
8472         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
8473         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
8474         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
8475         __chown.
8476         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
8477         (lchown): Likewise.
8478         (fchown): Likewise.
8479         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
8480         Likewise.
8481         (lchown): Likewise.
8482         (fchown): Likewise.
8483         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
8484         (lchown): Likewise.
8485         (fchown): Likewise.
8486         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
8487         Likewise.
8488         (lchown): Likewise.
8489         (fchown): Likewise.
8491 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
8493         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
8494         Simplify logic.
8496 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
8498         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
8499         Cleanup logic.
8501 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
8503         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
8504         Remove unused include.
8506 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
8508         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
8509         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
8510         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
8511         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
8513 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
8514             Helge Deller <deller@gmx.de>
8516         [BZ #17508]
8517         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
8518         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
8519         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
8521 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
8523         [BZ #14132]
8524         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
8525         Remove macro definition.
8526         (__ashrdi3_v_glibc20): Likewise.
8527         (__lshrdi3_v_glibc20): Likewise.
8528         (__cmpdi2_v_glibc20): Likewise.
8529         (__ucmpdi2_v_glibc20): Likewise.
8530         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
8531         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8532         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8533         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8534         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8535         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
8537 2014-10-22  Roland McGrath  <roland@hack.frob.com>
8539         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
8540         old GNU extension [0] syntax.
8541         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
8542         alloca rather than an array member with variable length.
8543         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
8544         * nscd/nscd.c (invalidate_db): New function, broken out of ...
8545         (parse_opt): ... here.  Likewise use alloca there.
8546         Validate the -i argument before checking for rootness.
8547         (send_shutdown): New function, broken out of ...
8548         (parse_opt): ... here.
8550 2014-10-22  Roland McGrath  <roland@hack.frob.com>
8552         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
8553         macro to get at the _rt_local_ro field.
8554         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
8555         ([PIC] case) or _dl_hwcap ([!PIC] case).
8556         * sysdeps/arm/setjmp.S: Likewise.
8558         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
8559         * sysdeps/arm/configure.ac: New check to define it.
8560         * sysdeps/arm/configure: Regenerated.
8561         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
8562         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
8563         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
8564         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
8565         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
8566         Use move/movt pair instead of a load.
8567         (LDST_GLOBAL): Macro removed.
8568         (LDR_GLOBAL): New macro replaces it.
8569         (LDR_HIDDEN): New macro.
8570         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
8571         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
8573         * setjmp/tst-setjmp-static.c: New file.
8574         * setjmp/Makefile (tests): Add it.
8575         (tests-static): New variable.
8577 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
8579         [BZ #17485]
8580         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
8582 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
8584         [BZ #14132]
8585         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
8587 2014-10-21  Roland McGrath  <roland@hack.frob.com>
8589         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
8591 2014-10-20  Roland McGrath  <roland@hack.frob.com>
8593         * io/fts.c (dirent_not_directory): New function.
8594         (fts_build): Call it.
8596 2014-10-20  Roland McGrath  <roland@hack.frob.com>
8598         * nptl/version.c (__nptl_main): Use normal __write rather than
8599         INTERNAL_SYSCALL.
8600         (banner): Update copyright years.
8602         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
8603         gettimeofday.
8604         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8605         * nptl/pthread_cond_timedwait.c: Likewise.
8606         * nptl/pthread_mutex_timedlock.c: Likewise.
8607         * nptl/sem_timedwait.c: Likewise.
8609         * sysdeps/nptl/bits/libc-lock.h
8610         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8611         (__libc_lock_init_recursive): Return void, not 0.
8612         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
8613         (__libc_rwlock_init): Likewise.
8614         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
8616 2014-10-20  Torvald Riegel  <triegel@redhat.com>
8618         [BZ #15215]
8619         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
8620         (__pthread_once_slow): ... here.
8621         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
8622         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
8624 2014-10-20  Torvald Riegel  <triegel@redhat.com>
8626         [BZ #15215]
8627         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
8628         __PTHREAD_ONCE_FORK_GEN_INCR): New.
8629         * sysdeps/nptl/fork.c (__libc_fork): Use them.
8630         * nptl/pthread_once.c (__pthread_once): Likewise.
8631         Update comments.
8633 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
8635         [BZ #14138]
8636         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
8637         name.
8638         (writev): Use __libc_writev as strong name.
8639         * sysdeps/unix/sysv/linux/readv.c: Remove file.
8640         * sysdeps/unix/sysv/linux/writev.c: Likewise.
8642 2014-10-17  Roland McGrath  <roland@hack.frob.com>
8644         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
8646         * sysdeps/i386/nptl/tls.h
8647         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
8648         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
8649         New macros.
8650         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
8651         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
8652         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
8653         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
8654         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
8655         Call CHECK_THREAD_SYSINFO instead of doing an assert.
8657         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
8658         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
8659         on [__NR_futex].
8660         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
8661         broken out of ...
8662         (__pthread_mutex_init): ... here.  Call it.
8663         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
8664         Conditionalize PI cases on [__NR_futex].
8665         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8666         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8667         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8669         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
8670         conditional on [SIGSETXID].
8671         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
8672         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
8673         is defined.  Likewise for SIGSETXID.
8674         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
8675         Conditionalize definitions on [SIGSETXID].
8676         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
8677         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
8678         unblocking on [SIGCANCEL].
8680         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
8681         [__NR_set_robust_list].
8683 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8685         * string/strcoll_l.c (get_next_seq): Fix up formatting.
8686         (do_compare): Likewise.
8688 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
8690         [BZ #15884]
8691         * string/strcoll_l.c: Don't include stdio.h.
8692         (coll_seq): Remove members idxarr and rulearr.
8693         (get_next_seq_cached): Remove function.
8694         (get_next_seq): Likewise.
8695         (get_next_seq_nocache): Rename to get_next_seq.
8696         (do_compare): Remove function.
8697         (do_compare_nocache): Rename to do_compare.
8698         (STRCOLL): Remove weight and rules cache.
8700 2014-10-16  Roland McGrath  <roland@hack.frob.com>
8702         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
8703         * sysdeps/arm/sfp-machine.h: ... to here.
8704         * sysdeps/arm/Implies: Remove arm/soft-fp.
8706 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
8708         * conform/data/sys/utsname.h-data (*_t): Allow.
8709         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
8710         [POSIX] (WEXITED): Do not expect constant.
8711         [POSIX] (WSTOPPED): Likewise.
8712         [POSIX] (WNOHANG): Likewise.
8713         [POSIX] (WNOWAIT): Likewise.
8714         [POSIX] (siginfo_t): Do not expect type or elements.
8715         [POSIX] (pid_t): Do not expect type.
8716         [POSIX] (signal.h): Do not allow header.
8717         [POSIX] (sys/resource.h): Likewise.
8718         [POSIX] (si_*): Do not allow pattern.
8719         [POSIX] (W*): Likewise.
8720         [POSIX] (P_*): Likewise.
8721         [POSIX] (BUS_*): Likewise.
8722         [POSIX] (CLD_*): Likewise.
8723         [POSIX] (FPE_*): Likewise.
8724         [POSIX] (ILL_*): Likewise.
8725         [POSIX] (POLL_*): Likewise.
8726         [POSIX] (SEGV_*): Likewise.
8727         [POSIX] (SI_*): Likewise.
8728         [POSIX] (TRAP_*): Likewise.
8729         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
8730         variable.
8732 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
8734         [BZ #12926]
8735         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
8736         infinite loop when __recvmsg returns 0.
8738 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
8740         * CANCEL-FCT-WAIVE: Remove file.
8741         * CANCEL-FILE-WAIVE: Likewise.
8743         [BZ #14132]
8744         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
8745         instead of INTVARDEF.
8746         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
8747         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
8748         rtld_hidden_data_def instead of INTVARDEF.
8749         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
8750         * elf/dl-deps.c (expand_dst): Likewise.
8751         * elf/dl-load.c (_dl_dst_count): Likewise.
8752         (_dl_dst_substitute): Likewise.
8753         (decompose_rpath): Likewise.
8754         (_dl_init_paths): Likewise.
8755         (open_path): Likewise.
8756         (_dl_map_object): Likewise.
8757         * elf/rtld.c (dl_main): Likewise.
8758         (process_dl_audit): Likewise.
8759         (process_envvars): Likewise.
8760         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
8761         Remove declaration.
8762         (__libc_enable_secure): Use rtld_hidden_proto.
8764 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8766         * elf/dl-load.c
8767         (add_path): New function broken out of _dl_rtld_di_serinfo.
8768         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
8770 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
8772         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
8773         parentheses around macro arguments.
8774         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
8775         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
8776         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
8777         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
8778         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
8779         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
8780         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
8781         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
8782         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
8783         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
8784         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
8785         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
8786         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
8787         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
8788         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
8789         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
8790         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
8791         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
8792         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
8793         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
8794         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
8795         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
8796         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
8797         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
8798         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
8799         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
8800         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
8801         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
8802         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
8803         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
8804         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
8805         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
8806         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
8807         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
8808         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
8809         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
8810         Likewise.
8811         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
8812         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
8813         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
8814         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
8815         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
8816         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
8817         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
8818         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
8819         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
8820         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
8821         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
8822         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
8823         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
8824         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
8825         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
8826         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
8827         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
8828         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
8829         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
8830         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
8831         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
8832         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
8833         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
8834         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
8835         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
8836         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
8837         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
8838         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
8839         (_FP_FRAC_SRS_1): Likewise.
8840         (_FP_FRAC_CLZ_1): Likewise.
8841         (_FP_MUL_MEAT_1_imm): Likewise.
8842         (_FP_MUL_MEAT_1_wide): Likewise.
8843         (_FP_MUL_MEAT_1_hard): Likewise.
8844         (_FP_SQRT_MEAT_1): Likewise.
8845         (_FP_FRAC_ASSEMBLE_1): Likewise.
8846         (_FP_FRAC_DISASSEMBLE_1): Likewise.
8847         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
8848         (__FP_CLZ_2): Likewise.
8849         (_FP_MUL_MEAT_2_wide): Likewise.
8850         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8851         (_FP_MUL_MEAT_2_gmp): Likewise.
8852         (_FP_MUL_MEAT_2_120_240_double): Likewise.
8853         (_FP_SQRT_MEAT_2): Likewise.
8854         (_FP_FRAC_ASSEMBLE_2): Likewise.
8855         (_FP_FRAC_DISASSEMBLE_2): Likewise.
8856         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
8857         (_FP_FRAC_CLZ_4): Likewise.
8858         (_FP_MUL_MEAT_4_wide): Likewise.
8859         (_FP_MUL_MEAT_4_gmp): Likewise.
8860         (_FP_SQRT_MEAT_4): Likewise.
8861         (_FP_FRAC_ASSEMBLE_4): Likewise.
8862         (_FP_FRAC_DISASSEMBLE_4): Likewise.
8863         * soft-fp/op-common.h (_FP_CMP): Likewise.
8864         (_FP_CMP_EQ): Likewise.
8865         (_FP_CMP_UNORD): Likewise.
8866         (_FP_TO_INT): Likewise.
8867         (_FP_FROM_INT): Likewise.
8868         [!__FP_CLZ] (__FP_CLZ): Likewise.
8869         (_FP_DIV_HELP_imm): Likewise.
8870         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
8871         Likewise.
8872         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
8873         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
8874         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
8875         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
8876         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
8877         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
8878         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
8879         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
8880         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
8881         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
8882         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
8883         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
8884         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
8885         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
8886         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
8887         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
8888         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
8889         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
8890         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
8891         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
8892         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
8893         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
8894         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
8895         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
8896         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
8897         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
8898         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
8899         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
8900         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
8901         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
8902         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
8903         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
8904         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
8905         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
8906         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
8907         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
8908         (FP_UNPACK_RAW_SP): Likewise.
8909         (FP_PACK_RAW_S): Likewise.
8910         (FP_PACK_RAW_SP): Likewise.
8911         (FP_UNPACK_S): Likewise.
8912         (FP_UNPACK_SP): Likewise.
8913         (FP_UNPACK_SEMIRAW_S): Likewise.
8914         (FP_UNPACK_SEMIRAW_SP): Likewise.
8915         (FP_PACK_S): Likewise.
8916         (FP_PACK_SP): Likewise.
8917         (FP_PACK_SEMIRAW_S): Likewise.
8918         (FP_PACK_SEMIRAW_SP): Likewise.
8919         (_FP_SQRT_MEAT_S): Likewise.
8920         (FP_CMP_S): Likewise.
8921         (FP_CMP_EQ_S): Likewise.
8922         (FP_CMP_UNORD_S): Likewise.
8923         (FP_TO_INT_S): Likewise.
8924         (FP_FROM_INT_S): Likewise.
8926         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
8928         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
8929         (FP_EX_INVALID_IMZ): Likewise.
8930         (FP_EX_INVALID_IMZ_FMA): Likewise.
8931         (FP_EX_INVALID_ISI): Likewise.
8932         (FP_EX_INVALID_ZDZ): Likewise.
8933         (FP_EX_INVALID_IDI): Likewise.
8934         (FP_EX_INVALID_SQRT): Likewise.
8935         (FP_EX_INVALID_CVI): Likewise.
8936         (FP_EX_INVALID_VC): Likewise.
8937         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
8938         "invalid" exceptions.
8939         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
8940         (_FP_ADD_INTERNAL): Likewise.
8941         (_FP_MUL): Likewise.
8942         (_FP_FMA): Likewise.
8943         (_FP_DIV): Likewise.
8944         (_FP_CMP_CHECK_NAN): Likewise.
8945         (_FP_SQRT): Likewise.
8946         (_FP_TO_INT): Likewise.
8947         (FP_EXTEND): Likewise.
8949 2014-10-09  Allan McRae  <allan@archlinux.org>
8951         * po/fr.po: Update French translation from translation project.
8953 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
8955         [BZ #14132]
8956         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
8957         of INTDEF.
8958         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
8959         (__cxa_atexit): Use libc_hidden_proto.
8960         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
8962         [BZ #14132]
8963         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
8964         declaration.
8965         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
8966         [!_ISOMAC] (__iswspace_l_internal): Likewise.
8967         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
8968         [!_ISOMAC] (__iswctype_internal): Likewise.
8969         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
8970         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
8971         alias.
8972         (fcntl): Remove __fcntl_internal alias.
8973         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
8974         __connect_internal alias.
8975         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
8976         Likewise.
8978         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
8979         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
8980         FP_DENORM_ZERO.
8981         (_FP_CHECK_FLUSH_ZERO): New macro.
8982         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
8983         (_FP_CMP): Likewise.
8984         (_FP_CMP_EQ): Likewise.
8985         (_FP_TO_INT): Do not set inexact for subnormal arguments if
8986         FP_DENORM_ZERO.
8987         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
8988         (FP_TRUNC): Likewise.
8990         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
8991         treated as invalid conversion, not as normal exponent.
8993         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
8994         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
8995         (_FP_CMP_EQ): Likewise.
8996         (_FP_CMP_UNORD): Likewise.
8997         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
8998         (FP_CMP_EQ_D): Likewise.
8999         (FP_CMP_UNORD_D): Likewise.
9000         * soft-fp/extended.h (FP_CMP_E): Likewise.
9001         (FP_CMP_EQ_E): Likewise.
9002         (FP_CMP_UNORD_E): Likewise.
9003         * soft-fp/quad.h (FP_CMP_Q): Likewise.
9004         (FP_CMP_EQ_Q): Likewise.
9005         (FP_CMP_UNORD_Q): Likewise.
9006         * soft-fp/single.h (FP_CMP_S): Likewise.
9007         (FP_CMP_EQ_S): Likewise.
9008         (FP_CMP_UNORD_S): Likewise.
9009         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
9010         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
9011         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
9012         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
9013         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
9014         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
9015         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
9016         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
9017         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
9018         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
9019         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
9020         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
9021         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
9022         to FP_CMP_Q.
9023         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
9024         FP_CMP_Q.
9025         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
9026         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
9027         FP_CMP_EQ_Q.
9028         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
9029         FP_CMP_Q.
9030         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
9031         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
9032         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
9033         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
9034         FP_CMP_EQ_Q.
9035         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
9036         FP_CMP_Q.
9037         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
9038         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
9039         FP_CMP_EQ_Q.
9040         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
9041         FP_CMP_Q.
9042         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
9043         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
9044         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
9045         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
9046         FP_CMP_EQ_Q.
9048         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
9049         a subnormal result, set the underflow exception if trapping on
9050         underflow is enabled.
9051         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
9052         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
9053         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
9054         redefine to 0.
9055         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
9056         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9057         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9058         * soft-fp/extendxftf2.c (__extendxftf2): Use
9059         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
9061         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
9062         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
9063         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9064         FP_HANDLE_EXCEPTIONS.
9065         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
9066         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9067         FP_HANDLE_EXCEPTIONS.
9068         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
9069         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9070         FP_HANDLE_EXCEPTIONS.
9071         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
9072         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9073         FP_HANDLE_EXCEPTIONS.
9075 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
9077         [BZ #14132]
9078         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
9079         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
9080         use INTUSE.
9081         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
9082         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
9083         Remove alias.
9084         (__adjtimex): Define using libc_hidden_ver.
9085         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
9086         Remove declaration.
9087         (ntp_gettime): Call __adjtimex directly.
9088         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
9089         Remove declaration.
9090         (ntp_gettimex): Call __adjtimex directly.
9091         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
9092         __adjtimex_internal alias.
9094 2014-10-08  Roland McGrath  <roland@hack.frob.com>
9096         [BZ #17460]
9097         * nscd/nscd.c (more_help): Rewrite list of tables collection
9098         using xstrdup and asprintf.
9100         * nscd/nscd_conf.c: Remove local xstrdup declaration.
9102 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9103             Roland McGrath  <roland@hack.frob.com>
9105         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
9106         (do_lookup_unique): ... local function 'enter' here; update callers.
9108 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
9110         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
9111         compat_symbol calls on [SHARED].
9112         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
9113         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
9114         Remove.
9115         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9116         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
9117         (oldsetrlimit): Remove.
9118         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9120         (lchown): New syscall entry.
9121         (oldsetrlimit): Remove.
9122         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9123         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
9124         (oldsetrlimit): Remove.
9125         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9127         [BZ #14138]
9128         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
9129         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
9130         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
9131         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
9132         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9133         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
9134         (fchown): Likewise.
9135         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
9136         (fchown): Likewise.
9137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
9138         Likewise.
9140 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9142         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
9143         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
9144         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
9145         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
9146         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
9147         Likewise.
9148         (__old_sem_post): Likewise.
9150 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
9152         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
9153         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
9154         HAVE_CLOCK_GETTIME_VSYSCALL macros.
9155         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
9156         Use INLINE_VSYSCALL macro.
9157         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
9158         __vdso_clock_gettime.
9159         * sysdeps/unix/sysv/linux/tile/init-first.c
9160         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
9161         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
9162         __vdso_clock_gettime.
9164         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
9165         to set up frame more cleanly.
9167         * sysdeps/tile/memcmp.c: New file.
9169         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
9171         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
9172         * sysdeps/tile/tilegx/strcasestr.c: New file.
9173         * sysdeps/tile/tilegx/strnlen.c: New file.
9174         * sysdeps/tile/tilegx/strstr.c: New file.
9176         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
9178 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
9180         * nptl/tst-setuid3.c: Write errors to stdout.
9182 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9184         * elf/dl-deps.c
9185         (preload): New functions broken out of _dl_map_object_deps.
9186         (_dl_map_object_deps):  Remove a nested function. Update call sites.
9188 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
9190         [BZ #14138]
9191         * sysdeps/unix/sysv/linux/execve.c: Remove file.
9192         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
9194 2014-10-01  Steve Ellcey  <sellcey@mips.com>
9196         * sysdeps/mips/strcmp.S: New.
9198 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
9200         [BZ #14138]
9201         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
9202         (linkat): Likewise.
9203         (mkdirat): Likewise.
9204         (readlinkat): Likewise.
9205         (renameat): Likewise.
9206         (symlinkat): Likewise.
9207         (unlinkat): Likewise.
9208         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
9209         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
9210         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
9211         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
9212         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9213         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
9214         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
9216 2014-09-30  Will Newton  <will.newton@linaro.org>
9218         * math/math.h: Define long double math functions if
9219         _LIBC_TEST is defined.
9220         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
9222         * localedata/Makefile: Move assignment to tests-special
9223         into an ifdef testing run-built-tests.
9224         * timezone/Makefile: Likewise.
9226 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
9228         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
9229         with $(BASH) not $(SHELL).
9231 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
9232             Matthew LeGendre  <legendre1@llnl.gov>
9234         [BZ #17411]
9235         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
9236         l_reloc_result.
9238 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9240         * stdio-common/printf_fp.c
9241         (hack_digit): New function, broken out of ...
9242         (__printf_fp): ... local function here.  Update call sites.
9243         hack_digit now takes an additional parameter that is a pointer
9244         to a struct of the referenced locals.  Those locals moved inside
9245         the struct and references updated.
9247 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
9249         * aclocal.m4: Require autoconf 2.69.
9250         * configure: Regenerated.
9251         * sysdeps/aarch64/configure: Likewise.
9252         * sysdeps/alpha/configure: Likewise.
9253         * sysdeps/arm/armv7/configure: Likewise.
9254         * sysdeps/arm/configure: Likewise.
9255         * sysdeps/ia64/configure: Likewise.
9256         * sysdeps/mach/configure: Likewise.
9257         * sysdeps/mips/configure: Likewise.
9258         * sysdeps/s390/configure: Likewise.
9259         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
9260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
9262         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
9263         file.
9264         * sysdeps/ia64/configure.ac: Likewise.
9266 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
9268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
9269         specify symbol version for ld.so.  Do not include entry for
9270         libpthread.
9271         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9272         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9273         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9275         [BZ #14171]
9276         * Makeconfig [$(build-shared) = yes]
9277         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
9278         makefiles.
9279         [$(build-shared) = yes && $(soversions.mk-done) = t]
9280         ($(common-objpfx)gnu/lib-names.h): Remove rule.
9281         [$(build-shared) = yes && $(soversions.mk-done) = t]
9282         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
9283         to Makerules.
9284         [$(build-shared) = yes && $(soversions.mk-done) = t]
9285         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
9286         here.
9287         [$(build-shared) = yes && $(soversions.mk-done) = t]
9288         (common-generated): Don't append gnu/lib-names.h and
9289         gnu/lib-names.stmp here.
9290         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
9291         (lib-names-h-abi): New variable.
9292         [$(build-shared) = yes && $(soversions.mk-done) = t]
9293         (lib-names-stmp-abi): Likewise.
9294         [$(build-shared) = yes && $(soversions.mk-done) = t &&
9295         abi-variants] (before-compile): Append
9296         $(common-objpfx)$(lib-names-h-abi).
9297         [$(build-shared) = yes && $(soversions.mk-done) = t &&
9298         abi-variants] (common-generated): Append gnu/lib-names.h.
9299         [$(build-shared) = yes && $(soversions.mk-done) = t &&
9300         abi-variants] (install-others-nosubdir): Depend on
9301         $(inst_includedir)/$(lib-names-h-abi).
9302         [$(build-shared) = yes && $(soversions.mk-done) = t &&
9303         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
9304         [$(build-shared) = yes && $(soversions.mk-done) = t]
9305         ($(common-objpfx)$(lib-names-h-abi)): New rule.
9306         [$(build-shared) = yes && $(soversions.mk-done) = t]
9307         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
9308         [$(build-shared) = yes && $(soversions.mk-done) = t]
9309         (common-generated): Append $(lib-names-h-abi) and
9310         $(lib-names-stmp-abi).
9311         * scripts/lib-names.awk: Do not handle multi being set.
9312         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
9313         Remove variable.
9314         (abi-lp64_be-ld-soname): Likewise.
9315         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
9316         Likewise.
9317         (abi-hard-ld-soname): Likewise.
9318         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
9319         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
9320         Remove variable.
9321         (abi-o32_hard-ld-soname): Likewise.
9322         (abi-o32_soft_2008-ld-soname): Likewise.
9323         (abi-o32_hard_2008-ld-soname): Likewise.
9324         (abi-n32_soft-ld-soname): Likewise.
9325         (abi-n32_hard-ld-soname): Likewise.
9326         (abi-n32_soft_2008-ld-soname): Likewise.
9327         (abi-n32_hard_2008-ld-soname): Likewise.
9328         (abi-n64_soft-ld-soname): Likewise.
9329         (abi-n64_hard-ld-soname): Likewise.
9330         (abi-n64_soft_2008-ld-soname): Likewise.
9331         (abi-n64_hard_2008-ld-soname): Likewise.
9332         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
9333         Likewise.
9334         (abi-64-v2-ld-soname): Likewise.
9335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
9336         ld.so entries.
9337         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
9338         variable.
9339         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
9340         entry.
9341         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
9342         variable.
9343         (abi-64-ld-soname): Likewise.
9344         (abi-x32-ld-soname): Likewise.
9345         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
9346         entry.
9347         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9349 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
9351         [BZ #14138]
9352         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
9353         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9354         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
9355         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
9356         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
9357         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
9358         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
9359         syscall entry for GLIBC_2.2 symbol version.
9360         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
9361         Likewise.
9362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9363         (setrlimit): Likewise.
9364         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
9365         Likewise.
9367 2014-09-23  Will Newton  <will.newton@linaro.org>
9369         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
9370         _LINUX_ARM_SYSDEP_H include guard too.
9371         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
9372         define.
9374 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
9376         * sysdeps/unix/sysv/linux/eventfd.c:
9377         Make first argument unsigned.
9378         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
9379         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
9381 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
9383         * socket/recvmmsg.c (recvmmsg): Drop const argument.
9384         * socket/sys/socket.h: Likewise
9385         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
9387 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9389         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
9391 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
9393         * time/tst-ftime.c: New test.
9394         * time/Makefile (tests): Add tst-ftime.
9396 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
9398         * soft-fp/extended.h: Fix comment formatting.
9399         * soft-fp/op-1.h: Likewise.
9400         * soft-fp/op-2.h: Likewise.
9401         * soft-fp/op-4.h: Likewise.
9402         * soft-fp/op-8.h: Likewise.
9403         * soft-fp/op-common.h: Likewise.
9404         * soft-fp/soft-fp.h: Likewise.
9406         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
9408 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
9410         [BZ #6652]
9411         * Makeconfig (soversions-default-setname): Remove variable.
9412         ($(common-objpfx)soversions.i): Don't pass default_setname to
9413         soversions.awk.
9414         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
9415         oldest_abi to abi-versions.awk.
9416         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
9417         * config.make.in (oldest-abi): Remove variable.
9418         * configure.ac (--enable-oldest-abi): Remove configure option.
9419         * configure: Regenerated.
9420         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
9421         text.
9422         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
9423         * scripts/soversions.awk: Do not handle default_setname variable.
9424         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
9425         variable.
9426         * sysdeps/mach/hurd/configure: Regenerated.
9427         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
9428         variable.
9429         * sysdeps/unix/sysv/linux/configure: Regenerated.
9431 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9433         * elf/Makefile (CFLAGS-interp.c): Remove.
9434         ($(elf-objpfx)runtime-linker.h): Generate header with linker
9435         path string.
9436         * elf/interp.c: Include generated runtime-linker.h
9438         * Makerules (lib%.so): Don't include $(+interp) in
9439         prerequisites.
9440         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
9441         * dlfcn/eval.c: Remove file.
9443         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
9444         macros.
9446         [BZ #17266]
9447         * misc/sys/cdefs.h: Define __extern_always_inline for clang
9448         4.2 and newer.
9450         [BZ #17370]
9451         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
9453 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9454             Jakub Jelinek  <jakub@redhat.com>
9456         [BZ #17266]
9457         * libio/stdio.h: Check definition of __fortify_function
9458         instead of __extern_always_inline to include bits/stdio2.h.
9459         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
9460         check if __extern_always_inline is defined.
9461         [__USE_MISC || __USE_XOPEN]: Likewise.
9462         [__USE_ISOC99] Likewise.
9463         * misc/sys/cdefs.h (__fortify_function): Define only if
9464         __extern_always_inline is defined.
9465         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
9466         __extern_always_inline and __extern_inline only for g++-4.3
9467         and newer or a compatible gcc.
9469 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
9471         [BZ #17371]
9472         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9473         last change to handle zero prefix length.
9475 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9477         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
9478         _SC_REGEX_VERSION.
9480         * posix/getconf.c (vars): Add _POSIX_IPV6 and
9481         _POSIX_RAW_SOCKETS.
9483 2014-09-13  Allan McRae  <allan@archlinux.org>
9485         * po/ru.po: Update Russian translation from translation project.
9487 2014-09-12  Roland McGrath  <roland@hack.frob.com>
9489         * locale/programs/locale.c (show_locale_vars): Inline local function
9490         into its sole call site.  Clean up some style nits.
9491         (print_item): New function, broken out of ...
9492         (show_info): ... local function here.  Clean up style nits.
9494         * locale/programs/ld-ctype.c (set_one_default): New function, broken
9495         out of ...
9496         (set_class_defaults): ... local function set_default here.
9497         Define set_default as a macro locally to pass constant parameters.
9498         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
9499         rather than a shared local.
9501         * stdlib/rpmatch.c (try): New function, broken out of ...
9502         (rpmatch): ... local function here.  Also, prototypify definition.
9504 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
9506         * scripts/soversions.awk: Do not handle configuration names.
9507         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
9508         vendor and os variables to soversions.awk.
9509         * configure.ac: Do not modify gnu-* host_os.
9510         * configure: Regenerated
9511         * shlib-versions: Remove first column with configuration names.
9512         * nptl/shlib-versions: Likewise.
9513         * nptl_db/shlib-versions: Likewise.
9514         * sysdeps/hppa/shlib-versions: Likewise.
9515         * sysdeps/m68k/shlib-versions: Likewise.
9516         * sysdeps/mach/hurd/shlib-versions: Likewise.
9517         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
9518         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
9519         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
9520         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
9521         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
9522         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
9523         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
9524         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
9525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
9526         Likewise.
9527         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9528         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
9529         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
9530         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
9531         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
9532         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
9533         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9534         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9537         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
9538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9539         Regenerated.
9540         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
9541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
9542         Condition symbol version definitions on [HAVE_ELFV2_ABI].
9544         * shlib-versions: Remove OS-specific entries.  Moved to files in
9545         sysdeps.
9546         * sysdeps/mach/hurd/shlib-versions: New file.
9547         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
9549         * nptl/shlib-versions: Remove architecture-specific entries.
9550         Moved to files in sysdeps.
9551         * shlib-versions: Likewise.
9552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
9553         file.
9554         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9555         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
9556         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
9557         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
9559         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
9560         (UDP_NO_CHECK6_RX): Likewise.
9562 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9564         * sysdeps/posix/sysconf.c (__sysconf): Spell
9565         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
9567 2014-08-12  Florian Weimer  <fweimer@redhat.com>
9569         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
9570         loading.
9571         * iconv/Versions (__gconv_transliterate): Export for use from
9572         gconv modules.
9573         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
9574         (struct __gconv_trans_data, __gconv_trans_fct,
9575         __gconv_trans_context_fct, __gconv_trans_query_fct,
9576         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
9577         definitions.
9578         (struct __gconv_step_data): Remove __trans member.
9579         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
9580         longer hidden.  Remove unused trans_data argument.
9581         * iconv/gconv_int.h (struct trans_struct): Remove definition.
9582         (__gconv_translit_find): Remove declaration.
9583         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
9584         prototype.
9585         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
9586         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
9587         trans_data argument.  Add hidden definition.
9588         (__gconv_translit_find): Remove.
9589         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
9590         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
9591         * iconv/skeleton.c: Remove transliteration initialization.
9592         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
9593         __gconv_step_data initialization.
9594         * libio/iofwide.c (__libio_translit_): Remove.
9595         (_IO_fwide): Adjust struct __gconv_step_data initialization.
9596         * wcsmbs/btowc.c (__btowc): Likewise.
9597         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9598         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9599         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9600         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9601         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
9602         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9603         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9604         * wcsmbs/wctob.c (wctob): Likewise.
9606 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9608         [BZ #16194]
9609         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
9610         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
9611         register usage.
9612         * sysdeps/x86/Makefile: Adjust.
9614 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9615             Roland McGrath  <roland@hack.frob.com>
9617         * locale/weight.h: Add include guard.
9618         (findidx): Make static rather than auto; take new parameters
9619         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
9620         * locale/weightwc.h: Likewise.
9621         * posix/fnmatch_loop.c
9622         (FCT): Change type of EXTRA from int32_t to wint_t.
9623         Don't include either header inside the function.
9624         Call FINDIDX rather than findidx, and pass new arguments.
9625         #undef FINDIDX at the end of the file.
9626         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
9627         FINDIDX before including fnmatch_loop.c for the non-wide version.
9628         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
9629         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
9630         for the wide version.
9631         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
9632         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
9633         Pass new arguments to findidx.
9634         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
9635         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
9636         Don't #include it inside the function.  Pass new arguments to findidx.
9637         * posix/regex_internal.h
9638         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
9639         (re_string_elem_size_at): Don't #include it inside the function.
9640         Pass new arguments to findidx.
9641         * string/strcoll_l.c: #include WEIGHT_H at top level.
9642         (get_next_seq): Don't #include it inside the function.
9643         Pass new arguments to findidx.
9644         (get_next_seq_nocache): Likewise.
9645         * string/strxfrm_l.c: #include WEIGHT_H at top level.
9646         (STRXFRM): Don't #include it inside the function.
9647         Pass new arguments to findidx.
9649 2014-09-11  Florian Weimer  <fweimer@redhat.com>
9651         [BZ #17344]
9652         * malloc/malloc.c (unlink): Turn asserts into a call to
9653         malloc_printerr.
9655 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
9657         [BZ #17370]
9658         * libio/wfileops (do_ftell_wide): Free OUT.
9660 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
9662         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
9664 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9666         [BZ #17363]
9667         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
9668         group if the current group is empty.
9670 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9672         * benchtests/bench-memset.c (test_main): Add more test from size
9673         from 32 to 512 bytes.
9674         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9675         Add POWER8 memset object.
9676         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9677         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
9678         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
9679         implementation.
9680         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
9681         Likewise.
9682         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
9683         multiarch POWER8 memset optimization.
9684         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
9685         POWER8 memset optimization.
9687         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9688         Remove bzero multiarch objects.
9689         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
9690         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
9691         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
9692         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
9693         Remove define.
9694         [__bzero]: Redefine to specific name.
9695         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
9696         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
9697         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
9698         define.
9699         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9700         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9702 2014-09-10  Florian Weimer  <fweimer@redhat.com>
9704         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
9705         warnings into errors.
9707         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
9708         __cxa_thread_atexit_impl prototype.
9710 2014-09-09  Steve Ellcey  <sellcey@mips.com>
9712         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
9713         Fix capitalization of error message.
9715 2014-09-09  Steve Ellcey  <sellcey@mips.com>
9717         * sysdeps/mips/preconfigure: Modify ABI tests.
9719 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
9721         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
9723 2014-09-07  Roland McGrath  <roland@hack.frob.com>
9724             Carlos O'Donell  <carlos@systemhalted.org>
9726         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
9727         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
9728         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
9729         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
9730         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
9731         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
9732         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
9733         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
9734         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
9735         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
9736         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
9737         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
9738         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
9739         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
9740         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
9741         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
9742         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
9743         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
9744         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
9745         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
9746         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
9747         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
9748         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
9749         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
9750         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
9751         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
9752         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
9753         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
9754         Deconditionalize the code that was previously under [RESET_PID].
9755         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
9756         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
9757         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
9758         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
9759         include sysdep.h.
9761 2014-09-08  Allan McRae  <allan@archlinux.org>
9763         * version.h (RELEASE): Set to "development".
9764         (VERSION): Set to "2.20.90"
9766 2014-09-07  Allan McRae  <allan@archlinux.org
9768         * version.h (RELEASE): Set to "stable".
9769         (VERSION): Set to "2.20"
9770         * include/features.h (__GLIBC_MINOR__): Set to 20.
9772         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
9773         Liebler.
9775         * po/ko.po: Update Korean translation from translation project.
9777 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
9779         [BZ #17354]
9780         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
9781         macro for handling signed relocations.
9783 2014-09-03  Florian Weimer  <fweimer@redhat.com>
9785         [BZ #17325]
9786         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
9787         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
9788         assert.
9789         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
9790         * iconvdata/ibm935.c (BODY): Likewise.
9791         * iconvdata/ibm937.c (BODY): Likewise.
9792         * iconvdata/ibm939.c (BODY): Likewise.
9793         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
9794         assert.
9795         * iconvdata/Makefile (iconv-test.out): Pass module list to test
9796         script.
9797         * iconvdata/run-iconv-test.sh: New test loop for checking for
9798         decoder crashers.
9800 2014-09-02  Khem Raj  <raj.khem@gmail.com>
9802         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
9803         libm_hidden_ver.
9805 2014-09-01  Allan McRae  <allan@archlinux.org>
9807         * po/eo.po: Update Esperanto translation from translation project.
9809         * po/ca.po: Update Catalan translation from translation project.
9811 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9813         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
9814         __proc_dostop call.
9816 2014-08-27  Mark Wielaard  <mjw@redhat.com>
9818         [BZ #17319]
9819         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
9820         to call set_thread_area instead of hand written asm.
9821         (__NR_set_thread_area): Removed define.
9822         (TLS_FLAG_WRITABLE): Likewise.
9823         (__ASSUME_SET_THREAD_AREA): Remove check.
9824         (TLS_EBX_ARG): Remove define.
9825         (TLS_LOAD_EBX): Likewise.
9827 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9829         Simplify atomicity of socket creation in bind.
9831         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
9832         looking up the name after linking the file.
9834 2014-08-27  Allan McRae  <allan@archlinux.org>
9836         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9838 2014-08-26  Florian Weimer  <fweimer@redhat.com>
9840         [BZ #17187]
9841         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
9842         trans_compare, open_translit, __gconv_translit_find):
9843         Remove module loading code.
9845 2014-08-26  Allan McRae  <allan@archlinux.org>
9847         * po/vi.po: Update Vietnamese translation from translation project.
9849         * po/uk.po: Update Ukrainian translation from translation project.
9851         * po/fr.po: Update French translation from translation project.
9853         * po/ru.po: Update Russian translation from translation project.
9855         * po/pl.po: Update Polish translation from translation project.
9857         * po/cs.po: Update Czech translation from translation project.
9859         * po/de.po: Update German translation from translation project.
9861         * po/bg.po: Update Bulgarian translation from translation project.
9863         * po/sv.po: Update Sweedish translation from translation project.
9865         * po/nl.po: Update Dutch translation from translation project.
9867         * po/es.po: Update Spanish translation from translation project.
9869 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9871         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
9873         * catgets/Makefile (CPPFLAGS-gencat): Remove.
9874         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
9875         (CPPFLAGS-iconvconfig): Likewise.
9876         * timezone/Makefile (CPPFLAGS-zic): Likewise.
9878         * include/libc-symbols.h: Remove unnecessary check for
9879         NOT_IN_libc.
9880         * nptl/pthreadP.h: Likewise.
9881         * sysdeps/aarch64/setjmp.S: Likewise.
9882         * sysdeps/alpha/setjmp.S: Likewise.
9883         * sysdeps/arm/sysdep.h: Likewise.
9884         * sysdeps/i386/setjmp.S: Likewise.
9885         * sysdeps/m68k/setjmp.c: Likewise.
9886         * sysdeps/posix/getcwd.c: Likewise.
9887         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9888         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9889         * sysdeps/s390/s390-32/setjmp.S: Likewise.
9890         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9891         * sysdeps/sh/sh3/setjmp.S: Likewise.
9892         * sysdeps/sh/sh4/setjmp.S: Likewise.
9893         * sysdeps/unix/alpha/sysdep.h: Likewise.
9894         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9895         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9896         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9897         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9900         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9901         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9902         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9903         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9904         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9905         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9906         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9907         * sysdeps/x86_64/setjmp.S: Likewise.
9909 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
9911         [BZ #17263]
9912         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
9913         <stdint.h>.
9914         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
9915         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
9917 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9919         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
9921         [BZ #17262]
9922         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
9923         and __x86_64__ when disabling x87 inline functions.
9925 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
9927         [BZ #17259]
9928         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
9929         asm statement with __cpuid_count.
9931 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
9933         * configure.ac: Change __ehdr_start code to dereference the struct.
9934         Run readelf on the output to look for relocations.
9935         * configure: Regenerated.
9937 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
9939         [BZ #17261]
9940         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
9941         value to 0.
9942         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
9944 2014-08-12  Roland McGrath  <roland@hack.frob.com>
9946         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
9948 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
9950         [BZ #16892]
9951         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
9952         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
9954 2014-08-12  Sean Anderson  <seanga2@gmail.com>
9956         * malloc/malloc.c: Fix typo in comment.
9958 2014-08-09  Allan McRae  <allan@archlinux.org>
9960         * Regenerate libc.po.
9962 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
9964         * intl/tst-gettext2.sh: Check every lang file for creation.
9966 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
9968         * sysdeps/aarch64/fpu/math_private.h
9969         (libc_feholdsetround_noex_aarch64_ctx): New function.
9971 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
9973         * sysdeps/arm/armv6/strcpy.S (strcpy):
9974         Fix performance issue in misaligned cases.
9976 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9978         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
9979         Move definition from termios.h.
9980         (struct termio): Likewise.
9981         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9982         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9983         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9984         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9985         Likewise.
9986         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
9987         Move definition to ioctl-types.h
9988         (struct termio): Likewise.
9989         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9990         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9991         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9992         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9993         Likewise.
9995 2014-08-05  Richard Henderson  <rth@redhat.com>
9997         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
9998         exceptions.
9999         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
10000         Add fraiseexcpt.
10001         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
10002         Use __feraiseexcept.
10003         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
10004         Protect libm symbols with IS_IN_libm.
10006         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
10008 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
10010         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
10012 2014-08-04  Will Newton  <will.newton@linaro.org>
10014         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
10015         file.
10017 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
10019         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
10020         variants for each function.
10022 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10024         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
10025         appended ...
10026         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
10027         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
10028         appended ...
10029         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
10030         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
10031         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
10032         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
10033         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
10034         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
10035         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
10036         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
10037         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
10038         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
10039         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
10040         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
10041         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
10042         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
10043         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
10044         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
10045         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
10046         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
10047         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
10048         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
10049         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
10050         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
10051         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
10052         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
10053         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
10054         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
10055         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
10056         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
10057         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
10058         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
10059         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
10060         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
10061         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
10062         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
10063         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
10064         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
10065         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
10066         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
10067         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
10068         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
10069         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
10070         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
10071         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
10072         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
10073         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
10074         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
10075         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
10076         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
10077         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
10078         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
10079         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
10080         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
10081         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
10082         Update #include.
10083         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
10084         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
10086 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10088         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
10089         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
10090         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
10091         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
10092         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
10093         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
10095 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10097         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
10098         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
10099         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10100         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
10102 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10104         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
10105         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
10106         (__libc_vfork): Define function under this name.
10107         (__vfork): Define as an alias.
10108         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
10109         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
10111 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10113         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
10114         that was previously under [RESET_PID].
10115         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
10117 2014-08-04  Andreas Schwab  <schwab@suse.de>
10119         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
10121 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
10123         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
10124         (main): Likewise.
10126 2014-08-01  Roland McGrath  <roland@hack.frob.com>
10128         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
10130 2014-08-01  Richard Henderon  <rth@redhat.com>
10132         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
10133         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
10134         typo in exact zero test.
10135         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10136         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10137         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10139 2014-08-01  Roland McGrath  <roland@hack.frob.com>
10141         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
10142         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
10143         * sysdeps/arm/sysdep.h: ... here.
10144         [!__ASSEMBLER__]: Include <stdint.h>.
10146 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10148         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
10149         (HAVE_WCTYPE_H): Likewise.
10150         (HAVE_ISWCTYPE): Likewise.
10151         (ENABLE_NLS): Likewise.
10152         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
10153         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
10155         * posix/regex_internal.c: Check if DEBUG is defined and is
10156         set.
10158         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
10159         (HAVE_MBSRTOWCS): Likewise.
10160         * posix/fnmatch.c: Include string.h unconditionally.
10162 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
10164         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
10165         reversal.
10167 2014-07-31  Roland McGrath  <roland@hack.frob.com>
10169         * sysdeps/generic/safe-fatal.h: New file.
10170         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
10171         * nptl/forward.c: Include it.
10172         (__pthread_unwind): Use __safe_fatal as default action, rather
10173         than a bogus use of INTERNAL_SYSCALL that could never work.
10175         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
10176         * configure.ac (libc_cv_builtin_trap): New test.
10177         * configure: Regenerated.
10178         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
10179         (ABORT_INSTRUCTION): Define using __builtin_trap.
10181         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
10182         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
10183         * sysdeps/nptl/nptl-signals.h: New file.
10184         * nptl/pthreadP.h: Include <nptl-signals.h>.
10186 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10188         * sysdeps/s390/s390-64/utf16-utf32-z9.c
10189         (ONE_DIRECTION): Define.
10190         * sysdeps/s390/s390-64/utf8-utf16-z9.c
10191         (ONE_DIRECTION): Define.
10192         * sysdeps/s390/s390-64/utf8-utf32-z9.c
10193         (ONE_DIRECTION): Define.
10195 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10197         * sysdeps/s390/Makefile: Delete file.
10198         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
10199         * sysdeps/s390/__longjmp.c: Delete file.
10200         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
10201         Remove fields __flags and __reserved.
10202         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
10203         and add versioning.
10204         * sysdeps/s390/rtld-__longjmp.c: Delete file.
10205         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
10206         * sysdeps/s390/rtld-setjmp.S: Likewise.
10207         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
10208         * sysdeps/s390/s390-32/__longjmp.c: ... here.
10209         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
10210         * sysdeps/s390/s390-32/setjmp.S: ... here.
10211         Add versioning.
10212         (__sigsetjmp): Remove setting __flags field.
10213         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
10214         * sysdeps/s390/s390-64/__longjmp.c: ... here.
10215         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
10216         * sysdeps/s390/s390-64/setjmp.S: ... here.
10217         Add versioning.
10218         (__sigsetjmp): Remove setting __flags field.
10219         * sysdeps/s390/setjmp.S: Delete file.
10220         * sysdeps/s390/sigjmp.c: Likewise.
10221         * sysdeps/s390/v1-longjmp.c: Likewise.
10222         * sysdeps/s390/v1-setjmp.h: Likewise.
10223         * sysdeps/s390/v1-sigjmp.c: Likewise.
10224         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
10225         Remove v1-longjmp_chk.
10226         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
10227         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
10228         Include debug/longjmp_chk.c and add versioning.
10229         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
10230         Include nptl/pt-longjmp.c and add versioning.
10231         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
10232         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
10233         Include __longjmp.c.
10234         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10235         Move to ...
10236         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
10237         (__getcontext): Remove setting __flags field.
10238         Add versioning.
10239         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10240         Don't restore upper high grps.
10241         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
10242         Likewise.
10243         (__swapcontext): Remove setting uc_flags field.
10244         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
10245         Delete file.
10246         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10247         Include __longjmp.c.
10248         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10249         Move to ...
10250         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
10251         (__getcontext): Remove setting __flags field.
10252         Add versioning.
10253         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
10254         (__swapcontext): Remove setting uc_flags field.
10255         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
10256         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
10257         Remove fields uc_high_gprs and __reserved.
10258         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
10259         New file with reverted content.
10260         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
10261         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
10262         Regenerated.
10263         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
10264         Regenerated.
10266 2014-07-31  Andreas Schwab  <schwab@suse.de>
10268         * config.h.in (HAVE_IFUNC): Define to 0.
10269         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
10270         definedness.
10272 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
10274         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10275         memmove-avx-unaligned, memcpy-avx-unaligned and
10276         mempcpy-avx-unaligned.
10277         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10278         Add tests for AVX memcpy functions.
10279         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
10280         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
10281         memcpy_chk.
10282         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
10283         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
10284         memmove_chk.
10285         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
10286         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
10287         mempcpy_chk.
10288         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
10289         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
10290         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
10292 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10294         [BZ #17213]
10295         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
10296         powerpc64le.
10298 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
10300         [BZ #16839]
10301         * manual/llio.texi: Add section about open file description locks.
10302         * manual/examples/ofdlocks.c: Example of open file description
10303         lock usage.
10304         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
10305         F_OFD_SETLK, and F_OFD_SETLKW.
10307 2014-07-23  Allan McRae  <allan@archlinux.org>
10309         * po/es.po: Update Spanish translation from translation project.
10311 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
10313         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
10315 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
10317         [BZ #17078]
10318         * sysdeps/arm/dl-machine.h (elf_machine_rela)
10319         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
10320         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
10322 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
10324         [BZ #17088]
10325         * math/fesetenv.c (__fesetenv)
10326         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
10327         * math/feupdateenv.c (__feupdateenv)
10328         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
10330         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
10331         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10332         (__ASSUME_SOCKETCALL): Do not define.
10334         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
10335         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
10336         (__ASSUME_SOCKETCALL): Do not define.
10337         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
10338         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10339         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10340         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10341         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10342         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
10343         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10344         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10346         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
10347         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
10348         (__ASSUME_SOCKETCALL): Do not define.
10349         (__ASSUME_IPC64): Define unconditionally.
10350         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10351         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10352         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10353         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10354         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
10355         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10356         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
10357         Likewise.
10359         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
10360         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
10361         (__ASSUME_SOCKETCALL): Do not define.
10362         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
10363         (__ASSUME_FUTEX_LOCK_PI): Likewise.
10364         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10365         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10366         (__ASSUME_REQUEUE_PI): Define unconditionally.
10367         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
10368         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10369         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10370         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
10371         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10372         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10374         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
10375         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
10376         (__ASSUME_SOCKETCALL): Do not define.
10377         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
10378         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10379         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10380         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
10381         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10382         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10384         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
10385         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
10386         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10387         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
10388         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10389         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
10390         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10391         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
10392         (__ASSUME_GETCPU_SYSCALL): Likewise.
10394         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
10395         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
10396         cases for individual architectures.
10397         * sysdeps/gnu/configure: Regenerated.
10398         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
10399         LIBC_SLIBDIR_RTLDDIR.
10400         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
10401         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
10402         LIBC_SLIBDIR_RTLDDIR.
10403         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
10404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
10405         LIBC_SLIBDIR_RTLDDIR.
10406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10407         Regenerated.
10408         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
10409         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
10410         file.
10411         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
10412         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
10413         file.
10414         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
10415         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
10416         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
10417         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
10419         * sysdeps/aarch64/shlib-versions: Move to ...
10420         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
10421         * sysdeps/alpha/shlib-versions: Move to ...
10422         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
10423         * sysdeps/arm/shlib-versions: Move to ...
10424         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
10425         * sysdeps/hppa/shlib-versions: Move all contents except for
10426         libgcc_s entry to ...
10427         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
10428         entry from ...
10429         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
10430         * sysdeps/ia64/shlib-versions: Move to ...
10431         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
10432         entry from ...
10433         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
10434         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
10435         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
10436         * sysdeps/microblaze/shlib-versions: Move to ...
10437         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
10438         * sysdeps/mips/shlib-versions: Move to ...
10439         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
10440         entry from ...
10441         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
10442         * sysdeps/tile/shlib-versions: Move to ...
10443         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
10444         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
10445         from ...
10446         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
10447         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
10448         entry from ...
10449         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
10451 2014-07-17  Will Newton  <will.newton@linaro.org>
10453         * sysdeps/arm/bits/atomic.h
10454         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
10455         (__arch_compare_and_exchange_bool_16_int): Likewise.
10456         (__arch_compare_and_exchange_bool_64_int): Likewise.
10458         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
10459         into an #else block.
10461 2014-07-16  Roland McGrath  <roland@hack.frob.com>
10463         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
10464         just Linux configurations.  Test empirically that the compiler sets
10465         __ARM_EABI__, rather than using the tuple to decide.
10466         * sysdeps/arm/preconfigure: Regenerated.
10467         * sysdeps/unix/sysv/linux/arm/configure: File removed.
10468         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
10469         contents appended ...
10470         * sysdeps/arm/configure.ac: ... here.
10471         * sysdeps/arm/configure: Regenerated.
10473 2014-07-15  Roland McGrath  <roland@hack.frob.com>
10475         * nptl/pthread_kill.c: New file.
10476         * nptl/pthread_sigmask.c: New file.
10477         * nptl/pthread_sigqueue.c: New file.
10479         * sysdeps/nptl/lowlevellock.h: New file.
10480         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
10481         * sysdeps/nptl/lowlevellock-futex.h: New file.
10483         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
10484         Remove dead declarations.
10486 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
10488         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
10489         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
10490         config-cflags-avx2.
10491         * sysdeps/x86_64/configure.ac: Likewise.
10492         * sysdeps/i386/configure: Regenerated.
10493         * sysdeps/x86_64/configure: Likewise.
10494         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10495         memset-avx2 only if config-cflags-avx2 is yes.
10496         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10497         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
10498         defined.
10499         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
10500         only if HAVE_AVX2_SUPPORT is defined.
10501         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10503 2014-07-14  Alan Modra  <amodra@gmail.com>
10505         [BZ #17153]
10506         * elf/elf.h (DT_PPC64_NUM): Correct value.
10507         * NEWS: Add to fixed bug list.
10509 2014-07-13  Jim Meyering  <meyering@fb.com>
10511         [BZ 17150]
10512         regex: don't deref NULL upon heap allocation failure
10513         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
10514         failure in one more place.
10515         To trigger the segfault, configure grep -with-included-regex,
10516         build it, and run these commands:
10517         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
10519 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
10521         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10523 2014-07-11  Richard Henderson  <rth@redhat.com>
10525         * sysdeps/aarch64/libm-test-ulps: Update.
10527 2014-07-10  Florian Weimer  <fweimer@redhat.com>
10529         [BZ #17135]
10530         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
10531         * nptl/allocatestack.c (__nptl_setxid_error): New function.
10532         (__nptl_setxid): Initialize error member.  Call
10533         __nptl_setxid_error.
10534         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
10535         * nptl/descr.h (struct xid_command): Add error member.
10536         * nptl/tst-setuid3.c: New file.
10537         * nptl/Makefile (tests): Add it.
10539 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10541         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
10542         New define.
10543         (__lll_trylock): Use __lll_base_trylock.
10544         (__lll_cond_trylock): Likewise.
10546 2014-07-10  Roland McGrath  <roland@hack.frob.com>
10548         * nptl/pthread_create.c (start_thread): Use atomic_or and
10549         lll_futex_wake directly rather than lll_robust_dead.
10550         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10551         (lll_robust_dead): Macro removed.
10552         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
10553         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10554         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10555         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10556         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10557         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10558         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10559         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10560         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10561         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10562         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10563         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10564         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10565         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10566         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10568         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10569         Use atomic_compare_and_exchange_val_acq directly rather than
10570         lll_robust_trylock.
10571         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10572         (__lll_robust_trylock, lll_robust_trylock): Removed.
10573         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10574         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10575         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10576         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10577         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10578         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10579         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10580         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10581         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10582         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10583         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10584         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10585         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10586         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10588 2014-07-02  Florian Weimer  <fweimer@redhat.com>
10590         * manual/locale.texi (Locale Names): New section documenting
10591         locale name syntax.  Adjust menu and node chaining accordingly.
10592         (Choosing Locale): Reference Locale Names, Locale Categories.
10593         Mention setting LC_ALL=C.  Reflect that name syntax is now
10594         documented.
10595         (Locale Categories): New section title.  Reference Locale Names.
10596         LC_ALL is an environment variable, but not a category.
10597         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
10598         description, now in Locale Name.  Reference that section.  Locale
10599         name syntax is now documented.
10601 2014-07-02  Florian Weimer  <fweimer@redhat.com>
10603         [BZ #17137]
10604         * locale/findlocale.c (name_present, valid_locale_name): New
10605         functions.
10606         (_nl_find_locale): Use the loc_name variable to store name
10607         candidates.  Call name_present and valid_locale_name to check and
10608         validate locale names.  Return an error if the locale is invalid.
10610 2014-07-02  Florian Weimer  <fweimer@redhat.com>
10612         * locale/setlocale.c (setlocale): Use strdup for allocating
10613         composite name copy.
10615 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10617         Sync up with gnulib.
10618         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
10619         [!_LIBC && ENABLE_NLS]: Include gettext.h.
10620         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
10621         and _GL_ARG_NONNULL.
10622         [USE_UNLOCKED_IO]: Include unlocked-io.h.
10623         [!_LIBC]: Include code for Windows and Cygwin.
10624         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
10625         Include prototype for int strerror_r.
10626         [!_LIBC] (is_open): New function.
10627         (flush_stdout): New function.
10628         (print_errno_message): Use it.
10629         (error): Likewise.
10630         (error_at_line): Likewise.
10631         (error_tail) Add function attribute macros.  Use
10632         __builtin_expect.
10634         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
10636         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
10638         * io/ftw.c: Include sys/param.h unconditionally.
10640         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
10642         [BZ #17125]
10643         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
10644         libc_freeres_ptr.
10645         (freecache): New function to free CACHE on exit.
10647         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
10648         initialization.
10650 2014-07-09  David S. Miller  <davem@davemloft.net>
10652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10654         * sysdeps/sparc/nptl/internaltypes.h: Delete.
10655         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
10656         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
10657         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
10658         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
10659         * sysdeps/sparc/nptl/sem_init.c: Likewise.
10660         * sysdeps/sparc/nptl/sem_post.c: Likewise.
10661         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
10662         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
10663         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
10664         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
10665         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
10666         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
10668 2014-07-09  Andreas Schwab  <schwab@suse.de>
10670         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
10671         output.
10672         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
10673         (do_test): Likewise.
10675         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10677 2014-07-09  Will Newton  <will.newton@linaro.org>
10679         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
10680         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
10681         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
10682         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
10683         * sysdeps/hppa/start.S (_start): Likewise.
10685 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
10687         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
10689         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
10690         defined.
10692 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10694         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
10695         after checking that it is non-NULL.
10697         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
10699 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10701         * sysdeps/powerpc/memmove.c: Remove file.
10702         * sysdeps/powerpc/powerpc32/power4/memcopy.h
10703         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
10704         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
10705         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
10706         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
10707         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
10708         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
10709         string memmove instead of removed powerpc one.
10711         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10712         [weak_alias]: Fix compiler warning due trailing data.
10713         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
10714         [weak_alias]: Likewise.
10715         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
10716         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
10718         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10719         (__libc_ifunc_impl_list): Add memmove functions.
10721 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10723         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
10724         Remove code.
10725         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
10726         Likewise
10727         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
10728         Likewise
10729         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
10730         Likewise
10731         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
10732         Likewise
10733         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
10734         Likewise
10735         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
10736         Likewise
10737         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
10738         Likewise
10739         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
10740         Likewise
10741         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
10742         Likewise
10743         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
10744         Likewise
10745         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
10746         Likewise
10747         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
10748         Likewise
10749         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
10750         Likewise
10751         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
10752         Likewise
10753         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
10754         Likewise
10755         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
10756         Likewise
10758 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10760         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
10761         to avoid alignment traps in non-cacheable memory.
10762         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10764         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
10765         multiarch objects.
10766         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
10767         file: multiarch power7 memmove.
10768         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
10769         multiarch default memmove.
10770         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
10771         multiarch memove for powerpc32/power4.
10773         * string/bcopy.c: Use full path to include memmove.c.
10774         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
10775         multiarch objects.
10776         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
10777         bcopy for powerpc64.
10778         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
10779         bcopy for powerpc64.
10780         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
10781         and memmove implementations.
10782         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
10783         optimized multiarch memmove for POWER7/powerpc64.
10784         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
10785         default multiarch memmove for powerpc64.
10786         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
10787         multiarch for powerpc64.
10788         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
10789         for POWER7/powerpc64.
10790         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
10791         memmove for POWER7/powerpc64.
10793         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
10794         glibc default one.
10796         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
10797         __ELF_NATIVE_CLASS equal to 64.
10799 2014-07-07  Roland McGrath  <roland@hack.frob.com>
10801         * sysdeps/nptl/lowlevellock.h: File removed.
10803         * NEWS: NPTL is no longer an add-on!
10804         * nptl/internaltypes.h: Moved ...
10805         * sysdeps/nptl/internaltypes.h: ... here.
10806         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
10807         * sysdeps/nptl/fork.c: Likewise.
10808         * sysdeps/nptl/gai_misc.h: Likewise.
10809         * sysdeps/nptl/librt-cancellation.c: Likewise.
10810         * sysdeps/nptl/jmp-unwind.c: Likewise.
10811         * sysdeps/nptl/setxid.h: Likewise.
10812         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
10813         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
10814         * sysdeps/unix/sysv/linux/arm/Implies: New file.
10815         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
10816         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
10817         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
10818         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
10819         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
10820         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
10821         * sysdeps/unix/sysv/linux/mips/Implies: New file.
10822         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
10823         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
10824         * sysdeps/unix/sysv/linux/sh/Implies: New file.
10825         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
10826         * sysdeps/unix/sysv/linux/tile/Implies: New file.
10827         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
10828         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
10829         * nptl/Makeconfig: Moved ...
10830         * sysdeps/nptl/Makeconfig: ... here.
10831         * nptl/configure: File removed.
10832         * nptl/ANNOUNCE: File removed.
10833         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
10834         * sysdeps/unix/sysv/linux/configure: Regenerated.
10836         * nptl/Makefile (routines): Add libc_pthread_init,
10837         libc_multiple_threads, register-atfork and unregister-atfork.
10838         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
10839         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
10840         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
10841         pthread-pi-defines.sym, structsem.sym.
10842         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
10843         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
10844         [$(subdir) = nptl] (tests): Add tst-setgetname.
10845         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
10846         * sysdeps/unix/sysv/linux/sigaction.c: Just include
10847         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
10848         [!LIBC_SIGACTION]: Remove aliases.
10849         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10850         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10851         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10852         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
10853         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10854         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
10855         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10856         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10857         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10858         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
10859         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
10860         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
10861         __libc_allocate_rtsig_private.
10862         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
10863         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
10864         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
10865         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
10866         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
10867         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
10868         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
10869         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
10870         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
10871         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
10872         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
10873         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
10874         * nptl/internaltypes.h: ... here.
10875         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
10876         * sysdeps/nptl/jmp-unwind.c: ... here.
10877         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
10878         * nptl/libc-lowlevellock.c: ... here.
10879         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
10880         * nptl/libc_multiple_threads.c: ... here.
10881         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
10882         * nptl/libc_pthread_init.c: ... here.
10883         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
10884         * nptl/lowlevelbarrier.sym: ... here.
10885         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
10886         * nptl/lowlevelcond.sym: ... here.
10887         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
10888         * nptl/lowlevellock.c: ... here.
10889         * nptl/lowlevellock.h: Moved ...
10890         * sysdeps/nptl/lowlevellock.h: ... here.
10891         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
10892         * nptl/lowlevelrobustlock.c: ... here.
10893         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
10894         * nptl/lowlevelrobustlock.sym: ... here.
10895         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
10896         * nptl/lowlevelrwlock.sym: ... here.
10897         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
10898         * nptl/pt-fork.c: ... here.
10899         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
10900         * nptl/pthread-pi-defines.sym: ... here.
10901         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
10902         * nptl/pthread_attr_getaffinity.c: ... here.
10903         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
10904         * nptl/pthread_attr_setaffinity.c: ... here.
10905         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
10906         * nptl/pthread_mutex_cond_lock.c: ... here.
10907         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10908         Update #include.
10909         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
10910         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
10911         * nptl/pthread_once.c: ... here, replacing old file.
10912         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
10913         * nptl/pthread_yield.c: ... here.
10914         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
10915         * nptl/register-atfork.c: ... here.
10916         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
10917         * nptl/sem_post.c: ... here.
10918         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
10919         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
10920         * nptl/sem_timedwait.c: ... here.
10921         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
10922         * nptl/sem_trywait.c: ... here.
10923         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
10924         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
10925         * nptl/sem_wait.c: ... here.
10926         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
10927         * nptl/structsem.sym: ... here.
10928         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
10929         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
10930         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
10931         * nptl/unregister-atfork.c: ... here.
10932         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
10933         * nptl/unwindbuf.sym: ... here.
10934         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
10935         * sysdeps/nptl/fork.c: ... here.
10936         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
10937         * sysdeps/nptl/fork.h: ... here.
10938         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
10939         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
10940         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
10941         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
10942         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
10943         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
10944         * sysdeps/unix/sysv/linux/getpid.c: ... here.
10945         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
10946         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
10947         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
10948         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
10949         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
10950         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
10951         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
10952         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
10953         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
10954         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
10955         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
10956         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
10957         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
10958         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
10959         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
10960         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
10961         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
10962         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
10963         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
10964         * sysdeps/unix/sysv/linux/raise.c: ... here.
10965         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
10966         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
10967         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
10968         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
10969         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
10970         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
10971         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
10972         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
10973         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
10974         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
10975         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
10976         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
10977         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
10978         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
10979         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
10981 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10983         * sysdeps/generic/memcopy.h: Add comment for
10984         MEMCPY_OK_FOR_FWD_MEMMOVE.
10986 2014-07-04  Will Newton  <will.newton@linaro.org>
10988         * string/memchr.c: Merge from gnulib.
10989         [_LIBC]: Remove conditionals.
10990         (__ptr_t): Remove define.
10991         (LONG_MAX_32_BITS): Likewise.
10992         (LONG_MAX): Likewise.
10993         (MEMCHR): Use ANSI prototype and optimize algorithm.
10995         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
10997 2014-07-03  Roland McGrath  <roland@hack.frob.com>
10999         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
11000         (lll_futex_timed_wait_bitset): Fix syscall argument count.
11002         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
11003         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
11004         in a bare environment with no <stdlib.h> installed.
11005         * sysdeps/nptl/configure: Regenerated.
11007         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
11009         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
11010         AC_EGREP_CPP for kernel header checks, so they only succeed if
11011         including <linux/version.h> actually works right.
11012         * sysdeps/unix/sysv/linux/configure: Regenerated.
11014         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
11015         value so it's not diagnosed as unused.
11017         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
11018         thing) with "ifeq ($(subdir),rt)".
11020 2014-07-03  Richard Henderson  <rth@redhat.com>
11022         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
11023         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
11024         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
11026         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
11027         (math_force_eval): New.
11029         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
11030         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
11032         * sysdeps/alpha/fpu/s_round.c: Remove file.
11033         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
11035         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
11036         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
11037         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
11038         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
11039         (_dl_start, print_statistics): Likewise.
11040         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
11041         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
11043         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11044         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11045         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11046         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11047         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11048         (HP_SMALL_TIMING_AVAIL): Define.
11049         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11050         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11051         (HP_SMALL_TIMING_AVAIL): Define.
11052         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11053         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11055         * sysdeps/aarch64/hp-timing.h: New file.
11057         * sysdeps/generic/hp-timing.h: Remove dead comment.
11058         * sysdeps/generic/hp-timing-common.h: New file.
11059         * sysdeps/alpha/hp-timing.h: Include it.
11060         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
11061         * sysdeps/i386/i686/hp-timing.h: Likewise.
11062         * sysdeps/ia64/hp-timing.h: Likewise.
11063         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11064         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11065         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11066         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11067         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
11068         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
11069         (hp_timing_t): New.
11071         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
11072         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
11073         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
11074         * elf/rtld.c (_dl_start_final): Likewise.
11075         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
11076         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11077         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11078         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11079         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11080         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11081         (HP_TIMING_DIFF_INIT): Remove.
11082         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11083         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11084         (HP_TIMING_DIFF_INIT): Remove.
11085         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11086         * sysdeps/i386/i686/hp-timing.c: Remove file.
11087         * sysdeps/x86_64/hp-timing.c: Remove file.
11088         * sysdeps/ia64/hp-timing.c: Remove file.
11089         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
11090         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
11091         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
11092         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
11094         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
11095         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
11096         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
11097         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11098         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11099         (HP_TIMING_ACCUM): Remove.
11100         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11101         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
11102         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11104         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
11105         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
11106         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
11107         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
11108         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
11109         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11110         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
11111         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11113         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
11115 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
11117         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
11119 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11121         Sync up with gettext.
11122         * intl/loadmsgcat.c: Define O_BINARY if not defined.
11123         [_MSC_VER]: Include malloc.h
11124         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
11125         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
11126         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
11127         TEMP_FAILURE_RETRY.  Cast return of alloca.
11128         [!_LIBC] Call gl_rwlock_init.
11129         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
11131 2014-07-02  Roland McGrath  <roland@hack.frob.com>
11133         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
11134         before checking its value.
11136 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11138         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
11140         * debug/memcpy_chk.c: Don't include pagecopy.h.
11141         * debug/mempcpy_chk.c: Likewise.
11142         * string/memcpy.c: Likewise.
11143         * string/memmove.c: Likewise.
11144         * sysdeps/powerpc/memmove.c: Likewise.
11145         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
11146         definition of PAGE_COPY_FWD_MAYBE here...
11147         * sysdeps/generic/pagecopy.h: ... from here.
11148         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
11150 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11151             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11153         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
11154         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
11155         optimizations.
11156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11157         (__libc_ifunc_impl_list): Likewise.
11158         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
11159         multiarch strcat for PPC64.
11160         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
11161         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
11163 2014-07-02  Roland McGrath  <roland@hack.frob.com>
11165         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
11167 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11169         * intl/loadmsgcat.c: Remove declaration of
11170         get_sysdep_segment_value.
11171         (get_sysdep_segment_value): Use ISO C style.
11172         (_nl_load_domain): Use ISO C style.  Get rid of redundant
11173         semicolon.  Fix typo and formatting in comment.
11174         (_nl_unload_domain): Use ISO C style.
11176         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
11178 2014-07-02  Will Newton  <will.newton@linaro.org>
11180         * malloc/obstack.c: Merge from gnulib master.
11181         [HAVE_CONFIG_H]: Remove conditional code.
11182         [!_LIBC]: Include config.h.
11183         [!ELIDE_CODE]: Don't include inttypes.h, include
11184         stdint.h unconditionally.
11185         (print_and_abort): Mark as _Noreturn.
11186         (_obstack_allocated_p): Mark as __attribute_pure__.
11187         (obstack_free): Rename to __obstack_free.
11188         [!__attribute__]: Remove conditional code.
11189         * malloc/obstack.h: Merge from gnulib master.
11190         [__cplusplus]: Move conditional down.
11191         [!__attribute_pure__]: Define __attribute_pure__ here
11192         if it is not already defined.
11193         (_obstack_memory_used): Mark as __attribute_pure__.
11194         [!__obstack_free]: Define as obstack_free.
11195         [__GNUC__]: Remove check for ancient NeXT gcc.
11197 2014-07-02  Will Newton  <will.newton@linaro.org>
11198             Paul Eggert  <eggert@cs.ucla.edu>
11200         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
11202 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11204         * resolv/gethnamaddr.c: Add comment warning that the file is
11205         not maintained.
11207 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
11209         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
11210         entries.
11212         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
11213         entry for aio_cancel and aio_cancel64.
11214         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
11215         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
11216         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
11217         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
11218         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
11219         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
11220         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
11221         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
11222         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
11223         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
11224         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
11225         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
11226         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
11228 2014-07-01  Roland McGrath  <roland@hack.frob.com>
11230         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
11231         * nptl/pthread_mutex_lock.c: Likewise.
11232         * nptl/pthread_mutex_timedlock.c: Likewise.
11233         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
11235 2014-07-01  Richard henderson  <rth@redhat.com>
11237         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
11238         (__isnan, __isnanl): Remove.
11239         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
11241         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11243 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
11245         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11247 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11249         * resolv/nss_dns/dns-host.c (getanswer_r)
11250         [MULTI_PTRS_ARE_ALIASES]: Remove code.
11252 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
11254         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11255         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
11256         undefine.
11257         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
11258         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
11260 2014-07-01  Roland McGrath <roland@hack.frob.com>
11262         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
11263         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
11265         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
11266         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
11268         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
11269         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
11270         ... here.
11271         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
11272         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
11274         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
11275         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
11276         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
11277         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
11279         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
11280         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
11281         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
11282         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
11283         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
11284         Moved ...
11285         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
11286         ... here.
11287         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
11288         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
11289         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
11290         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
11291         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
11292         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
11293         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
11294         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
11295         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
11296         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
11297         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
11298         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
11299         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
11300         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
11301         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
11302         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
11303         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
11304         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
11305         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
11306         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
11307         ... here.
11308         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
11309         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
11310         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
11311         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
11312         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
11313         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
11314         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
11315         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
11317 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
11319         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
11320         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
11321         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
11322         Add sysdep.
11324 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11328 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
11330         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11331         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11333         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11335         * sysdeps/arm/libm-test-ulps: Regenerated.
11337 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
11338             Roland McGrath <roland@hack.frob.com>
11340         * test-skeleton.c (signal_handler): Kill the whole process group
11341         before killing the child individually.
11342         (main): Report any failure on `setpgid'.
11344 2014-06-30  Roland McGrath  <roland@hack.frob.com>
11346         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
11347         from _TLS_H to _ARM_NPTL_TLS_H.
11348         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
11349         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
11351 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
11353         [BZ #16539]
11354         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
11355         (__expm1l): Return argument unchanged when small but not
11356         subnormal.
11358         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
11359         include macro name.
11360         (_FP_UNPACK_RAW_1_P): Likewise.
11361         (_FP_PACK_RAW_1): Likewise.
11362         (_FP_PACK_RAW_1_P): Likewise.
11363         (_FP_MUL_MEAT_1_wide): Likewise.
11364         (_FP_MUL_MEAT_DW_1_hard): Likewise.
11365         (_FP_MUL_MEAT_1_hard): Likewise.
11366         (_FP_DIV_MEAT_1_imm): Likewise.
11367         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
11368         (_FP_DIV_MEAT_1_udiv): Likewise.
11369         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
11370         (_FP_UNPACK_RAW_2): Likewise.
11371         (_FP_UNPACK_RAW_2_P): Likewise.
11372         (_FP_PACK_RAW_2): Likewise.
11373         (_FP_PACK_RAW_2_P): Likewise.
11374         (_FP_MUL_MEAT_DW_2_wide): Likewise.
11375         (_FP_MUL_MEAT_2_wide): Likewise.
11376         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
11377         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11378         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
11379         (_FP_MUL_MEAT_2_gmp): Likewise.
11380         (_FP_DIV_MEAT_2_udiv): Likewise.
11381         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
11382         (_FP_FRAC_SRL_4): Likewise.
11383         (_FP_FRAC_SRST_4): Likewise.
11384         (_FP_FRAC_SRS_4): Likewise.
11385         (_FP_UNPACK_RAW_4): Likewise.
11386         (_FP_UNPACK_RAW_4_P): Likewise.
11387         (_FP_PACK_RAW_4): Likewise.
11388         (_FP_PACK_RAW_4_P): Likewise.
11389         (_FP_MUL_MEAT_DW_4_wide): Likewise.
11390         (_FP_MUL_MEAT_4_wide): Likewise.
11391         (_FP_MUL_MEAT_4_gmp): Likewise.
11392         (umul_ppppmnnn): Likewise.
11393         (_FP_DIV_MEAT_4_udiv): Likewise.
11394         (__FP_FRAC_ADD_4): Likewise.
11395         (__FP_FRAC_SUB_3): Likewise.
11396         (__FP_FRAC_SUB_4): Likewise.
11397         (__FP_FRAC_DEC_3): Likewise.
11398         (__FP_FRAC_DEC_4): Likewise.
11399         (__FP_FRAC_ADDI_4): Likewise.
11400         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
11401         (_FP_FRAC_SRL_8): Likewise.
11402         (_FP_FRAC_SRS_8): Likewise.
11404         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
11405         include macro name.
11406         (FP_UNPACK_RAW_EP): Likewise.
11407         (FP_PACK_RAW_E): Likewise.
11408         (FP_PACK_RAW_EP): Likewise.
11409         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
11410         (_FP_ISSIGNAN): Likewise.
11411         (_FP_ADD_INTERNAL): Likewise.
11412         (_FP_FMA): Likewise.
11413         (_FP_CMP): Likewise.
11414         (_FP_SQRT): Likewise.
11415         (_FP_TO_INT): Likewise.
11416         (_FP_FROM_INT): Likewise.
11417         (FP_EXTEND): Likewise.
11418         (_FP_DIV_MEAT_N_loop): Likewise.
11420 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
11422         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
11423         throughout.
11425 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
11427         [BZ #17097]
11428         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
11429         result with correct sign in case of exponents that produce
11430         overflow except for X very close to 1.
11432 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
11434         mktime: merge #if/#ifdef usage from glibc
11435         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
11436         as that works with both Glibc's and Gnulib's style.
11437         See thread starting at Siddhesh Poyarekar's bug report at:
11438         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
11440 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11442         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
11443         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
11444         * sysdeps/tile/tilegx/memmove.c: Remove file.
11446 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
11448         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
11449         abi-name definition.
11450         * scripts/soversions.awk: Do not handle or generate ABI lines.
11451         * shlib-versions: Remove ABI entries.
11452         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
11453         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
11455 2014-06-27  Roland McGrath  <roland@hack.frob.com>
11457         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
11458         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
11459         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
11460         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
11461         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
11462         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
11463         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
11464         Moved ...
11465         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11466         ... here.
11467         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
11468         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
11469         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
11470         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
11471         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
11472         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
11473         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
11474         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
11475         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
11476         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
11477         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
11478         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
11479         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
11480         Moved ...
11481         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
11482         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
11483         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
11484         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
11485         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
11486         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
11487         Moved ...
11488         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
11489         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
11490         Moved ...
11491         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
11492         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
11493         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
11494         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
11495         Moved ...
11496         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
11497         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
11498         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
11499         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
11500         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
11501         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
11502         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
11503         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
11504         Moved ...
11505         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
11506         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
11507         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
11508         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
11509         Moved ...
11510         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
11511         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
11512         Moved ...
11513         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
11514         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
11515         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
11516         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
11517         Moved ...
11518         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11519         ... here.
11520         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
11521         Identical file removed.
11522         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
11523         Moved ...
11524         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
11525         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
11526         Identical file removed.
11527         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
11528         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
11529         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
11530         Moved ...
11531         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
11532         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
11533         Identical file removed.
11534         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
11535         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
11536         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
11537         Identical file removed.
11538         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
11539         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
11540         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
11541         Identical file removed.
11542         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
11543         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
11544         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
11545         Identical file removed.
11546         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
11547         Moved ...
11548         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
11549         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
11550         Identical file removed.
11551         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
11552         Moved ...
11553         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
11554         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
11555         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
11556         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
11557         Identical file removed.
11558         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
11559         Moved ...
11560         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
11561         ... here.
11562         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
11563         Identical file removed.
11564         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
11565         Moved ...
11566         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
11567         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
11568         Identical file removed.
11569         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
11570         Moved ...
11571         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
11572         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
11573         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
11574         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
11575         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
11576         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
11577         Moved ...
11578         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
11579         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
11580         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
11582         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
11583         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
11584         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
11585         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
11586         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
11588 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
11590         [BZ #17092]
11591         * nscd/nscd.c (monitor_child): Return exit status of child
11592         instead of return value from wait syscall.
11594 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
11596         * configure.ac (libc_commonpagesize): Remove variable.
11597         (libc_relro_required): Likewise.
11598         (libc_cv_z_relro): Remove configure test.
11599         * configure: Regenerated.
11600         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
11601         variable.
11602         (libc_relro_required): Likewise.
11603         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
11604         (libc_relro_required): Likewise.
11605         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
11606         (libc_relro_required): Likewise.
11607         * sysdeps/arm/preconfigure: Regenerated.
11608         * sysdeps/ia64/preconfigure: Remove file.
11609         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
11610         variable.
11611         (libc_relro_required): Likewise.
11613         [BZ #16561]
11614         [BZ #16562]
11615         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
11616         (__ieee754_yn): Set FE_TONEAREST mode internally and then
11617         recompute overflowing results in original rounding mode.
11618         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
11619         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
11620         recompute overflowing results in original rounding mode.
11621         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
11622         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11623         recompute overflowing results in original rounding mode.
11624         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
11625         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11626         recompute overflowing results in original rounding mode.
11627         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
11628         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11629         recompute overflowing results in original rounding mode.
11630         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
11631         (libc_feholdsetround_ctx): New macro.
11632         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
11633         * sysdeps/i386/fpu/libm-test-ulps: Update.
11634         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
11636 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
11638         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
11639         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
11640         corresponding .cpsetup call.
11642 2014-06-26  Roland McGrath  <roland@hack.frob.com>
11644         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
11645         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
11646         * sysdeps/arm/Makefile [$(subdir) = csu]
11647         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
11648         (static-only-routines): Add aeabi_read_tp here.
11649         (shared-only-routines): Add libc-aeabi_read_tp here.
11650         (CFLAGS-libc-start.c): Add -fexceptions here.
11651         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
11652         (sysdep_routines, static-only-routines, shared-only-routines):
11653         Don't add to these here.
11654         (CFLAGS-libc-start.c): Likewise.
11656         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
11657         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11658         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
11659         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11660         * sysdeps/arm/Makefile [$(subdir) = rt]
11661         (librt-sysdep_routines, librt-shared-only-routines):
11662         Append rt-aeabi_unwind_cpp_pr1 here.
11663         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
11664         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
11665         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
11666         (libpthread-sysdep_routines, libpthread-shared-only-routines):
11667         Append nptl-aeabi_unwind_cpp_pr1 here.
11668         (tests): Filter out tst-cleanupx4 here.
11669         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
11670         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
11671         Don't do those here.
11673 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
11675         * scripts/list-sources.sh: Do not handle ports specially.
11677 2014-06-26  Roland McGrath  <roland@hack.frob.com>
11679         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
11680         * sysdeps/arm/feupdateenv.c: Likewise.
11682         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
11684 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
11686         * manual/texinfo.tex: Update to version 2014-05-05.10 with
11687         trailing whitespace removed.
11688         * scripts/config.guess: Update to version 2014-03-23.
11689         * scripts/config.sub: Update to version 2014-05-01
11690         * scripts/install-sh: Update to version 2013-12-25.23.
11691         * scripts/move-if-change: Update from gnulib.
11693 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11695         * debug/memmove_chk.c: Remove pagecopy.h include.
11697 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
11699         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
11700         identical to gnulib mktime.
11702 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
11704         * configure.ac: Do not test for machine being rs6000.  Do not test
11705         for powerpc*-*soft.
11706         * configure: Regenerated.
11708         [BZ #11505]
11709         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
11710         test.
11711         * configure: Regenerated.
11712         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
11713         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
11714         Remove configure test.
11715         * sysdeps/arm/configure: Regenerated.
11716         * sysdeps/nptl/configure.ac: Do not check
11717         libc_cv_asm_cfi_directives.
11718         * sysdeps/nptl/configure: Regenerated.
11719         * sysdeps/x86_64/nptl/configure.ac: Remove file.
11720         * sysdeps/x86_64/nptl/configure: Remove generated file.
11721         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
11722         unconditional.
11723         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
11725 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11727         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
11728         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
11729         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
11730         it is defined.
11732         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
11733         instead of whether it is defined.
11734         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
11735         * sysdeps/hppa/dl-machine.h: Likewise.
11736         * sysdeps/ia64/dl-machine.h: Likewise.
11737         * sysdeps/m68k/dl-machine.h: Likewise.
11738         * sysdeps/microblaze/dl-machine.h: Likewise.
11739         * sysdeps/mips/dl-machine.: Likewise.
11740         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11741         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11742         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11743         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11744         * sysdeps/sh/dl-machine.h: Likewise.
11745         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11746         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11747         * sysdeps/tile/dl-machine.h: Likewise.
11748         * sysdeps/x86_64/dl-machine.h: Likewise.
11750         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
11751         code.
11752         (verify_persistent_db): Likewise.
11754 2014-06-26  Roland McGrath  <roland@hack.frob.com>
11756         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
11757         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
11758         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
11759         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
11760         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11761         Moved ...
11762         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11763         ... here.
11764         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
11765         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
11766         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
11767         Identical file removed.
11768         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
11769         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
11770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
11771         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
11772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
11773         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
11774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
11775         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
11776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
11777         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
11778         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11779         Moved ...
11780         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
11781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
11782         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
11783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
11784         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
11785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11786         Moved ...
11787         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
11788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
11789         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
11790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
11791         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
11792         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11793         Identical file removed.
11794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
11795         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
11796         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
11797         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
11798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11799         Moved ...
11800         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11801         ... here.
11802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
11803         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
11804         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
11805         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
11806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
11807         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
11808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
11809         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
11810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
11811         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
11812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11813         Moved ...
11814         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
11815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
11816         Moved ...
11817         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
11818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
11819         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
11820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11821         Moved ...
11822         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
11823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
11824         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
11826         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
11827         folded into ...
11828         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
11829         * sysdeps/unix/sysv/linux/s390/Versions
11830         (libpthread: GLIBC_2.19): New version set.
11831         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
11832         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
11833         (librt: GLIBC_2.3.3): New version set.
11834         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
11835         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
11836         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
11837         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
11838         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
11839         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
11840         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
11841         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
11842         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
11843         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
11844         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
11845         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
11846         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
11847         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
11848         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
11849         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
11850         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
11851         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
11852         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
11853         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
11854         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
11855         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
11856         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
11857         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
11858         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
11859         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
11860         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
11861         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
11862         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
11863         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
11864         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
11865         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
11866         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
11867         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
11868         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
11869         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
11870         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
11871         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
11872         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
11873         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
11874         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
11875         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
11876         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
11877         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
11878         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
11880         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
11881         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
11882         (__libc_vfork): Define the function under this name.
11883         [!NOT_IN_libc] (__vfork): Make this an alias.
11884         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
11885         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
11886         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
11887         (__libc_vfork): Define the function under this name.
11888         [!NOT_IN_libc] (__vfork): Make this an alias.
11889         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
11890         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
11891         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
11892         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
11893         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
11894         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11896         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
11897         code that was previously under [RESET_PID].
11898         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
11899         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
11900         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
11902         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
11903         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
11904         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
11905         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
11906         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
11907         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
11908         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
11909         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
11910         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
11911         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
11912         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
11913         Moved ...
11914         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
11915         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
11916         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
11917         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
11918         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
11919         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
11920         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
11921         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
11922         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
11923         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
11924         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
11925         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
11926         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
11927         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
11928         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
11929         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
11930         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
11931         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
11932         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
11933         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
11934         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
11935         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
11936         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
11937         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
11938         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
11939         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
11940         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
11941         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
11942         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
11944 2014-06-25  Roland McGrath  <roland@hack.frob.com>
11946         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
11947         that was previously under [RESET_PID].
11948         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
11950 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
11952         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
11953         not undefine and redefine.
11954         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
11955         [O_CLOEXEC]: Make code unconditional.
11956         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
11957         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
11958         <kernel-features.h>.
11959         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
11960         conditional variable definition.
11961         (shm_open) [O_CLOEXEC]: Make code unconditional.
11962         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
11963         code.
11965         * configure.ac (USE_REGPARMS): Don't define here.
11966         * configure: Regenerated.
11967         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
11968         * sysdeps/i386/configure: Regenerated.
11970         * nptl/createthread.c: Don't include kernel-features.h.
11971         * nptl/pthread_cancel.c: Likewise.
11972         * nptl/pthread_condattr_setclock.c: Likewise.
11973         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
11974         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
11975         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
11976         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
11977         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
11978         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
11979         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11980         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
11981         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11982         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
11983         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
11984         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
11985         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
11986         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
11987         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
11988         * nscd/gai.c: Likewise.
11989         * nss/nss_db/db-open.c: Likewise.
11990         * sysdeps/generic/ldsodefs.h: Likewise.
11991         * sysdeps/sh/nptl/tls.h: Likewise.
11992         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11993         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
11994         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
11995         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
11996         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
11997         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11998         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
11999         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12000         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12001         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12002         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12003         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12004         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
12005         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
12006         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
12007         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
12008         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
12009         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
12010         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
12011         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
12012         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12013         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12014         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
12015         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12016         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12017         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12018         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
12019         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
12020         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12021         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
12022         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
12023         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
12024         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
12025         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12026         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12027         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12028         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12029         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
12030         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
12031         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12032         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12033         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
12034         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
12035         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12036         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12037         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
12038         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
12039         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
12040         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
12041         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12042         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12043         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12044         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12045         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12046         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
12047         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12048         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12049         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
12050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
12052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
12053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
12054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
12055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
12062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
12063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
12064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
12070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
12071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12072         * sysdeps/unix/sysv/linux/pread.c: Likewise.
12073         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
12074         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
12075         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
12076         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
12077         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
12078         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
12079         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
12080         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
12081         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12082         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12083         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12084         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
12085         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
12086         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
12087         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
12088         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12089         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
12090         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
12091         * sysdeps/unix/sysv/linux/system.c: Likewise.
12092         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
12093         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12094         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12095         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12096         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12097         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12098         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12100         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
12101         * configure: Regenerated.
12102         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
12104         * configure.ac (base_machine): Do not set specially for particular
12105         machines here.
12106         * configure: Regenerated.
12107         * sysdeps/powerpc/preconfigure: Move machine and base_machine
12108         settings from configure.ac.
12109         * sysdeps/i386/preconfigure: New file.
12110         * sysdeps/s390/preconfigure: Likewise.
12111         * sysdeps/sh/preconfigure: Likewise.
12112         * sysdeps/sparc/preconfigure: Likewise.
12114 2014-06-25  Roland McGrath  <roland@hack.frob.com>
12116         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
12117         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
12118         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
12119         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
12120         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
12121         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
12122         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
12123         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
12124         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
12125         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
12126         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
12127         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
12128         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
12129         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
12130         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
12131         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
12132         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
12133         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
12134         * sysdeps/sparc/sparc64/Makefile: ... appended here.
12136         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
12137         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
12138         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
12139         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
12140         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
12141         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
12142         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
12143         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
12144         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
12145         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
12146         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
12147         * sysdeps/sparc/sparc32/sem_post.c: ... here.
12148         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
12149         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
12150         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
12151         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
12152         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
12153         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
12154         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
12155         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
12156         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
12157         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
12158         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
12159         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
12160         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
12161         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
12162         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
12163         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
12164         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
12165         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
12166         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
12167         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
12168         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
12169         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
12170         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
12171         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
12172         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
12173         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
12175         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
12176         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
12177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
12178         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
12179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12180         Moved ...
12181         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12182         ... here.
12183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
12184         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
12185         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
12186         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
12187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
12188         Moved ...
12189         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
12190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
12191         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
12192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
12193         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
12194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
12195         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
12196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12197         Moved ...
12198         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
12199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12200         Moved ...
12201         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
12202         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
12203         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
12204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12205         Moved ...
12206         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
12207         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
12208         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
12209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
12210         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
12211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
12212         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
12213         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
12214         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
12215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12216         Moved ...
12217         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12218         ... here.
12219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
12220         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
12221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
12222         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
12223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
12224         Moved ...
12225         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
12226         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
12227         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
12228         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
12229         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
12230         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
12231         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
12232         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12233         Moved ...
12234         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
12235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12236         Moved ...
12237         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
12238         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
12239         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
12240         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12241         Moved ...
12242         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
12243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
12244         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
12245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
12246         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
12248 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
12250         * timezone/checktab.awk: Update from tzcode 2014e.
12251         * timezone/private.h: Likewise.
12252         * timezone/tzfile.h: Likewise.
12253         * timezone/zdump.c: Likewise.
12254         * timezone/zic.c: Likewise.
12256         * sysdeps/unix/sysv/linux/kernel-features.h
12257         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
12258         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
12259         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
12260         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12261         Remove conditional code.
12263 2014-06-25  Will Newton  <will.newton@linaro.org>
12265         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
12266         (_dl_arm_cap_flags): Add HWCAP2 values.
12267         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
12268         (_DL_HWCAP_COUNT): Increase to 37.
12269         (_DL_HWCAP_LAST): New define.
12270         (_DL_HWCAP2_LAST): New define.
12271         (_dl_procinfo): Add support for printing
12272         AT_HWCAP2 entries.
12273         (_dl_string_hwcap): Use _dl_hwcap_string.
12275 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12279 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
12281         * README: Do not mention ports directory.
12283         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
12284         Remove macro.
12285         * sysdeps/unix/sysv/linux/futimes.c: Do not include
12286         <kernel-features.h>.
12287         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
12288         conditional variable definition.
12289         (__futimes): Update comment.
12290         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
12291         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
12293         [BZ #16560]
12294         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
12295         arguments close to 0.
12296         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
12297         Likewise.
12298         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
12299         Likewise.
12300         * math/auto-libm-test-in: Add more tests of exp10.
12301         * math/auto-libm-test-out: Regenerated.
12302         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12304         * sysdeps/unix/sysv/linux/kernel-features.h
12305         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
12306         * sysdeps/unix/sysv/linux/readv.c: Do not include
12307         <kernel-features.h>.
12308         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12309         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12310         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12311         unconditional.
12312         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12313         conditional code.
12314         * sysdeps/unix/sysv/linux/writev.c: Do not include
12315         <kernel-features.h>.
12316         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12317         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12318         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12319         unconditional.
12320         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12321         conditional code.
12323 2014-06-25  Will Newton  <will.newton@linaro.org>
12325         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
12326         comment changes throughout the file.  Remove checks
12327         for HAVE_*_H definitions that are not required.
12328         (__gen_tempname): Call abort if an unknown kind value is
12329         passed.
12331 2014-06-25  Andreas Schwab  <schwab@suse.de>
12333         [BZ #17086]
12334         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
12335         scalbln, scalblnf, scalblnl in libc.
12337 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12339         [BZ #17086]
12340         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
12341         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12342         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12344 2014-06-24  Roland McGrath  <roland@hack.frob.com>
12346         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
12347         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
12348         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
12349         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
12350         Update #include.
12351         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
12352         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
12353         Update #include.
12354         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
12355         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
12356         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
12357         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
12358         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
12359         * sysdeps/x86/bits/pthreadtypes.h: ... here.
12360         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
12361         * sysdeps/x86/bits/semaphore.h: ... here.
12362         * sysdeps/x86/nptl/elide.h: Moved ...
12363         * sysdeps/x86/elide.h: ... here.
12364         * sysdeps/x86_64/nptl/Implies: File removed.
12365         * sysdeps/i386/nptl/Implies: File removed.
12367 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
12369         [BZ #16539]
12370         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
12371         return the argument for normal arguments with exponent below -64.
12372         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12373         Likewise.
12374         * math/auto-libm-test-in: Add another test of expm1.
12375         * math/auto-libm-test-out: Regenerated.
12377         [BZ #16287]
12378         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
12379         calling __erfcl for arguments at least 16.
12380         * math/auto-libm-test-in: Add more tests of erf.
12381         * math/auto-libm-test-out: Regenerated.
12383         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
12384         individual architectures.
12385         * sysdeps/unix/sysv/linux/configure: Regenerated.
12386         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
12387         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
12388         * sysdeps/unix/sysv/linux/powerpc/configure.ac
12389         (ldd_rewrite_script): Define variable.
12390         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
12392         file.
12393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
12394         generated file.
12395         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
12396         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
12397         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
12398         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
12399         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
12400         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
12401         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
12402         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
12404 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12406         [BZ #17084]
12407         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
12408         Rename member __data.d to __data.__elision_data.
12410 2014-06-24  Wilco  <wdijkstr@arm.com>
12412         * NEWS: Add 16918 to fixed bug list.
12414 2014-06-24  Wilco  <wdijkstr@arm.com>
12416         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
12418 2014-06-24  Wilco  <wdijkstr@arm.com>
12420         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
12421         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
12422         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
12423         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
12424         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
12425         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
12426         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
12427         Use _FPU_MASK_RM.
12429 2014-06-24  Wilco  <wdijkstr@arm.com>
12431         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
12433 2014-06-24  Wilco  <wdijkstr@arm.com>
12435         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
12436         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
12437         * sysdeps/arm/fesetround.c (fesetround): Remove space.
12438         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
12440 2014-06-24  Wilco  <wdijkstr@arm.com>
12442         [BZ #16918]
12443         * sysdeps/arm/feupdateenv.c (feupdateenv):
12444         Rewrite to reduce FPSCR accesses and fix return value.
12446 2014-06-24  Wilco  <wdijkstr@arm.com>
12448         * sysdeps/arm/fclrexcpt.c (feclearexcept):
12449         Optimize to avoid unnecessary FPSCR writes.
12450         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
12451         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
12452         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
12453         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
12455 2014-06-24  Wilco  <wdijkstr@arm.com>
12457         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
12458         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
12459         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
12460         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
12461         Call libc_fetestexcept_vfp.
12462         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
12463         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
12464         __SOFTFP__ ifdef so that they can be built for softfp.
12466 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12468         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
12469         argument type signed char.
12471         * Makerules (check-abi): Dump diff of symlist if the test
12472         fails.
12474 2014-06-23  Roland McGrath  <roland@hack.frob.com>
12476         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
12477         using abort.
12479         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12480         Remove unused variable ST.
12482 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
12484         [BZ #16354]
12485         [BZ #17061]
12486         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
12487         small arguments before calling __expm1.
12488         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
12489         small arguments before calling __expm1f.
12490         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
12491         small arguments before calling __expm1l.
12492         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12493         Likewise.
12494         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
12495         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
12496         spurious underflow for some cosh tests.
12497         * math/auto-libm-test-out: Regenerated.
12498         * sysdeps/i386/fpu/libm-test-ulps: Update.
12500         [BZ #17050]
12501         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
12502         (__ieee754_y1): Set errno if return value overflows.
12503         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
12504         (__ieee754_y1f): Set errno if return value overflows.
12505         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
12506         (__ieee754_y1l): Set errno if return value overflows.
12507         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
12508         (__ieee754_y1l): Set errno if return value overflows.
12509         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
12510         * math/auto-libm-test-out: Regenerated.
12512         * math/gen-auto-libm-tests.c: Document use of
12513         ignore-zero-inf-sign.
12514         (input_flag_type): Add value flag_ignore_zero_inf_sign.
12515         (input_flags): Add ignore-zero-inf-sign.
12516         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
12517         * math/gen-libm-test.pl (generate_testfile): Handle
12518         ignore-zero-inf-sign.
12519         * math/auto-libm-test-in: Mark some cpow tests with
12520         ignore-zero-inf-sign and some with xfail-rounding.
12521         * math/auto-libm-test-out: Regenerated.
12522         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
12523         * sysdeps/i386/fpu/libm-test-ulps: Update.
12524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12526         [BZ #16315]
12527         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
12528         overflowing or underflowing operations take place with sign of
12529         result.
12530         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12531         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12532         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
12533         (__ieee754_pow): Recompute overflowing and underflowing results in
12534         original rounding mode.
12535         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
12536         (__powl_helper): Allow negative argument X and scale negated value
12537         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
12538         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
12539         overflowing or underflowing operations take place with sign of
12540         result.
12541         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
12542         Include <math.h>.
12543         * math/auto-libm-test-in: Add more tests of pow.
12544         * math/auto-libm-test-out: Regenerated.
12545         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
12546         (pow_tonearest_test_data): Remove.
12547         (pow_test_tonearest): Likewise.
12548         (pow_towardzero_test_data): Likewise.
12549         (pow_test_towardzero): Likewise.
12550         (pow_downward_test_data): Likewise.
12551         (pow_test_downward): Likewise.
12552         (pow_upward_test_data): Likewise.
12553         (pow_test_upward): Likewise.
12554         (main): Don't call removed functions.
12555         * sysdeps/i386/fpu/libm-test-ulps: Update.
12556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12558 2014-06-23  Roland McGrath  <roland@hack.frob.com>
12560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
12561         Moved ...
12562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
12563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12564         Moved ...
12565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
12566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12567         Moved ...
12568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
12569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12570         Moved ...
12571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
12572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12573         File removed.
12574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12575         File removed.
12576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
12577         File removed.
12578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
12579         File removed.
12580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
12581         File removed.
12582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
12583         File removed.
12584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
12585         File removed.
12586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12587         File removed.
12588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
12589         File removed.
12590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12591         File removed.
12592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
12593         File removed.
12594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
12595         File removed.
12596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
12597         Moved ...
12598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
12599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
12600         Moved ...
12601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12602         ... here.
12603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
12604         Moved ...
12605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
12606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
12607         Moved ...
12608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
12609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
12610         Moved ...
12611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
12612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
12613         Moved ...
12614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
12615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
12616         Moved ...
12617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
12618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
12619         Moved ...
12620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
12621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
12622         Moved ...
12623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
12624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
12625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12626         ... here.
12627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
12628         Moved ...
12629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
12630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12631         Moved ...
12632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12633         ... here.
12634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
12635         Moved ...
12636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12637         ... here.
12638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12639         Moved ...
12640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12641         ... here.
12642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12643         Moved ...
12644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
12645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12646         Moved ...
12647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
12648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
12649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
12650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12651         Moved ...
12652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12653         ... here.
12654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12655         Moved ...
12656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12657         ... here.
12658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12659         Moved ...
12660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
12661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12662         Moved ...
12663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
12664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12665         Moved ...
12666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
12667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12668         Moved ...
12669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
12670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12671         Moved ...
12672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12673         ... here.
12674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12675         Moved ...
12676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
12677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12678         Moved ...
12679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
12680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12681         Moved ...
12682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
12683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12684         Moved ...
12685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
12686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
12687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
12688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12689         Moved ...
12690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
12691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12692         Moved ...
12693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
12694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12695         Moved ...
12696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12697         ... here.
12698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12699         Moved ...
12700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12701         ... here.
12702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12703         Moved ...
12704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12705         ... here.
12706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12707         Moved ...
12708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
12709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12710         Moved ...
12711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
12712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12713         Moved ...
12714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
12715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12716         Moved ...
12717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12718         ... here.
12719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12720         Moved ...
12721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12722         ... here.
12723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12724         Moved ...
12725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12726         ... here.
12727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12728         Moved ...
12729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
12730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
12731         Moved ...
12732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
12734 2014-06-23  Will Newton  <will.newton@linaro.org>
12735             Wilco  <wdijkstr@arm.com>
12737         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
12738         implementation.  Include get-rounding-mode.h.
12739         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
12740         [!libc_feholdsetround_noex_ctx]: Define
12741         libc_feholdsetround_noex_ctx.
12742         [!libc_feholdsetround_noexf_ctx]: Define
12743         libc_feholdsetround_noexf_ctx.
12744         [!libc_feholdsetround_noexl_ctx]: Define
12745         libc_feholdsetround_noexl_ctx.
12746         (libc_feholdsetround_ctx): New function.
12747         (libc_feresetround_ctx): New function.
12748         (libc_feholdsetround_noex_ctx): New function.
12749         (libc_feresetround_noex_ctx): New function.
12751 2014-06-23  Roland McGrath  <roland@hack.frob.com>
12753         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
12754         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
12755         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
12756         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
12757         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
12758         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
12760         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
12761         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
12762         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
12763         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
12764         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
12765         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
12766         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
12767         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
12768         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
12769         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
12770         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
12771         Moved ...
12772         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12773         ... here.
12774         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
12775         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
12776         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
12777         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
12778         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
12779         Moved ...
12780         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
12781         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
12782         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
12783         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
12784         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
12785         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
12786         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
12787         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
12788         Moved ...
12789         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
12790         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
12791         Moved ...
12792         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
12793         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
12794         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
12795         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
12796         Moved ...
12797         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
12798         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
12799         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
12800         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
12801         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
12802         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
12803         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
12804         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
12805         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
12806         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
12807         Moved ...
12808         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12809         ... here.
12810         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
12811         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
12812         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
12813         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
12814         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
12815         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
12816         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
12817         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
12818         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
12819         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
12820         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
12821         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
12822         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
12823         Moved ...
12824         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
12825         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
12826         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
12827         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
12828         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
12829         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
12830         Moved ...
12831         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
12832         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
12833         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
12834         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
12835         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
12837         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
12838         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
12839         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
12840         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
12841         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
12842         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
12843         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
12844         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
12845         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
12846         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
12847         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
12848         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
12849         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
12850         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
12851         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
12852         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
12853         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
12854         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
12855         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
12856         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
12857         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
12858         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
12859         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
12860         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
12861         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
12862         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
12863         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
12864         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
12866 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
12868         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
12869         (FALLOC_FL_COLLAPSE_RANGE): New macro.
12870         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
12871         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
12872         (IPV6_PMTUDISC_INTERFACE): Likewise.
12873         (IPV6_PMTUDISC_OMIT): Likewise.
12875 2014-06-23  Andreas Schwab  <schwab@suse.de>
12877         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
12878         Remove unused errout label.
12880 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12882         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
12883         macro: hardware supports Vector Crypto instructions.
12885 2014-06-23  Will Newton  <will.newton@linaro.org>
12887         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
12888         rather than __builtin_expect.
12890         * elf/dl-lookup.c (undefined_msg): Remove variable.
12891         (_dl_lookup_symbol_x): Replace undefined_msg with string
12892         literal.
12894         * elf/dl-lookup.c (do_lookup_unique): New function.
12895         (do_lookup_x): Move STB_GNU_UNIQUE handling code
12896         to a separate function.
12898 2014-06-23  Andreas Schwab  <schwab@suse.de>
12900         [BZ #17079]
12901         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
12902         before reading the next line.
12904 2014-06-23  Will Newton  <will.newton@linaro.org>
12906         * test-skeleton.c (signal_handler): Use printf and %m
12907         rather than perror.  Use printf rather than fprintf to
12908         stderr.  Use puts rather than fputs to stderr.
12909         (main): Likewise.
12911 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
12913         * nscd/nscd.c (thread_info_t): Remove typedef.
12914         (thread_info): Remove variable.
12916 2014-06-21  Allan McRae  <allan@archlinux.org>
12918         * NEWS: Mention CVE-2014-4043.
12920 2014-06-20  Roland McGrath  <roland@hack.frob.com>
12922         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
12923         * nptl/smp.h: ... here.
12925         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
12927         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
12928         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
12929         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
12930         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
12932         * nptl/allocatestack.c: Include <stack-aliasing.h>.
12933         * nptl/stack-aliasing.h: New file.
12934         * sysdeps/i386/i686/stack-aliasing.h: New file.
12935         * sysdeps/i386/i686/nptl/Makefile: File removed.
12936         * sysdeps/x86_64/stack-aliasing.h: New file.
12937         * sysdeps/x86_64/nptl/Makefile
12938         (CFLAGS-pthread_create.c): Variable removed.
12940         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
12941         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
12942         old file.
12943         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
12944         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
12945         old file.
12947 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
12949         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12950         (__ASSUME_SIGFRAME_V2): Remove macro.
12951         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
12952         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
12953         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
12954         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
12955         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
12956         Declare as function.  Remove conditional macro definitions.
12957         (__default_rt_sa_restorer): Likewise.
12958         (__default_sa_restorer_v1): Remove declaration.
12959         (__default_sa_restorer_v2): Likewise.
12960         (__default_rt_sa_restorer_v1): Likewise.
12961         (__default_rt_sa_restorer_v2): Likewise.
12962         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
12963         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
12964         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
12966 2014-06-20  Roland McGrath  <roland@hack.frob.com>
12968         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
12969         (libpthread-routines): Add sysdep.
12970         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
12971         * sysdeps/unix/sysv/linux/sparc/Versions
12972         (libpthread: GLIBC_2.3.3): New version set.
12973         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
12974         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
12975         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
12976         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
12977         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
12978         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
12979         Moved ...
12980         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
12981         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
12982         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
12983         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
12984         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
12985         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
12986         * sysdeps/sparc/nptl/sem_init.c: ... here.
12987         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
12988         * sysdeps/sparc/nptl/sem_post.c: ... here.
12989         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
12990         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
12991         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
12992         * sysdeps/sparc/nptl/sem_wait.c: ... here.
12993         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
12994         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
12995         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
12996         (libpthread-routines): Add cpu_relax.
12997         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
12998         File removed.
12999         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
13000         (librt: GLIBC_2.3.3): New version set.
13001         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
13002         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
13003         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
13004         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
13005         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
13006         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
13007         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
13008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
13009         Moved ...
13010         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
13011         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
13012         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
13013         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
13014         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
13015         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
13016         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
13017         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
13018         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
13019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
13020         Moved ...
13021         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
13022         Update #include.
13023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
13024         Moved ...
13025         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
13026         Update #include.
13027         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
13028         Moved ...
13029         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
13030         Update #include.
13031         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
13032         Moved ...
13033         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
13034         Update #include.
13035         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
13036         Moved ...
13037         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
13038         Update #include.
13039         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
13040         Moved ...
13041         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
13042         Update #include.
13043         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
13044         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
13045         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
13046         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
13047         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
13048         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
13049         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
13050         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
13051         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
13052         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
13053         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13054         Moved ...
13055         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
13056         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
13057         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
13058         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
13059         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
13061 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
13063         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
13064         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
13065         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13066         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
13067         * nscd/nscd.c: Likewise.
13068         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13069         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13070         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13071         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13073         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
13074         <kernel-features.h>.
13075         (init_mq_netlink): Remove conditional have_sock_cloexec
13076         definitions.  Remove code conditional on have_sock_cloexec < 0.
13077         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
13078         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
13079         * sysdeps/unix/sysv/linux/opensock.c: Do not include
13080         <kernel-features.h>.
13081         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
13082         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
13084 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
13086         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13087         Add tests for memset_chk and memset.
13089         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
13090         with AVX2_Usable.
13092 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
13094         [BZ #16046]
13095         * elf/tst-dl-iter-static.c: New file.
13096         * elf/Makefile (tests-static): Add tst-dl-iter-static.
13098         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
13099         error.
13101 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
13103         * sysdeps/unix/sysv/linux/kernel-features.h
13104         (__ASSUME_F_GETOWN_EX): Remove macro.
13105         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
13106         <kernel-features.h>.
13107         (miss_F_GETOWN_EX): Remove variable or macro.
13108         (do_fcntl): Do not check miss_F_GETOWN_EX.
13109         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
13111         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
13112         Remove macro.
13113         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
13114         [!__ASSUME_AT_RANDOM]: Remove conditional code.
13115         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
13117         * sysdeps/unix/sysv/linux/kernel-features.h
13118         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
13119         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
13120         [ADJ_OFFSET_SS_READ]: Make code unconditional.
13121         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
13123 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
13125         [BZ #17075]
13126         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
13127         Fix calculation of the symbol's value.
13128         * sysdeps/arm/tst-armtlsdescloc.c: New file.
13129         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
13130         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
13131         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
13132         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
13133         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
13134         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
13135         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
13136         (modules-names): Add `tst-armtlsdescmod',
13137         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
13138         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
13139         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13140         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
13141         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
13142         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13143         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
13144         ($(objpfx)tst-armtlsdescloc): New dependency.
13145         ($(objpfx)tst-armtlsdescextnow): Likewise.
13146         ($(objpfx)tst-armtlsdescextlazy): Likewise.
13147         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
13148         TLS scheme support.
13149         * sysdeps/arm/configure: Regenerate.
13151 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
13153         * include/fcntl.h (__atfct_seterrno): Remove prototype.
13154         (__atfct_seterrno_2): Likewise.
13155         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
13156         <kernel-features.h>.
13157         (__ASSUME_ATFCTS): Do not undefine and redefine.
13158         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
13159         (__have_atfcts): Remove conditional definition.
13160         (__fxstatat([__NR_fstatat64]: Make code unconditional.
13161         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
13162         unreachable if [__ASSUME_ATFCTS].
13163         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
13164         not undefine and redefine.
13165         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
13166         <kernel-features.h>.
13167         (faccessat) [__NR_faccessat]: Make code unconditional.
13168         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
13169         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
13170         <kernel-features.h>.
13171         (fchmodat) [__NR_fchmodat]: Make code unconditional.
13172         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13173         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
13174         <kernel-features.h>.
13175         (fchownat) [__NR_fchownat]: Make code unconditional.
13176         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
13177         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
13178         <kernel-features.h>.
13179         (futimesat) [__NR_futimesat]: Make code unconditional.
13180         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
13181         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13182         <kernel-features.h>.
13183         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13184         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13185         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13186         <kernel-features.h>.
13187         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
13188         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13189         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
13190         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13191         <kernel-features.h>.
13192         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
13193         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13194         * sysdeps/unix/sysv/linux/linkat.c: Do not include
13195         <kernel-features.h>.
13196         (linkat) [__NR_linkat]: Make code unconditional.
13197         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13198         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
13199         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
13200         <kernel-features.h>.
13201         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
13202         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13203         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
13204         <kernel-features.h>.
13205         (mkdirat) [__NR_mkdirat]: Make code unconditional.
13206         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
13207         * sysdeps/unix/sysv/linux/openat.c: Do not include
13208         <kernel-features.h>.
13209         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
13210         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
13211         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
13212         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
13213         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
13214         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
13215         <kernel-features.h>.
13216         (readlinkat) [__NR_readlinkat]: Make code unconditional.
13217         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
13218         result of INLINE_SYSCALL directly, not via int variable.
13219         * sysdeps/unix/sysv/linux/renameat.c: Do not include
13220         <kernel-features.h>.
13221         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
13222         (renameat) [__NR_renameat]: Make code unconditional.
13223         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
13224         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
13225         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
13226         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
13227         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
13228         (__ASSUME_ATFCTS): Do not undefine and redefine.
13229         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
13230         <kernel-features.h>.
13231         (symlinkat) [__NR_symlinkat]: Make code unconditional.
13232         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13233         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
13234         <kernel-features.h>.
13235         (unlinkat) [__NR_unlinkat]: Make code unconditional.
13236         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13237         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
13238         (__ASSUME_ATFCTS): Do not undefine and redefine.
13239         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13240         <kernel-features.h>.
13241         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13242         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13243         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13244         <kernel-features.h>.
13245         (__xmknodat) [__NR_mknodat]: Make code unconditional.
13246         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13248 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
13250         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
13252 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
13254         [BZ #17069]
13255         * posix/regcomp.c (parse_reg_exp): Deallocate partially
13256         constructed tree before returning error.
13257         * posix/bug-regexp36.c: Expand test case.
13259 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13261         [BZ #6803]
13262         * math/libm-test.inc (scalbln_test_date):
13263         Add errno expectations.
13264         * math/w_scalblnf.c: New File.
13265         Add wrapper which checks for setting errno to ERANGE.
13266         Add weak_alias for corresponding scalbln function.
13267         * math/w_scalbln.c: Likewise.
13268         * math/w_scalblnl.c: Likewise.
13269         * math/Makefile (libm-calls): Add w_scalbln.
13270         * sysdeps/ieee754/flt-32/s_scalblnf.c:
13271         Remove weak_alias for corresponding scalbln function.
13272         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13273         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13274         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13275         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13276         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
13277         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13278         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
13279         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13280         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
13281         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
13282         Remove long_double_symbol for scalblnl function in libm, libc.
13283         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
13284         Add wrapper which checks for setting errno to ERANGE.
13285         Add long_double_symbol for scalblnl function in libm, libc.
13286         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
13287         Remove long_double_symbol for scalblnl in libm.
13288         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
13289         Add wrapper which checks for setting errno to ERANGE.
13290         Add long_double_symbol for scalblnl function in libm.
13291         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
13292         Do not use wrapper because of own implementation.
13294 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
13296         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
13297         3 bytes for __pad1 for x32.
13298         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
13300 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
13301             H.J. Lu  <hongjiu.lu@intel.com>
13303         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
13304         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
13305         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13306         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13307         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13309 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
13311         [BZ #17069]
13312         * posix/regcomp.c (parse_expression): Deallocate partially
13313         constructed tree before returning error.
13314         * posix/Makefile.c (tests): Add bug-regex36.
13315         (generated): Add bug-regex36.mtrace.
13316         (tests-special): Add $(objpfx)bug-regex36-mem.out
13317         (bug-regex36-ENV): New variable.
13318         ($(objpfx)bug-regex36-mem.out): New rule.
13319         * posix/bug-regex36.c: New file.
13321 2014-06-19  Will Newton  <will.newton@linaro.org>
13323         * malloc/malloc.c (systrim): If extra is zero then return
13324         early.
13326 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13328         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
13330 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
13332         * sysdeps/aarch64/strchr.S: New file.
13334 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
13336         [BZ #17022]
13337         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
13338         from arguments -2 or below.
13339         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13340         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
13342 2014-06-18  Andreas Schwab  <schwab@suse.de>
13344         [BZ #17062]
13345         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
13346         of a bracket expr not to run off the end of the string.
13347         * posix/Makefile (tests): Add tst-fnmatch3.
13348         * posix/tst-fnmatch3.c: New file.
13350 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
13352         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
13353         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13354         [$(cross-compiling) = no]: Likewise.
13355         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13356         [$(cross-compiling) = no]: Likewise.
13358 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13360         [BZ #17031]
13361         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
13362         double, adjusted for any remainder from the high double.
13363         * math/libm-test.inc (nearbyint): Add tests.
13364         (rint): Likewise.
13366 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13368         * nptl/sysdeps/powerpc/Makefile: Moved ...
13369         * sysdeps/powerpc/nptl/Makefile: ... here.
13370         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
13371         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
13372         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
13373         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
13374         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
13375         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
13376         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
13377         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
13378         * nptl/sysdeps/powerpc/tls.h: Moved ...
13379         * sysdeps/powerpc/nptl/tls.h: ... here.
13381 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
13383         [BZ #16681]
13384         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
13385         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13386         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
13387         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
13388         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13389         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
13390         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
13391         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13392         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
13394 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
13396         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13398 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
13400         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
13401         defined operator.
13403         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
13404         $TIMEOUTFACTOR.
13406 2014-06-16  Florian Weimer  <fweimer@redhat.com>
13408         [BZ #17058]
13409         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
13410         non-executed part of the test.
13412 2014-06-16  Andreas Schwab  <schwab@suse.de>
13414         * string/bits/string2.h (strdup, strndup): Update feature guard.
13416 2014-06-14  David S. Miller  <davem@davemloft.net>
13418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13420 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
13422         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
13423         that was previously under [RESET_PID].
13424         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
13426         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
13427         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
13428         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
13429         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13430         (__libc_vfork): New strong alias.
13431         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
13433 2014-06-14 Andi Kleen  <ak@linux.intel.com>
13435         * sysdeps/generic/elide.h: New file.
13437 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13439         * Makefile (installed-headers): Adjust path of pthread.h header.
13441 2014-06-13  Roland McGrath  <roland@hack.frob.com>
13443         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
13444         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
13445         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
13446         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
13448         * nptl/sysdeps/s390/Makefile: Moved ...
13449         * sysdeps/s390/nptl/Makefile: ... here.
13450         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
13451         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
13452         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
13453         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
13454         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
13455         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
13456         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
13457         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
13458         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
13459         * sysdeps/s390/nptl/pthreaddef.h: ... here.
13460         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
13461         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
13462         * nptl/sysdeps/s390/tls.h: Moved ...
13463         * sysdeps/s390/nptl/tls.h: ... here.
13465         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
13466         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
13468 2014-06-13  David S. Miller  <davem@davemloft.net>
13470         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
13471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
13472         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
13473         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
13474         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
13475         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
13476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
13477         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
13478         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
13479         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
13480         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
13481         Remove RESET_PID cpp guards.
13482         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
13483         Remove RESET_PID cpp guards.
13484         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
13486 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
13488         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
13489         __sp to uintptr_t.
13491 2014-06-13  Andi Kleen  <ak@linux.intel.com>
13493         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
13494         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
13495         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
13496         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
13497         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
13498         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
13499         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
13500         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
13501         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
13502         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
13503         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
13504         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
13505         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
13506         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
13507         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
13508         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
13509         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
13510         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
13511         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
13512         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
13514         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
13515         (pthread_rwlock_rdlock): Add elision.
13516         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
13517         (pthread_rwlock_wrlock): Add elision.
13518         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
13519         (pthread_rwlock_trywrlock): Add elision.
13520         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
13521         (pthread_rwlock_tryrdlock): Add elision.
13522         * nptl/pthread_rwlock_unlock.c: Include elide.h.
13523         (pthread_rwlock_tryrdlock): Add elision unlock.
13524         * nptl/sysdeps/pthread/pthread.h:
13525         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
13526         (PTHREAD_RWLOCK_INITIALIZER,
13527         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
13528         Handle new elision field.
13529         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
13530         * sysdeps/arm/nptl/bits/pthreadtypes.h
13531         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13532         * sysdeps/sh/nptl/bits/pthreadtypes.h
13533         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13534         * sysdeps/tile/nptl/bits/pthreadtypes.h
13535         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13536         * sysdeps/a/nptl/bits/pthreadtypes.h
13537         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13538         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13539         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13540         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13541         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13542         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
13543         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13544         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13545         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13546         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13547         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13548         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13549         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13550         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13551         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13552         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
13553         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13554         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
13555         (elision_init): Set try_xbegin to zero when no RTM.
13556         * sysdeps/x86/nptl/bits/pthreadtypes.h
13557         (pthread_rwlock_t): Change __pad1 to __rwelision.
13558         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13560 2014-06-13  Andi Kleen  <ak@linux.intel.com>
13562         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
13563         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
13564         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
13565         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
13567 2014-06-13  Meador Inge  <meadori@codesourcery.com>
13569         [BZ #16996]
13570         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
13571         that the cached result has been set before returning it.
13573 2014-06-12  Roland McGrath  <roland@hack.frob.com>
13575         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
13576         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
13577         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
13578         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
13579         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
13580         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
13582         * nptl/sysdeps/sparc/Makefile: Moved ...
13583         * sysdeps/sparc/nptl/Makefile: ... here.
13584         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
13585         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
13586         * nptl/sysdeps/sparc/tls.h: Moved ...
13587         * sysdeps/sparc/nptl/tls.h: ... here.
13588         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
13589         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
13590         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
13591         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
13592         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
13593         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
13594         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
13595         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
13596         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
13597         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
13598         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
13599         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
13600         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
13601         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
13602         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
13603         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
13604         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
13605         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
13606         Update #include.
13607         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
13608         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
13609         Update #include.
13610         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
13611         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
13612         Update #include.
13613         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
13614         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
13615         Update #include.
13617         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
13619         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
13620         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
13622         * sysdeps/pthread/posix-timer.h: Include <list.h>.
13623         (struct list_links): Type removed.
13624         (struct thread_node, struct timer_node): Replace struct list_links
13625         with struct list_head.
13626         (list_unlink_ip): Likewise.
13627         * sysdeps/pthread/timer_routines.c
13628         (timer_free_list, thread_free_list, thread_active_list): Likewise.
13629         (list_append, list_insbefore): Likewise.
13630         (list_init): Function removed.
13631         (thread_init, init_module): Use INIT_LIST_HEAD instead.
13632         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
13633         * sysdeps/pthread/Makefile: ... here, new file.
13635         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
13636         * sysdeps/nptl/Implies: ... here.
13637         * sysdeps/unix/sysv/linux/Implies: Add nptl.
13638         * nptl/sysdeps/pthread/list.h: Moved ...
13639         * include/list.h: ... here.
13640         * nptl/sysdeps/pthread/createthread.c: Moved ...
13641         * nptl/createthread.c: ... here.
13642         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
13643         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
13644         * nptl/pt-longjmp.c: ... here.
13645         * nptl/sysdeps/pthread/Makefile: Moved ...
13646         * sysdeps/nptl/Makefile: ... here.
13647         * nptl/sysdeps/pthread/Subdirs: Moved ...
13648         * sysdeps/nptl/Subdirs: ... here.
13649         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
13650         * sysdeps/nptl/aio_misc.h: ... here.
13651         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
13652         * sysdeps/nptl/bits/libc-lock.h: ... here.
13653         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
13654         * sysdeps/nptl/bits/libc-lockP.h: ... here.
13655         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
13656         * sysdeps/nptl/bits/stdio-lock.h: ... here.
13657         * nptl/sysdeps/pthread/configure: Moved ...
13658         * sysdeps/nptl/configure: ... here.
13659         * nptl/sysdeps/pthread/configure.ac: Moved ...
13660         * sysdeps/nptl/configure.ac: ... here.
13661         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
13662         * sysdeps/nptl/gai_misc.h: ... here.
13663         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
13664         * sysdeps/nptl/librt-cancellation.c: ... here.
13665         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
13666         * sysdeps/nptl/malloc-machine.h: ... here.
13667         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
13668         * sysdeps/nptl/pthread-functions.h: ... here.
13669         * nptl/sysdeps/pthread/pthread.h: Moved ...
13670         * sysdeps/nptl/pthread.h: ... here.
13671         * nptl/sysdeps/pthread/setxid.h: Moved ...
13672         * sysdeps/nptl/setxid.h: ... here.
13673         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
13674         * sysdeps/nptl/sigfillset.c: ... here.
13675         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
13676         * sysdeps/nptl/tcb-offsets.h: ... here.
13677         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
13678         * sysdeps/nptl/tst-mqueue8x.c: ... here.
13679         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
13680         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
13681         * nptl/sysdeps/pthread/allocalim.h: Moved ...
13682         * sysdeps/pthread/allocalim.h: ... here.
13683         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
13684         * sysdeps/pthread/bits/sigthread.h: ... here.
13685         * nptl/sysdeps/pthread/flockfile.c: Moved ...
13686         * sysdeps/pthread/flockfile.c: ... here.
13687         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
13688         * sysdeps/pthread/ftrylockfile.c: ... here.
13689         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
13690         * sysdeps/pthread/funlockfile.c: ... here.
13691         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
13692         * sysdeps/pthread/posix-timer.h: ... here.
13693         * nptl/sysdeps/pthread/timer_create.c: Moved ...
13694         * sysdeps/pthread/timer_create.c: ... here.
13695         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
13696         * sysdeps/pthread/timer_delete.c: ... here.
13697         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
13698         * sysdeps/pthread/timer_getoverr.c: ... here.
13699         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
13700         * sysdeps/pthread/timer_gettime.c: ... here.
13701         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
13702         * sysdeps/pthread/timer_routines.c: ... here.
13703         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
13704         * sysdeps/pthread/timer_settime.c: ... here.
13705         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
13706         * sysdeps/pthread/tst-timer.c: ... here.
13707         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
13708         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
13710         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
13711         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
13713         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
13714         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
13715         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
13716         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
13717         Update #include target.
13718         * nptl/sysdeps/i386/i686/Makefile: Moved ...
13719         * sysdeps/i386/i686/nptl/Makefile: ... here.
13720         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
13721         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
13722         Update #include target.
13723         * nptl/sysdeps/i386/i686/tls.h: Moved ...
13724         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
13725         * nptl/sysdeps/i386/Makefile: Moved ...
13726         * sysdeps/i386/nptl/Makefile: ... here.
13727         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
13728         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
13729         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
13730         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
13731         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
13732         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
13733         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
13734         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
13735         * sysdeps/i386/nptl/pthreaddef.h: ... here.
13736         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
13737         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
13738         * nptl/sysdeps/i386/tls.h: Moved ...
13739         * sysdeps/i386/nptl/tls.h: ... here.
13741         * sysdeps/sh/Makefile [$(subdir) = csu]
13742         (gen-as-const-headers): Add tcb-offsets.sym.
13743         * nptl/sysdeps/sh/Makefile: File removed.
13744         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
13745         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
13746         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
13747         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
13748         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
13749         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
13750         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
13751         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
13752         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
13753         * sysdeps/sh/nptl/pthreaddef.h: ... here.
13754         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
13755         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
13756         * nptl/sysdeps/sh/tls.h: Moved ...
13757         * sysdeps/sh/nptl/tls.h: ... here.
13758         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
13759         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
13760         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
13761         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
13762         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
13763         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
13764         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
13765         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
13766         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
13767         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
13768         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
13769         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
13770         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
13771         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
13772         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
13773         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
13774         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
13775         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
13776         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
13777         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
13778         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
13779         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
13780         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
13781         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
13782         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
13783         Moved ...
13784         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
13785         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
13786         Moved ...
13787         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
13788         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
13789         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
13790         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
13791         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
13792         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
13793         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
13794         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
13795         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
13796         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
13797         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
13798         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
13799         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
13800         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
13801         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
13802         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
13803         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
13804         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
13805         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
13807 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13809         * posix/spawn_faction_addopen.c: Include string.h.
13811 2014-06-11  Roland McGrath  <roland@hack.frob.com>
13813         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
13814         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
13815         * nptl/sysdeps/x86_64/Makefile: Moved ...
13816         * sysdeps/x86_64/nptl/Makefile: ... here.
13817         * nptl/sysdeps/x86_64/configure: Moved ...
13818         * sysdeps/x86_64/nptl/configure: ... here.
13819         * nptl/sysdeps/x86_64/configure.ac: Moved ...
13820         * sysdeps/x86_64/nptl/configure.ac: ... here.
13821         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
13822         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
13823         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
13824         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
13825         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
13826         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
13827         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
13828         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
13829         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
13830         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
13831         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
13832         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
13833         * nptl/sysdeps/x86_64/tls.h: Moved ...
13834         * sysdeps/x86_64/nptl/tls.h: ... here.
13835         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
13836         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
13837         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
13838         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
13840         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
13842 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13846 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
13848         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
13849         type.
13850         [POSIX] (off_t): Likewise.
13851         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
13852         [POSIX] (S_ISBLK): Require macro.
13853         [POSIX] (S_ISCHR): Likewise.
13854         [POSIX] (S_ISDIR): Likewise.
13855         [POSIX] (S_ISFIFO): Likewise.
13856         [POSIX] (S_ISREG): Likewise.
13857         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
13858         optional-macro.
13859         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
13860         type.
13861         [POSIX] (time_t): Likewise.
13862         [POSIX] (timer_t): Likewise.
13864 2014-06-11  Florian Weimer  <fweimer@redhat.com>
13866         [BZ #17048]
13867         * posix/spawn_int.h (struct __spawn_action): Make the path string
13868         non-const to support deallocation.
13869         * posix/spawn_faction_addopen.c
13870         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
13871         * posix/spawn_faction_destroy.c
13872         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
13873         path in all spawn_do_open actions.
13874         * posix/tst-spawn.c (do_test): Exercise the copy operation in
13875         posix_spawn_file_actions_addopen.
13877 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
13879         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
13880         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
13881         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
13882         conditional code always true.
13883         (__libc_vfork): New alias.
13885 2014-06-11  Roland McGrath  <roland@hack.frob.com>
13887         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13888         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
13890         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
13892         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13893         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
13895         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
13896         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
13898         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13899         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
13901 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13903         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
13904         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
13905         multiarch strcmp for PPC64.
13906         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
13907         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
13908         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
13909         multiarch optimizations.
13910         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13911         (__libc_ifunc_impl_list): Likewise.
13913 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13915         * benchtests/scripts/validate_benchout.py: New script.
13916         * benchtests/Makefile (bench-func): Call it.
13917         * benchtests/scripts/benchout.schema.json: New file.
13919 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
13921         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
13922         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
13923         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
13924         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
13925         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
13926         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
13927         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
13928         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
13929         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
13930         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
13931         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
13932         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
13933         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
13934         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
13935         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
13936         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
13937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
13938         Moved ...
13939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
13940         ... here.
13941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
13942         Moved ...
13943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
13944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
13945         Moved ...
13946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
13947         ... here.
13948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
13949         Moved ...
13950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
13951         ... here.
13952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
13953         Moved ...
13954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
13955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
13956         Moved ...
13957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
13958         ... here.
13959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
13960         Moved ...
13961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
13962         ... here.
13963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
13964         Moved ...
13965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
13966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
13967         Moved ...
13968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
13969         ... here.
13970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
13971         Moved ...
13972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
13973         ... here.
13974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
13975         Moved ...
13976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
13977         ... here.
13978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
13979         Moved ...
13980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
13981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
13982         Moved ...
13983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
13984         ... here.
13985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
13986         Moved ...
13987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
13988         ... here.
13989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
13990         Moved ...
13991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
13992         ... here.
13993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
13994         Moved ...
13995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
13996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
13997         Moved ...
13998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
13999         ... here.
14000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
14001         Moved ...
14002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
14003         ... here.
14004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
14005         Moved ...
14006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
14007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
14008         Moved ...
14009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
14010         ... here.
14011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
14012         Moved ...
14013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
14014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
14015         Moved ...
14016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
14017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
14018         Moved ...
14019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
14020         ... here.
14021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
14022         Moved ...
14023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
14024         ... here.
14025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
14026         Moved ...
14027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
14028         ... here.
14029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
14030         Moved ...
14031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
14032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
14033         Moved ...
14034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
14035         ... here.
14036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
14037         Moved ...
14038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
14039         ... here.
14040         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
14041         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
14042         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
14043         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
14044         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
14045         Moved ...
14046         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
14047         ... here.
14048         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
14049         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
14050         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
14051         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
14052         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
14053         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
14054         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
14055         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
14056         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
14057         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
14058         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
14059         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
14060         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
14061         Moved ...
14062         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
14063         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
14064         Moved ...
14065         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
14066         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
14067         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
14068         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
14069         Moved ...
14070         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
14071         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
14072         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
14073         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
14074         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
14075         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
14076         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
14078 2014-06-10  Wilco  <wdijkstr@arm.com>
14080         * math/test-fenv-return.c: New file.
14081         * math/Makefile: Add new test test-fenv-return.
14083 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
14085         [BZ #17042]
14086         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
14087         when x - 1 is zero.
14088         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
14089         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14090         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
14091         0.0L for an argument of 1.0L.
14092         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14093         Likewise.
14094         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
14095         value when x - 1 is zero.
14096         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
14097         * sysdeps/i386/fpu/libm-test-ulps: Update.
14098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14100 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
14102         [BZ #15119]
14103         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
14105 2014-06-09  Roland McGrath  <roland@hack.frob.com>
14107         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
14108         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
14110 2014-06-09  Roland McGrath  <roland@hack.frob.com>
14112         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14113         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
14115         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14116         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
14118         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14119         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
14121         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14122         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
14124         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
14125         if not already defined.
14126         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
14127         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
14128         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
14129         (TLS_INIT_TP): Use it.
14130         (TLS_DEFINE_INIT_TP): New macro.
14131         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
14133 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
14135         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
14136         constant.
14137         [POSIX] (IXANY): Likewise.
14138         [POSIX] (OLCUC): Likewise.
14139         [POSIX || POSIX2008] (CBAUD): Do not allow.
14140         [POSIX || POSIX2008] (DEFECHO): Likewise.
14141         [POSIX || POSIX2008] (ECHOCTL): Likewise.
14142         [POSIX || POSIX2008] (ECHOKE): Likewise.
14143         [POSIX || POSIX2008] (ECHOPRT): Likewise.
14144         [POSIX || POSIX2008] (EXTA): Likewise.
14145         [POSIX || POSIX2008] (EXTB): Likewise.
14146         [POSIX || POSIX2008] (FLUSHO): Likewise.
14147         [POSIX || POSIX2008] (LOBLK): Likewise.
14148         [POSIX || POSIX2008] (PENDIN): Likewise.
14149         [POSIX || POSIX2008] (SWTCH): Likewise.
14150         [POSIX || POSIX2008] (VDISCARD): Likewise.
14151         [POSIX || POSIX2008] (VDSUSP): Likewise.
14152         [POSIX || POSIX2008] (VLNEXT): Likewise.
14153         [POSIX || POSIX2008] (VREPRINT): Likewise.
14154         [POSIX || POSIX2008] (VSTATUS): Likewise.
14155         [POSIX || POSIX2008] (VWERASE): Likewise.
14156         (B*): Change to B[0123456789]*.
14157         * conform/data/time.h-data [POSIX || UNIX98]
14158         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
14159         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14160         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
14161         [POSIX] (tm_*): Do not allow.
14163 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
14165         * Makefile (install): Don't set LANGUAGE.
14166         * Makefile.in (install): Likewise.
14167         * assert/Makefile (test-assert-ENV): Remove variable.
14168         (test-assert-perr-ENV): Likewise.
14169         * elf/Makefile (neededtest4-ENV): Likewise.
14170         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14171         [$(cross-compiling) = no]: Don't set LANGUAGE.
14172         * io/ftwtest-sh (LANG): Remove variable.
14173         * libio/Makefile (tst-widetext-ENV): Likewise.
14174         * manual/install.texi (Running make install): Don't refer to
14175         environment settings for make install.
14176         * INSTALL: Regenerated.
14177         * nptl/tst-tls6.sh: Don't set LANG.
14178         * posix/globtest.sh (LANG): Remove variable.
14179         * string/Makefile (tester-ENV): Likewise.
14180         (inl-tester-ENV): Likewise.
14181         (noinl-tester-ENV): Likewise.
14182         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14183         [$(cross-compiling) = no]: Don't set LANGUAGE.
14184         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
14185         without explicit environment settings.
14187 2014-06-06  Roland McGrath  <roland@hack.frob.com>
14189         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
14190         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
14191         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
14192         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
14194 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
14196         * crypt/crypt-private.h [DOS]: Add some includes taken from the
14197         other files in the crypt directory.
14198         * crypt/crypt.c: Remove duplicate includes.
14199         * crypt/crypt-entry.c: Likewise.
14200         * crypt/crypt_util.c: Likewise.
14202 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
14204         * Makeconfig (run-program-env): New variable.
14205         (run-program-prefix-before-env): Likewise.
14206         (run-program-prefix-after-env): Likewise.
14207         (run-program-prefix): Define in terms of new variables.
14208         (built-program-cmd-before-env): New variable.
14209         (built-program-cmd-after-env): Likewise.
14210         (built-program-cmd): Define in terms of new variables.
14211         (test-program-prefix-before-env): New variable.
14212         (test-program-prefix-after-env): Likewise.
14213         (test-program-prefix): Define in terms of new variables.
14214         (test-program-cmd-before-env): New variable.
14215         (test-program-cmd-after-env): Likewise.
14216         (test-program-cmd): Define in terms of new variables.
14217         * Rules (make-test-out): Use $(run-program-env).
14218         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
14219         (help): Do not mention environment variables.  Mention
14220         --timeoutfactor option.
14221         (timeoutfactor): New variable.
14222         (blacklist_exports): Remove function.
14223         (exports): Remove variable.
14224         (command): Do not include ${exports}.
14225         * manual/install.texi (Configuring and compiling): Do not mention
14226         test wrappers preserving environment variables.  Mention that last
14227         assignment to a variable must take precedence.
14228         * INSTALL: Regenerated.
14229         * benchtests/Makefile (run-bench): Use $(run-program-env).
14230         * catgets/Makefile ($(objpfx)test1.cat): Use
14231         $(built-program-cmd-before-env), $(run-program-env) and
14232         $(built-program-cmd-after-env).
14233         ($(objpfx)test2.cat): Do not specify environment variables
14234         explicitly.
14235         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
14236         $(run-program-env) and $(built-program-cmd-after-env).
14237         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
14238         $(run-program-env) and $(test-program-cmd-after-env).
14239         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
14240         explicitly.
14241         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
14242         run_program_env and test_program_cmd_after_env arguments.
14243         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
14244         * elf/tst-pathopt.sh: Use run_program_env argument.
14245         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
14246         $(test-wrapper-env) and $(run-program-env).
14247         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
14248         run_program_env arguments.
14249         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
14250         * intl/Makefile ($(objpfx)tst-gettext.out): Use
14251         $(test-program-prefix-before-env), $(run-program-env) and
14252         $(test-program-prefix-after-env).
14253         ($(objpfx)tst-gettext2.out): Likewise.
14254         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
14255         run_program_env and test_program_prefix_after_env arguments.
14256         * intl/tst-gettext2.sh: Likewise.
14257         * intl/tst-gettext4.sh: Do not set environment variables
14258         explicitly.
14259         * intl/tst-gettext6.sh: Likewise.
14260         * intl/tst-translit.sh: Likewise.
14261         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
14262         $(test-program-prefix-before-env), $(run-program-env) and
14263         $(test-program-prefix-after-env).
14264         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
14265         run_program_env and test_program_prefix_after_env arguments.
14266         * math/Makefile (run-regen-ulps): Use $(run-program-env).
14267         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
14268         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
14269         explicitly with each use of ${test_wrapper_env}.
14270         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
14271         $(test-program-prefix-before-env), $(run-program-env) and
14272         $(test-program-prefix-after-env).
14273         * posix/tst-getconf.sh: Do not set environment variables
14274         explicitly.
14275         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
14276         run_program_env and test_program_prefix_after_env arguments.
14277         * stdio-common/tst-printf.sh: Do not set environment variables
14278         explicitly.
14279         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
14280         $(test-program-prefix-before-env), $(run-program-env) and
14281         $(test-program-prefix-after-env).
14282         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
14283         run_program_env and test_program_prefix_after_env arguments.
14284         Split $test calls into $test_pre and $test.
14285         * timezone/Makefile (build-testdata): Use
14286         $(built-program-cmd-before-env), $(run-program-env) and
14287         $(built-program-cmd-after-env).
14289 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14291         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
14292         strlen for non SHARED builds.
14294 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14296         * nptl/allocatestack.c (check_list): Inlined function...
14297         (__reclaim_stacks): ... here.
14299 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
14301         [BZ #15698]
14302         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14303         memory overrun.
14305 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
14307         * Rules (make-test-out): Include
14308         LOCPATH=$(common-objpfx)localedata in default environment.
14309         * debug/Makefile (tst-chk1-ENV): Remove variable.
14310         (tst-chk2-ENV): Likewise.
14311         (tst-chk3-ENV): Likewise.
14312         (tst-chk4-ENV): Likewise.
14313         (tst-chk5-ENV): Likewise.
14314         (tst-chk6-ENV): Likewise.
14315         (tst-lfschk1-ENV): Likewise.
14316         (tst-lfschk2-ENV): Likewise.
14317         (tst-lfschk3-ENV): Likewise.
14318         (tst-lfschk4-ENV): Likewise.
14319         (tst-lfschk5-ENV): Likewise.
14320         (tst-lfschk6-ENV): Likewise.
14321         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
14322         (tst-iconv7-ENV): Likewise.
14323         * intl/Makefile (LOCPATH-ENV): Likewise.
14324         (tst-codeset-ENV): Likewise.
14325         (tst-gettext3-ENV): Likewise.
14326         (tst-gettext5-ENV): Likewise.
14327         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
14328         (tst-fopenloc-ENV): Likewise.
14329         (tst-fgetws-ENV): Remove variable.
14330         (tst-ungetwc1-ENV): Likewise.
14331         (tst-ungetwc2-ENV): Likewise.
14332         (bug-ungetwc2-ENV): Likewise.
14333         (tst-swscanf-ENV): Likewise.
14334         (bug-ftell-ENV): Likewise.
14335         (tst-fgetwc-ENV): Likewise.
14336         (tst-fseek-ENV): Likewise.
14337         (tst-ftell-partial-wide-ENV): Likewise.
14338         (tst-ftell-active-handler-ENV): Likewise.
14339         (tst-ftell-append-ENV): Likewise.
14340         * posix/Makefile (tst-fnmatch-ENV): Likewise.
14341         (tst-regexloc-ENV): Likewise.
14342         (bug-regex1-ENV): Likewise.
14343         (tst-regex-ENV): Likewise.
14344         (tst-regex2-ENV): Likewise.
14345         (bug-regex5-ENV): Likewise.
14346         (bug-regex6-ENV): Likewise.
14347         (bug-regex17-ENV): Likewise.
14348         (bug-regex18-ENV): Likewise.
14349         (bug-regex19-ENV): Likewise.
14350         (bug-regex20-ENV): Likewise.
14351         (bug-regex22-ENV): Likewise.
14352         (bug-regex23-ENV): Likewise.
14353         (bug-regex25-ENV): Likewise.
14354         (bug-regex26-ENV): Likewise.
14355         (bug-regex30-ENV): Likewise.
14356         (bug-regex32-ENV): Likewise.
14357         (bug-regex33-ENV): Likewise.
14358         (bug-regex34-ENV): Likewise.
14359         (bug-regex35-ENV): Likewise.
14360         (tst-rxspencer-ENV): Likewise.
14361         (tst-rxspencer-no-utf8-ENV): Likewise.
14362         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
14363         (tst-sscanf-ENV): Likewise.
14364         (tst-swprintf-ENV): Likewise.
14365         (tst-swscanf-ENV): Likewise.
14366         (test-vfprintf-ENV): Likewise.
14367         (scanf13-ENV): Likewise.
14368         (bug14-ENV): Likewise.
14369         (tst-grouping-ENV): Likewise.
14370         * stdlib/Makefile (tst-strtod-ENV): Likewise.
14371         (tst-strtod3-ENV): Likewise.
14372         (tst-strtod4-ENV): Likewise.
14373         (tst-strtod5-ENV): Likewise.
14374         (testmb2-ENV): Likewise./
14375         * string/Makefile (tst-strxfrm-ENV): Likewise.
14376         (tst-strxfrm2-ENV): Likewise.
14377         (bug-strcoll1-ENV): Likewise.
14378         (test-strcasecmp-ENV): Likewise.
14379         (test-strncasecmp-ENV): Likewise.
14380         * time/Makefile (tst-strptime-ENV): Likewise.
14381         (tst-ftime_l-ENV): Likewise.
14382         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
14383         (tst-mbrtowc-ENV): Likewise.
14384         (tst-wcrtomb-ENV): Likewise.
14385         (tst-mbrtowc2-ENV): Likewise.
14386         (tst-c16c32-1-ENV): Likewise.
14387         (tst-mbsnrtowcs-ENV): Likewise.
14389 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
14391         * manual/resource.texi (How to get information about the memory
14392         subsystem?): Fix typo.
14393         Reported by Peon de la Parra Ivan <peon@keba.com>
14395 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
14397         [BZ #16882]
14398         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
14399         (pthread_spin_lock): Branch out of spin loop to proper location.
14400         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
14401         (pthread_spin_lock): Likewise.
14403         * nptl/tst-spin4.c: New test.
14404         * nptl/Makefile (tests): Add tst-spin4.
14406 2014-06-03  Andreas Schwab  <schwab@suse.de>
14408         [BZ #15946]
14409         * resolv/res_send.c (send_dg): Reload file descriptor after
14410         calling reopen.
14412 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
14414         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14416 2014-06-03  Richard Henderson  <rth@redhat.com>
14418         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
14419         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
14420         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
14421         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
14422         in the SAVE_PID block.
14423         (__libc_vfork): New alias.
14424         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
14426         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
14427         child in registers, not on the stack.  Remove RESET_PID conditionals.
14428         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
14430 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14432         * sysdeps/aarch64/libm-test-ulps: Regenerate.
14434 2014-06-03  Wilco  <wdijkstr@arm.com>
14436         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
14437         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
14438         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
14439         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
14440         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
14441         Likewise.
14443 2014-06-03  Wilco  <wdijkstr@arm.com>
14445         * sysdeps/aarch64/fpu/math_private.h
14446         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
14447         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
14448         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
14449         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
14450         Fix declarations.
14452 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14454         * crypt/crypt-private.h: Include ufc-crypt.h.
14455         (__b64_from_24bit): Declare extern.
14456         * crypt/crypt_util.c(__b64_from_24bit): New function.
14457         (b64t): New static const variable.
14458         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
14459         (b64t): Remove variable.
14460         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
14461         * crypt/sha256-crypt.c: Include crypt-private.h.
14462         (b64t): Remove variable.
14463         (__sha256_crypt_r): Remove b64_from_24bit and replace
14464         with __b64_from_24bit.
14465         * crypt/sha512-crypt.c: Likewise.
14467 2014-06-02  Roland McGrath  <roland@hack.frob.com>
14469         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
14470         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
14471         Label the code __libc_vfork rather than __vfork.
14472         [!NOT_IN_libc] (vfork): Define as weak alias.
14473         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
14474         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
14475         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
14477 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14479         * malloc/malloc.c (malloc_info): Fix format specifier for
14480         n_mmaps.
14482 2014-06-02  Wilco  <wdijkstr@arm.com>
14484         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
14485         FPCR write.
14487 2014-06-02  Wilco  <wdijkstr@arm.com>
14489         [BZ #17009]
14490         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
14491         Rewrite to reduce FPCR/FPSR accesses.
14493 2014-06-01  David S. Miller  <davem@davemloft.net>
14495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14497 2014-05-31  David S. Miller  <davem@davemloft.net>
14499         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
14500         to occur in round to nearest mode when |x| >= 2.0
14502 2014-05-30  Richard Henderson  <rth@twiddle.net>
14504         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
14505         (PSEUDO_RET_NOERRNO): Remove.
14506         (ret): Don't redefine.
14507         (ret_NOERRNO): Define in terms of ret.
14508         (ret_ERRVAL): Likewise.
14510         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
14511         use of PSEUDO_RET; perform the error check directly.
14513 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
14515         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
14516         with __int128_t.
14518 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14520         * malloc/malloc (malloc_info): Fix formatting.
14522 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14523             Roland McGrath  <roland@hack.frob.com>
14525         * malloc/malloc (malloc_info): Also print mmapped statistics.
14527 2014-05-30  Roland McGrath  <roland@hack.frob.com>
14529         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
14530         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
14532 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
14534         * malloc/malloc.c (malloc_info): Inline mi_arena.
14536 2014-05-29  Richard Henderson  <rth@twiddle.net>
14538         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
14539         Remove comma before expanding ASM_ARGS_##nr.
14540         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
14541         Make _x0 a strict output; make _x8 a strict input; adjust expansion
14542         of ASM_ARGS_##nr.
14543         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
14544         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
14545         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
14546         (ASM_ARGS_1): Add leading comma.
14548         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
14549         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
14550         to __errno_location.
14551         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
14552         Remove the expected plt for __errno_location.
14554         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14555         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
14556         call to __read_tp.
14558         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14559         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
14560         it and break it down.
14561         (DOCARGS_0, DOCARGS_1): Do nothing.
14562         (DOCARGS_2): Update to store into the new stack frame.
14563         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
14564         (UNDOCARGS_1): Update to restore from the new stack frame.
14565         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
14566         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
14568         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14569         (SINGLE_THREAD_P): New parameter for result regno.
14570         (PSEUDO): Update to match; use cbz instead of beq.
14572         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14573         Use ENTRY to define the _nocancel entry point.  Share the syscall
14574         and syscall error check paths with the cancel path.
14575         (PSEUDO_END): New.
14577         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
14578         whitespace; tabs before and after asm mnemonics.
14580 2014-05-29  Eric Wong  <normalperson@yhbt.net>
14582         [BZ #15132]
14583         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14584         Call fstat64 or stat64 internally, depending on arguments passed.
14585         Replace stat buffer argument with file descriptor argument.
14586         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
14587         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14588         Pass fd to __internal_statvfs instead of calling fstat64.
14589         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
14590         Pass fd to __internal_statvfs64 instead of calling fstat64.
14591         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
14592         Pass -1 to __internal_statvfs instead of calling stat64.
14593         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
14594         Pass -1 to __internal_statvfs64 instead of calling stat64.
14596 2014-05-28  Roland McGrath  <roland@hack.frob.com>
14598         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
14599         that was previously under [RESET_PID].
14600         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
14602         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
14603         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
14605 2014-05-27  Roland McGrath  <roland@hack.frob.com>
14607         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
14609         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
14610         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
14612 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
14614         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
14616 2014-05-27  Andreas Schwab  <schwab@suse.de>
14618         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
14619         TLS_INIT_TP macro.
14620         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
14621         * elf/rtld.c (init_tls, dl_main): Likewise.
14622         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
14623         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
14624         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
14625         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
14626         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
14627         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
14628         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
14629         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
14630         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
14631         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
14632         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
14633         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
14634         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
14635         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
14636         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
14637         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
14638         * sysdeps/generic/tls.h: Update description.
14640 2014-05-27  Will Newton  <will.newton@linaro.org>
14642         [BZ #16990]
14643         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
14644         and restore r2 rather than just restoring.
14646 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14648         [BZ #16724]
14649         * libio/tst-ftell-append.c: New test case.
14650         * libio/Makefile (tests): Add test case.
14651         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
14652         append mode.
14653         * libio/wfileops.c (do_ftell_wide): Likewise.
14655 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14659         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
14660         ...
14661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
14662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14663         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
14664         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
14665         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
14666         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
14667         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
14668         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
14669         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
14670         Moved ...
14671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
14672         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
14673         Moved ...
14674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
14675         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
14676         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
14677         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
14678         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
14679         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
14680         ...
14681         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
14682         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
14683         Moved ...
14684         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
14685         here.
14686         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
14687         ...
14688         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
14689         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
14690         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
14692         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
14693         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
14694         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
14695         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
14697         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
14698         merge into ...
14699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
14700         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
14701         ...
14702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
14703         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
14704         ...
14705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
14706         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14707         Moved ...
14708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
14709         here.
14710         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14711         Moved ...
14712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
14713         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14714         Moved ...
14715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
14717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
14718         conditional [RESET_PID].
14719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
14720         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
14721         removed.
14722         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
14723         removed.
14725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
14726         <tcb-offsets.h>.
14727         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14728         (__libc_vfork): New strong alias.
14729         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
14730         removed.
14731         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
14732         Removed.
14734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
14735         <tcb-offsets.h>.
14736         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
14737         (__libc_vfork): New strong alias.
14738         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
14739         removed.
14740         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
14741         removed.
14743 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
14745         * malloc/malloc.c (mi_arena): New function.
14746         (malloc_info): Remove nested function mi_arena. Call non-nosted
14747         function mi_arena.
14749 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14751         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
14752         by insrwi.
14753         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
14754         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
14755         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
14756         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
14757         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
14758         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
14759         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
14761 2014-05-26  Andreas Schwab  <schwab@suse.de>
14763         [BZ #16984]
14764         * locale/programs/repertoire.c (repertoire_read): Add slash
14765         between I18NPATH element and file name.
14766         * locale/programs/locfile.c (locfile_read): Likewise.
14768 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
14770         * nptl/pthread_mutexattr_settype.c
14771         (__pthread_mutexattr_settype):
14772         Disable lock elision for PTHREAD_MUTEX_NORMAL.
14774 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
14776         * nptl/tst-mutex5 (do_test):
14777         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
14779 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14781         * benchtests/README: Document 'init' directive.
14782         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
14783         BENCH_INIT.
14784         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
14785         (parse_file): Recognize 'init' directive.
14787 2014-05-26  Kyle McMartin  <kyle@redhat.com>
14789         [BZ #16796]
14790         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
14791         alignment of struct pthread.
14793 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14795         [BZ #16878]
14796         * nscd/netgroupcache.c (addgetnetgrentX): Look for
14797         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
14798         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
14799         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
14801 2014-05-25  Richard Henderson  <rth@twiddle.net>
14803         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14804         (SINGLE_THREAD_P_PIC): Remove.
14805         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
14806         (SINGLE_THREAD_P_PIC): Remove.
14808         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
14809         branch to syscall error ...
14810         (PSEUDO): ... here.
14811         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
14812         from __local_syscall_error to .Lsyscall_error.
14813         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
14814         (SYSCALL_ERROR): Update label name.
14816         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14817         Do not use DOARGS/UNDOARGS.
14818         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
14819         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
14820         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
14821         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
14822         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
14824         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
14825         block comment.
14827         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
14828         define if !NOT_IN_libc.
14829         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
14830         define with non-default symbol versions.
14832 2014-05-23  Richard Henderson  <rth@twiddle.net>
14834         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
14835         (vfork, __vfork): Define via compat_symbol.
14837         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
14838         [!HAVE_IFUNC] (vfork_compat): Remove.
14839         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
14841 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
14843         [BZ #16978]
14844         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
14845         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
14846         variable.
14848 2014-05-23  Richard Henderson  <rth@twiddle.net>
14850         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
14851         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
14852         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
14853         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
14855         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
14856         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
14857         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
14858         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
14859         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
14860         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
14861         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
14862         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
14863         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
14864         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
14865         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
14866         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
14867         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
14868         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
14869         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
14870         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
14871         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
14872         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
14873         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
14874         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
14875         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
14876         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
14877         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
14878         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
14879         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
14880         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
14881         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
14882         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
14883         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
14884         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
14885         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
14886         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
14887         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
14888         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
14889         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
14890         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
14891         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
14892         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
14893         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
14894         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
14895         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
14896         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
14897         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
14898         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
14899         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
14900         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
14901         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
14902         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
14903         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
14904         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
14905         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
14906         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
14907         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
14908         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
14909         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
14910         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
14912         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
14913         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
14914         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
14915         before exiting on error.
14916         (__libc_vfork): New strong alias.
14917         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
14918         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
14920         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
14921         that was previously under [RESET_PID].
14922         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
14924         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
14926 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
14928         [BZ #16977]
14929         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
14930         value when x - 1 is zero.
14931         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
14932         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
14933         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
14934         0.0L for an argument of 1.0L.
14935         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
14936         Likewise.
14937         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
14938         value when x - 1 is zero.
14939         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
14940         * sysdeps/i386/fpu/libm-test-ulps: Update.
14941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14943 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14945         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
14946         alphasort and versionsort.
14948 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14950         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
14951         macro.
14952         [copysignf]: Likewise.
14954 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14956         * crypt/md5-crypt.c: Fix formatting.
14958 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14960         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
14961         (b64_from_24bit): New function.
14963 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14965         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
14966         libc_hidden_builtin_def to ifunc.
14967         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14968         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
14970 2014-05-21  Roland McGrath  <roland@hack.frob.com>
14972         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
14973         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
14975 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
14977         * nscd/Depend (linuxthreads): Remove.
14978         (nptl): Add.
14979         * resolv/Depend (linuxthreads): Remove.
14980         * rt/Depend (linuxthreads): Remove.
14982         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
14983         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
14984         $(common-objpfx)elf/.
14985         (link-libc-before-gnulib): Likewise.
14986         (elfobjdir): Remove variable.
14987         * Makefile (install): Use $(elf-objpfx) instead of
14988         $(common-objpfx)elf/.
14989         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
14990         $(elfobjdir)/.
14991         (link-libc-deps): Likewise.
14992         ($(common-objpfx)libc.so): Likewise.
14993         ($(common-objpfx)linkobj/libc.so): Likewise.
14994         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
14995         instead of $(common-objpfx)elf/.
14996         (symbolic-link-list): Likewise.
14997         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14998         [$(cross-compiling) = no]: Likewise.
14999         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
15000         $(elfobjdir)/.
15001         (static-gnulib-arch): Likewise.
15002         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15003         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
15004         $(common-objpfx)elf/.
15006 2014-05-21  Richard Henderson  <rth@redhat.com>
15008         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15009         (SINGLE_THREAD_P): Use the correct width load.  Fold
15010         into the ldr offset.
15012         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
15013         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
15015 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
15017         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
15018         (libgcc_s_resume): Use __attribute_used__.
15019         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
15020         Likewise.
15022 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15024         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
15025         optimization when used with float constants.
15027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15029 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
15031         [BZ #16915]
15032         * locale/nl_langinfo_l.c: Make direct reference to every
15033         _nl_current_CATEGORY symbol.
15034         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
15035         (tests-static): Add tst-langinfo-static.
15036         (tests-special): Add tst-langinfo-static.out.
15037         ($(objpfx)tst-langinfo.out): Redirect output.
15038         ($(objpfx)tst-langinfo-static.out): New.
15039         * localedata/tst-langinfo.sh: Send output to stdout.
15040         * localedata/tst-langinfo-static.c: New file.
15042         [BZ #16965]
15043         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
15044         when the shift amount is modulo the limb size.
15046 2014-05-20  Richard Henderson  <rth@redhat.com>
15048         [BZ #16967]
15049         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
15050         Change type of sa_flags from unsigned int to int.
15052         [BZ #16966]
15053         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
15055         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
15057 2014-05-20  Will Newton  <will.newton@linaro.org>
15059         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15060         Test the return value of the system call in the nocancel case.
15062 2014-05-20  Will Newton  <will.newton@linaro.org>
15063             Yvan Roux  <yvan.roux@linaro.org>
15065         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
15066         #include of asm/ptrace.h.
15067         (PTRACE_GET_THREAD_AREA): Remove #undef.
15068         (PTRACE_GETHBPREGS): Likewise.
15069         (PTRACE_SETHBPREGS): Likewise.
15070         (struct user_regs_struct): New structure.
15071         (struct user_fpsimd_struct): New structure.
15072         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
15073         #include of asm/ptrace.h and second #include of sys/user.h.
15074         (PTRACE_GET_THREAD_AREA): Remove #undef.
15075         (PTRACE_GETHBPREGS): Likewise.
15076         (PTRACE_SETHBPREGS): Likewise.
15077         (ELF_NGREG): Use new struct user_regs_struct.
15078         (elf_fpregset_t): Use new struct user_fpsimd_struct.
15080 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15082         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
15083         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
15085 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
15087         [BZ #16958]
15088         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
15089         membar to avoid block loads/stores to overlap previous stores.
15091 2014-05-17  Richard Henderson  <rth@redhat.com>
15093         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
15094         Create the __##syscall_name##_nocancel entry point.
15095         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
15096         Remove; let the sysdep-cancel.h code create it.
15098 2014-05-17  David S. Miller  <davem@davemloft.net>
15100         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
15101         Protect with __USE_GNU.
15102         (TIOCSET_TEMPT): Likewise.
15103         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15104         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
15105         these are already provided in bits/ioctl-types.h
15107 2014-05-16  Roland McGrath  <roland@hack.frob.com>
15109         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
15110         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
15112         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
15113         Use wait4 regardless of [__NR_waitpid].
15115 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
15117         PR libgcc/60166
15118         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15119         (_FP_NANSIGN_Q): Set the quiet bit.
15121 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
15123         * benchtests/Makefile
15124         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
15125         not $(common-objpfx)math/libm.so.
15126         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
15127         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
15128         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
15129         $(common-objpfx)dlfcn/libdl.so.
15130         ($(objpfx)tst-audit8): Depend on $(libm), not
15131         $(common-objpfx)math/libm.so.
15132         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
15133         not $(common-objpfx)dlfcn/libdl.so.
15134         * math/Makefile
15135         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15136         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
15137         [$(build-shared) = yes].
15138         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
15139         $(common-objpfx)nptl/libpthread.so.
15140         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
15141         $(common-objpfx)math/libm.so$(libm.so-version) or
15142         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
15143         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
15144         $(common-objpfx)dlfcn/libdl.so.
15145         * setjmp/Makefile (link-libm): Remove variable.
15146         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
15147         * stdio-common/Makefile (link-libm): Remove variable.
15148         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
15149         * stdlib/Makefile (link-libm): Remove variable.
15150         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
15151         ($(objpfx)tst-strtod-round): Likewise.
15152         ($(objpfx)tst-tininess): Likewise.
15153         ($(objpfx)tst-strtod-underflow): Likewise.
15154         ($(objpfx)tst-strtod6): Likewise.
15155         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
15156         $(libdl), not $(common-objpfx)nptl/libpthread.so and
15157         $(common-objpfx)dlfcn/libdl.so.
15159 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15161         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
15162         BSD terminal modes definitions.
15164 2014-05-16  Roland McGrath  <roland@hack.frob.com>
15166         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
15167         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
15169         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
15170         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
15171         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
15172         Don't do #include_next.
15173         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
15174         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
15175         Don't do #include_next.
15176         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
15177         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
15178         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
15179         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
15181 2014-05-16  Allan McRae  <allan@archlinux.org>
15183         * po/sv.po: Update Swedish translation from translation project.
15185         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
15186         in sed expression.
15188 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
15190         [BZ #16917]
15191         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
15192         errno if the TIOCGPTN ioctl fails with an error different than
15193         EINVAL.
15194         * login/tst-ptsname.c: New file.
15195         * login/Makefile (tests): Add tst-ptsname.
15197         [BZ #16943]
15198         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
15199         and prlimit64.
15201 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15203         [BZ #16849]
15204         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
15205         herrno to return EAI_AGAIN.
15207 2014-05-14  Roland McGrath  <roland@hack.frob.com>
15209         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
15210         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
15211         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
15212         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
15213         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
15214         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
15215         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
15216         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
15217         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
15218         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
15219         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
15220         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
15221         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
15222         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
15223         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
15224         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
15225         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
15226         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
15227         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
15228         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
15229         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
15230         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
15231         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
15232         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
15233         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
15234         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
15235         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
15236         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
15237         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
15238         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
15239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
15240         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
15241         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
15242         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
15243         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15244         Moved ...
15245         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
15246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
15247         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
15248         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
15249         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
15250         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
15251         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
15252         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
15253         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
15254         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
15255         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
15256         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
15257         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
15258         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
15259         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
15260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
15261         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
15262         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
15263         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
15264         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
15265         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
15266         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
15267         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
15268         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
15269         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
15270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
15271         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
15272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15273         Moved ...
15274         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
15275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
15276         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
15277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
15278         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
15279         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
15280         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
15281         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
15282         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
15283         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
15284         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
15285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
15286         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
15287         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
15288         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
15289         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
15290         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
15291         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
15292         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
15293         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15294         Moved ...
15295         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
15296         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
15297         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
15299         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
15300         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
15301         (libpthread-sysdep_routines): Add elision-related stuff here instead.
15302         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
15303         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
15304         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
15305         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
15306         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
15307         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
15308         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
15309         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
15310         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
15311         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
15312         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
15313         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
15314         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
15315         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
15316         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
15317         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
15318         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
15319         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
15320         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
15321         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
15322         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
15323         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
15324         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
15325         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
15326         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
15327         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
15328         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
15329         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
15331         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
15332         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
15334         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
15335         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
15336         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
15337         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
15338         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
15339         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
15340         Moved ...
15341         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
15342         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15343         Moved ...
15344         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
15345         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15346         Moved ...
15347         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
15348         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
15349         Moved ...
15350         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
15351         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
15352         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
15353         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15354         Moved ...
15355         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
15356         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
15357         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
15358         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
15359         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
15360         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
15361         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
15362         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15363         Moved ...
15364         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
15365         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15366         Moved ...
15367         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15368         ... here.
15369         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
15370         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
15371         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
15372         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
15373         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15374         Moved ...
15375         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15376         ... here.
15377         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
15378         Moved ...
15379         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
15380         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
15381         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
15382         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
15383         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
15384         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
15385         Moved ...
15386         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
15387         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15388         Moved ...
15389         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
15390         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15391         Moved ...
15392         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
15393         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
15394         Moved ...
15395         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
15396         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
15397         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
15398         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
15399         Moved ...
15400         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
15401         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
15402         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
15403         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
15404         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
15405         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
15406         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
15407         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
15408         Moved ...
15409         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
15410         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15411         Moved ...
15412         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15413         ... here.
15414         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
15415         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
15416         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
15417         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
15418         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15419         Moved ...
15420         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15421         ... here.
15422         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
15423         Moved ...
15424         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
15425         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
15426         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
15427         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
15428         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
15429         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
15430         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
15431         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
15432         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
15433         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
15434         Moved ...
15435         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
15436         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
15437         Moved ...
15438         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
15439         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
15440         Moved ...
15441         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
15442         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
15443         Moved ...
15444         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
15445         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
15446         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
15447         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
15448         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
15449         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
15450         Moved ...
15451         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
15452         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
15453         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
15454         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
15455         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
15456         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
15457         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
15458         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
15459         Moved ...
15460         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
15461         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
15462         Moved ...
15463         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
15464         ... here.
15465         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
15466         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
15467         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
15468         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
15469         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
15470         Moved ...
15471         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
15472         ... here.
15473         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
15474         Moved ...
15475         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
15476         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
15477         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
15478         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
15479         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
15480         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
15481         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
15482         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
15483         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
15484         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
15485         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
15487         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
15488         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
15490         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
15491         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
15493         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
15494         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
15495         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
15496         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
15497         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
15498         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
15499         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
15500         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
15501         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
15502         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
15503         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
15504         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
15505         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
15506         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
15507         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
15508         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
15509         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
15510         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
15511         Moved ...
15512         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
15513         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
15514         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
15515         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
15516         Moved ...
15517         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
15518         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
15519         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
15520         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
15521         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
15522         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
15523         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
15524         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
15525         Moved ...
15526         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
15527         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
15528         Moved ...
15529         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
15530         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
15531         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
15532         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
15533         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
15534         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
15535         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
15536         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
15537         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
15538         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
15539         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
15540         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
15541         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
15542         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
15543         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
15544         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
15545         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
15547         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
15548         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
15549         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
15550         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
15551         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
15553         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
15554         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
15555         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
15556         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
15557         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
15558         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
15559         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
15560         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
15561         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
15562         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
15564         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
15565         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
15567         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
15568         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
15569         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
15570         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
15571         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
15572         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
15573         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
15574         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
15575         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
15576         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
15577         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
15578         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
15579         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
15580         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
15581         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
15582         Update #include.
15583         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
15584         Likewise.
15585         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15586         Likewise.
15587         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15588         Likewise.
15589         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15590         Likewise.
15591         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
15592         Likewise.
15593         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
15594         Likewise.
15595         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15596         Likewise.
15597         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
15598         Likewise.
15599         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
15600         Likewise.
15601         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
15602         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
15603         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
15604         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
15605         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
15606         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
15607         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
15608         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
15609         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
15610         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
15611         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
15612         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
15613         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
15614         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
15615         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
15617         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
15618         that was previously under [RESET_PID].
15619         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15620         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
15621         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
15623         * sysdeps/i386/nptl/Implies: New file.
15624         * sysdeps/x86_64/nptl/Implies: New file.
15625         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
15626         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
15627         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
15628         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
15630         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
15631         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15632         (__libc_vfork): New strong alias.
15633         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
15634         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
15636         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
15637         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15638         (__libc_vfork): New strong alias.
15639         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
15640         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
15642         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
15643         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15644         (__libc_vfork): New strong alias.
15645         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
15646         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
15647         * nptl/pt-vfork.c: New file.
15648         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
15649         (libpthread: GLIBC_2.20): New version set (empty).
15651 2014-05-14  Will Newton  <will.newton@linaro.org>
15653         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
15654         rather than #if.
15656 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
15658         [BZ #16564]
15659         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
15660         arguments with exponent 65 or above.
15661         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
15662         arguments 0x1p113L or above.
15663         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
15664         to arguments 0x1p107L or above.
15665         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
15666         positive arguments with exponent 65 or above.
15667         * math/auto-libm-test-in: Add more tests of log1p.
15668         * math/auto-libm-test-out: Regenerated.
15670         [BZ #16928]
15671         * math/s_cacos.c (__cacos): Ensure zero real part of result from
15672         non-finite arguments is +0.
15673         * math/s_cacosf.c (__cacosf): Likewise.
15674         * math/s_cacosl.c (__cacosl): Likewise.
15675         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
15676         * sysdeps/i386/fpu/libm-test-ulps: Update.
15677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15679         [BZ #16927]
15680         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
15681         value.
15682         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
15683         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
15684         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
15685         for explicit high bit of mantissa when testing for argument equal
15686         to 1.
15687         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
15688         * sysdeps/i386/fpu/libm-test-ulps: Update.
15689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15691         [BZ #16516]
15692         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
15693         (__erf): Scale by 16 instead of 8 in potentially underflowing
15694         case.  Ensure exception if result actually underflows.
15695         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
15696         (__erff): Scale by 16 instead of 8 in potentially underflowing
15697         case.  Ensure exception if result actually underflows.
15698         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
15699         (efx8): Remove variable.
15700         (__erfl): Scale by 16 instead of 8 in potentially underflowing
15701         case.  Ensure exception if result actually underflows.
15702         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
15703         (efx8): Remove variable.
15704         (__erfl): Scale by 16 instead of 8 in potentially underflowing
15705         case.  Ensure exception if result actually underflows.
15706         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
15707         (efx8): Remove variable.
15708         (__erfl): Scale by 16 instead of 8 in potentially underflowing
15709         case.  Ensure exception if result actually underflows.
15710         * math/auto-libm-test-in: Add more tests of erf.
15711         * math/auto-libm-test-out: Regenerated.
15713 2014-05-14  Andreas Schwab  <schwab@suse.de>
15715         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
15716         Remove code conditionalized on USE___THREAD.
15718         * config.h.in (HAVE_PT_CHOWN): Define as 0.
15719         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
15720         not definedness.
15722 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
15724         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
15725         Define unconditionally.
15726         (__ASSUME_O_CLOEXEC): Likewise.
15727         (__ASSUME_SOCK_CLOEXEC): Likewise.
15728         (__ASSUME_IN_NONBLOCK): Likewise.
15729         (__ASSUME_PIPE2): Likewise.
15730         (__ASSUME_EVENTFD2): Likewise.
15731         (__ASSUME_SIGNALFD4): Likewise.
15732         (__ASSUME_DUP3): Likewise.
15733         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15734         (__ASSUME_DUP3): Do not define.
15735         (__ASSUME_EVENTFD2): Likewise.
15736         (__ASSUME_IN_NONBLOCK): Likewise.
15737         (__ASSUME_O_CLOEXEC): Likewise.
15738         (__ASSUME_PIPE2): Likewise.
15739         (__ASSUME_SIGNALFD4): Likewise.
15740         (__ASSUME_SOCK_CLOEXEC): Likewise.
15741         (__ASSUME_UTIMES): Undefine.
15742         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15743         (__ASSUME_UTIMES): Do not define.
15744         (__ASSUME_O_CLOEXEC): Likewise.
15745         (__ASSUME_SOCK_CLOEXEC): Likewise.
15746         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
15747         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
15748         0x020621].
15749         (__ASSUME_PIPE2): Likewise.
15750         (__ASSUME_EVENTFD2): Likewise.
15751         (__ASSUME_SIGNALFD4): Likewise.
15752         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
15753         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
15754         Do not define.
15755         (__ASSUME_EVENTFD2): Likewise.
15756         (__ASSUME_SIGNALFD4): Likewise.
15757         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15758         (__ASSUME_32BITUIDS): Likewise.
15759         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15760         (__ASSUME_IPC64): Likewise.
15761         (__ASSUME_ST_INO_64_BIT): Likewise.
15762         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
15763         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
15764         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15765         (__ASSUME_UTIMES): Do not define.
15766         (__ASSUME_PSELECT): Likewise.
15767         (__ASSUME_PPOLL): Likewise.
15768         (__ASSUME_O_CLOEXEC): Likewise.
15769         (__ASSUME_SOCK_CLOEXEC): Likewise.
15770         (__ASSUME_IN_NONBLOCK): Likewise.
15771         (__ASSUME_PIPE2): Likewise.
15772         (__ASSUME_EVENTFD2): Likewise.
15773         (__ASSUME_SIGNALFD4): Likewise.
15774         (__ASSUME_DUP3): Likewise.
15775         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15776         (__ASSUME_UTIMES): Likewise.
15777         (__ASSUME_O_CLOEXEC): Likewise.
15778         (__ASSUME_SOCK_CLOEXEC): Likewise.
15779         (__ASSUME_IN_NONBLOCK): Likewise.
15780         (__ASSUME_PIPE2): Likewise.
15781         (__ASSUME_EVENTFD2): Likewise.
15782         (__ASSUME_SIGNALFD4): Likewise.
15783         (__ASSUME_DUP3): Likewise.
15784         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15785         (__ASSUME_UTIMES): Likewise.
15786         (__ASSUME_O_CLOEXEC): Likewise.
15787         (__ASSUME_SOCK_CLOEXEC): Likewise.
15788         (__ASSUME_IN_NONBLOCK): Likewise.
15789         (__ASSUME_PIPE2): Likewise.
15790         (__ASSUME_EVENTFD2): Likewise.
15791         (__ASSUME_SIGNALFD4): Likewise.
15792         (__ASSUME_DUP3): Likewise.
15793         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
15794         Likewise.
15795         (__ASSUME_UTIMES): Likewise.
15796         (__ASSUME_EVENTFD2): Likewise.
15797         (__ASSUME_SIGNALFD4): Likewise.
15798         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15799         (__ASSUME_O_CLOEXEC): Likewise.
15800         (__ASSUME_SOCK_CLOEXEC): Likewise.
15801         (__ASSUME_IN_NONBLOCK): Likewise.
15802         (__ASSUME_PIPE2): Likewise.
15803         (__ASSUME_EVENTFD2): Likewise.
15804         (__ASSUME_SIGNALFD4): Likewise.
15805         (__ASSUME_DUP3): Likewise.
15806         (__ASSUME_UTIMES): Undefine.
15808         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
15809         feclearexcept.  Remove symbol versioning code.
15810         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
15811         symbol versioning code.
15812         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
15813         symbol versioning code.
15814         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
15815         feupdateenv.  Remove symbol versioning code.
15816         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
15817         fegetexceptflag.  Remove symbol versioning code.
15818         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
15819         fesetexceptflag.  Remove symbol versioning code.
15820         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
15821         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
15822         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
15823         (__posix_fadvise64_l32): Remove prototype.
15824         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
15825         code.
15827 2014-05-13  Roland McGrath  <roland@hack.frob.com>
15829         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
15830         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
15831         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
15832         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
15834 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
15836         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
15837         current working directory
15839 2014-05-13  Roland McGrath  <roland@hack.frob.com>
15841         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
15842         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
15843         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
15844         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
15845         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
15846         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
15847         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
15848         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
15849         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
15850         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
15851         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
15852         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
15853         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
15854         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
15855         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
15856         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
15857         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
15858         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
15859         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
15860         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
15861         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
15862         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
15863         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
15864         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
15865         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
15866         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
15867         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
15868         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
15869         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
15870         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
15871         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
15872         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
15873         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
15874         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
15875         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
15876         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
15877         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
15878         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
15879         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
15880         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
15881         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
15882         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
15884         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
15885         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
15887         * sysdeps/unix/sysv/linux/arm/Makefile
15888         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
15889         Add rt-aeabi_unwind_cpp_pr1.
15890         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
15891         Add nptl-aeabi_unwind_cpp_pr1.
15892         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
15893         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
15894         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
15895         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15896         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
15897         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15899         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
15900         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
15901         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
15902         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
15904         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
15905         Deconditionalize the code that was previously under [RESET_PID].
15906         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
15908         * sysdeps/generic/exit-thread.h: New file.
15909         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
15910         * include/unistd.h (__exit_thread): Remove declaration.
15911         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
15912         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
15913         * csu/libc-start.c: Include <exit-thread.h>.
15914         (LIBC_START_MAIN): Pass no argument to __exit_thread.
15915         * nptl/pthread_create.c: Include <exit-thread.h>.
15916         (start_thread): Call __exit_thread in place of __exit_thread_inline.
15917         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
15918         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
15919         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
15920         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
15921         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
15922         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
15923         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
15924         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
15925         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
15926         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
15927         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
15928         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
15929         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
15930         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
15931         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
15932         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
15934 2014-05-13  Andreas Schwab  <schwab@suse.de>
15936         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
15938 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
15940         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15941         (__ASSUME_UTIMES): Do not condition on kernel version.
15942         (__ASSUME_PSELECT): Define unconditionally.
15943         (__ASSUME_PPOLL): Likewise.
15944         (__ASSUME_ATFCTS): Likewise.
15945         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
15946         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
15947         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
15948         (__ASSUME_UTIMENSAT): Define unconditionally.
15949         (__ASSUME_PRIVATE_FUTEX): Likewise.
15950         (__ASSUME_FALLOCATE): Likewise.
15951         (__ASSUME_O_CLOEXEC): Likewise.
15952         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
15953         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
15954         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
15955         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
15956         (__ASSUME_IN_NONBLOCK): Likewise.
15957         (__ASSUME_PIPE2): Likewise.
15958         (__ASSUME_EVENTFD2): Likewise.
15959         (__ASSUME_SIGNALFD4): Likewise.
15960         (__ASSUME_DUP3): Likewise.
15961         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15962         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
15963         (__ASSUME_AT_RANDOM): Likewise.
15964         (__ASSUME_PREADV): Likewise.
15965         (__ASSUME_PWRITEV): Likewise.
15966         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
15967         (__ASSUME_F_GETOWN_EX): Define unconditionally.
15968         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
15969         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15970         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
15971         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15972         (__ASSUME_O_CLOEXEC): Define unconditionally.
15973         (__ASSUME_PSELECT): Do not undefine conditionally.
15974         (__ASSUME_PPOLL): Likewise.
15975         (__ASSUME_ATFCTS): Likewise.
15976         (__ASSUME_SET_ROBUST_LIST): Likewise.
15977         (__ASSUME_UTIMENSAT): Likewise.
15978         (__ASSUME_FDATASYNC): Define unconditionally.
15979         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15980         (__ASSUME_SIGFRAME_V2): Likewise.
15981         )__ASSUME_EVENTFD2): Likewise.
15982         (__ASSUME_SIGNALFD4): Likewise.
15983         (__ASSUME_PSELECT): Do not undefine conditionally.
15984         (__ASSUME_PPOLL): Likewise.
15985         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15986         (__ASSUME_PSELECT): Define unconditionally.
15987         (__ASSUME_PPOLL): Likewise.
15988         (__ASSUME_O_CLOEXEC): Likewise.
15989         (__ASSUME_SOCK_CLOEXEC): Likewise.
15990         (__ASSUME_IN_NONBLOCK): Likewise.
15991         (__ASSUME_PIPE2): Likewise.
15992         (__ASSUME_EVENTFD2): Likewise.
15993         (__ASSUME_SIGNALFD4): Likewise.
15994         (__ASSUME_DUP3): Likewise.
15995         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15996         (__ASSUME_O_CLOEXEC): Likewise.
15997         (__ASSUME_SOCK_CLOEXEC): Likewise.
15998         (__ASSUME_IN_NONBLOCK): Likewise.
15999         (__ASSUME_PIPE2): Likewise.
16000         (__ASSUME_EVENTFD2): Likewise.
16001         (__ASSUME_SIGNALFD4): Likewise.
16002         (__ASSUME_DUP3): Likewise.
16003         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16004         (__ASSUME_EVENTFD2): Likewise.
16005         (__ASSUME_SIGNALFD4): Likewise.
16006         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16008 2014-05-12  Andreas Schwab  <schwab@suse.de>
16010         [BZ #16932]
16011         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
16012         (_nss_nis_gethostbyname4_r): Return error if item length is larger
16013         than maximum RPC packet size.
16014         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
16015         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
16016         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
16017         (_nss_nis_getservbyport_r): Likewise.
16019 2014-05-12  Will Newton  <will.newton@linaro.org>
16021         * malloc/Makefile (tests): Add tst-mallopt.
16022         * malloc/tst-mallopt.c: New file.
16024 2014-05-09  Roland McGrath  <roland@hack.frob.com>
16026         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
16027         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
16029 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16031         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
16032         (tst-tlsmod6.so): Likewise.
16034 2014-05-09  Roland McGrath  <roland@hack.frob.com>
16036         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
16038 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
16040         [BZ #16064]
16041         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
16042         and <dl-procinfo.h>.
16043         (__fegetenv): Save SSE state in envp->__eip if supported.
16044         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
16045         envp->__eip if supported.
16046         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
16047         and <dl-procinfo.h>.
16048         (__fesetenv): Always set __eip, __cs_selector, __opcode,
16049         __data_offset and __data_selector in environment to 0.  Set SSE
16050         state if supported.
16051         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16052         test-fenv-sse.
16053         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
16054         -mfpmath=sse.
16055         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
16057 2014-05-09  Will Newton  <will.newton@linaro.org>
16059         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
16060         and libc_relro_required for ARM.
16061         * sysdeps/arm/preconfigure: Regenerate.
16063 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
16064             Stefan Liebler  <stli@linux.vnet.ibm.com>
16066         * config.make.in (enable-lock-elision): New Makefile variable.
16067         * configure.ac: Likewise.
16068         * configure: Regenerate.
16069         * sysdeps/s390/configure.ac:
16070         Add check for gcc transactions support.
16071         * sysdeps/s390/configure: Regenerate.
16072         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
16073         Build elision files if enabled.
16074         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
16075         Add lock elision support for s390.
16076         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
16077         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
16078         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
16079         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
16080         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
16081         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
16082         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16083         Likewise.
16084         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
16085         Likewise.
16086         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
16087         Likewise.
16088         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
16089         Likewise.
16090         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
16091         (__lll_timedlock_elision, __lll_lock_elision)
16092         (__lll_unlock_elision, __lll_trylock_elision)
16093         (lll_timedlock_elision, lll_lock_elision)
16094         (lll_unlock_elision, lll_trylock_elision): Add.
16095         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16096         (pthread_mutex_t): Add lock elision support for s390.
16098 2014-05-14  Wilco  <wdijkstr@arm.com>
16100         * sysdeps/arm/fclrexcpt.c: Cleanup.
16101         * sysdeps/arm/fedisblxcpt.c: Cleanup.
16102         * sysdeps/arm/feenablxcpt.c: Cleanup.
16103         * sysdeps/arm/fegetenv.c: Cleanup.
16104         * sysdeps/arm/fegetexcept.c: Cleanup.
16105         * sysdeps/arm/fegetround.c: Cleanup.
16106         * sysdeps/arm/feholdexcpt.c: Cleanup.
16107         * sysdeps/arm/fesetenv.c: Cleanup.
16108         * sysdeps/arm/fesetround.c: Cleanup.
16109         * sysdeps/arm/feupdateenv.c: Cleanup.
16110         * sysdeps/arm/fgetexcptflg.c: Cleanup.
16111         * sysdeps/arm/fraiseexcpt.c: Cleanup.
16112         * sysdeps/arm/fsetexcptflg.c: Cleanup.
16113         * sysdeps/arm/ftestexcept.c: Cleanup.
16114         * sysdeps/arm/get-rounding-mode.h: Cleanup.
16115         * sysdeps/arm/setfpucw.c: Cleanup.
16117 2014-05-09  Will Newton  <will.newton@linaro.org>
16119         * sysdeps/arm/armv7/strcmp.S: New file.
16120         * NEWS: Mention addition of ARMv7 optimized strcmp.
16122 2014-05-08  Roland McGrath  <roland@hack.frob.com>
16124         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
16125         look for %.ac rather than %.in.
16127         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
16128         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
16129         * sysdeps/mach/hurd/configure: Regenerated.
16130         * sysdeps/unix/sysv/linux/configure: Regenerated.
16132         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
16134 2014-05-07  Steve Ellcey  <sellcey@mips.com>
16136         [BZ# 16922]
16137         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
16138         (LONG_SUB): Ditto.
16139         (PTR_SUB): Ditto.
16141 2014-05-07  Andreas Schwab  <schwab@suse.de>
16143         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
16144         when skipping over non-matching result from nscd.
16146 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
16148         [BZ #16876]
16149         * nptl/sockperf.c (client): Check socket return value.
16151         [BZ #16877]
16152         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
16153         nscd security class.
16155 2014-05-06  Roland McGrath  <roland@hack.frob.com>
16157         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
16158         * sysdeps/arm/unwind.h: ... here.
16160 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
16162         [BZ# 16916]
16163         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
16164         Define.
16166 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16168         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
16169         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
16170         multiarch strncpy for PPC64.
16171         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
16172         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
16173         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
16174         multiarch optimizations.
16175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16176         (__libc_ifunc_impl_list): Likewise.
16177         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
16178         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
16179         multiarch stpncpy for PPC64.
16180         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
16181         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
16183 2014-05-06  Andreas Schwab  <schwab@suse.de>
16185         [BZ #16912]
16186         * gmon/mcount.c (_MCOUNT_DECL): Use
16187         atomic_compare_and_exchange_bool_acq instead of
16188         catomic_compare_and_exchange_bool_acq.
16190 2014-05-05  Roland McGrath  <roland@hack.frob.com>
16192         * elf/Makefile (others, install-bin): Remove pldd.
16193         (pldd-modules): Variable removed.
16194         ($(objpfx)pldd): Target removed.
16195         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
16196         (others, install-bin): Append pldd here.
16197         ($(objpfx)pldd): New target.
16199         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
16200         to 0, so the first #if test emitted later doesn't see it undefined.
16201         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
16202         * sysdeps/gnu/errlist.c: Regenerated.
16204 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16206         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16207         [libc_hidden_builtin_def]: Define to empty value.
16208         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
16209         [libc_hidden_builtin_def]: Likewise.
16210         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
16211         [libc_hidden_builtin_def]: Likewise.
16212         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
16213         [libc_hidden_builtin_def]: Likewise.
16214         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
16215         __redirect_memcpy and define ifunc as default hidden symbol.
16216         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
16217         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
16219 2014-05-04  Adam Conrad  <adconrad@0c3.net>
16221         * locale/iso-4217.def: Reintroduce XDR currency.
16223 2014-05-04  Allan McRae  <allan@archlinux.org>
16225         * po/eo.po: Update Esperanto translation from translation project.
16227 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
16229         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
16230         and FEATURE_INDEX_MAX to 1.
16231         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
16233 2014-05-01  Steve Ellcey  <sellcey@mips.com>
16235         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
16236         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
16237         * iconvdata/big5.c (ONE_DIRECTION): Define.
16238         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
16239         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
16240         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
16241         * iconvdata/cp932.c (ONE_DIRECTION): Define.
16242         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
16243         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
16244         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
16245         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
16246         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
16247         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
16248         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
16249         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
16250         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
16251         * iconvdata/gbk.c (ONE_DIRECTION): Define.
16252         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
16253         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
16254         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
16255         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
16256         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
16257         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
16258         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
16259         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
16260         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
16261         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
16262         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
16263         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
16264         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
16265         * iconvdata/iso646.c (ONE_DIRECTION): Define.
16266         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
16267         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
16268         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
16269         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
16270         * iconvdata/johab.c (ONE_DIRECTION): Define.
16271         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
16272         * iconvdata/sjis.c (ONE_DIRECTION): Define.
16273         * iconvdata/t.61.c (ONE_DIRECTION): Define.
16274         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
16275         * iconvdata/tscii.c (ONE_DIRECTION): Define.
16276         * iconvdata/uhc.c (ONE_DIRECTION): Define.
16277         * iconvdata/unicode.c (ONE_DIRECTION): Define.
16278         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
16279         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
16280         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
16282 2014-05-01  Roland McGrath  <roland@hack.frob.com>
16284         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
16285         (_IO_JUMPS_OFFSET): Define to 0.
16287         * nptl/sysdeps/pthread/bits/libc-lock.h
16288         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
16289         (__libc_lock_define_initialized_recursive): Always define using
16290         initializer.  Modern compilers treat uninitialized (implicit zero) and
16291         explicit zero initializers the same (i.e. put the datum in bss).
16293 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
16295         * nscd/nscd-client.h: Include <string.h>.
16297 2014-05-01  David S. Miller  <davem@davemloft.net>
16299         [BZ #16885]
16300         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
16301         multiple zero bytes exist at the end of a string.
16302         Reported by Aurelien Jarno <aurelien@aurel32.net>
16304         * string/test-strcmp.c (check): Add explicit test for situations where
16305         there are multiple zero bytes after the first.
16307 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
16309         [BZ #16890]
16310         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
16311         when compiling wprintf.
16312         * stdio-common/tstdiomisc.c (t3): New function.
16313         (main): Call it.
16315 2014-05-01  Steve Ellcey  <sellcey@mips.com>
16317         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
16318         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
16319         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
16320         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
16322 2014-05-01  Steve Ellcey  <sellcey@mips.com>
16324         * stdlib/longlong.h: Updated from GCC.
16326 2014-05-01  Will Newton  <will.newton@linaro.org>
16327             Bernard Ogden  <bernie.ogden@linaro.org>
16329         * NEWS: Update fixed bug list.
16331         [BZ #15119]
16332         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
16334 2014-04-30  David S. Miller  <davem@davemloft.net>
16336         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
16337         (libc_feholdexcept_setround_sparc_ctx): New function.
16338         (libc_fesetenv_sparc_ctx): Likewise.
16339         (libc_feupdateenv_sparc_ctx): Likewise.
16340         (libc_feholdsetround_sparc_ctx): Likewise.
16341         (libc_feholdexcept_setround_ctx): Define.
16342         (libc_feholdexcept_setroundf_ctx): Likewise.
16343         (libc_feholdexcept_setroundl_ctx): Likewise.
16344         (libc_fesetenv_ctx): Likewise.
16345         (libc_fesetenvf_ctx): Likewise.
16346         (libc_fesetenvl_ctx): Likewise.
16347         (libc_feupdateenv_ctx): Likewise.
16348         (libc_feupdateenvf_ctx): Likewise.
16349         (libc_feupdateenvl_ctx): Likewise.
16350         (libc_feresetround_ctx): Likewise.
16351         (libc_feresetroundf_ctx): Likewise.
16352         (libc_feresetroundl_ctx): Likewise.
16353         (libc_feholdsetround_ctx): Likewise.
16354         (libc_feholdsetroundf_ctx): Likewise.
16355         (libc_feholdsetroundl_ctx): Likewise.
16357         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16358         with __USE_GNU instead of XOPEN cpp guards.
16360         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
16361         0.
16363         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16364         with XOPEN cpp guards.
16366 2014-04-30  Julian Brown  <julian@codesourcery.com>
16368         [BZ #16888]
16369         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
16370         handling.
16372 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
16374         [BZ #9894]
16375         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16376         Change to 2.6.32.
16377         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
16378         * sysdeps/unix/sysv/linux/configure: Regenerated.
16379         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
16380         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
16381         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
16382         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
16383         * README: Update reference to required Linux kernel version.
16384         * manual/install.texi (Linux): Update reference to required Linux
16385         kernel headers version.
16386         * INSTALL: Regenerated.
16388         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
16389         header inclusion.
16390         [POSIX] (limits.h): Likewise.
16391         [POSIX] (math.h): Likewise.
16392         [POSIX] (sys/wait.h): Likewise.
16393         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
16394         function.
16395         [POSIX] (stddef.h): Do not allow header inclusion.
16397 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16399         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
16401 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
16403         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
16404         Return immediately after lll_futex_wake.
16406 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16408         [BZ #16791]
16409         * nscd/nscd-client.h (datahead_init_common): Initialize entire
16410         structure.
16411         (datahead_init_pos): Call datahead_init_common early.
16412         (datahead_init_neg): Likewise.
16414         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
16415         datahead_init_neg): New functions.
16416         * nscd/aicache.c (addhstaiX): Use them.
16417         * nscd/grpcache.c (cache_addgr): Likewise.
16418         * nscd/hstcache.c (cache_addhst): Likewise.
16419         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16420         * nscd/netgroupcache.c (do_notfound): Likewise.
16421         (addgetnetgrentX): Likewise.
16422         (addinnetgrX): Likewise.
16423         * nscd/pwdcache.c (cache_addpw): Likewise.
16424         * nscd/servicescache.c (cache_addserv): Likewise.
16426 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16427             Atsushi Onoe  <atsushi@onoe.org>
16429         [BZ #14308]
16430         [BZ #12994]
16431         [BZ #13651]
16432         * resolv/res_query.c (__libc_res_nsearch): Return if at least
16433         one response is valid.
16434         * resolv/res_send.c (send_dg): Check for validity of other
16435         response if the current response is a referral.
16437 2014-04-29  Steve Ellcey  <sellcey@mips.com>
16439         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
16441 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
16443         [BZ #16823]
16444         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
16445         Always divide by positive zero when computing -Inf result.
16446         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16447         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
16449 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16451         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
16452         FPSCR if value do not change.
16453         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16454         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
16455         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16456         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16457         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
16458         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
16459         function.
16461 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
16463         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
16464         * sysdeps/unix/sysv/linux/hppa: Move directory from
16465         ports/systeps/unix/sysv/linux/hppa.
16466         * README: Update listing for hppa-*-linux-gnu.
16468 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
16470         [BZ #16754]
16471         * manual/stdio.texi (Hook functions): Fix types of stream hook
16472         functions.
16473         [BZ #16854]
16474         * socket/sys/socket.h: Fix typo in comment.
16476 2014-04-28  Wilco  <wdijkstr@arm.com>
16478         * sysdeps/arm/fenv_private.h: New file.
16479         * sysdeps/arm/math_private.h: New file.
16480         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
16482 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
16484         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
16485         with __int128_t.
16486         (La_x86_64_retval): Likewise.
16488 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
16490         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
16491         fpsr if value didn't change.
16492         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
16493         to fpcr if value didn't change.
16494         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
16495         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
16496         fpsr or fpcr if value didn't change.
16497         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16498         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
16499         fpcr if value didn't change.
16500         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
16501         to fpsr if value didn't change.
16503 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16505         * nptl/tst-sem3.c: Use test-skeleton.c
16506         (main): Rename to do_test.  Use return instead of
16507         exit.
16508         * nptl/tst-sem4.c: Use test-skeleton.c
16509         (main): Rename to do_test.
16511 2014-04-22  David S. Miller  <davem@davemloft.net>
16513         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
16514         (struct sigaction): New struct member __glibc_reserved0, change
16515         type of sa_flags to int.
16517 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
16519         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
16520         (COUNT_LEADING_ZEROS_0): Define for AArch64.
16522 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16524         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
16525         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
16527 2014-04-22  Will Newton  <will.newton@linaro.org>
16528             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
16530         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
16531         (__longjmp): Add longjmp and longjmp_target SystemTap
16532         probes.
16533         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
16534         (__sigsetjmp): Add setjmp SystemTap probe.
16536 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
16538         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
16539         match manual order.
16541 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16543         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
16545         * sysdeps/powerpc/fpu/fenv_private.h
16546         (libc_feholdexcept_setroundl_ctx): Define to
16547         libc_feholdexcept_setround_ppc_ctx.
16548         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
16549         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
16550         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
16551         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
16553 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
16555         * sysdeps/aarch64/math-tests.h: New file.
16557 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
16559         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
16560         New.
16561         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16562         Check and set bit_AVX2_Usable.
16563         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
16564         macro.
16565         (bit_AVX2): Likewise.
16566         (index_AVX2_Usable): Likewise.
16567         (CPUID_AVX2): Likewise.
16568         (HAS_AVX2): Likewise.
16570 2014-04-17  Will Newton  <will.newton@linaro.org>
16572         * manual/setjmp.texi (System V contexts): Add note that
16573         calling setcontext on a context created by a call to a
16574         signal handler is undefined.  Update text to note that
16575         setcontext from a signal handler is possible but not
16576         recommended.
16578         [BZ #16629]
16579         * stdlib/tst-setcontext.c: Include signal.h.
16580         (main): Check that the signal stack before and
16581         after swapcontext is the same.
16583         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
16584         Re-implement to restore registers in user code and avoid
16585         rt_sigreturn system call.
16587 2014-04-17  Wilco  <wdijkstr@arm.com>
16589         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
16590         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
16591         * math/test-fenv.c: Skip exception trap tests on targets which only
16592         support non-stop mode.
16594 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
16595             Wilco Dijkstra  <wilco.dijkstra@arm.com>
16597         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
16598         (libc_feholdsetround_aarch64_ctx)
16599         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
16600         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
16601         (libc_feresetround_ctx, libc_feresetroundf_ctx)
16602         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
16603         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
16604         (libc_feresetround_noexl_ctx): Define.
16606 2014-04-16  Richard Henderson  <rth@redhat.com>
16608         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
16610         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
16611         unwind tables.
16613         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
16614         const from the non-libc, non-ldso copy.
16616         * sysdeps/alpha/libm-test-ulps: Regenerate.
16618 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
16619             Wilco Dijkstra  <wilco.dijkstra@arm.com>
16621         * sysdeps/aarch64/fpu/math_private.h: New file.
16623 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16625         * sysdeps/aarch64/libm-test-ulps: Regenerate.
16627 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
16629         [BZ #16275]
16630         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
16631         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
16632         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
16633         Intel MPX bound registers before _dl_profile_fixup.
16634         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
16635         registers after _dl_profile_fixup.  Save and restore bound
16636         registers bnd0/bnd1 when calling _dl_call_pltexit.
16637         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
16638         (LR_BND_OFFSET): Likewise.
16639         (LRV_BND0_OFFSET): Likewise.
16640         (LRV_BND1_OFFSET): Likewise.
16642 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16644         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
16645         to...
16646         * sysdeps/mach/hurd/i386/tls.h: ... here.
16647         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
16648         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
16649         fields.
16651 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16653         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
16655 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16657         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16659 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16661         [BZ #14770]
16662         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
16663         * sysdeps/s390/configure: Regenerate.
16665         [BZ #16824]
16666         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
16667         Set round-to-nearest internally to reduce error accumulation.
16669 2014-04-16  Alan Modra  <amodra@gmail.com>
16671         [BZ #16740]
16672         [BZ #16619]
16673         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
16674         * math/libm-test.inc (frexp_test_data): Add tests.
16675         * NEWS: Update fixed bug list.
16677 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16679         * benchtests/Makefile: Depend on libraries in build directory.
16680         (bench-math): Separate out math tests.
16681         (bench-pthread): Separate out pthread tests.
16682         (bench): Include math and pthread tests.
16684 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
16686         [BZ #16831]
16687         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
16688         _dl_debug_initialize.
16690         * configure.ac: Remove SELinux header check.
16691         * configure: Regenerate.
16692         * nscd/selinux.c (perms): Array of const char* to permission names.
16693         (nscd_request_avc_has_perm): Call security_deny_unknown to find
16694         default policy. Call string_to_security_class and string_to_av_perm to
16695         translate strings. Enforce default policy and call avs_has_perm with
16696         results of translated strings.
16698 2014-04-13  David S. Miller  <davem@davemloft.net>
16700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16702 2014-04-12  Allan McRae  <allan@archlinux.org>
16704         [BZ #16838]
16705         * manual/string.texi (Collation Functions): Fix qsort argument
16706         order in example.
16707         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16709 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
16711         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
16712         Make the test a no-op if there are no exceptions defined.
16714 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16716         * elf/Makefile (tests): make tst-dlopen-aout conditional on
16717         enable-hardcoded-path-in-tests
16719 2014-04-11  Will Newton  <will.newton@linaro.org>
16721         * benchtests/Makefile (extra-objs): Add json-lib.o.
16722         (bench-func): Tidy up JSON output.
16723         * benchtests/bench-skeleton.c: Include json-lib.h.
16724         (main): Use JSON library functions to do output of
16725         benchmark results.
16726         * benchtests/bench-timing-type.c (main): Output the
16727         timing type simply, leaving formatting to the user.
16728         * benchtests/json-lib.c: New file.
16729         * benchtests/json-lib.h: Likewise.
16731 2014-04-11  Torvald Riegel  <triegel@redhat.com>
16733         [BZ #15215]
16734         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
16735         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
16736         memory barriers.  Add comments.
16737         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
16738         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
16739         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
16740         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
16741         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
16742         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
16744 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16746         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
16747         * sysdeps/s390/s390-64/configure.ac: ... this ...
16748         * sysdeps/s390/configure.ac: ... to here.
16749         * sysdeps/s390/s390-32/configure: Delete file.
16750         * sysdeps/s390/s390-64/configure: Delete file.
16751         * sysdeps/s390/configure: Regenerate.
16753 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
16755         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
16757 2014-04-11  Will Newton  <will.newton@linaro.org>
16759         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
16760         to zero if it is not defined elsewhere.  (mtrim): Test
16761         the value of MALLOC_DEBUG with #if rather than #ifdef.
16763 2014-04-10 Torvald Riegel  <triegel@redhat.com>
16765         * benchtests/pthread_once-inputs: New file.
16766         * benchtests/pthread_once-source.c: New file.
16767         * benchtests/README: Update documentation.
16769 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
16770             H.J. Lu  <hongjiu.lu@intel.com>
16772         [BZ #16275]
16773         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
16774         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
16775         * sysdeps/x86_64/configure: Regenerated.
16776         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
16777         macro.
16778         (REGISTER_SAVE_RAX): Likewise.
16779         (REGISTER_SAVE_RCX): Likewise.
16780         (REGISTER_SAVE_RDX): Likewise.
16781         (REGISTER_SAVE_RSI): Likewise.
16782         (REGISTER_SAVE_RDI): Likewise.
16783         (REGISTER_SAVE_R8): Likewise.
16784         (REGISTER_SAVE_R9): Likewise.
16785         (REGISTER_SAVE_BND0): Likewise.
16786         (REGISTER_SAVE_BND1): Likewise.
16787         (REGISTER_SAVE_BND2): Likewise.
16788         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
16789         bound registers when calling _dl_fixup.
16791 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16793         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
16794         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
16795         of its definition.
16796         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
16797         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
16798         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
16799         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
16800         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
16801         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
16802         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
16804 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
16806         [BZ #15514]
16807         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
16808         pathconf(_PC_NAME_MAX).
16810 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16812         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
16813         Remove macro usage.
16814         (__PTHREAD_SPINS): Move definition to ...
16815         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16816         (__PTHREAD_SPINS): ... here.
16817         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16818         (__PTHREAD_SPIN): Likewise.
16819         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
16820         (__PTHREAD_SPIN): Likewise.
16821         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
16822         (__PTHREAD_SPIN): Likewise.
16823         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
16824         (__PTHREAD_SPIN): Likewise.
16825         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16826         (__PTHREAD_SPIN): Likewise.
16827         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16828         (__PTHREAD_SPIN): Likewise.
16829         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
16830         (__PTHREAD_SPIN): Likewise.
16831         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16832         (__PTHREAD_SPIN): Likewise.
16833         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16834         (__PTHREAD_SPIN): Likewise.
16835         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16836         (__PTHREAD_SPIN): Likewise.
16837         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16838         (__PTHREAD_SPIN): Likewise.
16839         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
16840         (__PTHREAD_SPIN): Likewise.
16842         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
16843         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
16844         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
16845         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
16846         imply folder.
16847         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
16848         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
16849         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
16850         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
16851         correct imply path.
16852         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
16853         strlen symbol for non multi-arch builds.
16854         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
16855         missing hidden_def and weak_alias.
16857 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
16859         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
16861 2014-04-07  Will Newton  <will.newton@linaro.org>
16863         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
16864         and contents.  [!_LIBC] Remove #ifndef and contents.
16865         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
16866         * string/memccpy.c (__memccpy): Use ANSI prototype.
16867         * string/memfrob.c (memfrob): Likewise.
16868         * string/strcoll.c (STRCOLL): Likewise.
16869         * string/strlen.c (strlen): Likewise.
16870         * string/strtok.c (STRTOK): Likewise.
16871         * string/strcat.c: Remove unused #include of memcopy.h.
16872         (strcat): Use ANSI prototype.
16873         * string/strchr.c: Remove unused #include of memcopy.h.
16874         (strchr): Use ANSI prototype.
16875         * string/strcmp.c: Remove unused #include of memcopy.h.
16876         (strcmp): Use ANSI prototype.
16877         * string/strcpy.c: Remove unused #include of memcopy.h.
16878         (strcpy): Use ANSI prototype.
16880 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16882         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
16883         * config.make.in (config-extra-cppflags): Set it from
16884         libc_extra_cppflags.
16885         * configure.ac (libc_extra_cflags): Make it accumulate over
16886         configure fragments.
16887         (libc_extra_cppflags): New flag.
16888         * configure. Regenerate.
16889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
16890         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
16891         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
16892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16894         [BZ #16815]
16895         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
16896         result for FE_DOWNWARD rounding mode.
16897         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16898         Likewise.
16899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16901 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
16903         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
16904         in function argument name.
16906 2014-04-03  David Svoboda  <svoboda@cert.org>
16908         [BZ #5666]
16909         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
16910         explicitly.
16912 2014-04-03  Roland McGrath  <roland@hack.frob.com>
16914         * elf/dl-unmap-segments.h: New file.
16915         * sysdeps/generic/ldsodefs.h
16916         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
16917         * elf/dl-close.c: Include <dl-unmap-segments.h>.
16918         * elf/dl-fptr.c: Likewise.
16919         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
16920         * sysdeps/aarch64/tlsdesc.c: Likewise.
16921         * sysdeps/arm/tlsdesc.c: Likewise.
16922         * sysdeps/i386/tlsdesc.c: Likewise.
16923         * sysdeps/tile/dl-runtime.c: Likewise.
16924         * sysdeps/x86_64/tlsdesc.c: Likewise.
16925         * elf/dl-load.h: New file.
16926         * elf/dl-load.c: Include it.
16927         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
16928         Macros moved to dl-load.h.
16929         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
16930         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
16931         Use _dl_unmap_segments in place of __munmap.
16932         Break out segment-mapping loop into ...
16933         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
16935 2014-04-03  Will Newton  <will.newton@linaro.org>
16937         * elf/dl-lookup.c (do_lookup_x): Remove comment
16938         referring to nested function and move variable
16939         declarations down to before first use.
16941 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
16943         [BZ #16799]
16944         [BZ #16800]
16945         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
16946         with 0 numerator.
16947         * math/s_catanf.c (__catanf): Likewise.
16948         * math/s_catanh.c (__catanh): Likewise.
16949         * math/s_catanhf.c (__catanhf): Likewise.
16950         * math/s_catanhl.c (__catanhl): Likewise.
16951         * math/s_catanl.c (__catanl): Likewise.
16952         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
16953         by positive zero when computing -Inf result.
16954         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
16955         (catanh_test): Likewise.
16956         * sysdeps/i386/fpu/libm-test-ulps: Update.
16957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16959         [BZ #16789]
16960         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
16961         instead of using underflowing value in computing result.
16962         * math/s_clog10.c (__clog10): Likewise.
16963         * math/s_clog10f.c (__clog10f): Likewise.
16964         * math/s_clog10l.c (__clog10l): Likewise.
16965         * math/s_clogf.c (__clogf): Likewise.
16966         * math/s_clogl.c (__clogl): Likewise.
16967         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
16968         (clog10_test): Likewise.
16969         * sysdeps/i386/fpu/libm-test-ulps: Update.
16970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16972 2014-04-02  Alan Modra  <amodra@gmail.com>
16974         [BZ #16739]
16975         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
16976         output when value is near a power of two.  Use int64_t for lx and
16977         remove casts.  Use decimal rather than hex exponent constants.
16978         Don't use long double multiplication when double will suffice.
16979         * math/libm-test.inc (nextafter_test_data): Add tests.
16980         * NEWS: Add 16739 and 16786 to bug list.
16982         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
16984         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
16986 2014-04-01  Will Newton  <will.newton@linaro.org>
16988         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
16989         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
16991 2014-04-01  Florian Weimer  <fweimer@redhat.com>
16993         [BZ #13347]
16994         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
16995         * nptl/tst-setuid2.c: New file.
16996         * nptl/Makefile (xtests): Add tst-setuid2.
16998 2014-04-01  Alan Modra  <amodra@gmail.com>
17000         [BZ #16786]
17001         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
17003 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
17005         [BZ #6803]
17006         [BZ #6804]
17007         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
17008         set errno as appropriate.
17009         * math/w_scalbf.c (__scalbf): Likewise.
17010         * math/w_scalbl.c (__scalbl): Likewise.
17011         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
17012         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
17013         * math/libm-test.inc (scalb_test_data): Add errno expectations.
17014         Add more NaN tests.
17016         [BZ #16349]
17017         * math/w_atan2.c: Include <errno.h>.
17018         (__atan2): Set errno for result underflowing to zero.
17019         * math/w_atan2f.c: Include <errno.h>.
17020         (__atan2f): Set errno for result underflowing to zero.
17021         * math/w_atan2l.c: Include <errno.h>.
17022         (__atan2l): Set errno for result underflowing to zero.
17023         * math/auto-libm-test-in: Don't allow missing errno for some atan2
17024         tests.
17025         * math/auto-libm-test-out: Regenerated.
17027 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17029         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
17030         Encode instruction correctly in little endian.
17031         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
17032         Likewise.
17033         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
17034         Likewise.
17035         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
17036         Likewise.
17037         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
17038         Likewise.
17040 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
17042         [BZ #9894]
17043         * sysdeps/unix/sysv/linux/kernel-features.h
17044         [__sparc__ && !__arch64__ && !__sparc_v9__]
17045         (__ASSUME_SET_ROBUST_LIST): Do not define.
17046         [__sparc__ && !__arch64__ && !__sparc_v9__]
17047         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17048         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
17049         Likewise.
17050         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17051         (__ASSUME_FUTEX_LOCK_PI): Undefine.
17052         (__ASSUME_REQUEUE_PI): Likewise.
17053         (__ASSUME_SET_ROBUST_LIST): Likewise.
17054         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17055         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
17056         Undefine.
17057         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17058         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
17059         Likewise.
17060         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
17061         Likewise.
17062         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
17063         Likewise.
17064         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17065         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
17066         Undefine.
17067         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
17068         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
17069         Likewise.
17071         [BZ #16648]
17072         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17073         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
17074         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
17076 2014-03-31  Will Newton  <will.newton@linaro.org>
17078         * benchtests/Makefile (bench): Add ffs and ffsll to list
17079         of tests.
17080         * benchtests/ffs-inputs: New file.
17081         * benchtests/ffsll-inputs: Likewise.
17083 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
17085         [BZ #16770]
17086         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
17087         too large before casting to int.
17088         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
17089         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
17090         * math/libm-test.inc (scalb_test_data): Add more tests.
17092 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17094         * benchtests/Makefile (DETAILED_OPT): New make option.
17095         (bench-func): Run benchmark program with -d if DETAILED_OPT is
17096         set.
17097         * benchtests/bench-skeleton.c: Include stdbool.h.
17098         (main): Store and print timings per input.
17099         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
17100         member to each argument value.
17101         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
17102         (_print_arg_data): Initialize per-input timing to 0.
17104         * benchtests/Makefile (timing-type): New binary.
17105         (bench-clean): Also remove bench-timing-type.
17106         (bench): New target for timing-type.
17107         (bench-func): Print output in JSON format.
17108         * benchtests/bench-skeleton.c (main): Print output in JSON
17109         format.
17110         * benchtests/bench-timing-type.c: New file.
17111         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
17112         (TIMING_PRINT_STATS): Remove.
17113         * benchtests/scripts/bench.py (_print_arg_data): Store variant
17114         name separately.
17116         * benchtests/bench-modf.c: Remove.
17117         * benchtests/modf-inputs: New inputs file.
17119 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
17121         [BZ #16362]
17122         * math/s_clog10.c (M_PI_LOG10E): New macro.
17123         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
17124         imaginary parts are 0.
17125         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
17126         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
17127         imaginary parts are 0.
17128         * math/s_clog10l.c (M_PI_LOG10El): New macro.
17129         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
17130         imaginary parts are 0.
17131         * math/libm-test.inc (clog10_test_data): Update expected results
17132         for when real and imaginary parts are 0.
17134 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
17136         * elf/dl-load.c: Finish conversion of __builtin_expect into
17137         __glibc_{un}likely.
17139 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
17141         [BZ #16348]
17142         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
17143         1+x for argument with exponent below -67.
17144         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
17145         Likewise.
17146         * math/auto-libm-test-in: Add more tests of exp.
17147         * math/auto-libm-test-out: Regenerated.
17149 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17151         [BZ #16759]
17152         * inet/getnetgrent_r.c (get_nonempty_val): New function.
17153         (nscd_getnetgrent): Use it.
17155         [BZ #16760]
17156         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
17157         of stpcpy.
17159 2014-03-27  Andi Kleen  <ak@linux.intel.com>
17161         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
17162         (lll_robust_lock, lll_cond_lock, lll_timedlock)
17163         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17164         (lll_robust_unlock): Remove out of line section. Use cfi
17165         intrinsics.
17166         (LLL_STUB_UNWIND_INFO*): Remove.
17167         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
17168         (lll_robust_lock, lll_cond_lock, lll_timedlock)
17169         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17170         (lll_robust_unlock): Remove out of line section. Use cfi
17171         intrinsics.
17172         (LLL_STUB_UNWIND_INFO*): Remove.
17174 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17176         [BZ #16758]
17177         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
17178         blank values.
17180 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
17182         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
17184 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
17186         [BZ #16198]
17187         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
17188         fnstenv.
17189         * math/test-fenv-preserve.c: New file.
17190         * math/Makefile (tests): Add test-fenv-preserve.
17192 2014-03-26  Will Newton <will.newton@linaro.org>
17194         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
17196 2014-03-25  Roland McGrath  <roland@hack.frob.com>
17198         * scripts/versionlist.awk: Partition the version sets and emit all
17199         GLIBC_* (sorted) before all others (sorted).
17201 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
17203         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
17204         GLIBC_2.2.5 version.
17206 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17208         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
17209         calls.
17211         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
17212         previous change.
17214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17216 2014-03-25  Andreas Schwab  <schwab@suse.de>
17218         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
17219         label to be used after in6ailist is initialized.
17221 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17223         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17224         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17226 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
17228         [BZ #16357]
17229         [BZ #16599]
17230         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
17231         min_plus_half.
17232         (fp_formats): Update initializers.
17233         (init_fp_formats): Initialize new field.
17234         (output_for_one_input_case): Allow underflow for results up to
17235         min_plus_half.
17236         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
17237         * math/auto-libm-test-in: Don't mark some underflows from asin and
17238         atanh as spurious.
17239         * math/auto-libm-test-out: Regenerated.
17240         * sysdeps/i386/fpu/libm-test-ulps: Update.
17241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17243 2014-03-25  Andreas Schwab  <schwab@suse.de>
17245         * libio/Makefile (tst-ftell-partial-wide-ENV)
17246         (tst-ftell-active-handler-ENV): Define.
17248 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
17250         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
17252 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
17254         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
17256 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
17258         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
17259         * sysdeps/x86_64/fpu/multiarch/e_exp.c
17260         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17262 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
17264         [BZ #16634]
17265         * elf/dl-load.c (open_verify): Add mode parameter.
17266         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
17267         (open_path): Change from boolean 'secure' to complete flag 'mode'
17268         (_dl_map_object): Adjust.
17269         * elf/Makefile (tests): Add tst-dlopen-aout.
17270         * elf/tst-dlopen-aout.c: New test.
17272 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
17274         [BZ #16714]
17275         * sysdeps/unix/sysv/linux/s390/bits/stat.h
17276         (struct stat): Rename member pad0 to __glibc_reserved0.
17278         [BZ #16712]
17279         * sysdeps/s390/s390-32/bits/wordsize.h
17280         (__WORDSIZE32_SIZE_ULONG): New define.
17281         * sysdeps/s390/s390-64/bits/wordsize.h
17282         (__WORDSIZE32_SIZE_ULONG): Likewise.
17283         * sysdeps/generic/stdint.h (SIZE_MAX):
17284         Define as UL if __WORDSIZE32_SIZE_ULONG.
17286         [BZ #16713]
17287         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
17288         (__glibc_reserved0): New variable.
17289         (sa_flags): Change type to int.
17291         * posix/Makefile (before-compile): Use += before-compile instead
17292         of a :=.
17294         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17295         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17297 2014-03-20  Andreas Schwab  <schwab@suse.de>
17299         [BZ #16743]
17300         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
17301         non-matching result from nscd.
17303 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17305         * scripts/bench.py: Moved to ...
17306         * benchtests/scripts/bench.py: ... here.
17307         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
17309 2014-03-24  Andreas Schwab  <schwab@suse.de>
17311         [BZ #16002]
17312         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
17313         alloca_account and account alloca use for struct in6ailist.
17315 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
17317         [BZ #16284]
17318         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
17319         rounding mode to recompute results that overflow to infinity or
17320         underflow to zero.
17321         * math/auto-libm-test-in: Don't mark tests as expected to fail for
17322         bug 16284.
17323         * math/auto-libm-test-out: Regenerated.
17324         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
17325         (ccosh_test): Likewise.
17326         (csin_test_data): Use plus_oflow.
17327         (csin_test): Use ALL_RM_TEST.
17328         (csinh_test_data): Use plus_oflow.
17329         (csinh_test): Use ALL_RM_TEST.
17330         * sysdeps/i386/fpu/libm-test-ulps: Update.
17331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17333 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
17335         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
17336         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
17337         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
17339         [BZ #16731]
17340         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
17341         when x - 1 is zero.
17342         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
17343         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
17344         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17345         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
17346         argument is 1.
17347         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
17348         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
17349         zero.
17350         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
17351         * sysdeps/i386/fpu/libm-test-ulps: Update.
17352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17354 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17356         * scripts/bench.pl: Remove file.
17357         * scripts/bench.py: New benchmark script.
17358         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
17359         * benchtests/README: Mention python dependency.
17360         * scripts/pylintrc: New file.
17361         * scripts/pylint: New file.
17363         * bits/mathdef.h: Use #ifdef instead of #if.
17364         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
17365         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17366         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
17367         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17368         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
17369         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17371 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17372             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17374         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
17375         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
17376         and strpbrk-ppc64 objects.
17377         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17378         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
17379         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
17380         multiarch strpbrk for POWER7.
17381         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
17382         multiarch strpbrk for PPC64.
17383         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
17384         ifunc selector.
17385         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
17386         strpbrk for POWER7.
17388 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
17390         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
17391         (atan_test): Likewise.
17392         (atanh_test_data): Use NO_TEST_INLINE for two tests.
17393         (atanh_test): Use ALL_RM_TEST.
17394         (atan2_test_data): Likewise.
17395         (cabs_test): Likewise.
17396         (cacosh_test): Likewise.
17397         (carg_test): Likewise.
17398         (casin_test): Likewise.
17399         (casinh_test): Likewise.
17400         (cbrt_test): Likewise.
17401         (csqrt_test): Likewise.
17402         (erf_test): Likewise.
17403         (erfc_test): Likewise.
17404         (pow10_test): Likewise.
17405         (exp2_test): Likewise.
17406         (hypot_test): Likewise.
17407         (j0_test): Likewise.
17408         (j1_test): Likewise.
17409         (lgamma_test): Likewise.
17410         (gamma_test): Likewise.
17411         (sincos_test): Likewise.
17412         (tanh_test): Likewise.
17413         (y0_test): Likewise.
17414         (y1_test): Likewise.
17415         * sysdeps/i386/fpu/libm-test-ulps: Update.
17416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17418 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17420         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
17421         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
17422         and strcspn-ppc64 objects.
17423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17424         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
17425         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
17426         multiarch strcspn for POWER7.
17427         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
17428         multiarch strcspn for PPC64.
17429         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
17430         ifunc selector.
17431         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
17432         strcspn for POWER7.
17434 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
17436         * math/gen-libm-test.pl (generate_testfile): Expect only function
17437         name as argument to AUTO_TESTS_* and pass results for all rounding
17438         modes to parse_args.
17439         (parse_auto_input): Separate inputs of automatic tests from
17440         outputs before storing in %auto_tests.
17441         * math/libm-test.inc (acos_test_data): Update call to
17442         AUTO_TESTS_f_f.
17443         (acos_test): Use ALL_RM_TEST.
17444         (acos_tonearest_test_data): Remove.
17445         (acos_test_tonearest): Likewise.
17446         (acos_towardzero_test_data): Likewise.
17447         (acos_test_towardzero): Likewise.
17448         (acos_downward_test_data): Likewise.
17449         (acos_test_downward): Likewise.
17450         (acos_upward_test_data): Likewise.
17451         (acos_test_upward): Likewise.
17452         (acosh_test_data): Update call to AUTO_TESTS_f_f.
17453         (asin_test_data): Likewise.
17454         (asin_test): Use ALL_RM_TEST.
17455         (asin_tonearest_test_data): Remove.
17456         (asin_test_tonearest): Likewise.
17457         (asin_towardzero_test_data): Likewise.
17458         (asin_test_towardzero): Likewise.
17459         (asin_downward_test_data): Likewise.
17460         (asin_test_downward): Likewise.
17461         (asin_upward_test_data): Likewise.
17462         (asin_test_upward): Likewise.
17463         (asinh_test_data): Update call to AUTO_TESTS_f_f.
17464         (atan_test_data): Likewise.
17465         (atanh_test_data): Likewise.
17466         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
17467         (cabs_test_data): Update call to AUTO_TESTS_c_f.
17468         (carg_test_data): Likewise.
17469         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
17470         (ccos_test_data): Update call to AUTO_TESTS_c_c.
17471         (ccosh_test_data): Likewise.
17472         (cexp_test_data): Likewise.
17473         (clog_test_data): Likewise.
17474         (clog10_test_data): Likewise.
17475         (cos_test_data): Update call to AUTO_TESTS_f_f.
17476         (cos_test): Use ALL_RM_TEST.
17477         (cos_tonearest_test_data): Remove.
17478         (cos_test_tonearest): Likewise.
17479         (cos_towardzero_test_data): Likewise.
17480         (cos_test_towardzero): Likewise.
17481         (cos_downward_test_data): Likewise.
17482         (cos_test_downward): Likewise.
17483         (cos_upward_test_data): Likewise.
17484         (cos_test_upward): Likewise.
17485         (cosh_test_data): Update call to AUTO_TESTS_f_f.
17486         (cosh_test): Use ALL_RM_TEST.
17487         (cosh_tonearest_test_data): Remove.
17488         (cosh_test_tonearest): Likewise.
17489         (cosh_towardzero_test_data): Likewise.
17490         (cosh_test_towardzero): Likewise.
17491         (cosh_downward_test_data): Likewise.
17492         (cosh_test_downward): Likewise.
17493         (cosh_upward_test_data): Likewise.
17494         (cosh_test_upward): Likewise.
17495         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
17496         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
17497         (ctan_test_data): Likewise.
17498         (ctan_test): Use ALL_RM_TEST.
17499         (ctan_tonearest_test_data): Remove.
17500         (ctan_test_tonearest): Likewise.
17501         (ctan_towardzero_test_data): Likewise.
17502         (ctan_test_towardzero): Likewise.
17503         (ctan_downward_test_data): Likewise.
17504         (ctan_test_downward): Likewise.
17505         (ctan_upward_test_data): Likewise.
17506         (ctan_test_upward): Likewise.
17507         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
17508         (ctanh_test): Use ALL_RM_TEST.
17509         (ctanh_tonearest_test_data): Remove.
17510         (ctanh_test_tonearest): Likewise.
17511         (ctanh_towardzero_test_data): Likewise.
17512         (ctanh_test_towardzero): Likewise.
17513         (ctanh_downward_test_data): Likewise.
17514         (ctanh_test_downward): Likewise.
17515         (ctanh_upward_test_data): Likewise.
17516         (ctanh_test_upward): Likewise.
17517         (erf_test_data): Update call to AUTO_TESTS_f_f.
17518         (erfc_test_data): Likewise.
17519         (exp_test_data): Likewise.
17520         (exp_test): Use ALL_RM_TEST.
17521         (exp_tonearest_test_data): Remove.
17522         (exp_test_tonearest): Likewise.
17523         (exp_towardzero_test_data): Likewise.
17524         (exp_test_towardzero): Likewise.
17525         (exp_downward_test_data): Likewise.
17526         (exp_test_downward): Likewise.
17527         (exp_upward_test_data): Likewise.
17528         (exp_test_upward): Likewise.
17529         (exp10_test_data): Update call to AUTO_TESTS_f_f.
17530         (exp10_test): Use ALL_RM_TEST.
17531         (exp10_tonearest_test_data): Remove.
17532         (exp10_test_tonearest): Likewise.
17533         (exp10_towardzero_test_data): Likewise.
17534         (exp10_test_towardzero): Likewise.
17535         (exp10_downward_test_data): Likewise.
17536         (exp10_test_downward): Likewise.
17537         (exp10_upward_test_data): Likewise.
17538         (exp10_test_upward): Likewise.
17539         (exp2_test_data): Update call to AUTO_TESTS_f_f.
17540         (expm1_test_data): Likewise.
17541         (expm1_test): Use ALL_RM_TEST.
17542         (expm1_tonearest_test_data): Remove.
17543         (expm1_test_tonearest): Likewise.
17544         (expm1_towardzero_test_data): Likewise.
17545         (expm1_test_towardzero): Likewise.
17546         (expm1_downward_test_data): Likewise.
17547         (expm1_test_downward): Likewise.
17548         (expm1_upward_test_data): Likewise.
17549         (expm1_test_upward): Likewise.
17550         (fma_test_data): Update call to AUTO_TESTS_fff_f.
17551         (fma_test): Use ALL_RM_TEST.
17552         (fma_towardzero_test_data): Remove.
17553         (fma_test_towardzero): Likewise.
17554         (fma_downward_test_data): Likewise.
17555         (fma_test_downward): Likewise.
17556         (fma_upward_test_data): Likewise.
17557         (fma_test_upward): Likewise.
17558         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
17559         (j0_test_data): Update call to AUTO_TESTS_f_f.
17560         (j1_test_data): Likewise.
17561         (jn_test_data): Update call to AUTO_TESTS_if_f.
17562         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
17563         (log_test_data): Update call to AUTO_TESTS_f_f.
17564         (log10_test_data): Likewise.
17565         (log1p_test_data): Likewise.
17566         (log2_test_data): Likewise.
17567         (pow_test_data): Update call to AUTO_TESTS_ff_f.
17568         (pow_tonearest_test_data): Likewise.
17569         (sin_test_data): Update call to AUTO_TESTS_f_f.
17570         (sin_test): Use ALL_RM_TEST.
17571         (sin_tonearest_test_data): Remove.
17572         (sin_test_tonearest): Likewise.
17573         (sin_towardzero_test_data): Likewise.
17574         (sin_test_towardzero): Likewise.
17575         (sin_downward_test_data): Likewise.
17576         (sin_test_downward): Likewise.
17577         (sin_upward_test_data): Likewise.
17578         (sin_test_upward): Likewise.
17579         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
17580         (sinh_test_data): Update call to AUTO_TESTS_f_f.
17581         (sinh_test): Use ALL_RM_TEST.
17582         (sinh_tonearest_test_data): Remove.
17583         (sinh_test_tonearest): Likewise.
17584         (sinh_towardzero_test_data): Likewise.
17585         (sinh_test_towardzero): Likewise.
17586         (sinh_downward_test_data): Likewise.
17587         (sinh_test_downward): Likewise.
17588         (sinh_upward_test_data): Likewise.
17589         (sinh_test_upward): Likewise.
17590         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
17591         (sqrt_test): Use ALL_RM_TEST.
17592         (sqrt_tonearest_test_data): Remove.
17593         (sqrt_test_tonearest): Likewise.
17594         (sqrt_towardzero_test_data): Likewise.
17595         (sqrt_test_towardzero): Likewise.
17596         (sqrt_downward_test_data): Likewise.
17597         (sqrt_test_downward): Likewise.
17598         (sqrt_upward_test_data): Likewise.
17599         (sqrt_test_upward): Likewise.
17600         (tan_test_data): Update call to AUTO_TESTS_f_f.
17601         (tan_test): Use ALL_RM_TEST.
17602         (tan_tonearest_test_data): Remove.
17603         (tan_test_tonearest): Likewise.
17604         (tan_towardzero_test_data): Likewise.
17605         (tan_test_towardzero): Likewise.
17606         (tan_downward_test_data): Likewise.
17607         (tan_test_downward): Likewise.
17608         (tan_upward_test_data): Likewise.
17609         (tan_test_upward): Likewise.
17610         (tanh_test_data): Update call to AUTO_TESTS_f_f.
17611         (tgamma_test_data): Likewise.
17612         (y0_test_data): Likewise.
17613         (y1_test_data): Likewise.
17614         (yn_test_data): Update call to AUTO_TESTS_if_f.
17615         (main): Do not call removed functions.
17617 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
17619         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
17620         (ldexp_test_data): Remove.
17621         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
17622         scalbn_test_data.
17623         (scalb_test): Use ALL_RM_TEST.
17625 2014-03-19  Andreas Schwab  <schwab@suse.de>
17627         * nscd/nscd.service: Also invalidate netgroup cache on reload.
17629 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
17631         [BZ #16649]
17632         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17633         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
17634         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
17635         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17636         (__ASSUME_PREADV): Undefine.
17637         (__ASSUME_PWRITEV): Likewise.
17639 2014-03-18  Roland McGrath  <roland@hack.frob.com>
17641         * bits/mman-linux.h: Add comment about non-Linux use.
17642         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
17643         bits/mman-linux.h resting place.
17645         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
17646         * bits/mman-linux.h: ... here.
17648 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17650         * conform/conformtest.pl: Add standard definition when calling C
17651         preprocessor on data files.
17652         (checknamespace): Remove unused variable.
17654 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
17656         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
17657         minus_oflow, plus_uflow and minus_uflow in expected results.
17658         * math/libm-test.inc (scalbn_test_data): Add more tests of
17659         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
17660         minus_uflow.
17661         (scalbn_test): Use ALL_RM_TEST.
17662         (scalbln_test_data): Add more tests of negative arguments.  Use
17663         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
17664         (scalbln_test): Use ALL_RM_TEST.
17666 2014-03-18  Roland McGrath  <roland@hack.frob.com>
17668         * scripts/abilist.awk: Ignore symbols marked with .hidden.
17670 2014-03-18  Will Newton  <will.newton@linaro.org>
17672         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
17673         inaccurate comment.
17675 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
17677         * Makerules [!subdir] (check-abi): Exit with error status if a
17678         test failed.
17680 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
17682         * math/libm-test.inc (nearbyint_test_data): Include all tests used
17683         for rint.  Include results for all rounding modes.
17684         (nearbyint_test): Use ALL_RM_TEST.
17685         (rint_test_data): Include all tests used for nearbyint.
17687 2014-03-17  Will Newton  <will.newton@linaro.org>
17689         * nptl/sysdeps/pthread/pthread.h: Revert previous
17690         change.
17692         * sysdeps/generic/ldsodefs.h: Revert previous
17693         change.
17695         * libio/genops.c: Revert previous change.
17696         * libio/libioP.h: Likewise.
17697         * stdio-common/vfprintf.c: Likewise.
17699         * sysdeps/generic/math_private.h: Revert previous
17700         change.
17702         * sysdeps/generic/math_private.h: Check whether
17703         HAVE_RM_CTX is defined with #ifdef rather
17704         than #if.
17706         * argp/argp-fmtstream.h: Check whether
17707         __STRICT_ANSI__ is defined with #ifdef rather
17708         than #if.
17709         * argp/argp.h: Likewise.
17711         * libio/genops.c: Check whether
17712         _IO_JUMPS_OFFSET is defined with #ifdef rather
17713         than #if.
17714         * libio/libioP.h: Likewise.
17715         * stdio-common/vfprintf.c: Likewise.
17717         * sysdeps/generic/ldsodefs.h: Check whether
17718         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
17719         than #if.
17721         * nptl/sysdeps/pthread/pthread.h: Check
17722         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
17723         its value.
17725 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17727         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
17728         setting O_APPEND.
17729         * libio/tst-ftell-active-handler.c (do_append_test): Add a
17730         test case.
17732         [BZ #16680]
17733         * libio/fileops.c (_IO_file_open): Seek to end of file but
17734         don't cache the offset.
17735         (get_file_offset): Remove function.
17736         (do_ftell): Use cached offset when available.
17737         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
17738         don't cache the offset.
17739         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
17740         case.
17741         (do_one_test): Call it.
17742         (do_ftell_test): Fix up expected old offset for a+ mode.
17743         * libio/wfileops.c (do_ftell_wide): Used cached offset when
17744         available.
17746         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
17747         up test status with function return status.
17748         (do_write_test): Likewise.
17749         (do_append_test): Likewise.
17751         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
17752         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
17753         Remove.
17755 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
17757         * math/gen-libm-test.pl (parse_args): Handle results specified for
17758         each rounding mode separately.
17759         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
17760         tests and results from lrint_tonearest_test_data,
17761         lrint_towardzero_test_data, lrint_downward_test_data and
17762         lrint_upward_test_data.
17763         (lrint_test): Use ALL_RM_TEST.
17764         (lrint_tonearest_test_data): Remove.
17765         (lrint_test_tonearest): Likewise.
17766         (lrint_towardzero_test_data): Likewise.
17767         (lrint_test_towardzero): Likewise.
17768         (lrint_downward_test_data): Likewise.
17769         (lrint_test_downward): Likewise.
17770         (lrint_upward_test_data): Likewise.
17771         (lrint_test_upward): Likewise.
17772         (llrint_test_data): Merge in per-rounding-mode tests and results
17773         from llrint_tonearest_test_data, llrint_towardzero_test_data,
17774         llrint_downward_test_data and llrint_upward_test_data.
17775         (llrint_test): Use ALL_RM_TEST.
17776         (llrint_tonearest_test_data): Remove.
17777         (llrint_test_tonearest): Likewise.
17778         (llrint_towardzero_test_data): Likewise.
17779         (llrint_test_towardzero): Likewise.
17780         (llrint_downward_test_data): Likewise.
17781         (llrint_test_downward): Likewise.
17782         (llrint_upward_test_data): Likewise.
17783         (llrint_test_upward): Likewise.
17784         (rint_test_data): Merge in per-rounding-mode tests and results
17785         from rint_tonearest_test_data, rint_towardzero_test_data,
17786         rint_downward_test_data and rint_upward_test_data.  Add
17787         per-rounding-mode results for tests not in those arrays.
17788         (rint_test): Use ALL_RM_TEST.
17789         (rint_tonearest_test_data): Remove.
17790         (rint_test_tonearest): Likewise.
17791         (rint_towardzero_test_data): Likewise.
17792         (rint_test_towardzero): Likewise.
17793         (rint_downward_test_data): Likewise.
17794         (rint_test_downward): Likewise.
17795         (rint_upward_test_data): Likewise.
17796         (rint_test_upward): Likewise.
17797         (main): Don't call removed functions.
17799 2014-03-14  Roland McGrath  <roland@hack.frob.com>
17801         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
17802         "Compiled on ..." crapola.  It is anti-useful.
17804 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
17806         * scripts/evaluate-test.sh: Handle fourth argument to determine
17807         whether test run should stop on failure.
17808         * Makeconfig (stop-on-test-failure): New variable.
17809         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
17810         $(stop-on-test-failure).
17811         * Makefile (tests): Give a summary of results from testing and
17812         exit with failure status if they include an ERROR or FAIL.
17813         (xtests): Likewise.
17814         * manual/install.texi (Configuring and compiling): Mention
17815         stop-on-test-failure=y.
17816         * INSTALL: Regenerated.
17818 2014-03-14  Roland McGrath  <roland@hack.frob.com>
17820         * scripts/versionlist.awk: New file.
17821         * Makerules [$(build-shared) = yes]
17822         (postclean-generated): Add Versions.def, not Versions.def.v and
17823         Versions.def.v.i.
17824         ($(common-objpfx)Versions.def.v.i): Target removed.
17825         ($(common-objpfx)Versions.def): New target.
17826         ($(common-objpfx)Versions.all): Depend on that rather that
17827         $(common-objpfx)Versions.def.v.
17828         * Versions.def: File removed.
17830         * Makeconfig (+gccwarn): Add -Wundef.
17831         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
17832         a dl-sysdep.h breaking its contract.
17833         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
17834         * include/stackinfo.h: New file.
17835         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
17836         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
17837         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
17838         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
17839         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
17840         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
17841         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17842         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17843         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17844         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17845         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17846         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
17847         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17848         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17849         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17851 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17853         [BZ #16707]
17854         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
17855         implementation.
17856         * math/libm-test.inc (round_test_data): Add more tests.
17858         [BZ #16706]
17859         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
17860         implementation.
17861         * math/libm-test.inc (nearbyint_test_data): Add more tests.
17863         [BZ #16701]
17864         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
17865         implementation.
17866         * math/libm-test.inc (ceil_test_data): Add more tests.
17868         * math/libm-test.inc (trunc_test_data): Add more tests related to
17869         BZ#16414.
17871 2014-03-14  Roland McGrath  <roland@hack.frob.com>
17873         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
17874         with #if rather than #ifdef.
17875         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
17877 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
17879         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
17880         first.  Disable AVX-512 GCC support if assembler doesn't support
17881         it.
17882         * sysdeps/x86_64/configure: Regenerated.
17884 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
17886         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
17887         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
17888         (__old_pthread_attr_setstack): Likewise.
17889         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
17890         [!_STACK_GROWS_DOWN]: Likewise.
17892 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
17894         * config.make.in (have-bash2): Delete.
17895         * configure.ac (libc_cv_have_bash2): Delete.
17896         * configure: Regenerate.
17897         * elf/Makefile (common-ldd-rewrite): Rename to ...
17898         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
17899         (sh-ldd-rewrite): Delete.
17900         (bash-ldd-rewrite): Delete.
17901         (have-bash2): Delete checks.
17902         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
17903         ldd-rewrite.
17905         * config.make.in (have-ksh): Delete.
17906         (KSH): Delete.
17907         * configure.ac (libc_cv_have_ksh): Delete.
17908         * configure: Regenerate.
17910         * elf/Makefile: Delete $(have-ksh) check.
17911         ($(objpfx)sotruss): Change KSH to BASH.
17912         * elf/sotruss.ksh: Rename to ...
17913         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
17914         function style to match POSIX.  Drop ksh vim mode setting.
17916         * manual/time.texi (Specifying the Time Zone with TZ): Change
17917         Tuesday to Thursday.
17919         * debug/tst-longjmp_chk2.c: Update header comment.
17920         (stackoverflow_handler): Add comment.  Call assert on pass value.
17922 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
17924         [BZ #16194]
17925         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
17926         (HAVE_AVX512_ASM_SUPPORT): Likewise.
17927         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
17928         (La_x86_64_vector): Add zmm.
17929         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
17930         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
17931         ($(objpfx)tst-audit10): New target.
17932         ($(objpfx)tst-audit10.out): Likewise.
17933         (tst-audit10-ENV): New.
17934         (AVX512-CFLAGS): Likewise.
17935         (CFLAGS-tst-audit10.c): Likewise.
17936         (CFLAGS-tst-auditmod10a.c): Likewise.
17937         (CFLAGS-tst-auditmod10b.c): Likewise.
17938         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
17939         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
17940         * sysdeps/x86_64/configure: Regenerated.
17941         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
17942         AVX-512 zmm register support.
17943         (_dl_x86_64_save_sse): Likewise.
17944         (_dl_x86_64_restore_sse): Likewise.
17945         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
17946         size vector registers.
17947         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
17948         (ZMM_SIZE): Likewise.
17949         * sysdeps/x86_64/tst-audit10.c: New file.
17950         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
17951         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
17953 2014-03-13  Roland McGrath  <roland@hack.frob.com>
17955         * configure.ac (HAVE_EHDR_START): New check.
17956         * configure: Regenerated.
17957         * config.h.in (HAVE_EHDR_START): New #undef.
17958         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
17959         assuming the lowest-addressed segment maps the start of the file.
17961 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
17963         * INSTALL: Regenerated.
17965 2014-03-13  Will Newton  <will.newton@linaro.org>
17967         * manual/setjmp.texi (System V contexts): Improve
17968         clarity and grammar of documentation.
17970 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17972         [BZ #16381]
17973         * elf/Makefile (tests): Add tst-pie2.
17974         (tests-pie): Add tst-pie2.
17975         * elf/tst-pie2.c: New file.
17976         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
17977         for ET_EXEC.
17978         * elf/rtld.c (map_doit): Load executable as lt_executable.
17979         (dl_main): Likewise.
17981 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
17983         [BZ #16642]
17984         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17985         (__ASSUME_PSELECT): Undefine.
17987 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17989         [BZ #16689]
17990         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
17991         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
17992         static build.
17993         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
17994         selector for static builds.
17996 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17998         [BZ #16695]
17999         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
18000         key in the buffer.
18002 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18004         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
18005         IFUNC selector for static builds.
18007 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
18009         * sysdeps/mips/math_private.h [__mips_hard_float]
18010         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
18011         libc_feresetround_mips_ctx.
18012         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
18013         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
18014         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
18016         [BZ #16677]
18017         * math/s_nextafter.c (__nextafter): Do not return value from
18018         overflowing computation.
18019         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
18020         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
18021         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
18022         Likewise.
18023         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18024         Likewise.
18025         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
18026         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
18028 2014-03-11  Roland McGrath  <roland@hack.frob.com>
18030         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
18031         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
18032         Move sfi_sp use from the load-multiple (that no longer sets sp) to
18033         the new mov targetting sp.
18035 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18037         [BZ #16683]
18038         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
18039         Define it for static builds as well.
18040         (NO_BZERO_IMPL): Likewise.
18042 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18044         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
18045         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
18046         multiarch strspn for PPC64.
18047         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
18048         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
18049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18050         (__libc_ifunc_impl_list): Likewise.
18051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
18052         multiarch optimizations
18053         * string/strspn.c (strspn): Using macro to redefine symbol name.
18055 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18056             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18058         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
18059         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
18060         multiarch strncat for PPC64.
18061         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
18062         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
18063         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18064         (__libc_ifunc_impl_list): Likewise.
18065         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
18066         multiarch optimizations
18068 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18070         [BZ #16639]
18071         * nscd/nscd.service: Make service type forking.
18073 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18075         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
18076         sign in non default rounding modes.
18077         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
18079 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
18081         * math/libm-test.inc (ALL_RM_TEST): New macro.
18082         (ceil_test): Use ALL_RM_TEST.
18083         (cimag_test): Likewise.
18084         (conj_test): Likewise.
18085         (copysign_test): Likewise.
18086         (cproj_test): Likewise.
18087         (creal_test): Likewise.
18088         (fabs_test): Likewise.
18089         (floor_test): Likewise.
18090         (fmax_test): Likewise.
18091         (fmin_test): Likewise.
18092         (fmod_test): Likewise.
18093         (fpclassify_test): Likewise.
18094         (frexp_test): Likewise.
18095         (ilogb_test): Likewise.
18096         (isfinite_test): Likewise.
18097         (finite_test): Likewise.
18098         (isgreater_test): Likewise.
18099         (isgreaterequal_test): Likewise.
18100         (isinf_test): Likewise.
18101         (isless_test): Likewise.
18102         (islessequal_test): Likewise.
18103         (islessgreater_test): Likewise.
18104         (isnan_test): Likewise.
18105         (isnormal_test): Likewise.
18106         (issignaling_test): Likewise.
18107         (isunordered_test): Likewise.
18108         (logb_test): Likewise.
18109         (logb_downward_test_data): Remove.
18110         (logb_test_downward): Likewise.
18111         (lround_test): Use ALL_RM_TEST.
18112         (llround_test): Likewise.
18113         (modf_test): Likewise.
18114         (nexttoward_test): Likewise.
18115         (remainder_test): Likewise.
18116         (drem_test): Likewise.
18117         (remainder_tonearest_test_data): Likewise.
18118         (remainder_test_tonearest): Likewise.
18119         (drem_test_tonearest): Likewise.
18120         (remainder_towardzero_test_data): Likewise.
18121         (remainder_test_towardzero): Likewise.
18122         (drem_test_towardzero): Likewise.
18123         (remainder_downward_test_data): Likewise.
18124         (remainder_test_downward): Likewise.
18125         (drem_test_downward): Likewise.
18126         (remainder_upward_test_data): Likewise.
18127         (remainder_test_upward): Likewise.
18128         (drem_test_upward): Likewise.
18129         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
18130         (round_test): Use ALL_RM_TEST.
18131         (signbit_test): Likewise.
18132         (trunc_test): Likewise.
18133         (significand_test): Likewise.
18134         (main): Don't call removed functions.
18136 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
18138         [BZ #16674]
18139         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
18140         || __USE_XOPEN2K8].
18141         (ILL_ILLOPN): Likewise.
18142         (ILL_ILLADR): Likewise.
18143         (ILL_ILLTRP): Likewise.
18144         (ILL_PRVOPC): Likewise.
18145         (ILL_PRVREG): Likewise.
18146         (ILL_COPROC): Likewise.
18147         (ILL_BADSTK): Likewise.
18148         (FPE_INTDIV): Likewise.
18149         (FPE_INTOVF): Likewise.
18150         (FPE_FLTDIV): Likewise.
18151         (FPE_FLTOVF): Likewise.
18152         (FPE_FLTUND): Likewise.
18153         (FPE_FLTRES): Likewise.
18154         (FPE_FLTINV): Likewise.
18155         (FPE_FLTSUB): Likewise.
18156         (SEGV_MAPERR): Likewise.
18157         (SEGV_ACCERR): Likewise.
18158         (BUS_ADRALN): Likewise.
18159         (BUS_ADRERR): Likewise.
18160         (BUS_OBJERR): Likewise.
18161         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18162         (TRAP_TRACE): Likewise.
18163         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18164         __USE_XOPEN2K8].
18165         (CLD_KILLED): Likewise.
18166         (CLD_DUMPED): Likewise.
18167         (CLD_TRAPPED): Likewise.
18168         (CLD_STOPPED): Likewise.
18169         (CLD_CONTINUED): Likewise.
18170         (POLL_IN): Likewise.
18171         (POLL_OUT): Likewise.
18172         (POLL_MSG): Likewise.
18173         (POLL_ERR): Likewise.
18174         (POLL_PRI): Likewise.
18175         (POLL_HUP): Likewise.
18176         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
18177         Likewise.
18178         (ILL_ILLOPN): Likewise.
18179         (ILL_ILLADR): Likewise.
18180         (ILL_ILLTRP): Likewise.
18181         (ILL_PRVOPC): Likewise.
18182         (ILL_PRVREG): Likewise.
18183         (ILL_COPROC): Likewise.
18184         (ILL_BADSTK): Likewise.
18185         (FPE_INTDIV): Likewise.
18186         (FPE_INTOVF): Likewise.
18187         (FPE_FLTDIV): Likewise.
18188         (FPE_FLTOVF): Likewise.
18189         (FPE_FLTUND): Likewise.
18190         (FPE_FLTRES): Likewise.
18191         (FPE_FLTINV): Likewise.
18192         (FPE_FLTSUB): Likewise.
18193         (SEGV_MAPERR): Likewise.
18194         (SEGV_ACCERR): Likewise.
18195         (BUS_ADRALN): Likewise.
18196         (BUS_ADRERR): Likewise.
18197         (BUS_OBJERR): Likewise.
18198         (BUS_MCEERR_AR): Likewise.
18199         (BUS_MCEERR_AO): Likewise.
18200         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18201         (TRAP_TRACE): Likewise.
18202         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18203         __USE_XOPEN2K8].
18204         (CLD_KILLED): Likewise.
18205         (CLD_DUMPED): Likewise.
18206         (CLD_TRAPPED): Likewise.
18207         (CLD_STOPPED): Likewise.
18208         (CLD_CONTINUED): Likewise.
18209         (POLL_IN): Likewise.
18210         (POLL_OUT): Likewise.
18211         (POLL_MSG): Likewise.
18212         (POLL_ERR): Likewise.
18213         (POLL_PRI): Likewise.
18214         (POLL_HUP): Likewise.
18215         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
18216         (ILL_ILLOPN): Likewise.
18217         (ILL_ILLADR): Likewise.
18218         (ILL_ILLTRP): Likewise.
18219         (ILL_PRVOPC): Likewise.
18220         (ILL_PRVREG): Likewise.
18221         (ILL_COPROC): Likewise.
18222         (ILL_BADSTK): Likewise.
18223         (FPE_INTDIV): Likewise.
18224         (FPE_INTOVF): Likewise.
18225         (FPE_FLTDIV): Likewise.
18226         (FPE_FLTOVF): Likewise.
18227         (FPE_FLTUND): Likewise.
18228         (FPE_FLTRES): Likewise.
18229         (FPE_FLTINV): Likewise.
18230         (FPE_FLTSUB): Likewise.
18231         (SEGV_MAPERR): Likewise.
18232         (SEGV_ACCERR): Likewise.
18233         (BUS_ADRALN): Likewise.
18234         (BUS_ADRERR): Likewise.
18235         (BUS_OBJERR): Likewise.
18236         (BUS_MCEERR_AR): Likewise.
18237         (BUS_MCEERR_AO): Likewise.
18238         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18239         (TRAP_TRACE): Likewise.
18240         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18241         __USE_XOPEN2K8].
18242         (CLD_KILLED): Likewise.
18243         (CLD_DUMPED): Likewise.
18244         (CLD_TRAPPED): Likewise.
18245         (CLD_STOPPED): Likewise.
18246         (CLD_CONTINUED): Likewise.
18247         (POLL_IN): Likewise.
18248         (POLL_OUT): Likewise.
18249         (POLL_MSG): Likewise.
18250         (POLL_ERR): Likewise.
18251         (POLL_PRI): Likewise.
18252         (POLL_HUP): Likewise.
18253         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
18254         Likewise.
18255         (ILL_ILLOPN): Likewise.
18256         (ILL_ILLADR): Likewise.
18257         (ILL_ILLTRP): Likewise.
18258         (ILL_PRVOPC): Likewise.
18259         (ILL_PRVREG): Likewise.
18260         (ILL_COPROC): Likewise.
18261         (ILL_BADSTK): Likewise.
18262         (ILL_BADIADDR): Likewise.
18263         (ILL_BREAK): Likewise.
18264         (FPE_INTDIV): Likewise.
18265         (FPE_INTOVF): Likewise.
18266         (FPE_FLTDIV): Likewise.
18267         (FPE_FLTOVF): Likewise.
18268         (FPE_FLTUND): Likewise.
18269         (FPE_FLTRES): Likewise.
18270         (FPE_FLTINV): Likewise.
18271         (FPE_FLTSUB): Likewise.
18272         (FPE_DECOVF): Likewise.
18273         (FPE_DECDIV): Likewise.
18274         (FPE_DECERR): Likewise.
18275         (FPE_INVASC): Likewise.
18276         (FPE_INVDEC): Likewise.
18277         (SEGV_MAPERR): Likewise.
18278         (SEGV_ACCERR): Likewise.
18279         (SEGV_PSTKOVF): Likewise.
18280         (BUS_ADRALN): Likewise.
18281         (BUS_ADRERR): Likewise.
18282         (BUS_OBJERR): Likewise.
18283         (BUS_MCEERR_AR): Likewise.
18284         (BUS_MCEERR_AO): Likewise.
18285         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18286         (TRAP_TRACE): Likewise.
18287         (TRAP_BRANCH): Likewise.
18288         (TRAP_HWBKPT): Likewise.
18289         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18290         __USE_XOPEN2K8].
18291         (CLD_KILLED): Likewise.
18292         (CLD_DUMPED): Likewise.
18293         (CLD_TRAPPED): Likewise.
18294         (CLD_STOPPED): Likewise.
18295         (CLD_CONTINUED): Likewise.
18296         (POLL_IN): Likewise.
18297         (POLL_OUT): Likewise.
18298         (POLL_MSG): Likewise.
18299         (POLL_ERR): Likewise.
18300         (POLL_PRI): Likewise.
18301         (POLL_HUP): Likewise.
18302         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
18303         (ILL_ILLOPN): Likewise.
18304         (ILL_ILLADR): Likewise.
18305         (ILL_ILLTRP): Likewise.
18306         (ILL_PRVOPC): Likewise.
18307         (ILL_PRVREG): Likewise.
18308         (ILL_COPROC): Likewise.
18309         (ILL_BADSTK): Likewise.
18310         (FPE_INTDIV): Likewise.
18311         (FPE_INTOVF): Likewise.
18312         (FPE_FLTDIV): Likewise.
18313         (FPE_FLTOVF): Likewise.
18314         (FPE_FLTUND): Likewise.
18315         (FPE_FLTRES): Likewise.
18316         (FPE_FLTINV): Likewise.
18317         (FPE_FLTSUB): Likewise.
18318         (SEGV_MAPERR): Likewise.
18319         (SEGV_ACCERR): Likewise.
18320         (BUS_ADRALN): Likewise.
18321         (BUS_ADRERR): Likewise.
18322         (BUS_OBJERR): Likewise.
18323         (BUS_MCEERR_AR): Likewise.
18324         (BUS_MCEERR_AO): Likewise.
18325         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18326         (TRAP_TRACE): Likewise.
18327         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18328         __USE_XOPEN2K8].
18329         (CLD_KILLED): Likewise.
18330         (CLD_DUMPED): Likewise.
18331         (CLD_TRAPPED): Likewise.
18332         (CLD_STOPPED): Likewise.
18333         (CLD_CONTINUED): Likewise.
18334         (POLL_IN): Likewise.
18335         (POLL_OUT): Likewise.
18336         (POLL_MSG): Likewise.
18337         (POLL_ERR): Likewise.
18338         (POLL_PRI): Likewise.
18339         (POLL_HUP): Likewise.
18340         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
18341         (ILL_ILLOPN): Likewise.
18342         (ILL_ILLADR): Likewise.
18343         (ILL_ILLTRP): Likewise.
18344         (ILL_PRVOPC): Likewise.
18345         (ILL_PRVREG): Likewise.
18346         (ILL_COPROC): Likewise.
18347         (ILL_BADSTK): Likewise.
18348         (FPE_INTDIV): Likewise.
18349         (FPE_INTOVF): Likewise.
18350         (FPE_FLTDIV): Likewise.
18351         (FPE_FLTOVF): Likewise.
18352         (FPE_FLTUND): Likewise.
18353         (FPE_FLTRES): Likewise.
18354         (FPE_FLTINV): Likewise.
18355         (FPE_FLTSUB): Likewise.
18356         (SEGV_MAPERR): Likewise.
18357         (SEGV_ACCERR): Likewise.
18358         (BUS_ADRALN): Likewise.
18359         (BUS_ADRERR): Likewise.
18360         (BUS_OBJERR): Likewise.
18361         (BUS_MCEERR_AR): Likewise.
18362         (BUS_MCEERR_AO): Likewise.
18363         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18364         (TRAP_TRACE): Likewise.
18365         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18366         __USE_XOPEN2K8].
18367         (CLD_KILLED): Likewise.
18368         (CLD_DUMPED): Likewise.
18369         (CLD_TRAPPED): Likewise.
18370         (CLD_STOPPED): Likewise.
18371         (CLD_CONTINUED): Likewise.
18372         (POLL_IN): Likewise.
18373         (POLL_OUT): Likewise.
18374         (POLL_MSG): Likewise.
18375         (POLL_ERR): Likewise.
18376         (POLL_PRI): Likewise.
18377         (POLL_HUP): Likewise.
18378         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
18379         (ILL_ILLOPN): Likewise.
18380         (ILL_ILLADR): Likewise.
18381         (ILL_ILLTRP): Likewise.
18382         (ILL_PRVOPC): Likewise.
18383         (ILL_PRVREG): Likewise.
18384         (ILL_COPROC): Likewise.
18385         (ILL_BADSTK): Likewise.
18386         (FPE_INTDIV): Likewise.
18387         (FPE_INTOVF): Likewise.
18388         (FPE_FLTDIV): Likewise.
18389         (FPE_FLTOVF): Likewise.
18390         (FPE_FLTUND): Likewise.
18391         (FPE_FLTRES): Likewise.
18392         (FPE_FLTINV): Likewise.
18393         (FPE_FLTSUB): Likewise.
18394         (SEGV_MAPERR): Likewise.
18395         (SEGV_ACCERR): Likewise.
18396         (BUS_ADRALN): Likewise.
18397         (BUS_ADRERR): Likewise.
18398         (BUS_OBJERR): Likewise.
18399         (BUS_MCEERR_AR): Likewise.
18400         (BUS_MCEERR_AO): Likewise.
18401         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18402         (TRAP_TRACE): Likewise.
18403         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18404         __USE_XOPEN2K8].
18405         (CLD_KILLED): Likewise.
18406         (CLD_DUMPED): Likewise.
18407         (CLD_TRAPPED): Likewise.
18408         (CLD_STOPPED): Likewise.
18409         (CLD_CONTINUED): Likewise.
18410         (POLL_IN): Likewise.
18411         (POLL_OUT): Likewise.
18412         (POLL_MSG): Likewise.
18413         (POLL_ERR): Likewise.
18414         (POLL_PRI): Likewise.
18415         (POLL_HUP): Likewise.
18416         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
18417         (ILL_ILLOPN): Likewise.
18418         (ILL_ILLADR): Likewise.
18419         (ILL_ILLTRP): Likewise.
18420         (ILL_PRVOPC): Likewise.
18421         (ILL_PRVREG): Likewise.
18422         (ILL_COPROC): Likewise.
18423         (ILL_BADSTK): Likewise.
18424         (ILL_DBLFLT): Likewise.
18425         (ILL_HARDWALL): Likewise.
18426         (FPE_INTDIV): Likewise.
18427         (FPE_INTOVF): Likewise.
18428         (FPE_FLTDIV): Likewise.
18429         (FPE_FLTOVF): Likewise.
18430         (FPE_FLTUND): Likewise.
18431         (FPE_FLTRES): Likewise.
18432         (FPE_FLTINV): Likewise.
18433         (FPE_FLTSUB): Likewise.
18434         (SEGV_MAPERR): Likewise.
18435         (SEGV_ACCERR): Likewise.
18436         (BUS_ADRALN): Likewise.
18437         (BUS_ADRERR): Likewise.
18438         (BUS_OBJERR): Likewise.
18439         (BUS_MCEERR_AR): Likewise.
18440         (BUS_MCEERR_AO): Likewise.
18441         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18442         (TRAP_TRACE): Likewise.
18443         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18444         __USE_XOPEN2K8].
18445         (CLD_KILLED): Likewise.
18446         (CLD_DUMPED): Likewise.
18447         (CLD_TRAPPED): Likewise.
18448         (CLD_STOPPED): Likewise.
18449         (CLD_CONTINUED): Likewise.
18450         (POLL_IN): Likewise.
18451         (POLL_OUT): Likewise.
18452         (POLL_MSG): Likewise.
18453         (POLL_ERR): Likewise.
18454         (POLL_PRI): Likewise.
18455         (POLL_HUP): Likewise.
18456         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
18457         (ILL_ILLOPN): Likewise.
18458         (ILL_ILLADR): Likewise.
18459         (ILL_ILLTRP): Likewise.
18460         (ILL_PRVOPC): Likewise.
18461         (ILL_PRVREG): Likewise.
18462         (ILL_COPROC): Likewise.
18463         (ILL_BADSTK): Likewise.
18464         (FPE_INTDIV): Likewise.
18465         (FPE_INTOVF): Likewise.
18466         (FPE_FLTDIV): Likewise.
18467         (FPE_FLTOVF): Likewise.
18468         (FPE_FLTUND): Likewise.
18469         (FPE_FLTRES): Likewise.
18470         (FPE_FLTINV): Likewise.
18471         (FPE_FLTSUB): Likewise.
18472         (SEGV_MAPERR): Likewise.
18473         (SEGV_ACCERR): Likewise.
18474         (BUS_ADRALN): Likewise.
18475         (BUS_ADRERR): Likewise.
18476         (BUS_OBJERR): Likewise.
18477         (BUS_MCEERR_AR): Likewise.
18478         (BUS_MCEERR_AO): Likewise.
18479         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18480         (TRAP_TRACE): Likewise.
18481         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18482         __USE_XOPEN2K8].
18483         (CLD_KILLED): Likewise.
18484         (CLD_DUMPED): Likewise.
18485         (CLD_TRAPPED): Likewise.
18486         (CLD_STOPPED): Likewise.
18487         (CLD_CONTINUED): Likewise.
18488         (POLL_IN): Likewise.
18489         (POLL_OUT): Likewise.
18490         (POLL_MSG): Likewise.
18491         (POLL_ERR): Likewise.
18492         (POLL_PRI): Likewise.
18493         (POLL_HUP): Likewise.
18494         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
18495         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
18497         [BZ #16670]
18498         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
18499         before #include of <time.h>.
18500         [!__USE_XOPEN2K] (__need_timespec): Likewise.
18501         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
18502         (test-xfail-UNIX98/sched.h/conform): Likewise.
18504 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18506         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
18507         error absence of trapping exception support.
18508         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18510 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
18512         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
18513         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
18514         * timezone/Makefile (testdata): Move definition above include of
18515         Rules.
18516         (test-zones): New variable.
18517         (tests-special): Add zone files.
18518         (build-testdata): Use $(evaluate-test).
18520         * elf/Makefile (tests-special): Rename tests to end with .out.
18521         ($(objpfx)noload-mem): Likewise.
18522         ($(objpfx)tst-leaks1-mem): Likewise.
18523         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
18524         * iconv/Makefile (xtests-special): Change test-iconvconfig to
18525         $(objpfx)test-iconvconfig.out.
18526         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
18527         set -e inside subshell and redirect output to file.
18528         * iconvdata/Makefile (generated): Rename tests to end with .out.
18529         Correct type.
18530         (tests-special): Rename tests to end with .out.
18531         ($(objpfx)mtrace-tst-loading): Likewise.
18532         * intl/Makefile (generated): Likewise.
18533         (tests-special): Likewise.
18534         ($(objpfx)mtrace-tst-gettext): Likewise.
18535         * misc/Makefile (generated): Likewise.
18536         (tests-special): Likewise.
18537         ($(objpfx)tst-error1-mem): Likewise.
18538         * nptl/Makefile (tests-special): Likewise.
18539         ($(objpfx)tst-stack3-mem): Likewise.
18540         (generated): Likewise.
18541         * posix/Makefile (generated): Likewise.
18542         (tests-special): Likewise.
18543         (xtests-special): Likewise.
18544         ($(objpfx)tst-fnmatch-mem): Likewise.
18545         ($(objpfx)bug-regex2-mem): Likewise.
18546         ($(objpfx)bug-regex14-mem): Likewise.
18547         ($(objpfx)bug-regex21-mem): Likewise.
18548         ($(objpfx)bug-regex31-mem): Likewise.
18549         ($(objpfx)tst-vfork3-mem): Likewise.
18550         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18551         ($(objpfx)tst-pcre-mem): Likewise.
18552         ($(objpfx)tst-boost-mem): Likewise.
18553         ($(objpfx)bug-ga2-mem): Likewise.
18554         ($(objpfx)bug-glob2-mem): Likewise.
18555         * resolv/Makefile (generate): Likewise.
18556         (tests-special): Likewise.
18557         (xtests-special): Likewise.
18558         (generated): Likewise.
18559         ($(objpfx)mtrace-tst-leaks): Likewise.
18560         ($(objpfx)mtrace-tst-leaks2): Likewise.
18562         * scripts/merge-test-results.sh: New file.
18563         * Makefile (tests-special-notdir): New variable.
18564         (tests): Run merge-test-results.sh.
18565         (xtests): Likewise.
18566         * Rules (tests-special-notdir): New variable.
18567         (xtests-special-notdir): Likewise.
18568         (tests): Run merge-test-results.sh
18569         (xtests): Likewise.
18571         * Makeconfig (test-xfail-name): New variable.
18572         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
18573         compute variable name for expected failures.
18574         * conform/Makefile (conformtest-headers-data): New variable.
18575         (conformtest-standards): Likewise.
18576         (conformtest-headers-ISO): Likewise.
18577         (conformtest-headers-ISO99): Likewise.
18578         (conformtest-headers-ISO11): Likewise.
18579         (conformtest-headers-POSIX): Likewise.
18580         (conformtest-headers-XPG3): Likewise.
18581         (conformtest-headers-XPG4): Likewise.
18582         (conformtest-headers-UNIX98): Likewise.
18583         (conformtest-headers-XOPEN2K): Likewise.
18584         (conformtest-headers-POSIX2008): Likewise.
18585         (conformtest-headers-XOPEN2K8): Likewise.
18586         (conformtest-header-list-base): Likewise.
18587         (conformtest-header-list-tests): Likewise.
18588         (conformtest-header-base): Likewise.
18589         (conformtest-header-tests): Likewise.
18590         (tests-special): Add $(conformtest-header-list-tests).  If
18591         [$(fast-check) && !$(cross-compiling)], add
18592         $(conformtest-header-tests) instead of
18593         $(objpfx)run-conformtest.out.
18594         (generated): Add $(conformtest-header-list-base).  If
18595         [$(fast-check) && !$(cross-compiling)], add
18596         $(conformtest-header-base).  Remove previous setting.
18597         ($(conformtest-header-list-tests)): New target.
18598         (test-xfail-run-conformtest): Remove variable.
18599         ($(objpfx)run-conformtest.out): Remove target.
18600         (test-xfail-ISO11/complex.h/conform): New variable.
18601         (test-xfail-ISO11/stdalign.h/conform): Likewise.
18602         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
18603         (test-xfail-XPG3/varargs.h/conform): Likewise.
18604         (test-xfail-XPG4/varargs.h/conform): Likewise.
18605         (test-xfail-UNIX98/varargs.h/conform): Likewise.
18606         (test-xfail-XPG4/ndbm.h/conform): Likewise.
18607         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
18608         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
18609         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
18610         (test-xfail-XPG3/fcntl.h/conform): Likewise.
18611         (test-xfail-XPG3/ftw.h/conform): Likewise.
18612         (test-xfail-XPG3/grp.h/conform): Likewise.
18613         (test-xfail-XPG3/langinfo.h/conform): Likewise.
18614         (test-xfail-XPG3/limits.h/conform): Likewise.
18615         (test-xfail-XPG3/pwd.h/conform): Likewise.
18616         (test-xfail-XPG3/search.h/conform): Likewise.
18617         (test-xfail-XPG3/signal.h/conform): Likewise.
18618         (test-xfail-XPG3/stdio.h/conform): Likewise.
18619         (test-xfail-XPG3/stdlib.h/conform): Likewise.
18620         (test-xfail-XPG3/string.h/conform): Likewise.
18621         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
18622         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
18623         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18624         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18625         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
18626         (test-xfail-XPG3/sys/types.h/conform): Likewise.
18627         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
18628         (test-xfail-XPG3/termios.h/conform): Likewise.
18629         (test-xfail-XPG3/time.h/conform): Likewise.
18630         (test-xfail-XPG3/unistd.h/conform): Likewise.
18631         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
18632         (test-xfail-XPG4/fcntl.h/conform): Likewise.
18633         (test-xfail-XPG4/langinfo.h/conform): Likewise.
18634         (test-xfail-XPG4/netdb.h/conform): Likewise.
18635         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
18636         (test-xfail-XPG4/signal.h/conform): Likewise.
18637         (test-xfail-XPG4/stdio.h/conform): Likewise.
18638         (test-xfail-XPG4/stdlib.h/conform): Likewise.
18639         (test-xfail-XPG4/stropts.h/conform): Likewise.
18640         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18641         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18642         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18643         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18644         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18645         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
18646         (test-xfail-XPG4/sys/time.h/conform): Likewise.
18647         (test-xfail-XPG4/sys/types.h/conform): Likewise.
18648         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
18649         (test-xfail-XPG4/termios.h/conform): Likewise.
18650         (test-xfail-XPG4/ucontext.h/conform): Likewise.
18651         (test-xfail-XPG4/unistd.h/conform): Likewise.
18652         (test-xfail-XPG4/utmpx.h/conform): Likewise.
18653         (test-xfail-POSIX/sched.h/conform): Likewise.
18654         (test-xfail-POSIX/signal.h/conform): Likewise.
18655         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
18656         (test-xfail-POSIX/tar.h/conform): Likewise.
18657         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
18658         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
18659         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
18660         (test-xfail-UNIX98/netdb.h/conform): Likewise.
18661         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
18662         (test-xfail-UNIX98/sched.h/conform): Likewise.
18663         (test-xfail-UNIX98/signal.h/conform): Likewise.
18664         (test-xfail-UNIX98/stdio.h/conform): Likewise.
18665         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
18666         (test-xfail-UNIX98/stropts.h/conform): Likewise.
18667         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18668         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
18669         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18670         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
18671         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18672         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
18673         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
18674         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
18675         (test-xfail-UNIX98/unistd.h/conform): Likewise.
18676         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
18677         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
18678         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
18679         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
18680         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
18681         (test-xfail-XOPEN2K/math.h/conform): Likewise.
18682         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
18683         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
18684         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
18685         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
18686         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
18687         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
18688         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
18689         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18690         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18691         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
18692         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18693         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18694         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18695         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
18696         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
18697         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
18698         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
18699         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18700         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
18701         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18702         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
18703         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
18704         (test-xfail-POSIX2008/signal.h/conform): Likewise.
18705         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18706         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
18707         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
18708         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18709         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18710         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
18711         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
18712         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18713         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18714         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
18715         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
18716         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18717         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18718         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18719         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
18720         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18721         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18722         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18723         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18724         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
18725         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
18726         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
18727         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
18728         (conformtest-cc-flags): Likewise.
18729         ($(conformtest-header-tests): New target.
18730         * conform/check-header-lists.sh: New file.
18731         * conform/run-conformtest.sh: Remove.
18733         * conform/conformtest.pl: Allow ' and \ in values given for
18734         constants.
18735         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
18736         inclusion.
18737         [POSIX] (sys/types.h): Likewise.
18738         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
18739         inclusion.
18740         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
18741         inclusion.
18742         * conform/data/signal.h-data (SIGIO): Remove expectation.
18743         [XPG3] (SIGBUS): Do not expect.
18744         [POSIX || XPG3] (SIGPOLL): Likewise.
18745         [POSIX || XPG3] (SIGPROF): Likewise.
18746         [POSIX || XPG3] (SIGSYS): Likewise.
18747         [XPG3] (SIGTRAP): Likewise.
18748         [POSIX || XPG3] (SIGURG): Likewise.
18749         [POSIX || XPG3] (SIGVTALRM): Likewise.
18750         [POSIX || XPG3] (SIGXCPU): Likewise.
18751         [POSIX || XPG3] (SIGXFSZ): Likewise.
18752         [POSIX] (SA_SIGINFO): Expect.
18753         [XPG3] (siginfo_t): Do not expect type or contents.
18754         [POSIX] (si_pid): Do not expect element.
18755         [POSIX] (si_uid): Likewise.
18756         [POSIX] (si_addr): Likewise.
18757         [POSIX] (si_status): Likewise.
18758         [POSIX] (si_band): Likewise.
18759         [XPG4] (si_value): Likewise.
18760         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
18761         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
18762         [POSIX || XPG3] (ILL_ILLADR): Likewise.
18763         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
18764         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
18765         [POSIX || XPG3] (ILL_PRVREG): Likewise.
18766         [POSIX || XPG3] (ILL_COPROC): Likewise.
18767         [POSIX || XPG3] (ILL_BADSTK): Likewise.
18768         [POSIX || XPG3] (FPE_INTDIV): Likewise.
18769         [POSIX || XPG3] (FPE_INTOVF): Likewise.
18770         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
18771         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
18772         [POSIX || XPG3] (FPE_FLTUND): Likewise.
18773         [POSIX || XPG3] (FPE_FLTRES): Likewise.
18774         [POSIX || XPG3] (FPE_FLTINV): Likewise.
18775         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
18776         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
18777         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
18778         [POSIX || XPG3] (BUS_ADRALN): Likewise.
18779         [POSIX || XPG3] (BUS_ADRERR): Likewise.
18780         [POSIX || XPG3] (BUS_OBJERR): Likewise.
18781         [POSIX || XPG3] (CLD_EXITED): Likewise.
18782         [POSIX || XPG3] (CLD_KILLED): Likewise.
18783         [POSIX || XPG3] (CLD_DUMPED): Likewise.
18784         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
18785         [POSIX || XPG3] (CLD_STOPPED): Likewise.
18786         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
18787         [POSIX || XPG3] (POLL_IN): Likewise.
18788         [POSIX || XPG3] (POLL_OUT): Likewise.
18789         [POSIX || XPG3] (POLL_MSG): Likewise.
18790         [POSIX || XPG3] (POLL_ERR): Likewise.
18791         [POSIX || XPG3] (POLL_PRI): Likewise.
18792         [POSIX || XPG3] (POLL_HUP): Likewise.
18793         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
18794         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
18795         (SIG*): Do not allow.
18796         [XPG3] (si_*): Likewise.
18797         [XPG3] (SI_*): Likewise.
18798         [XPG3 || XPG4] (sigev_*): Likewise.
18799         [XPG3 || XPG4] (SIGEV_*): Likewise.
18800         [XPG3 || XPG4] (sival_*): Likewise.
18801         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
18802         [POSIX || XPG3] (BUS_*): Likewise.
18803         [POSIX || XPG3] (CLD_*): Likewise.
18804         [POSIX || XPG3] (FPE_*): Likewise.
18805         [POSIX || XPG3] (ILL_*): Likewise.
18806         [POSIX || XPG3] (POLL_*): Likewise.
18807         [POSIX || XPG3] (SEGV_*): Likewise.
18808         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
18809         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
18810         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
18811         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
18812         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
18813         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
18814         Specify type and value.
18815         (TVERSLEN): Likewise.
18816         (REGTYPE): Likewise.
18817         (AREGTYPE): Likewise.
18818         (LNKTYPE): Likewise.
18819         (SYMTYPE): Likewise.
18820         (CHRTYPE): Likewise.
18821         (BLKTYPE): Likewise.
18822         (DIRTYPE): Likewise.
18823         (FIFOTYPE): Likewise.
18824         (CONTTYPE): Likewise.
18825         (TSUID): Likewise.
18826         (TSGID): Likewise.
18827         (TSVTX): Likewise.
18828         (TUREAD): Likewise.
18829         (TUWRITE): Likewise.
18830         (TUEXEC): Likewise.
18831         (TGREAD): Likewise.
18832         (TGWRITE): Likewise.
18833         (TGEXEC): Likewise.
18834         (TOREAD): Likewise.
18835         (TOWRITE): Likewise.
18836         (TOEXEC): Likewise.
18837         [POSIX] (TSVTX): Expect constant.
18839 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
18841         * Makefile (tests): Change dependencies to ....
18842         (tests-special): ... additions to this variable.
18843         (tests): Depend on $(tests-special).
18844         * Makerules (check-abi-list): New variable.
18845         (check-abi): Depend on $(check-abi-list).
18846         [$(subdir) = elf] (tests-special): Add
18847         $(objpfx)check-abi-libc.out.
18848         [$(build-shared) = yes && subdir] (tests-special): Add
18849         $(check-abi-list).
18850         [$(build-shared) = yes && subdir] (tests): Do not depend on
18851         check-abi.
18852         * Rules (tests): Depend on $(tests-special).
18853         (xtests): Depend on $(xtests-special).
18854         * catgets/Makefile (tests): Change dependencies to ....
18855         (tests-special): ... additions to this variable.
18856         * conform/Makefile (tests): Change dependencies to ....
18857         (tests-special): ... additions to this variable.
18858         * elf/Makefile (tests): Change dependencies to ....
18859         (tests-special): ... additions to this variable.
18860         * grp/Makefile (tests): Change dependencies to ....
18861         (tests-special): ... additions to this variable.
18862         * iconv/Makefile (xtests): Change dependencies to ....
18863         (xtests-special): ... additions to this variable.
18864         * iconvdata/Makefile (tests): Change dependencies to ....
18865         (tests-special): ... additions to this variable.
18866         * intl/Makefile (tests): Change dependencies to ....
18867         (tests-special): ... additions to this variable.  Also add
18868         $(objpfx)tst-gettext.out.
18869         * io/Makefile (tests): Change dependencies to ....
18870         (tests-special): ... additions to this variable.
18871         * libio/Makefile (tests): Change dependencies to ....
18872         (tests-special): ... additions to this variable.
18873         * malloc/Makefile (tests): Change dependencies to ....
18874         (tests-special): ... additions to this variable.
18875         * misc/Makefile (tests): Change dependencies to ....
18876         (tests-special): ... additions to this variable.
18877         * nptl/Makefile (tests): Change dependencies to ....
18878         (tests-special): ... additions to this variable.
18879         * nptl_db/Makefile (tests): Change dependencies to ....
18880         (tests-special): ... additions to this variable.
18881         * posix/Makefile (tests): Change dependencies to ....
18882         (tests-special): ... additions to this variable.
18883         (xtests): Change dependencies to ....
18884         (xtests-special): ... additions to this variable.
18885         * resolv/Makefile (tests): Change dependencies to ....
18886         (tests-special): ... additions to this variable.
18887         (xtests): Change dependencies to ....
18888         (xtests-special): ... additions to this variable.
18889         * stdio-common/Makefile (tests): Change dependencies to ....
18890         (tests-special): ... additions to this variable.
18891         (do-tst-unbputc): Remove target.
18892         (do-tst-printf): Likewise.
18893         * stdlib/Makefile (tests): Change dependencies to ....
18894         (tests-special): ... additions to this variable.
18895         * string/Makefile (tests): Change dependencies to ....
18896         (tests-special): ... additions to this variable.
18897         * sysdeps/x86/Makefile (tests): Change dependencies to ....
18898         (tests-special): ... additions to this variable.
18900         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
18901         whole file.
18902         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
18903         whole file.
18904         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
18905         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
18907         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
18908         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
18909         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
18910         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
18911         * conform/data/libgen.h-data [XPG3]: Likewise.
18912         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
18913         * conform/data/ndbm.h-data [XPG3]: Likewise.
18914         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
18915         * conform/data/netdb.h-data [XPG3]: Likewise.
18916         * conform/data/netinet/in.h-data [XPG3]: Likewise.
18917         * conform/data/poll.h-data [XPG3]: Likewise.
18918         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
18919         * conform/data/strings.h-data [XPG3]: Likewise.
18920         * conform/data/stropts.h-data [XPG3]: Likewise.
18921         * conform/data/sys/mman.h-data [XPG3]: Likewise.
18922         * conform/data/sys/resource.h-data [XPG3]: Likewise.
18923         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
18924         Likewise.
18925         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
18926         * conform/data/sys/time.h-data [XPG3]: Likewise.
18927         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
18928         * conform/data/sys/uio.h-data [XPG3]: Likewise.
18929         * conform/data/sys/un.h-data [XPG3]: Likewise.
18930         * conform/data/syslog.h-data [XPG3]: Likewise.
18931         * conform/data/ucontext.h-data [XPG3]: Likewise.
18932         * conform/data/utmpx.h-data [XPG3]: Likewise.
18933         * conform/data/varargs.h-data [UNIX98]: Enable file.
18935         * manual/Makefile (INSTALL_INFO): Remove variable setting.
18937         * math/libm-test.inc (struct test_f_f_data): Move expected results
18938         into structure for each rounding mode.
18939         (struct test_ff_f_data): Likewise.
18940         (struct test_ff_f_data_nexttoward): Likewise.
18941         (struct test_fi_f_data): Likewise.
18942         (struct test_fl_f_data): Likewise.
18943         (struct test_if_f_data): Likewise.
18944         (struct test_fff_f_data): Likewise.
18945         (struct test_c_f_data): Likewise.
18946         (struct test_f_f1_data): Likewise.
18947         (struct test_fF_f1_data): Likewise.
18948         (struct test_ffI_f1_data): Likewise.
18949         (struct test_c_c_data): Likewise.
18950         (struct test_cc_c_data): Likewise.
18951         (struct test_f_i_data): Likewise.
18952         (struct test_ff_i_data): Likewise.
18953         (struct test_f_l_data): Likewise.
18954         (struct test_f_L_data): Likewise.
18955         (struct test_fFF_11_data): Likewise.
18956         (RM_): New macro.
18957         (RM_FE_DOWNWARD): Likewise.
18958         (RM_FE_TONEAREST): Likewise.
18959         (RM_FE_TOWARDZERO): Likewise.
18960         (RM_FE_UPWARD): Likewise.
18961         (RUN_TEST_LOOP_f_f): Update references to expected results.
18962         (RUN_TEST_LOOP_2_f): Likewise.
18963         (RUN_TEST_LOOP_fff_f): Likewise.
18964         (RUN_TEST_LOOP_c_f): Likewise.
18965         (RUN_TEST_LOOP_f_f1): Likewise.
18966         (RUN_TEST_LOOP_fF_f1): Likewise.
18967         (RUN_TEST_LOOP_fI_f1): Likewise.
18968         (RUN_TEST_LOOP_ffI_f1): Likewise.
18969         (RUN_TEST_LOOP_c_c): Likewise.
18970         (RUN_TEST_LOOP_cc_c): Likewise.
18971         (RUN_TEST_LOOP_f_i): Likewise.
18972         (RUN_TEST_LOOP_f_i_tg): Likewise.
18973         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18974         (RUN_TEST_LOOP_f_b): Likewise.
18975         (RUN_TEST_LOOP_f_b_tg): Likewise.
18976         (RUN_TEST_LOOP_f_l): Likewise.
18977         (RUN_TEST_LOOP_f_L): Likewise.
18978         (RUN_TEST_LOOP_fFF_11): Likewise.
18979         * math/gen-libm-test.pl (parse_args): Output four copies of
18980         expected results for each test.
18982         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18983         (__ASSUME_UTIMES): Remove.
18984         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18985         (__ASSUME_UTIMES): Likewise.
18987         * math/gen-auto-libm-tests.c: Update comment on output format.
18988         (output_for_one_input_case): Generate before-rounding and
18989         after-rounding information as conditions on output flags not
18990         floating-point format.
18991         * math/auto-libm-test-out: Regenerated.
18992         * math/gen-libm-test.pl (cond_value): New function.
18993         (or_cond_value): Use cond_value.
18994         (generate_testfile): Handle conditional exceptions.
18996 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
18998         * math/libm-test.inc (max_valid_error): New variable.
18999         (init_max_error): Take new argument specifying whether function
19000         results are exactly determined.  Set max_valid_error and bound
19001         other variables for errors based on this argument.
19002         (set_max_error): Do not record results above max_valid_error.
19003         (check_float_internal): Only accept errors of up to 0.5ulps if
19004         also at most max_valid_error.
19005         (START): Take new argument EXACT and pass it to init_max_error.
19006         (acos_test): Update call to START.
19007         (acos_test_tonearest): Likewise.
19008         (acos_test_towardzero): Likewise.
19009         (acos_test_downward): Likewise.
19010         (acos_test_upward): Likewise.
19011         (acosh_test): Likewise.
19012         (asin_test): Likewise.
19013         (asin_test_tonearest): Likewise.
19014         (asin_test_towardzero): Likewise.
19015         (asin_test_downward): Likewise.
19016         (asin_test_upward): Likewise.
19017         (asinh_test): Likewise.
19018         (atan_test): Likewise.
19019         (atanh_test): Likewise.
19020         (atan2_test): Likewise.
19021         (cabs_test): Likewise.
19022         (cacos_test): Likewise.
19023         (cacosh_test): Likewise.
19024         (carg_test): Likewise.
19025         (casin_test): Likewise.
19026         (casinh_test): Likewise.
19027         (catan_test): Likewise.
19028         (catanh_test): Likewise.
19029         (cbrt_test): Likewise.
19030         (ccos_test): Likewise.
19031         (ccosh_test): Likewise.
19032         (ceil_test): Likewise.
19033         (cexp_test): Likewise.
19034         (cimag_test): Likewise.
19035         (clog_test): Likewise.
19036         (clog10_test): Likewise.
19037         (conj_test): Likewise.
19038         (copysign_test): Likewise.
19039         (cos_test): Likewise.
19040         (cos_test_tonearest): Likewise.
19041         (cos_test_towardzero): Likewise.
19042         (cos_test_downward): Likewise.
19043         (cos_test_upward): Likewise.
19044         (cosh_test): Likewise.
19045         (cosh_test_tonearest): Likewise.
19046         (cosh_test_towardzero): Likewise.
19047         (cosh_test_downward): Likewise.
19048         (cosh_test_upward): Likewise.
19049         (cpow_test): Likewise.
19050         (cproj_test): Likewise.
19051         (creal_test): Likewise.
19052         (csin_test): Likewise.
19053         (csinh_test): Likewise.
19054         (csqrt_test): Likewise.
19055         (ctan_test): Likewise.
19056         (ctan_test_tonearest): Likewise.
19057         (ctan_test_towardzero): Likewise.
19058         (ctan_test_downward): Likewise.
19059         (ctan_test_upward): Likewise.
19060         (ctanh_test): Likewise.
19061         (ctanh_test_tonearest): Likewise.
19062         (ctanh_test_towardzero): Likewise.
19063         (ctanh_test_downward): Likewise.
19064         (ctanh_test_upward): Likewise.
19065         (erf_test): Likewise.
19066         (erfc_test): Likewise.
19067         (exp_test): Likewise.
19068         (exp_test_tonearest): Likewise.
19069         (exp_test_towardzero): Likewise.
19070         (exp_test_downward): Likewise.
19071         (exp_test_upward): Likewise.
19072         (exp10_test): Likewise.
19073         (exp10_test_tonearest): Likewise.
19074         (exp10_test_towardzero): Likewise.
19075         (exp10_test_downward): Likewise.
19076         (exp10_test_upward): Likewise.
19077         (pow10_test): Likewise.
19078         (exp2_test): Likewise.
19079         (expm1_test): Likewise.
19080         (expm1_test_tonearest): Likewise.
19081         (expm1_test_towardzero): Likewise.
19082         (expm1_test_downward): Likewise.
19083         (expm1_test_upward): Likewise.
19084         (fabs_test): Likewise.
19085         (fdim_test): Likewise.
19086         (floor_test): Likewise.
19087         (fma_test): Likewise.
19088         (fma_test_towardzero): Likewise.
19089         (fma_test_downward): Likewise.
19090         (fma_test_upward): Likewise.
19091         (fmax_test): Likewise.
19092         (fmin_test): Likewise.
19093         (fmod_test): Likewise.
19094         (fpclassify_test): Likewise.
19095         (frexp_test): Likewise.
19096         (hypot_test): Likewise.
19097         (ilogb_test): Likewise.
19098         (isfinite_test): Likewise.
19099         (finite_test): Likewise.
19100         (isgreater_test): Likewise.
19101         (isgreaterequal_test): Likewise.
19102         (isinf_test): Likewise.
19103         (isless_test): Likewise.
19104         (islessequal_test): Likewise.
19105         (islessgreater_test): Likewise.
19106         (isnan_test): Likewise.
19107         (isnormal_test): Likewise.
19108         (issignaling_test): Likewise.
19109         (isunordered_test): Likewise.
19110         (j0_test): Likewise.
19111         (j1_test): Likewise.
19112         (jn_test): Likewise.
19113         (ldexp_test): Likewise.
19114         (lgamma_test): Likewise.
19115         (gamma_test): Likewise.
19116         (lrint_test): Likewise.
19117         (lrint_test_tonearest): Likewise.
19118         (lrint_test_towardzero): Likewise.
19119         (lrint_test_downward): Likewise.
19120         (lrint_test_upward): Likewise.
19121         (llrint_test): Likewise.
19122         (llrint_test_tonearest): Likewise.
19123         (llrint_test_towardzero): Likewise.
19124         (llrint_test_downward): Likewise.
19125         (llrint_test_upward): Likewise.
19126         (log_test): Likewise.
19127         (log10_test): Likewise.
19128         (log1p_test): Likewise.
19129         (log2_test): Likewise.
19130         (logb_test): Likewise.
19131         (logb_test_downward): Likewise.
19132         (lround_test): Likewise.
19133         (llround_test): Likewise.
19134         (modf_test): Likewise.
19135         (nearbyint_test): Likewise.
19136         (nextafter_test): Likewise.
19137         (nexttoward_test): Likewise.
19138         (pow_test): Likewise.
19139         (pow_test_tonearest): Likewise.
19140         (pow_test_towardzero): Likewise.
19141         (pow_test_downward): Likewise.
19142         (pow_test_upward): Likewise.
19143         (remainder_test): Likewise.
19144         (drem_test): Likewise.
19145         (remainder_test_tonearest): Likewise.
19146         (drem_test_tonearest): Likewise.
19147         (remainder_test_towardzero): Likewise.
19148         (drem_test_towardzero): Likewise.
19149         (remainder_test_downward): Likewise.
19150         (drem_test_downward): Likewise.
19151         (remainder_test_upward): Likewise.
19152         (drem_test_upward): Likewise.
19153         (remquo_test): Likewise.
19154         (rint_test): Likewise.
19155         (rint_test_tonearest): Likewise.
19156         (rint_test_towardzero): Likewise.
19157         (rint_test_downward): Likewise.
19158         (rint_test_upward): Likewise.
19159         (round_test): Likewise.
19160         (scalb_test): Likewise.
19161         (scalbn_test): Likewise.
19162         (scalbln_test): Likewise.
19163         (signbit_test): Likewise.
19164         (sin_test): Likewise.
19165         (sin_test_tonearest): Likewise.
19166         (sin_test_towardzero): Likewise.
19167         (sin_test_downward): Likewise.
19168         (sin_test_upward): Likewise.
19169         (sincos_test): Likewise.
19170         (sinh_test): Likewise.
19171         (sinh_test_tonearest): Likewise.
19172         (sinh_test_towardzero): Likewise.
19173         (sinh_test_downward): Likewise.
19174         (sinh_test_upward): Likewise.
19175         (sqrt_test): Likewise.
19176         (sqrt_test_tonearest): Likewise.
19177         (sqrt_test_towardzero): Likewise.
19178         (sqrt_test_downward): Likewise.
19179         (sqrt_test_upward): Likewise.
19180         (tan_test): Likewise.
19181         (tan_test_tonearest): Likewise.
19182         (tan_test_towardzero): Likewise.
19183         (tan_test_downward): Likewise.
19184         (tan_test_upward): Likewise.
19185         (tanh_test): Likewise.
19186         (tgamma_test): Likewise.
19187         (trunc_test): Likewise.
19188         (y0_test): Likewise.
19189         (y1_test): Likewise.
19190         (yn_test): Likewise.
19191         (significand_test): Likewise.
19193         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
19194         individual tests in comment.
19195         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
19196         (prev_max_error): New variable.
19197         (prev_real_max_error): Likewise.
19198         (prev_imag_max_error): Likewise.
19199         (compare_ulp_data): Don't refer to test names in comment.
19200         (find_test_ulps): Remove function.
19201         (find_function_ulps): Likewise.
19202         (find_complex_function_ulps): Likewise.
19203         (init_max_error): Take function name as argument.  Look up ulps
19204         for that function.
19205         (print_ulps): Remove function.
19206         (print_max_error): Use prev_max_error instead of calling
19207         find_function_ulps.
19208         (print_complex_max_error): Use prev_real_max_error and
19209         prev_imag_max_error instead of calling find_complex_function_ulps.
19210         (check_float_internal): Take max_ulp parameter instead of calling
19211         find_test_ulps.  Don't call print_ulps.
19212         (check_float): Update call to check_float_internal.
19213         (check_complex): Update calls to check_float_internal.
19214         (START): Pass argument to init_max_error.
19215         * math/gen-libm-test.pl (%results): Don't include "kind"
19216         information.
19217         (parse_ulps): Don't handle ulps of individual tests.
19218         (print_ulps_file): Likewise.
19219         (output_ulps): Likewise.
19220         * math/README.libm-test: Update.
19221         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
19222         individual tests.
19223         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
19224         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
19225         * sysdeps/arm/libm-test-ulps: Likewise.
19226         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19227         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
19228         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
19229         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
19230         * sysdeps/microblaze/libm-test-ulps: Likewise.
19231         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19232         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19233         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19234         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19235         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19236         * sysdeps/sh/libm-test-ulps: Likewise.
19237         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19238         * sysdeps/tile/libm-test-ulps: Likewise.
19239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19241 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
19243         * math/libm-test.inc (print_complex_max_error): Check separately
19244         whether real and imaginary errors are within allowed range and
19245         pass 0 to print_complex_function_ulps instead of value within
19246         allowed range.
19248 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19250         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
19251         formatting.
19252         (get_handles_fopen): Likewise.
19253         (do_write_test): Likewise.
19255         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
19257         * libio/fileops.c (do_ftell): Use cached offset when
19258         available.
19259         * libio/iofwide.c (do_ftell_wide): Likewise.
19260         * libio/iofdopen.c (_IO_new_fdopen): Don't use
19261         _IO_file_attach.
19262         * libio/wfileops.c (_IO_fwide): Don't cache offset.
19264         [BZ #16532]
19265         * libio/libioP.h (get_file_offset): New function.
19266         * libio/fileops.c (get_file_offset): Likewise.
19267         (do_ftell): Likewise.
19268         (_IO_new_file_seekoff): Split out ftell logic.
19269         * libio/wfileops.c (do_ftell_wide): Likewise.
19270         (_IO_wfile_seekoff): Split out ftell logic.
19271         * libio/tst-ftell-active-handler.c: New test case.
19272         * libio/Makefile (tests): Add it.
19274 2014-03-03  Roland McGrath  <roland@hack.frob.com>
19276         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
19277         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
19279 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19281         [BZ #16639]
19282         * nscd/connections.c (nscd_init): Call do_exit.
19283         (start_threads): Call do_exit and notify_parent.
19284         (begin_drop_privileges): Call do_exit.
19285         (finish_drop_privileges): Likewise.
19286         * nscd/selinux.c (preserve_capabilities): Likewise.
19287         (install_real_capabilities): Likewise.
19288         (nscd_selinux_enabled): Likewise.
19289         (avc_create_thread): Likewise.
19290         (avc_alloc_lock): Likewise.
19291         (nscd_avc_init): Likewise.
19292         * nscd/nscd.c (parent_fd): New static variable.
19293         (main): Create a pipe between parent and child processes.
19294         Skip closing parent_fd.
19295         (monitor_child): New function.
19296         (do_exit): Likewise.
19297         (notify_parent): Likewise.
19298         * nscd/nscd.h (notify_parent): Likewise.
19299         (do_exit): Likewise.
19301 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
19303         * malloc/malloc.c (__libc_calloc): Revert last change.
19305 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19309 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19311         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
19312         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
19313         implementation.
19314         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19315         (__libc_ifunc_impl_list): Likewise.
19316         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
19317         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
19318         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
19319         * string/strrchr.c: Define STRRCHR.
19321 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
19323         * benchtest/bench-strtok.c (simple_strtok): Delete.
19324         (strtok_string): Use as benchmark.
19325         * string/strtok (STRTOK): New macro.
19327 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
19329         * manual/threads.texi: Add header and standard comments to all
19330         functions.
19332         * elf/dl-lookup.c (check_match): New function.
19333         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
19334         (do_lookup_x): Remove nested function check_match. Use non-nested
19335         function check_match.
19337 2014-02-28  Roland McGrath  <roland@hack.frob.com>
19339         * csu/Makefile (generated, before-compile): Use += rather than =.
19340         * catgets/Makefile (generated, generated-dirs): Likewise.
19341         * debug/Makefile (generated): Likewise.
19342         * dlfcn/Makefile (generated): Likewise.
19343         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
19344         * iconvdata/Makefile (before-compile, generated): Likewise.
19345         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
19346         * libio/Makefile (generated): Likewise.
19347         * malloc/Makefile (generated): Likewise.
19348         * manual/Makefile (generated, generated-dirs): Likewise.
19349         * misc/Makefile (generated): Likewise.
19350         * posix/Makefile (generated): Likewise.
19351         * resolv/Makefile (generated): Likewise.
19352         * sunrpc/Makefile (generated, generated-dirs): Likewise.
19353         * timezone/Makefile (generated, generated-dirs): Likewise.
19355         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
19357 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19359         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19360         power8 implementation.
19361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
19362         file: POWER8 llround ifunc implementation.
19363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19364         (__lllround): Add POWER8 implementation.
19365         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
19366         POWER8 llround implementation.
19368         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
19369         power8 implementation.
19370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
19371         file: POWER8 llrint ifunc implementation.
19372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
19373         Add POWER8 implementation.
19374         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
19375         POWER8 llrint implementation.
19377         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
19378         power8 implementation.
19379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
19380         file: POWER8 finite ifunc implementation.
19381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
19382         Add POWER8 implementation.
19383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
19384         Likewise.
19385         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
19386         POWER8 finite implementation.
19387         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
19389         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
19390         power8 implementation.
19391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
19392         file: POWER8 isinf ifunc implementation.
19393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
19394         POWER8 implementation.
19395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
19396         Likewise.
19397         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
19398         isinf implementation.
19399         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
19401         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19402         (INIT_ARCH): Add hwcap2 initialization.
19403         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19404         power8 implementation.
19405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
19406         file: POWER8 isnan ifunc implementation.
19407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
19408         POWER8 implementation.
19409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
19410         Likewise.
19411         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
19412         isnan implementation.
19413         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
19415 2014-02-27  Joey Ye  <joey.ye@arm.com>
19417         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19418         (_FP_NANFRAC_Q): Set to zero.
19420 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19422         [BZ #16623]
19423         * math/auto-libm-test-in: New test inputs.
19424         * math/auto-libm-test-out: Regenerate.
19425         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
19426         and DA.
19427         (__cos): Likewise.
19428         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19430 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
19432         * scripts/evaluate-test.sh: Take new argument indicating whether
19433         failure is expected.
19434         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
19435         indicating whether failure is expected.
19436         * conform/Makefile (test-xfail-run-conformtest): New variable.
19437         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
19438         level.
19439         * posix/Makefile (test-xfail-annexc): New variable.
19440         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
19442 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
19444         * argp/Makefile: Include Makeconfig immediately after defining
19445         subdir.
19446         * assert/Makefile: Likewise.
19447         * benchtests/Makefile: Likewise.
19448         * catgets/Makefile: Likewise.
19449         * conform/Makefile: Likewise.
19450         * crypt/Makefile: Likewise.
19451         * csu/Makefile: Likewise.
19452         (all): Remove target.
19453         * ctype/Makefile: Include Makeconfig immediately after defining
19454         subdir.
19455         * debug/Makefile: Likewise.
19456         * dirent/Makefile: Likewise.
19457         * dlfcn/Makefile: Likewise.
19458         * gmon/Makefile: Likewise.
19459         * gnulib/Makefile: Likewise.
19460         * grp/Makefile: Likewise.
19461         * gshadow/Makefile: Likewise.
19462         * hesiod/Makefile: Likewise.
19463         * hurd/Makefile: Likewise.
19464         (all): Remove target.
19465         * iconvdata/Makefile: Include Makeconfig immediately after
19466         defining subdir.
19467         * inet/Makefile: Likewise.
19468         * intl/Makefile: Likewise.
19469         * io/Makefile: Likewise.
19470         * libio/Makefile: Likewise.
19471         (all): Remove target.
19472         * locale/Makefile: Include Makeconfig immediately after defining
19473         subdir.
19474         * login/Makefile: Likewise.
19475         * mach/Makefile: Likewise.
19476         (all): Remove target.
19477         * malloc/Makefile: Include Makeconfig immediately after defining
19478         subdir.
19479         (all): Remove target.
19480         * manual/Makefile: Include Makeconfig immediately after defining
19481         subdir.
19482         * math/Makefile: Likewise.
19483         * misc/Makefile: Likewise.
19484         * nis/Makefile: Likewise.
19485         * nss/Makefile: Likewise.
19486         * po/Makefile: Likewise.
19487         (all): Remove target.
19488         * posix/Makefile: Include Makeconfig immediately after defining
19489         subdir.
19490         * pwd/Makefile: Likewise.
19491         * resolv/Makefile: Likewise.
19492         * resource/Makefile: Likewise.
19493         * rt/Makefile: Likewise.
19494         * setjmp/Makefile: Likewise.
19495         * shadow/Makefile: Likewise.
19496         * signal/Makefile: Likewise.
19497         * socket/Makefile: Likewise.
19498         * soft-fp/Makefile: Likewise.
19499         * stdio-common/Makefile: Likewise.
19500         * stdlib/Makefile: Likewise.
19501         * streams/Makefile: Likewise.
19502         * string/Makefile: Likewise.
19503         * sunrpc/Makefile: Likewise.
19504         (all): Remove target.
19505         * sysvipc/Makefile: Include Makeconfig immediately after defining
19506         subdir.
19507         * termios/Makefile: Likewise.
19508         * time/Makefile: Likewise.
19509         * timezone/Makefile: Likewise.
19510         (all): Remove target.
19511         * wcsmbs/Makefile: Include Makeconfig immediately after defining
19512         subdir.
19513         * wctype/Makefile: Likewise.
19515 2014-02-26  Steve Ellcey  <sellcey@mips.com>
19517         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
19518         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
19519         (libc_feholdexcept_setround_mips): Ditto.
19520         (libc_feholdsetround): New.
19521         (libc_feholdsetroundf): New.
19522         (libc_feholdsetroundl): New.
19523         (libc_feupdateenv_test_mips): New.
19524         (libc_feupdateenv_test): New.
19525         (libc_feupdateenv_testf): New.
19526         (libc_feupdateenv_testl): New.
19527         (libc_feresetround): New.
19528         (libc_feresetroundf): New.
19529         (libc_feresetroundl): New.
19530         (libc_fetestexcept_mips): New.
19531         (libc_fetestexcept): New.
19532         (libc_fetestexceptf): New.
19533         (libc_fetestexceptl): New.
19534         (HAVE_RM_CTX): New.
19535         (libc_feholdexcept_setround_mips_ctx): New.
19536         (libc_feholdexcept_setround_ctx): New.
19537         (libc_feholdexcept_setroundf_ctx): New.
19538         (libc_feholdexcept_setroundl_ctx): New.
19539         (libc_fesetenv_mips_ctx): New.
19540         (libc_fesetenv_ctx): New.
19541         (libc_fesetenv_ctxf): New.
19542         (libc_fesetenv_ctxl): New.
19543         (libc_feupdateenv_mips_ctx): New.
19544         (libc_feupdateenv_ctx): New.
19545         (libc_feupdateenvf_ctx): New.
19546         (libc_feupdateenvl_ctx): New.
19547         (libc_feholdsetround_mips_ctx): New.
19548         (libc_feholdsetround_ctx): New.
19549         (libc_feholdsetroundf_ctx): New.
19550         (libc_feholdsetroundl_ctx): New.
19551         (libc_feresetround_mips_ctx): New.
19552         (libc_feresetround_ctx): New.
19553         (libc_feresetroundf_ctx): New.
19554         (libc_feresetroundl_ctx): New.
19556 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
19558         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
19560         * manual/ipc.texi: New file.
19561         * manual/Makefile (chapters): Add ipc.
19562         * manual/job.texi: Add "Inter-Process Communication" to next.
19563         * manual/process.texi: Add "Inter-Process Communication" to prev.
19565 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19569 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
19571         * malloc/malloc.c (__libc_calloc): Simplify implementation.
19573         * manual/arith.texi: Fix spaces after sentences.
19574         * manual/charset.texi: Likewise.
19575         * manual/errno.texi: Likewise.
19576         * manual/install.texi: Likewise.
19577         * manual/llio.texi: Likewise.
19578         * manual/locale.texi: Likewise.
19579         * manual/maint.texi: Likewise.
19580         * manual/math.texi: Likewise.
19581         * manual/memory.texi: Likewise.
19582         * manual/message.texi: Likewise.
19583         * manual/probes.texi: Likewise.
19584         * manual/resource.texi: Likewise.
19585         * manual/signal.texi: Likewise.
19586         * manual/socket.texi: Likewise.
19587         * manual/stdio.texi: Likewise.
19588         * manual/string.texi: Likewise.
19589         * manual/time.texi: Likewise.
19590         * manual/users.texi: Likewise.
19592 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
19594         [BZ #16632]
19595         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
19596         _DEFAULT_SOURCE is defined.
19598 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
19599             Carlos O'Donell  <carlos@redhat.com>
19601         [BZ #16613]
19602         * elf/dl-tls.c (_dl_count_modids): New function.
19603         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
19604         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
19605         audit library and increment generation counter.
19606         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
19607         * elf/tst-audit9.c: New file.
19608         * elf/tst-auditmod9a.c: New file.
19609         * elf/tst-auditmod9b.c: New file.
19610         * elf/Makefile: Add rules to build and run tst-audit9.
19612 2014-02-25  Florian Weimer  <fweimer@redhat.com>
19614         [BZ #15347]
19615         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
19617 2014-02-25  Will Newton  <will.newton@linaro.org>
19619         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
19620         (__longjmp): Restore sp and lr before restoring callee
19621         saved registers.  Add longjmp and longjmp_target
19622         SystemTap probe point.
19623         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
19624         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
19625         Define to zero to match jmpbuf layout.
19626         * sysdeps/arm/setjmp.S: Include stap-probe.h.
19627         (__sigsetjmp): Save sp and lr before saving callee
19628         saved registers.  Add setjmp SystemTap probe point.
19630 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19632         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19634 2014-02-24  Andreas Schwab  <schwab@suse.de>
19636         [BZ #15804]
19637         * elf/pldd.c (wait_for_ptrace_stop): New function.
19638         (main): Call it after attaching.
19640 2014-02-22  Roland McGrath  <roland@hack.frob.com>
19642         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
19643         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
19644         Versions files is now verboten.
19645         * hurd/Versions (libc: GLIBC_2.0):
19646         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
19647         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
19648         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
19649         * mach/Versions: Likewise.
19651         * csu/Versions: Remove unused %include.
19652         * resolv/Versions: Likewise.
19654 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
19656         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
19657         ($(objpfx)check-local-headers.out): Likewise.
19658         ($(objpfx)begin-end-check.out): Likewise.
19659         * Makerules (check-abi-%.out): Likewise.
19660         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
19661         ($(objpfx)test2.cat): Likewise.
19662         ($(objpfx)de/libc.cat): Likewise.
19663         ($(objpfx)test-gencat.out): Likewise.
19664         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
19665         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
19666         ($(objpfx)noload-mem): Likewise.
19667         ($(objpfx)tst-pathopt.out): Likewise.
19668         ($(objpfx)tst-rtld-load-self.out): Likewise.
19669         ($(objpfx)tst-array1-cmp.out): Likewise.
19670         ($(objpfx)tst-array1-static-cmp.out): Likewise.
19671         ($(objpfx)tst-array2-cmp.out): Likewise.
19672         ($(objpfx)tst-array3-cmp.out): Likewise.
19673         ($(objpfx)tst-array4-cmp.out): Likewise.
19674         ($(objpfx)tst-array5-cmp.out): Likewise.
19675         ($(objpfx)tst-array5-static-cmp.out): Likewise.
19676         ($(objpfx)check-textrel.out): Likewise.
19677         ($(objpfx)check-execstack.out): Likewise.
19678         ($(objpfx)check-localplt.out): Likewise.
19679         ($(objpfx)order2-cmp.out): Likewise.
19680         ($(objpfx)tst-leaks1-mem): Likewise.
19681         ($(objpfx)tst-leaks1-static-mem): Likewise.
19682         ($(objpfx)tst-initorder-cmp.out): Likewise.
19683         ($(objpfx)tst-initorder2-cmp.out): Likewise.
19684         ($(objpfx)tst-unused-dep.out): Likewise.
19685         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
19686         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
19687         * iconv/Makefile (test-iconvconfig): Likewise.
19688         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
19689         ($(objpfx)iconv-test.out): Likewise.
19690         ($(objpfx)tst-tables.out): Likewise.
19691         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
19692         ($(objpfx)tst-gettext.out): Likewise.
19693         ($(objpfx)tst-translit.out): Likewise.
19694         ($(objpfx)tst-gettext2.out): Likewise.
19695         ($(objpfx)tst-gettext4.out): Likewise.
19696         ($(objpfx)tst-gettext6.out): Likewise.
19697         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
19698         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
19699         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
19700         ($(objpfx)tst-fopenloc-mem.out): Likewise.
19701         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
19702         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
19703         * posix/Makefile ($(objpfx)globtest.out): Likewise.
19704         ($(objpfx)wordexp-tst.out): Likewise.
19705         ($(objpfx)annexc.out): Likewise.
19706         ($(objpfx)tst-fnmatch-mem): Likewise.
19707         ($(objpfx)bug-regex2-mem): Likewise.
19708         ($(objpfx)bug-regex14-mem): Likewise.
19709         ($(objpfx)bug-regex21-mem): Likewise.
19710         ($(objpfx)bug-regex31-mem): Likewise.
19711         ($(objpfx)tst-vfork3-mem): Likewise.
19712         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19713         ($(objpfx)tst-pcre-mem): Likewise.
19714         ($(objpfx)tst-boost-mem): Likewise.
19715         ($(objpfx)tst-getconf.out): Likewise.
19716         ($(objpfx)bug-ga2-mem): Likewise.
19717         ($(objpfx)bug-glob2-mem): Likewise.
19718         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
19719         ($(objpfx)mtrace-tst-leaks2): Likewise.
19720         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
19721         ($(objpfx)tst-printf.out): Likewise.
19722         ($(objpfx)tst-setvbuf1.out): Likewise.
19723         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
19724         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
19725         ($(objpfx)tst-fmtmsg.out): Likewise.
19726         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
19727         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
19729         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
19730         * bits/sigaction.h [__USE_MISC]: Likewise.
19731         * bits/waitstatus.h: Update #endif comments.
19732         * ctype/ctype.h: Likewise.
19733         * dirent/dirent.h: Likewise.
19734         [__USE_MISC]: Remove redundant conditionals.
19735         * grp/grp.h: Update #endif comments.
19736         [__USE_GNU]: Remove redundant conditionals.
19737         [__USE_MISC]: Likewise.
19738         * inet/netinet/in.h [__USE_GNU]: Likewise.
19739         * io/sys/stat.h [__USE_MISC]: Likewise.
19740         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
19741         * libio/bits/stdio.h: Update #endif comments.
19742         [__USE_MISC]: Remove redundant conditionals.
19743         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
19744         * libio/stdio.h: Update #endif comments.
19745         [__USE_MISC]: Remove redundant conditionals.
19746         * math/bits/math-finite.h [__USE_MISC]: Likewise.
19747         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
19748         * math/math.h: Update #else and #endif comments.
19749         [__USE_MISC]: Remove redundant conditionals.
19750         * misc/sys/uio.h: Update #endif comments.
19751         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
19752         * posix/glob.h [__USE_MISC]: Likewise.
19753         * posix/sys/types.h: Update #endif comments.
19754         [__USE_MISC]: Remove redundant conditionals.
19755         * posix/sys/wait.h: Update #endif comments.
19756         [__USE_MISC]: Remove redundant conditionals.
19757         * posix/unistd.h: Update #endif comments.
19758         [__USE_MISC]: Remove redundant conditionals.
19759         * pwd/pwd.h [__USE_GNU]: Likewise.
19760         [__USE_MISC]: Likewise.
19761         * resolv/netdb.h [__USE_GNU]: Likewise.
19762         * signal/signal.h: Update #endif comments.
19763         [__USE_MISC]: Remove redundant conditionals.
19764         * stdlib/stdlib.h: Update #else and #endif comments.
19765         [__USE_MISC]: Remove redundant conditionals.
19766         [__USE_GNU]: Likewise.
19767         * string/bits/string2.h [__USE_MISC]: Likewise.
19768         * string/string.h: Update #endif comments.
19769         [__USE_MISC]: Remove redundant conditionals.
19770         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
19771         Likewise.
19772         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
19773         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
19774         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
19775         Likewise.
19776         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
19777         Likewise.
19778         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
19779         comments.
19780         [__USE_MISC]: Remove redundant conditionals.
19781         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
19782         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
19783         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
19784         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
19785         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
19786         Likewise.
19787         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
19788         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
19789         Likewise.
19790         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
19791         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
19792         Likewise.
19793         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
19794         Likewise.
19795         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
19796         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
19797         Likewise.
19798         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
19799         Likewise.
19800         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
19801         * sysdeps/x86/bits/string.h: Update #endif comments.
19802         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
19803         conditionals.
19804         * time/sys/time.h: Update #endif comments.
19805         * time/time.h: Likewise.
19806         [__USE_MISC]: Remove redundant conditionals.
19808 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
19810         [BZ #16600]
19811         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
19813 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
19815         * Versions.def (librt): Add GLIBC_2.17.
19817 2014-02-21  Adam Conrad  <adconrad@0c3.net>
19819         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
19820         synonym for _SYS_AUXV_H to allow direct inclusion.
19821         * sysdeps/sparc/bits/hwcap.h: Likewise.
19822         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
19823         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
19824         * sysdeps/sparc/sysdep.h: Likewise.
19826 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19828         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
19830 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19832         * benchtests/bench-strrchr.c: Print length instead of position.
19834 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
19836         [BZ #16611]
19837         * sysdeps/unix/sysv/linux/kernel-features.h
19838         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
19839         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
19840         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
19841         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
19842         Likewise.
19843         [__i386__ || __powerpc__ || __sh__ || __sparc__]
19844         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19845         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
19846         (__ASSUME_SENDMMSG): Define instead of using previous
19847         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
19848         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19849         (__ASSUME_SENDMMSG_SYSCALL): Define.
19850         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19851         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
19852         Likewise.
19853         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19854         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19855         Likewise.
19856         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19857         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19858         Likewise.
19859         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
19860         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
19861         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
19862         [__ASSUME_SENDMMSG]: Change conditionals to
19863         [__ASSUME_SENDMMSG_SOCKETCALL].
19864         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19865         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
19866         Define.
19867         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19868         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
19869         Likewise.
19870         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
19871         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
19872         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
19873         [!__ASSUME_SENDMMSG]: Change conditional to
19874         [!__ASSUME_SENDMMSG_SOCKETCALL].
19875         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19876         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19877         Define.
19879         [BZ #16610]
19880         * sysdeps/unix/sysv/linux/kernel-features.h
19881         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
19882         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
19883         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
19884         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
19885         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19886         [__i386__ || __sparc__]
19887         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19888         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
19889         (__ASSUME_RECVMMSG): Define instead of using previous
19890         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
19891         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19892         (__ASSUME_RECVMMSG_SYSCALL): Define.
19893         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19894         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19895         Likewise.
19896         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19897         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19898         Likewise.
19899         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19900         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19901         Likewise.
19902         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
19903         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
19904         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
19905         [__ASSUME_RECVMMSG]: Change condition to
19906         [__ASSUME_RECVMMSG_SOCKETCALL].
19907         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19908         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19909         Define.
19910         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19911         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19912         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19913         Likewise.
19914         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
19915         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
19916         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
19917         [!__ASSUME_RECVMMSG]: Change condition to
19918         [!__ASSUME_RECVMMSG_SOCKETCALL].
19919         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19920         (__ASSUME_RECVMMSG_SYSCALL): Define.
19922         [BZ #16609]
19923         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
19924         __powerpc__ || __s390__ || __sh__ || __sparc__]
19925         (__ASSUME_SOCKETCALL): Define.
19926         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
19927         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
19928         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
19929         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
19930         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19931         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
19932         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
19933         (__ASSUME_ACCEPT4): Define instead of using previous
19934         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
19935         __powerpc__ || __sparc__ || __s390__)] condition.
19936         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19937         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
19938         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
19939         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
19940         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
19941         [!__ASSUME_ACCEPT4]: Change condition to
19942         [!__ASSUME_ACCEPT4_SOCKETCALL].
19943         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19944         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
19945         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
19946         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19947         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
19948         __ASSUME_ACCEPT4_SYSCALL.
19949         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
19950         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
19951         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19952         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
19953         __ASSUME_ACCEPT4_SYSCALL.
19954         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
19955         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
19956         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
19957         [__ASSUME_ACCEPT4]: Change condition to
19958         [__ASSUME_ACCEPT4_SOCKETCALL].
19959         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19960         (__ASSUME_SOCKETCALL): Define.
19961         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
19962         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19963         (__ASSUME_SOCKETCALL): Define.
19964         (__ASSUME_ACCEPT4): Remove.
19965         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
19966         Define.
19967         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19968         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
19969         Likewise.
19970         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19971         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
19973         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
19974         macro.
19975         (HWCAP_ARM_LPAE): Likewise.
19976         (HWCAP_ARM_EVTSTRM): Likewise.
19977         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
19978         Add vpfd32, lpae and evtstrm.
19979         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
19980         Increase to 22.
19982 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
19984         * math/auto-libm-test-in: Add tests of clog10.
19985         * math/auto-libm-test-out: Regenerated.
19986         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
19987         * sysdeps/i386/fpu/libm-test-ulps: Update.
19988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19990 2014-02-18  Andreas Schwab  <schwab@suse.de>
19992         [BZ #16574]
19993         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
19994         Store non-zero if the second buffer was newly allocated.
19995         (send_dg): Likewise.
19996         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
19997         to send_vc and send_dg.
19998         (res_nsend): Pass NULL for ansp2_malloced.
19999         * resolv/res_query.c (__libc_res_nquery): Add parameter
20000         answerp2_malloced and pass it down to __libc_res_nsend.
20001         (res_nquery): Pass additional NULL to __libc_res_nquery.
20002         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
20003         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
20004         second answer buffer if answerp2_malloced was set.
20005         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
20006         (__libc_res_nquerydomain): Add parameter
20007         answerp2_malloced and pass it down to __libc_res_nquery.
20008         (res_nquerydomain): Pass additional NULL to
20009         __libc_res_nquerydomain.
20010         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
20011         additional NULL to __libc_res_nsend and __libc_res_nquery.
20012         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
20013         additional NULL to __libc_res_nsearch.
20014         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
20015         parameter of __libc_res_nsearch to check for separately allocated
20016         second buffer.
20017         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
20018         __libc_res_nquery.
20019         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
20020         additional NULL to __libc_res_nquery.
20021         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
20022         __libc_res_nsearch.
20023         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
20024         * include/resolv.h: Update prototypes of __libc_res_nquery,
20025         __libc_res_nsearch, __libc_res_nsend.
20027 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
20029         * math/auto-libm-test-in: Add tests of fma.
20030         * math/auto-libm-test-out: Regenerated.
20031         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
20032         (fma_towardzero_test_data): Likewise.
20033         (fma_downward_test_data): Likewise.
20034         (fma_upward_test_data): Likewise.
20035         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
20036         mpc_mode.
20037         (rounding_modes): Add values for new field.
20038         (func_calc_method): Add value mpfr_fff_f.
20039         (func_calc_desc): Add mpfr_fff_f union field.
20040         (test_function): Add field exact_args.
20041         (FUNC): Add macro argument EXACT_ARGS.
20042         (FUNC_mpfr_f_f): Update call to FUNC.
20043         (FUNC_mpfr_f_f): Likewise.
20044         (FUNC_mpfr_ff_f): Likewise.
20045         (FUNC_mpfr_if_f): Likewise.
20046         (FUNC_mpc_c_f): Likewise.
20047         (FUNC_mpc_c_c): Likewise.
20048         (test_functions): Add fma.  Update calls to FUNC.
20049         (handle_input_arg): Add argument exact_args.
20050         (add_test): Update call to handle_input_arg.
20051         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
20052         (output_for_one_input_case): Update call to calc_generic_results.
20053         Recalculate exact zero results in each rounding mode.
20055         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
20056         non-negative before setting low bit.
20057         * math/auto-libm-test-in: Mark one asin test possibly having
20058         spurious underflow.
20059         * math/auto-libm-test-out: Regenerated.
20060         * sysdeps/i386/fpu/libm-test-ulps: Update.
20061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20063 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
20065         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
20066         * sysdeps/unix/sysv/linux/microblaze: Move directory from
20067         ports/sysdeps/unix/sysv/linux/microblaze.
20068         * README: Add missing listing for microblaze*-*-linux-gnu.
20070 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
20072         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
20073         duplicate code
20075 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
20077         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
20078         * sysdeps/unix/sysv/linux/ia64: Move directory from
20079         ports/sysdeps/unix/sysv/linux/ia64.
20080         * README: Update listing for ia64-*-linux-gnu.
20082 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
20083             Joseph Myers  <joseph@codesourcery.com>
20085         * Makeconfig (test-name): New variable.
20086         (evaluate-test): Likewise.
20087         * Makerules (do-test-clean): Remove .test-result files.
20088         (common-mostlyclean): Likewise.
20089         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
20090         * scripts/evaluate-test.sh: New file.
20092 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
20094         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
20095         separate $(objpfx)tst-fopenloc-cmp.out and
20096         $(objpfx)tst-fopenloc-mem.out targets.
20097         (tests): Update dependencies.
20098         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
20099         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
20100         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
20101         (tst-rxspencer-no-utf8-ARGS): New variable.
20102         (tst-rxspencer-no-utf8-ENV): Likewise.
20103         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
20104         instead of $(objpfx)tst-rxspencer-mem.
20105         ($(objpfx)tst-rxspencer-mem): Change target to
20106         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
20107         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
20108         * posix/tst-rxspencer-no-utf8.c: New file.
20110         * elf/Makefile ($(objpfx)order.out): Remove rule.
20111         [$(run-built-tests) = yes] (tests): Depend on
20112         $(objpfx)order-cmp.out.
20113         ($(objpfx)order-cmp.out): New rule.
20114         [$(run-built-tests) = yes] (tests): Depend on
20115         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
20116         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
20117         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
20118         $(objpfx)tst-array5-static-cmp.out.
20119         ($(objpfx)tst-array1.out): Remove rule.
20120         ($(objpfx)tst-array1-cmp.out): New rule.
20121         ($(objpfx)tst-array1-static.out): Remove rule.
20122         ($(objpfx)tst-array1-static-cmp.out): New rule.
20123         ($(objpfx)tst-array2.out): Remove rule.
20124         ($(objpfx)tst-array2-cmp.out): New rule.
20125         ($(objpfx)tst-array3.out): Remove rule.
20126         ($(objpfx)tst-array3-cmp.out): New rule.
20127         ($(objpfx)tst-array4.out): Remove rule.
20128         ($(objpfx)tst-array4-cmp.out): New rule.
20129         ($(objpfx)tst-array5.out): Remove rule.
20130         ($(objpfx)tst-array5-cmp.out): New rule.
20131         ($(objpfx)tst-array5-static.out): Remove rule.
20132         ($(objpfx)tst-array5-static-cmp.out): New rule.
20133         [$(run-built-tests) = yes] (tests): Depend on
20134         $(objpfx)order2-cmp.out.
20135         ($(objpfx)order2.out): Remove rule.
20136         ($(objpfx)order2-cmp.out): New rule.
20137         ($(objpfx)tst-initorder.out): Remove rule.
20138         [$(run-built-tests) = yes] (tests): Depend on
20139         $(objpfx)tst-initorder-cmp.out.
20140         ($(objpfx)tst-initorder-cmp.out): New rule.
20141         ($(objpfx)tst-initorder2.out): Remove rule.
20142         [$(run-built-tests) = yes] (tests): Depend on
20143         $(objpfx)tst-initorder2-cmp.out.
20144         ($(objpfx)tst-initorder2-cmp.out): New rule.
20145         [$(run-built-tests) = yes] (tests): Depend on
20146         $(objpfx)tst-unused-dep-cmp.out.
20147         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
20148         ($(objpfx)tst-unused-dep-cmp.out): New rule.
20149         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
20150         on $(objpfx)tst-setvbuf1-cmp.out.
20151         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
20152         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
20153         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
20154         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
20155         ($(objpfx)tst-svc.out): Remove rule.
20156         ($(objpfx)tst-svc-cmp.out): New rule.
20158 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
20160         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
20161         * ctype/ctype.h [__USE_MISC]: Likewise.
20162         * dirent/dirent.h [__USE_MISC]: Likewise.
20163         * grp/grp.h [__USE_MISC]: Likewise.
20164         * io/fcntl.h [__USE_MISC]: Likewise.
20165         * io/sys/stat.h [__USE_MISC]: Likewise.
20166         * libio/stdio.h [__USE_MISC]: Likewise.
20167         * posix/unistd.h [__USE_MISC]: Likewise.
20168         * pwd/pwd.h [__USE_MISC]: Likewise.
20169         * stdlib.h [__USE_MISC]: Likewise.
20170         * string/bits/string2.h [__USE_MISC]: Likewise.
20171         * string/string.h [__USE_MISC]: Likewise.
20172         * time/time.h [__USE_MISC]: Likewise.
20174 2014-02-13  Andreas Schwab  <schwab@suse.de>
20176         [BZ #16574]
20177         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
20178         second answer buffer if it was separately allocated.
20180 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
20182         * sysdeps/mips/math-tests.h: Include <features.h>.
20183         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20184         (ROUNDING_TESTS_long_double): Do not define.
20185         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20186         (EXCEPTION_TESTS_long_double): Likewise.
20187         * sysdeps/mips/mips64/libm-test-ulps: Update.
20189         * include/features.h (__USE_BSD): Remove macro definitions.
20190         (__USE_SVID): Likewise.
20191         (_BSD_SOURCE): Likewise.
20192         (_SVID_SOURCE): Likewise.
20193         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
20194         from definition of _DEFAULT_SOURCE.
20195         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
20196         [_DEFAULT_SOURCE].
20197         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
20198         * bits/mman.h [__USE_BSD]: Likewise.
20199         * bits/termios.h [__USE_BSD]: Likewise.
20200         * bits/waitstatus.h [__USE_BSD]: Likewise.
20201         * ctype/ctype.h [__USE_SVID]: Likewise.
20202         * dirent/dirent.h [__USE_BSD]: Likewise.
20203         * grp/grp.h [__USE_SVID]: Likewise.
20204         [__USE_BSD]: Likewise.
20205         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
20206         * io/fcntl.h [__USE_BSD]: Likewise.
20207         * io/ftw.h [__USE_BSD]: Likewise.
20208         * io/sys/stat.h [__USE_BSD]: Likewise.
20209         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
20210         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
20211         * libio/stdio.h [__USE_SVID]: Likewise.
20212         [__USE_BSD]: Likewise.
20213         * math/math.h [__USE_SVID]: Likewise.
20214         [__USE_BSD]: Likewise.
20215         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
20216         * misc/bits/syslog.h [__USE_BSD]: Likewise.
20217         * misc/search.h [__USE_SVID]: Likewise.
20218         * misc/sys/mman.h [__USE_BSD]: Likewise.
20219         * misc/sys/syslog.h [__USE_BSD]: Likewise.
20220         * misc/sys/uio.h [__USE_BSD]: Likewise.
20221         * posix/bits/unistd.h [__USE_BSD]: Likewise.
20222         * posix/glob.h [__USE_BSD]: Likewise.
20223         * posix/regex.h [__USE_BSD]: Likewise.
20224         * posix/sys/types.h [__USE_BSD]: Likewise.
20225         [__USE_SVID]: Likewise.
20226         * posix/sys/utsname.h [__USE_SVID]: Likewise.
20227         * posix/sys/wait.h [__USE_BSD]: Likewise.
20228         [__USE_SVID]: Likewise.
20229         * posix/unistd.h [__USE_BSD]: Likewise.
20230         [__USE_SVID]: Likewise.
20231         * pwd/pwd.h [__USE_SVID]: Likewise.
20232         * resolv/netdb.h [__USE_BSD]: Likewise.
20233         * setjmp/setjmp.h [__USE_BSD]: Likewise.
20234         * signal/signal.h [__USE_BSD]: Likewise.
20235         [__USE_SVID]: Likewise.
20236         * socket/sys/socket.h [__USE_BSD]: Likewise.
20237         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
20238         * stdlib/stdlib.h [__USE_BSD]: Likewise.
20239         [__USE_SVID]: Likewise.
20240         * string/bits/string2.h [__USE_BSD]: Likewise.
20241         [__USE_SVID]: Likewise.
20242         * string/bits/string3.h [__USE_BSD]: Likewise.
20243         * string/endian.h [__USE_BSD]: Likewise.
20244         * string/string.h [__USE_SVID]: Likewise.
20245         [__USE_BSD]: Likewise.
20246         * string/strings.h [__USE_BSD]: Likewise.
20247         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
20248         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
20249         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
20250         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
20251         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
20252         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
20253         Likewise.
20254         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
20255         Likewise.
20256         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
20257         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
20258         Likewise.
20259         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
20260         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
20261         Likewise.
20262         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
20263         Likewise.
20264         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
20265         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
20266         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
20267         Likewise.
20268         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
20269         Likewise.
20270         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
20271         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
20272         * termios/termios.h [__USE_BSD]: Likewise.
20273         * time/sys/time.h [__USE_BSD]: Likewise.
20274         * time/time.h [__USE_BSD]: Likewise.
20275         [__USE_SVID]: Likewise.
20277         * Makefile (subdir_targets): Remove subdir_lint.out.
20279         * stdio-common/Makefile (do-tst-unbputc): Remove target.
20280         (do-tst-printf): Likewise.
20281         (tests): Depend directly on $(objpfx)tst-unbputc.out and
20282         $(objpfx)tst-printf.out.
20284         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
20286         * Makerules (check-abi-%): Change target to
20287         $(objpfx)check-abi-%.out.
20288         (check-abi target): Update dependencies.
20289         (check-abi-pattern variable): Redirect output of diff to $@.
20290         (check-abi variable): Likewise.
20291         * elf/Makefile (check-abi): Update dependencies.
20293         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
20294         unused.
20295         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
20296         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
20297         subnormal range.
20298         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
20299         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
20300         value has largest subnormal exponent.
20301         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
20302         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
20303         * sysdeps/aarch64/soft-fp/sfp-machine.h
20304         (_FP_TININESS_AFTER_ROUNDING): New macro.
20305         * sysdeps/alpha/soft-fp/sfp-machine.h
20306         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20307         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20308         Likewise.
20309         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
20310         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20311         * sysdeps/mips/soft-fp/sfp-machine.h
20312         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20313         * sysdeps/powerpc/soft-fp/sfp-machine.h
20314         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20315         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20316         Likewise.
20317         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20318         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20319         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20320         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20321         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20322         Likewise.
20324 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
20326         [BZ #16545]
20327         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
20328         model 1.
20330 2014-02-12  Richard Henderson  <rth@redhat.com>
20332         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
20333         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
20334         * sysdeps/unix/sysv/linux/alpha: Move directory from
20335         ports/sysdeps/unix/sysv/linux/alpha.
20336         * README: Update listing for alpha-*-linux-gnu.
20338 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
20340         * include/features.h: Update comment documenting feature test
20341         macros.
20342         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
20343         _DEFAULT_SOURCE.
20344         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
20345         (_SVID_SOURCE): Likewise.
20346         (_DEFAULT_SOURCE): Update description of default features.
20347         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
20348         with _GNU_SOURCE.
20349         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
20350         (S_ISVTX): Likewise.
20351         * manual/math.texi (Mathematical Constants): Likewise.
20352         * manual/signal.texi (Interrupted Primitives): Likewise.
20353         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
20354         * math/test-matherr.c (_SVID_SOURCE): Do not define.
20355         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
20356         Don't refer to _SVID_SOURCE in warning text.
20358         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20360         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
20361         already defined.
20362         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
20363         * sysdeps/mips/dl-lookup.c: Remove.
20364         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
20366 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20368         [BZ #16447]
20369         * math/auto-libm-test-in: Add testcase for expl.
20370         * math/auto-libm-test-out: Regenerate.
20371         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
20372         calculation of unsafe.
20373         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
20375 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20377         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
20378         * sysdeps/unix/sysv/linux/aarch64: Move directory from
20379         ports/sysdeps/unix/sysv/linux/aarch64.
20380         * README: Update listing for aarch64*-*-linux-gnu.
20382 2014-02-11  Will Newton  <will.newton@linaro.org>
20384         * manual/probes.texi (Mathematical Function Probes): Use
20385         "triggered" instead of "hit".
20387         * manual/probes.texi (Internal Probes): Add documentation
20388         of setjmp, longjmp and longjmp_target probes.
20390         * include/stap-probe.h: Add comment about probe argument
20391         format.
20393         * malloc/mtrace.c (attribute_hidden): Remove unused macro
20394         definition.  (tr_where, tr_freehook, tr_mallochook,
20395         tr_reallochook, tr_memalignhook): Use ANSI protoype.
20397 2014-02-11  David S. Miller  <davem@davemloft.net>
20399         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
20400         processing int_tests.
20402 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
20404         * sysdeps/mips: Move directory from ports/sysdeps/mips.
20405         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
20406         * sysdeps/unix/sysv/linux/mips: Move directory from
20407         ports/sysdeps/unix/sysv/linux/mips.
20408         * README: Update listing for mips-*-linux-gnu and
20409         mips64-*-linux-gnu.
20411 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
20413         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
20414         * sysdeps/unix/sysv/linux/m68k: Move directory from
20415         ports/sysdeps/unix/sysv/linux/m68k.
20416         * README: Update listing for m68k-*-linux-gnu.
20418 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
20420         * sysdeps/tile: Move directory from ports/sysdeps/tile.
20421         * sysdeps/unix/sysv/linux/generic: Move directory from
20422         ports/sysdeps/unix/sysv/linux/generic.
20423         * sysdeps/unix/sysv/linux/tile: Move directory from
20424         ports/sysdeps/unix/sysv/linux/tile.
20425         * README: Update listing for tile*-*-linux-gnu.
20427 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
20429         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
20430         __builtin_expect.
20431         * benchtests/bench-memmem.c (simple_memmem): Likewise.
20432         * catgets/open_catalog.c (__open_catalog): Likewise.
20433         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
20434         * debug/confstr_chk.c: Likewise.
20435         * debug/fread_chk.c (__fread_chk): Likewise.
20436         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
20437         * debug/getgroups_chk.c: Likewise.
20438         * debug/mbsnrtowcs_chk.c: Likewise.
20439         * debug/mbsrtowcs_chk.c: Likewise.
20440         * debug/mbstowcs_chk.c: Likewise.
20441         * debug/memcpy_chk.c: Likewise.
20442         * debug/memmove_chk.c: Likewise.
20443         * debug/mempcpy_chk.c: Likewise.
20444         * debug/memset_chk.c: Likewise.
20445         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20446         * debug/strcat_chk.c (__strcat_chk): Likewise.
20447         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
20448         * debug/strncat_chk.c (__strncat_chk): Likewise.
20449         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
20450         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
20451         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
20452         * debug/wcpncpy_chk.c: Likewise.
20453         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20454         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
20455         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
20456         * debug/wcsncpy_chk.c: Likewise.
20457         * debug/wcsnrtombs_chk.c: Likewise.
20458         * debug/wcsrtombs_chk.c: Likewise.
20459         * debug/wcstombs_chk.c: Likewise.
20460         * debug/wmemcpy_chk.c: Likewise.
20461         * debug/wmemmove_chk.c: Likewise.
20462         * debug/wmempcpy_chk.c: Likewise.
20463         * debug/wmemset_chk.c: Likewise.
20464         * dirent/scandirat.c (SCANDIRAT): Likewise.
20465         * dlfcn/dladdr1.c (dladdr1): Likewise.
20466         * dlfcn/dladdr.c (dladdr): Likewise.
20467         * dlfcn/dlclose.c (dlclose_doit): Likewise.
20468         * dlfcn/dlerror.c (__dlerror): Likewise.
20469         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
20470         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
20471         * dlfcn/dlopen.c (dlopen_doit): Likewise.
20472         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20473         * dlfcn/dlsym.c (dlsym_doit): Likewise.
20474         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
20475         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
20476         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
20477         Likewise.
20478         * elf/dl-conflict.c: Likewise.
20479         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
20480         * elf/dl-dst.h: Likewise.
20481         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
20482         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
20483         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
20484         * elf/dl-init.c (call_init, _dl_init): Likewise.
20485         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
20486         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
20487         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
20488         Likewise.
20489         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
20490         Likewise.
20491         * elf/dl-minimal.c (__libc_memalign): Likewise.
20492         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
20493         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20494         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
20495         * elf/dl-sym.c (do_sym): Likewise.
20496         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
20497         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
20498         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
20499         * elf/dl-writev.h (_dl_writev): Likewise.
20500         * elf/ldconfig.c (search_dir): Likewise.
20501         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
20502         (dl_main): Likewise.
20503         * elf/setup-vdso.h (setup_vdso): Likewise.
20504         * grp/compat-initgroups.c (compat_call): Likewise.
20505         * grp/fgetgrent.c (fgetgrent): Likewise.
20506         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
20507         * grp/putgrent.c (putgrent): Likewise.
20508         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20509         Likewise.
20510         * hurd/hurdinit.c: Likewise.
20511         * iconvdata/8bit-gap.c (struct): Likewise.
20512         * iconvdata/ansi_x3.110.c : Likewise.
20513         * iconvdata/big5.c : Likewise.
20514         * iconvdata/big5hkscs.c : Likewise.
20515         * iconvdata/cp1255.c: Likewise.
20516         * iconvdata/cp1258.c : Likewise.
20517         * iconvdata/cp932.c : Likewise.
20518         * iconvdata/euc-cn.c: Likewise.
20519         * iconvdata/euc-jisx0213.c : Likewise.
20520         * iconvdata/euc-jp.c: Likewise.
20521         * iconvdata/euc-jp-ms.c : Likewise.
20522         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
20523         * iconvdata/gb18030.c : Likewise.
20524         * iconvdata/gbbig5.c (const): Likewise.
20525         * iconvdata/gbgbk.c: Likewise.
20526         * iconvdata/gbk.c : Likewise.
20527         * iconvdata/ibm1364.c : Likewise.
20528         * iconvdata/ibm930.c : Likewise.
20529         * iconvdata/ibm932.c: Likewise.
20530         * iconvdata/ibm933.c : Likewise.
20531         * iconvdata/ibm935.c : Likewise.
20532         * iconvdata/ibm937.c : Likewise.
20533         * iconvdata/ibm939.c : Likewise.
20534         * iconvdata/ibm943.c: Likewise.
20535         * iconvdata/iso_11548-1.c: Likewise.
20536         * iconvdata/iso-2022-cn.c : Likewise.
20537         * iconvdata/iso-2022-cn-ext.c : Likewise.
20538         * iconvdata/iso-2022-jp-3.c: Likewise.
20539         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
20540         * iconvdata/iso-2022-kr.c : Likewise.
20541         * iconvdata/iso646.c (gconv_end): Likewise.
20542         * iconvdata/iso_6937-2.c : Likewise.
20543         * iconvdata/iso_6937.c : Likewise.
20544         * iconvdata/iso8859-1.c: Likewise.
20545         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
20546         * iconvdata/shift_jisx0213.c : Likewise.
20547         * iconvdata/sjis.c : Likewise.
20548         * iconvdata/t.61.c : Likewise.
20549         * iconvdata/tcvn5712-1.c : Likewise.
20550         * iconvdata/tscii.c: Likewise.
20551         * iconvdata/uhc.c : Likewise.
20552         * iconvdata/unicode.c (gconv_end): Likewise.
20553         * iconvdata/utf-16.c (gconv_end): Likewise.
20554         * iconvdata/utf-32.c (gconv_end): Likewise.
20555         * iconvdata/utf-7.c (base64): Likewise.
20556         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
20557         * iconv/gconv_close.c (__gconv_close): Likewise.
20558         * iconv/gconv_open.c (__gconv_open): Likewise.
20559         * iconv/gconv_simple.c (internal_ucs4_loop_single)
20560         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
20561         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
20562         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
20563         (ucs4le_internal_loop_single): Likewise.
20564         * iconv/iconv.c (iconv): Likewise.
20565         * iconv/iconv_close.c: Likewise.
20566         * iconv/loop.c (SINGLE): Likewise.
20567         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
20568         * include/atomic.h: Likewise.
20569         * inet/inet6_option.c (option_alloc): Likewise.
20570         * intl/bindtextdom.c (set_binding_values): Likewise.
20571         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
20572         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
20573         * intl/localealias.c (read_alias_file): Likewise.
20574         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20575         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
20576         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
20577         * libio/fmemopen.c (fmemopen): Likewise.
20578         * libio/iofgets.c (_IO_fgets): Likewise.
20579         * libio/iofgets_u.c (fgets_unlocked): Likewise.
20580         * libio/iofgetws.c (fgetws): Likewise.
20581         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
20582         * libio/iogetdelim.c (_IO_getdelim): Likewise.
20583         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
20584         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
20585         * locale/findlocale.c (_nl_find_locale): Likewise.
20586         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
20587         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
20588         Likewise.
20589         * locale/setlocale.c (setlocale): Likewise.
20590         * login/programs/pt_chown.c (main): Likewise.
20591         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
20592         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
20593         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
20594         (mmap, mmap64, mremap, munmap): Likewise.
20595         * math/e_exp2l.c: Likewise.
20596         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
20597         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
20598         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
20599         * math/s_catan.c (__catan): Likewise.
20600         * math/s_catanf.c (__catanf): Likewise.
20601         * math/s_catanh.c (__catanh): Likewise.
20602         * math/s_catanhf.c (__catanhf): Likewise.
20603         * math/s_catanhl.c (__catanhl): Likewise.
20604         * math/s_catanl.c (__catanl): Likewise.
20605         * math/s_ccosh.c (__ccosh): Likewise.
20606         * math/s_ccoshf.c (__ccoshf): Likewise.
20607         * math/s_ccoshl.c (__ccoshl): Likewise.
20608         * math/s_cexp.c (__cexp): Likewise.
20609         * math/s_cexpf.c (__cexpf): Likewise.
20610         * math/s_cexpl.c (__cexpl): Likewise.
20611         * math/s_clog10.c (__clog10): Likewise.
20612         * math/s_clog10f.c (__clog10f): Likewise.
20613         * math/s_clog10l.c (__clog10l): Likewise.
20614         * math/s_clog.c (__clog): Likewise.
20615         * math/s_clogf.c (__clogf): Likewise.
20616         * math/s_clogl.c (__clogl): Likewise.
20617         * math/s_csin.c (__csin): Likewise.
20618         * math/s_csinf.c (__csinf): Likewise.
20619         * math/s_csinh.c (__csinh): Likewise.
20620         * math/s_csinhf.c (__csinhf): Likewise.
20621         * math/s_csinhl.c (__csinhl): Likewise.
20622         * math/s_csinl.c (__csinl): Likewise.
20623         * math/s_csqrt.c (__csqrt): Likewise.
20624         * math/s_csqrtf.c (__csqrtf): Likewise.
20625         * math/s_csqrtl.c (__csqrtl): Likewise.
20626         * math/s_ctan.c (__ctan): Likewise.
20627         * math/s_ctanf.c (__ctanf): Likewise.
20628         * math/s_ctanh.c (__ctanh): Likewise.
20629         * math/s_ctanhf.c (__ctanhf): Likewise.
20630         * math/s_ctanhl.c (__ctanhl): Likewise.
20631         * math/s_ctanl.c (__ctanl): Likewise.
20632         * math/w_pow.c: Likewise.
20633         * math/w_powf.c: Likewise.
20634         * math/w_powl.c: Likewise.
20635         * math/w_scalb.c (sysv_scalb): Likewise.
20636         * math/w_scalbf.c (sysv_scalbf): Likewise.
20637         * math/w_scalbl.c (sysv_scalbl): Likewise.
20638         * misc/error.c (error_tail): Likewise.
20639         * misc/pselect.c (__pselect): Likewise.
20640         * nis/nis_callback.c (__nis_create_callback): Likewise.
20641         * nis/nis_call.c (__nisfind_server): Likewise.
20642         * nis/nis_creategroup.c (nis_creategroup): Likewise.
20643         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
20644         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
20645         * nis/nis_getservlist.c (nis_getservlist): Likewise.
20646         * nis/nis_lookup.c (nis_lookup): Likewise.
20647         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
20648         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
20649         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
20650         * nis/nis_xdr.c (xdr_endpoint): Likewise.
20651         * nis/nss_compat/compat-grp.c (getgrent_next_file)
20652         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
20653         * nis/nss_compat/compat-initgroups.c (add_group)
20654         (internal_getgrent_r): Likewise.
20655         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
20656         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
20657         * nis/nss_compat/compat-spwd.c (getspent_next_file)
20658         (internal_getspnam_r): Likewise.
20659         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
20660         (_nss_nis_getaliasbyname_r): Likewise.
20661         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
20662         (_nss_nis_getntohost_r): Likewise.
20663         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
20664         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
20665         (_nss_nis_getgrgid_r): Likewise.
20666         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
20667         (internal_nis_gethostent_r, internal_gethostbyname2_r)
20668         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
20669         (_nss_nis_gethostbyname4_r): Likewise.
20670         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
20671         (initgroups_netid): Likewise.
20672         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
20673         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
20674         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
20675         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
20676         (_nss_nis_getprotobynumber_r): Likewise.
20677         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
20678         (_nss_nis_getsecretkey): Likewise.
20679         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
20680         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
20681         (_nss_nis_getpwuid_r): Likewise.
20682         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
20683         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
20684         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
20685         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
20686         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
20687         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
20688         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
20689         Likewise.
20690         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
20691         (_nss_nisplus_getntohost_r): Likewise.
20692         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
20693         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
20694         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
20695         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
20696         Likewise.
20697         * nis/nss_nisplus/nisplus-initgroups.c
20698         (_nss_nisplus_initgroups_dyn): Likewise.
20699         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
20700         (_nss_nisplus_getnetbyaddr_r): Likewise.
20701         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
20702         (_nss_nisplus_getprotobynumber_r): Likewise.
20703         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
20704         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
20705         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
20706         Likewise.
20707         * nis/nss_nisplus/nisplus-service.c
20708         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
20709         (_nss_nisplus_getservbyport_r): Likewise.
20710         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
20711         (_nss_nisplus_getspnam_r): Likewise.
20712         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
20713         Likewise.
20714         * nscd/aicache.c (addhstaiX): Likewise.
20715         * nscd/cache.c (cache_search, prune_cache): Likewise.
20716         * nscd/connections.c (register_traced_file, send_ro_fd)
20717         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
20718         (main_loop_epoll): Likewise.
20719         * nscd/grpcache.c (addgrbyX): Likewise.
20720         * nscd/hstcache.c (addhstbyX): Likewise.
20721         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20722         * nscd/mem.c (gc, mempool_alloc): Likewise.
20723         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
20724         (addinnetgrX): Likewise.
20725         * nscd/nscd-client.h (__nscd_acquire_maplock)
20726         (__nscd_drop_map_ref): Likewise.
20727         * nscd/nscd_getai.c (__nscd_getai): Likewise.
20728         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
20729         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
20730         Likewise.
20731         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
20732         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20733         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
20734         (__nscd_get_map_ref): Likewise.
20735         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
20736         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
20737         Likewise.
20738         * nscd/pwdcache.c (addpwbyX): Likewise.
20739         * nscd/selinux.c (preserve_capabilities): Likewise.
20740         * nscd/servicescache.c (addservbyX): Likewise.
20741         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
20742         * posix/fnmatch.c (fnmatch): Likewise.
20743         * posix/getopt.c (_getopt_internal_r): Likewise.
20744         * posix/glob.c (glob, glob_in_dir): Likewise.
20745         * posix/wordexp.c (exec_comm_child): Likewise.
20746         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
20747         (getanswer_r, gaih_getanswer_slice): Likewise.
20748         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
20749         * resolv/res_init.c: Likewise.
20750         * resolv/res_mkquery.c (res_nmkquery): Likewise.
20751         * resolv/res_query.c (__libc_res_nquery): Likewise.
20752         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
20753         Likewise.
20754         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
20755         * stdio-common/perror.c (perror): Likewise.
20756         * stdio-common/printf_fp.c (___printf_fp): Likewise.
20757         * stdio-common/tmpnam.c (tmpnam): Likewise.
20758         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20759         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
20760         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20761         Likewise.
20762         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
20763         * stdlib/putenv.c (putenv): Likewise.
20764         * stdlib/setenv.c (__add_to_environ): Likewise.
20765         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20766         * stdlib/strtol_l.c (INTERNAL): Likewise.
20767         * string/memmem.c (memmem): Likewise.
20768         * string/strerror.c (strerror): Likewise.
20769         * string/strnlen.c (__strnlen): Likewise.
20770         * string/test-memmem.c (simple_memmem): Likewise.
20771         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
20772         * sunrpc/pm_getport.c (__get_socket): Likewise.
20773         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
20774         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
20775         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
20776         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
20777         Likewise.
20778         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
20779         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20780         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
20781         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
20782         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20783         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
20784         Likewise.
20785         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
20786         Likewise.
20787         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
20788         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
20789         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20790         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20791         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20792         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
20793         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20794         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
20795         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
20796         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
20797         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20798         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20799         Likewise.
20800         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
20801         Likewise.
20802         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
20803         Likewise.
20804         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
20805         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20806         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
20807         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
20808         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
20809         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
20810         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20811         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
20812         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
20813         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
20814         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
20815         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20816         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20817         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20818         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20819         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
20820         Likewise.
20821         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
20822         Likewise.
20823         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
20824         Likewise.
20825         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
20826         Likewise.
20827         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20828         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20829         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
20830         Likewise.
20831         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
20832         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
20833         * sysdeps/posix/opendir.c (__opendirat): Likewise.
20834         * sysdeps/posix/sleep.c: Likewise.
20835         * sysdeps/posix/tempname.c: Likewise.
20836         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
20837         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20838         Likewise.
20839         * sysdeps/powerpc/powerpc32/dl-machine.h
20840         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
20841         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20842         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20843         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
20844         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
20845         Likewise.
20846         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
20847         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
20848         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
20849         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
20850         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
20851         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
20852         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
20853         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
20854         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20855         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
20856         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
20857         (elf_machine_lazy_rel): Likewise.
20858         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20859         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
20860         (elf_machine_lazy_rel): Likewise.
20861         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
20862         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
20863         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
20864         * sysdeps/unix/grantpt.c (grantpt): Likewise.
20865         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
20866         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
20867         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
20868         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20869         Likewise.
20870         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20871         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20872         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
20873         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
20874         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20875         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20876         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
20877         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
20878         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
20879         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20880         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
20881         Likewise.
20882         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
20883         (__posix_fallocate64_l64): Likewise.
20884         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
20885         (posix_fallocate): Likewise.
20886         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
20887         Likewise.
20888         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20889         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
20890         (getifaddrs_internal): Likewise.
20891         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
20892         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
20893         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
20894         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
20895         * sysdeps/unix/sysv/linux/posix_fallocate64.c
20896         (__posix_fallocate64_l64): Likewise.
20897         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
20898         Likewise.
20899         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
20900         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
20901         (__get_clockfreq): Likewise.
20902         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
20903         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20904         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
20905         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20906         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20907         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
20908         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
20909         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
20910         Likewise.
20911         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
20912         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
20913         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
20914         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
20915         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20916         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
20917         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
20918         Likewise.
20919         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20920         (posix_fallocate): Likewise.
20921         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20922         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
20923         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
20924         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
20925         (elf_machine_rela, elf_machine_rela_relative)
20926         (elf_machine_lazy_rel): Likewise.
20927         * time/asctime.c (asctime_internal): Likewise.
20928         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
20929         * time/tzset.c (__tzset_parse_tz): Likewise.
20930         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20931         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
20932         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
20933         * wcsmbs/wcsmbsload.h: Likewise.
20935         [BZ #15894]
20936         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
20938         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
20939         (arena_get2): Remove THREAD_STATS conditionals.
20940         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
20941         (__malloc_stats, int): Likewise.
20943 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
20945         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
20946         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
20948         * manual/setjmp.texi: Fix typos/grammar errors.
20950         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
20951         Only return early when n is <= 0.  Delete unused return statement.
20953         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
20954         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20955         * debug/tst-longjmp_chk3.c: New file.
20957         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
20958         (test_main): Replace code with set_fortify_handler call.
20959         * debug/test-strcpy_chk.c: Likewise.
20960         * debug/tst-chk1.c: Likewise.
20961         * debug/tst-longjmp_chk.c: Likewise.
20962         * test-skeleton.c: Include fcntl.h & paths.h
20963         (set_fortify_handler): Define.
20965         * debug/tst-longjmp_chk.c: Add header comment and include
20966         ../test-skeleton.c.
20967         (do_test): Mark static.
20968         (TEST_FUNCTION): Define.
20970         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
20971         (IP_PMTUDISC_INTERFACE): Likewise.
20972         (IP_MULTICAST_IF): Likewise.
20973         (IP_MULTICAST_TTL): Likewise.
20974         (IP_MULTICAST_LOOP): Likewise.
20975         (IP_ADD_MEMBERSHIP): Likewise.
20976         (IP_DROP_MEMBERSHIP): Likewise.
20977         (IP_UNBLOCK_SOURCE): Likewise.
20978         (IP_BLOCK_SOURCE): Likewise.
20979         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
20980         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
20981         (IP_MSFILTER): Likewise.
20982         (MCAST_JOIN_GROUP): Likewise.
20983         (MCAST_BLOCK_SOURCE): Likewise.
20984         (MCAST_UNBLOCK_SOURCE): Likewise.
20985         (MCAST_LEAVE_GROUP): Likewise.
20986         (MCAST_JOIN_SOURCE_GROUP): Likewise.
20987         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20988         (MCAST_MSFILTER): Likewise.
20989         (IP_MULTICAST_ALL): Likewise.
20990         (IP_UNICAST_IF): Likewise.
20992         * timezone/Makefile: Delete $(have-ksh) check.
20993         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
20994         * timezone/tzselect.ksh: Add +x mode bits.
20996         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
20997         (ANON_INODE_FS_MAGIC): Likewise.
20998         (BDEVFS_MAGIC): Likewise.
20999         (BINFMTFS_MAGIC): Likewise.
21000         (BTRFS_TEST_MAGIC): Likewise.
21001         (CRAMFS_MAGIC_WEND): Likewise.
21002         (DEBUGFS_MAGIC): Likewise.
21003         (ECRYPTFS_SUPER_MAGIC): Likewise.
21004         (EXT3_SUPER_MAGIC): Likewise.
21005         (EXT4_SUPER_MAGIC): Likewise.
21006         (FUTEXFS_SUPER_MAGIC): Likewise.
21007         (HOSTFS_SUPER_MAGIC): Likewise.
21008         (HUGETLBFS_MAGIC): Likewise.
21009         (MINIX3_SUPER_MAGIC): Likewise.
21010         (MTD_INODE_FS_MAGIC): Likewise.
21011         (NILFS_SUPER_MAGIC): Likewise.
21012         (OPENPROM_SUPER_MAGIC): Likewise.
21013         (PIPEFS_MAGIC): Likewise.
21014         (PSTOREFS_MAGIC): Likewise.
21015         (QNX6_SUPER_MAGIC): Likewise.
21016         (RAMFS_MAGIC): Likewise.
21017         (REISERFS_SUPER_MAGIC_STRING): Likewise.
21018         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
21019         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
21020         (SECURITYFS_MAGIC): Likewise.
21021         (SELINUX_MAGIC): Likewise.
21022         (SMACK_MAGIC): Likewise.
21023         (SOCKFS_MAGIC): Likewise.
21024         (SQUASHFS_MAGIC): Likewise.
21025         (STACK_END_MAGIC): Likewise.
21026         (TMPFS_MAGIC): Likewise.
21027         (USBDEVICE_SUPER_MAGIC): Likewise.
21028         (V9FS_MAGIC): Likewise.
21029         (XENFS_SUPER_MAGIC): Likewise.
21030         (CRAMFS_MAGIC): Fix typo in comment.
21031         (EXT2_SUPER_MAGIC): Update comment.
21032         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
21034 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
21036         * sysdeps/arm: Move directory from ports/sysdeps/arm.
21037         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
21038         * sysdeps/unix/sysv/linux/arm: Move directory from
21039         ports/sysdeps/unix/sysv/linux/arm.
21040         * README: Update listing for arm-*-linux-gnueabi.
21042         * README: Remove mention of am33.
21044 2014-02-07  Roland McGrath  <roland@hack.frob.com>
21046         * bits/sigset.h (__sigemptyset): Use a statement expression rather
21047         than the comma operator, to avoid "rhs of comma has no effect"
21048         compiler warnings.
21049         (__sigfillset, __sigandset, __sigorset): Likewise.
21050         * include/signal.h (__sigemptyset): Likewise.
21051         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
21053 2014-02-07  Allan McRae  <allan@archlinux.org>
21055         * version.h (RELEASE): Set to "development".
21056         (VERSION): Set to "2.19.90"
21057         * NEWS: Add 2.20 section.
21059 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
21061         [BZ #16529]
21062         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
21064 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21066         * manual/contrib.texi: Update entry for Carlos O'Donell,
21067         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
21069 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
21071         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
21073         * sysdeps/unix/sysv/linux/kernel-features.h
21074         [__LINUX_KERNEL_VERSION >= 0x020621]
21075         (__ASSUME_PROC_PID_TASK_COMM): Define.
21077 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21079         [BZ #16398]
21080         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
21081         conversion when destination buffer does not have enough space.
21082         * libio/tst-ftell-partial-wide.c: New test case.
21083         * libio/Makefile (tests): Add tst-ftell-partial-wide.
21085         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
21086         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
21087         Leonard and Allan McRae.
21089 2014-02-04  David S. Miller  <davem@davemloft.net>
21091         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
21092         32-bit.
21094 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21097         New file
21098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21099         New file
21100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21101         New file.
21102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21103         New file.
21104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21105         New file.
21106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21107         New file.
21108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21109         New file.
21110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21111         New file.
21112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21113         New file.
21114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21115         New file.
21116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21117         New file.
21118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21119         New file.
21120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21121         New file.
21123 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21125         * nptl/shlib-versions: Change powerpc*le start to 2.17.
21126         * shlib-versions: Likewise.
21128 2014-02-04  Roland McGrath  <roland@hack.frob.com>
21129             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21131         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
21132         (abilist-pattern): New variable, set to %-le.abilist.
21134         * Makerules (abilist-pattern): New variable.
21135         (vpath): Use $(abilist-pattern) in place of %.abilist.
21136         (check-abi-% pattern rule): Likewise.
21137         (check-abi, update-abi): Likewise.
21139 2014-02-04  Eric Wong  <normalperson@yhbt.net>
21141         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21143 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
21145         * manual/startup.texi: Add next, previous, and top entries for
21146         the `Program Arguments' and `Environment Variables' nodes.
21148 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
21150         * manual/macros.texi: Add comments before MTASC-safety macros.
21152         * manual/users.texi: Document MTASC-safety properties.
21154         * manual/threads.texi (pthread_key_create, pthread_key_delete)
21155         (pthread_getspecific, pthread_setspecific): Format with
21156         @deftypefun, and add @safety note.
21157         * manual/signal.texi: Move comments that analyze the above
21158         functions to their home place.
21160 2014-02-03  Allan McRae  <allan@archlinux.org>
21162         * po/sl.po: Update Slovenian translation from translation project.
21164 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
21166         * manual/time.texi (timegm): Add missing blank after @c.
21167         Reported by Joseph Myers <joseph@codesourcery.com>.
21169 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
21171         * manual/check-safety.sh: New.
21172         * manual/Makefile ($(objpfx)stamp-summary): Run it.
21174         * manual/terminal.texi: Document MTASC-safety properties.
21176         * manual/filesys.texi: Document MTASC-safety properties.
21178         * manual/errno.texi: Document MTASC-safety properties.
21180         * manual/intro.texi: Document safety identifiers and
21181         conditionals.
21183         * manual/string.texi (wcstok): Fix prototype.
21184         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
21186         * manual/time.texi: Document MTASC-safety properties.
21188         * manual/string.texi: Document MTASC-safety properties.
21190         * manual/threads.texi: Document MTASC-safety properties.
21192         * manual/stdio.texi: Document MTASC-safety properties.
21194         * manual/syslog.texi: Document MTASC-safety properties.
21196         * manual/sysinfo.texi: Document MTASC-safety properties.
21198         * manual/startup.texi: Document MTASC-safety properties.
21200         * manual/socket.texi: Document MTASC-safety properties.
21202         * manual/signal.texi: Document MTASC-safety properties.
21204 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
21206         * manual/setjmp.texi: Document MTASC-safety properties.
21208         * manual/search.texi: Document MTASC-safety properties.
21210         * manual/resource.texi: Document MTASC-safety properties.
21212         * manual/process.texi: Document MTASC-safety properties.
21214         * manual/platform.texi: Document MTASC-safety properties.
21216         * manual/pipe.texi: Document MTASC-safety properties.
21218         * manual/pattern.texi: Document MTASC-safety properties.
21220         * manual/message.texi: Document MTASC-safety properties.
21222         [BZ #12751]
21223         * manual/memory.texi: Document MTASC-safety properties.
21225         * manual/math.texi: Document MTASC-safety properties.
21227         * manual/locale.texi: Document MTASC-safety properties.
21229         * manual/llio.texi: Document MTASC-safety properties.
21231         * manual/libdl.texi: New.
21233         * manual/lang.texi: Document MTASC-safety properties.
21235         * manual/job.texi: Document MTASC-safety properties.
21237         * manual/getopt.texi: Document MTASC-safety properties.
21239         * manual/ctype.texi: Document MTASC-safety properties.
21241 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
21243         [BZ #16046]
21244         * csu/libc-tls.c (static_map): Remove variable.
21245         (__libc_setup_tls): Use main executable's link map for TLS data.
21246         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
21247         casing for LM_ID_BASE and GL(dl_nns).
21248         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
21249         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
21250         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
21251         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
21252         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
21253         member.
21254         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
21255         l_phnum members.
21257 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
21259         * manual/debug.texi: Document MTASC-safety properties.
21261 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
21263         [BZ #16510]
21264         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
21265         of __x86_64__ when disabling x87 inline functions.
21267 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
21269         * manual/charset.texi: Document MTASC-safety properties.
21271         * manual/crypt.texi: Document MTASC-safety properties.
21273         * manual/conf.texi: Document MTASC-safety properties.
21275         * manual/arith.texi: Document MTASC-safety properties.
21277         * manual/argp.texi: Document MTASC-safety properties.
21279         * manual/macros.texi: Introduce macros to document multi
21280         thread, asynchronous signal and asynchronous cancellation
21281         safety properties.
21282         * manual/intro.texi: Introduce the properties themselves.
21284 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21286         * sysdeps/sh/sh4/Makefile: New file.
21288 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
21290         * math/gen-libm-test.pl ($srcdir): New variable.
21291         ($auto_input): Use it.
21293 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21295         [BZ #16506]
21296         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
21297         access beyond array bounds when parsing netgroups file.
21299         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
21300         the old buffer before realloc.
21302 2014-01-27  Allan McRae  <allan@archlinux.org>
21304         * po/fr.po: Update French translation from translation project.
21306 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21308         * sysdeps/sh/libm-test-ulps: Regenerate.
21310 2014-01-24  David S. Miller  <davem@davemloft.net>
21312         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
21314 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21316         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
21317         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
21319 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21321         [BZ #16474]
21322         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
21323         string pointers after reallocation.
21325 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21327         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
21328         __SH4A__ instead of __SH_FPU_ANY__.
21330 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21332         * sysdeps/sh/fpu_control.h: New file.
21333         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
21334         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
21335         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
21336         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
21337         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
21338         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
21339         * sysdeps/sh/sys/ucontext.h: Remove.
21340         * sysdeps/sh/sys: Remove directory.
21342 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21344         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
21345         s390/sys/ucontext.h.
21346         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
21347         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
21349 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
21351         [BZ #15605]
21352         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
21354 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21356         [BZ#16431]
21357         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21358         Adjust the vDSO correctly for internal calls.
21359         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
21361 2014-01-20  Allan McRae  <allan@archlinux.org>
21363         * po/ca.po: Update Catalan translation from translation project.
21365 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
21367         * sysdeps/s390/sotruss-lib.c: New file.
21369 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21371         [BZ#16430]
21372         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
21373         (__GI___gettimeofday): Alias for a different internal symbol to avoid
21374         local calls issues by not having a PLT stub required for IFUNC calls.
21375         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
21377 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
21379         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
21380         * math/test-fpucw-static.c: Likewise.
21382 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21384         [BZ #16453]
21385         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
21387 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21389         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
21390         implementation for powerpc.
21392 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
21394         [BZ #14782]
21395         * sysdeps/posix/system.c (__libc_system): Do not enable
21396         asynchronous cancellation.
21398 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21400         [BZ #16427]
21401         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
21402         handling only for numbers special also in the IEEE case.
21404 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21406         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21408 2014-01-11  Allan McRae  <allan@archlinux.org>
21410         * po/bg.po: Update Bulgarian translation from translation project.
21412         * po/de.po: Update German translation from translation project.
21414 2014-01-10  Roland McGrath  <roland@hack.frob.com>
21416         * sysdeps/generic/gcc-compat.h: New file.
21418 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21420         * benchtests/asin-inputs: Correct slow inputs.
21421         * benchtests/acos-inputs: Likewise.
21423 2014-01-10  Allan McRae  <allan@archlinux.org>
21425         * po:sv.po: Update Swedish translation from translation project.
21427         * po/vi.po: Update Vietnamese translation from translation project.
21429         * po/eo.po: Update Esperanto translation from translation project.
21431         * po/cs.po: Update Czech translation from translation project.
21433         * po/nl.po: Update Dutch translation from translation project.
21435         * po/pl.po: Update Polish translation from translation project.
21437         * po/ru.po: Update Russian translation from translation project.
21439         * po/uk.po: Update Ukrainian translation from translation project.
21441 2014-01-08  Brooks Moses  <bmoses@google.com>
21443         * elf/dl-load.c: Fix comment typo.
21445 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
21447         * po/header.pot: Rename to...
21448         * po/pot.header: ... this.
21449         * po/Makefile: Use pot.header.
21451 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
21452             Maxim Kuvyrkov  <maxim@kugelworks.com>
21454         [BZ #16394]
21455         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
21456         SRC and DEST against LEN.
21458 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21460         [BZ #16414]
21461         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
21462         implementation.
21463         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
21465 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21467         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21469 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
21471         [BZ #16408]
21472         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
21473         for large positive arguments.
21475 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
21477         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21479         * math/auto-libm-test-in: Mark various tests with
21480         xfail-rounding:ldbl-128ibm.
21481         * math/auto-libm-test-out: Regenerated.
21483         [BZ #16407]
21484         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
21485         Increase overflow threshold.
21487 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
21489         [BZ #14286]
21490         * stdio-common/vfprintf.c: Check for integer overflow.
21492 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21494         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
21495         the first argument and return value of __tls_get_addr_internal.
21497 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21499         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
21500         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
21502 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21504         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
21505         * sysdeps/s390/rtld-global-offsets.sym: New file.
21506         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
21507         GLIBC_2.19 symbol.
21508         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
21509         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
21510         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
21511         ... this.
21512         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
21513         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
21514         ... this.
21515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21516         Regenerate.
21517         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21518         Regenerate.
21519         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
21520         halfs of GPRs for high_gprs contexts.
21521         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
21522         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
21523         field.
21524         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
21525         uc_flags field.
21526         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
21527         64 bit versions:
21528         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
21529         for high GPRs (uc_high_gprs) and for future extensions
21530         (__reserved).
21531         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
21532         for future extensions (__reserved).
21533         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
21534         64 bit versions:
21535         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
21536         SC_HIGHGPRS offset definition.
21537         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
21538         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
21540         * Versions.def: Add GLIBC_2.19 for libpthread.
21541         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
21542         siglongjmp for libpthread with GLIBC_2.19 symver.
21543         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
21544         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
21545         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
21546         * sysdeps/s390/__longjmp.c: New file.
21547         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
21548         * sysdeps/s390/longjmp.c: New file.
21549         * sysdeps/s390/setjmp.S: New file.
21550         * sysdeps/s390/sigjmp.S: New file.
21551         * sysdeps/s390/v1-longjmp.c: New file.
21552         * sysdeps/s390/v1-setjmp.h: New file.
21553         * sysdeps/s390/v1-sigjmp.c: New file.
21554         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
21555         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
21556         GLIBC_2.19 version.
21557         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
21558         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
21559         versioned symbols for ____longjmp_chk.
21560         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21561         Likewise.
21562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21563         Regenerate.
21564         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21565         Regenerate.
21566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21567         Regenerate.
21568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21569         Regenerate.
21570         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
21571         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
21572         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
21573         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
21574         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
21575         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
21576         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
21577         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
21578         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
21579         * sysdeps/s390/rtld-__longjmp.c: New file.
21580         * sysdeps/s390/rtld-setjmp.S: New file.
21582 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
21584         [BZ #16400]
21585         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21586         Return -__logl (x) for small positive arguments without evaluating
21587         a polynomial.
21589 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
21591         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
21592         Rename to ...
21593         (__ptrace_peeksiginfo_args): ... this.
21594         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21595         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21596         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21598 2014-01-06  Allan McRae  <allan@archlinux.org>
21600         * inet/netinet/in.h: Fix typo in comment.
21602 2014-01-05  Andreas Jaeger  <aj@suse.de>
21604         * sysdeps/i386/fpu/libm-test-ulps: Update.
21606 2014-01-05  Allan McRae  <allan@archlinux.org>
21608         * po/libc.pot: Regenerated.
21610         * malloc/memusagestat.c: Fix gettext call formatting.
21612 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
21614         * nscd/nscd.c: Improve usage() output.
21616 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
21618         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
21619         * sysdeps/unix/sysv/linux/configure: Regenerated.
21620         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
21621         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
21623 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
21625         [BZ #16390]
21626         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21627         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
21629 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21631         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
21632         extra tokens at end of #undef directive.
21633         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
21634         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
21635         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
21637 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
21639         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21641         * math/auto-libm-test-in: Mark various tests with
21642         xfail-rounding:ldbl-128ibm.
21643         * math/auto-libm-test-out: Regenerated.
21645 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
21647         [BZ #16386]
21648         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
21649         numbers with subnormal high part when calculating exponent.
21651         [BZ #16385]
21652         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
21653         fabs.
21655         [BZ #16384]
21656         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
21657         M_LN2l.
21658         (__ieee754_acoshl): Use __log1pl not __log1p.
21660 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
21662         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
21663         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
21664         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
21665         (grow_heap, heap_trim, _int_new_arena, get_free_list)
21666         (reused_arena, arena_get2): Convert to GNU style.
21667         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
21668         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
21669         (memalign_check, __malloc_set_state): Likewise.
21670         * malloc/mallocbug.c (main): Likewise.
21671         * malloc/malloc.c (__malloc_assert, malloc_init_state)
21672         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
21673         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
21674         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
21675         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
21676         (__posix_memalign, malloc_info): Likewise.
21677         * malloc/malloc.h: Likewise.
21678         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
21679         (mallochook, memalignhook, reallochook, mabort): Likewise.
21680         * malloc/mcheck.h: Likewise.
21681         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
21682         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
21683         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
21684         * malloc/morecore.c (__default_morecore): Likewise.
21685         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
21686         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
21687         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
21688         (print_and_abort): Likewise.
21689         * malloc/obstack.h: Likewise.
21690         * malloc/set-freeres.c (__libc_freeres): Likewise.
21691         * malloc/tst-mallocstate.c (main): Likewise.
21692         * malloc/tst-mtrace.c (main): Likewise.
21693         * malloc/tst-realloc.c (do_test): Likewise.
21695 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21697         [BZ #16366]
21698         * nscd/netgroupcache.c (do_notfound): New function.
21699         (addgetnetgrentX): Use it.
21701         [BZ # 16365]
21702         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
21703         NSS_STATUS_NOTFOUND.
21705 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
21707         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21710 2014-01-01  Allan McRae  <allan@archlinux.org>
21712         * scripts/update-copyrights: Update configure input file suffix.
21714         * NEWS: Update copyright year.
21715         * catgets/gencat.c: Likewise.
21716         * csu/version.c: Likewise.
21717         * debug/catchsegv.sh: Likewise.
21718         * debug/pcprofiledump.c: Likewise.
21719         * debug/xtrace.sh: Likewise.
21720         * elf/ldconfig.c: Likewise.
21721         * elf/ldd.bash.in: Likewise.
21722         * elf/pldd.c: Likewise.
21723         * elf/sotruss.ksh: Likewise.
21724         * elf/sprof.c: Likewise.
21725         * iconv/iconv_prog.c: Likewise.
21726         * iconv/iconvconfig.c: Likewise.
21727         * locale/programs/locale.c: Likewise.
21728         * locale/programs/localedef.c: Likewise.
21729         * login/programs/pt_chown.c: Likewise.
21730         * malloc/memusage.sh: Likewise.
21731         * malloc/memusagestat.c: Likewise.
21732         * malloc/mtrace.pl: Likewise.
21733         * manual/libc.texinfo: Likewise.
21734         * nscd/nscd.c: Likewise.
21735         * nss/getent.c: Likewise.
21736         * nss/makedb.c: Likewise.
21737         * posix/getconf.c: Likewise.
21738         * scripts/test-installation.pl: Likewise.
21740         * All files with FSF copyright notices: Update copyright dates
21741         using scripts/update-copyrights.
21742         * intl/plural.c: Regenerated.
21743         * locale/programs/charmap-kw.h: Likewise.
21744         * locale/programs/locfile-kw.h: Likewise.
21746 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
21748         * sysdeps/unix/sysv/linux/configure: Regenerated.
21749         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
21750         the linux/fanotify.h header.
21751         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
21752         HAVE_LINUX_FANOTIFY_H is defined.
21754 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21756         * benchtests/cos-inputs: New inputs.
21757         * benchtests/sin-inputs: Likewise.
21759         * benchtests/atan-inputs: New inputs. Fix name of multiple
21760         precision fallback inputs.
21762         * benchtests/atanh-inputs: New inputs.
21763         * benchtests/tanh-inputs: Likewise.
21765         * benchtests/acosh-inputs: New inputs.
21766         * benchtests/asinh-inputs: Likewise.
21768         * benchtests/cosh-inputs: New inputs.
21769         * benchtests/sinh-inputs: Likewise.
21771         * benchtests/acos-inputs: Add more inputs.
21772         * benchtests/asin-inputs: Likewise.
21774 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
21776         [BZ #16375]
21777         * manual/arith.texi: Fix spelling.
21778         * manual/charset.texi: Likewise.
21779         * manual/errno.texi: Likewise.
21780         * manual/filesys.texi: Likewise.
21781         * manual/lang.texi: Likewise.
21782         * manual/llio.texi: Likewise.
21783         * manual/locale.texi: Likewise.
21784         * manual/message.texi: Likewise.
21785         * manual/resource.texi: Likewise.
21786         * manual/search.texi: Likewise.
21787         * manual/setjmp.texi: Likewise.
21788         * manual/stdio.texi: Likewise.
21789         * manual/string.texi: Likewise.
21790         * manual/sysinfo.texi: Likewise.
21791         * manual/time.texi: Likewise.
21793 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
21795         * po/sl.po: New file.
21797 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
21799         * .gitignore: Add core/.gdbinit/.gdb_history.
21801 2013-12-27  Allan McRae  <allan@archlinux.org>
21803         [BZ #16369]
21804         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
21805         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
21807 2013-12-24  Brooks Moses  <bmoses@google.com>
21809         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
21810         all compilers that claim C++98 compliance, not just GCC.
21811         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
21812         Likewise.
21814 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
21816         * NEWS: Restore accidentally deleted bug-fix entries.
21818 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
21819             Ondřej Bílka  <neleai@seznam.cz>
21821         [BZ #15073]
21822         * malloc/malloc.c (_int_free): Perform sanity check only if we
21823         have_lock.
21825 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
21827         [BZ #12986]
21828         * manual/stdio.texi (String Input Conversions): Clarify that character
21829         classes are not supported.
21831 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21833         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21835 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
21837         [BZ #16337]
21838         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21839         Calculate results for small negative arguments directly rather
21840         than using reflection formula with special underflow handling.
21842         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
21843         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
21844         sysdeps/unix/bsd/bsd4.4/syscalls.list.
21845         (fchflags): Likewise.
21846         (revoke): Likewise.
21847         (setlogin): Likewise.
21848         (sigaltstack): Likewise.
21849         (wait4): Likewise.
21850         (sigblock): Remove.
21851         (sigsetmask): Likewise.
21852         (wait3): Likewise.
21853         (waitpid): Likewise.
21854         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
21855         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
21856         file.
21857         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
21858         * sysdeps/unix/bsd/Makefile: ... here.
21859         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
21860         * sysdeps/unix/bsd/Versions: ... here.
21861         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
21862         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
21863         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
21864         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
21865         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
21866         * sysdeps/unix/bsd/sigblock.c: ... here.
21867         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
21868         * sysdeps/unix/bsd/sigsetmask.c: ... here.
21869         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
21870         * sysdeps/unix/bsd/sigvec.c: ... here.
21871         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
21872         * sysdeps/unix/bsd/tcdrain.c: ... here.
21873         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
21874         * sysdeps/unix/bsd/tcgetattr.c: ... here.
21875         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
21876         * sysdeps/unix/bsd/tcsetattr.c: ... here.
21877         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
21878         * sysdeps/unix/bsd/wait.c: ... here.
21879         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
21880         * sysdeps/unix/bsd/wait3.c: ... here.
21881         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
21882         * sysdeps/unix/bsd/waitpid.c: ... here.
21884 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
21886         [BZ #16356]
21887         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
21888         round-to-nearest for [!USE_AS_EXPM1L].
21889         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
21890         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
21891         more tests of exp and exp10.  Expect some exp10 tests to miss
21892         exceptions or fail in directed rounding modes.
21893         * math/auto-libm-test-out: Regenerated.
21894         * math/libm-test.inc (exp10_tonearest_test_data): New array.
21895         (exp10_test_tonearest): New function.
21896         (exp10_towardzero_test_data): New array.
21897         (exp10_test_towardzero): New function.
21898         (exp10_downward_test_data): New array.
21899         (exp10_test_downward): New function.
21900         (exp10_upward_test_data): New array.
21901         (exp10_test_upward): New function.
21902         (main): Call the new functions.
21903         * sysdeps/i386/fpu/libm-test-ulps: Update.
21904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21906 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
21908         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21909         asinh, atan, atan2, atanh, cbrt, cos and cosh.
21910         * math/auto-libm-test-out: Regenerated.
21911         * math/libm-test.inc (acosh_test_data): Add more tests.
21912         (atanh_test_data): Likewise.
21913         (ceil_test_data): Likewise.
21914         (copysign_test_data): Likewise.
21915         * sysdeps/i386/fpu/libm-test-ulps: Update.
21916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21918         * timezone/checktab.awk: Update from tzcode 2013i.
21919         * timezone/private.h: Likewise.
21920         * timezone/scheck.c: Likewise.
21921         * timezone/tzfile.h: Likewise.
21922         * timezone/tzselect.ksh: Likewise.
21923         * timezone/zdump.c: Likewise.
21924         * timezone/zic.c: Likewise.
21926         * math/auto-libm-test-in: Add tests of cpow.
21927         * math/auto-libm-test-out: Regenerated.
21928         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
21929         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21930         mpc_cc_c.
21931         (func_calc_desc): Add mpc_cc_c union field.
21932         (test_functions): Add cpow.
21933         (special_fill_2pi): New function.
21934         (special_real_inputs): Add 2pi.
21935         (calc_generic_results): Handle mpc_cc_c.
21936         * sysdeps/i386/fpu/libm-test-ulps: Update.
21937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21939         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
21940         csqrt, ctan and ctanh.
21941         * math/auto-libm-test-out: Regenerated.
21942         * math/libm-test.inc (TEST_COND_x86_64): New macro.
21943         (TEST_COND_x86): Likewise.
21944         (ccos_test_data): Use AUTO_TESTS_c_c.
21945         (ccosh_test_data): Likewise.
21946         (cexp_test_data): Likewise.
21947         (clog_test_data): Likewise.
21948         (csqrt_test_data): Likewise.
21949         (ctan_test_data): Likewise.
21950         (ctan_tonearest_test_data): Likewise.
21951         (ctan_towardzero_test_data): Likewise.
21952         (ctan_downward_test_data): Likewise.
21953         (ctan_upward_test_data): Likewise.
21954         (ctanh_test_data): Likewise.
21955         (ctanh_tonearest_test_data): Likewise.
21956         (ctanh_towardzero_test_data): Likewise.
21957         (ctanh_downward_test_data): Likewise.
21958         (ctanh_upward_test_data): Likewise.
21959         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21960         mpc_c_c.
21961         (func_calc_desc): Add mpc_c_c union field.
21962         (FUNC_mpc_c_c): New macro.
21963         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
21964         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
21965         ctanh.
21966         (special_fill_min_subnorm_p120): New function.
21967         (special_real_inputs): Add min_subnorm_p120.
21968         (calc_generic_results): Handle mpc_c_c.
21969         * sysdeps/i386/fpu/libm-test-ulps: Update.
21970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21972 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21974         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
21975         (do_sin_slow): New functions.
21976         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
21977         (cslow2, csloww1, csloww2): Use the new functions.
21979         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
21980         Use M to change sign of result instead of X.  Assume X is
21981         positive.
21982         (csloww1): Likewise.
21983         (__sin): Adjust.
21984         (__cos): Adjust.
21986         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
21987         arguments A and DA.
21988         (__sin): Adjust.
21989         (__cos): Likewise.
21991         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
21992         (__cos): Likewise.
21993         (sloww1): Don't adjust sign of DX.
21994         (csloww1): Likewise.
21995         (sloww2): Use X directly and don't adjust sign of DX.
21996         (csloww2): Likewise.
21998 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
22000         * math/auto-libm-test-in: Add tests of cabs and carg.
22001         * math/auto-libm-test-out: Regenerated.
22002         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
22003         (carg_test_data): Likewise.
22004         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22005         mpc_c_f.
22006         (func_calc_desc): Add mpc_c_f union field.
22007         (test_functions): Add cabs and carg.
22008         (calc_generic_results): Handle mpc_c_f.
22010         * sysdeps/powerpc/powerpc32/libgcc-compat.S
22011         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
22012         as a macro and a compat symbol.
22013         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22014         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22015         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22016         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22017         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
22018         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
22019         not use .hidden.
22020         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
22021         Likewise.
22022         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
22023         Likewise.
22024         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
22025         Likewise.
22026         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
22027         Likewise.
22028         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
22029         Likewise.
22030         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
22031         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
22032         from GLIBC_2.3.2.
22034 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22036         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22038 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
22040         * manual/texinfo.tex: Update to version 2013-11-26.10 with
22041         trailing whitespace removed.
22042         * scripts/config.guess: Update to version 2013-11-29.
22043         * scripts/config.sub: Update to version 2013-10-01.
22045         * math/auto-libm-test-in: Add tests of sincos.
22046         * math/auto-libm-test-out: Regenerated.
22047         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
22048         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22049         mpfr_f_11.
22050         (func_calc_desc): Add mpfr_f_11 union field.
22051         (test_functions): Add sincos.
22052         (calc_generic_results): Handle mpfr_f_11.
22053         * sysdeps/i386/fpu/libm-test-ulps: Update.
22054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22056 2013-12-19  Andreas Schwab  <schwab@suse.de>
22058         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
22059         CALL_MCOUNT.
22060         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22061         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
22062         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
22064 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
22066         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
22067         * sysdeps/i386/fpu/libm-test-ulps: Update.
22068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22070         [BZ #16293]
22071         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
22072         round-to-nearest mode when using frndint.
22073         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
22074         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22075         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22076         Likewise.
22077         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
22078         sinh test to fail.
22079         * math/auto-libm-test-out: Regenerated.
22080         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
22081         (TEST_COND_x86): Likewise.
22082         (expm1_tonearest_test_data): New array.
22083         (expm1_test_tonearest): New function.
22084         (expm1_towardzero_test_data): New array.
22085         (expm1_test_towardzero): New function.
22086         (expm1_downward_test_data): New array.
22087         (expm1_test_downward): New function.
22088         (expm1_upward_test_data): New array.
22089         (expm1_test_upward): New function.
22090         (main): Run the new test functions.
22091         * sysdeps/i386/fpu/libm-test-ulps: Update.
22092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22094         * include/features.h: Update comment documenting feature test
22095         macros.  Mention _DEFAULT_SOURCE in comment.
22096         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
22097         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
22098         _BSD_SOURCE and _SVID_SOURCE.
22099         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
22100         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
22101         !_SVID_SOURCE]: Likewise.
22102         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22103         (__USE_POSIX_IMPLICITLY): Define.
22104         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22105         (_POSIX_SOURCE): Undefine and redefine.
22106         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22107         (_POSIX_C_SOURCE): Likewise.
22108         * manual/creature.texi (_DEFAULT_SOURCE): Document.
22109         (Feature Test Macros): Update documentation of default features.
22111 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22113         * benchtests/Makefile: Add bench-strtok.
22114         * benchtests/bench-strtok.c: New file: strtok benchtest.
22116 2013-12-19  Allan McRae  <allan@archlinux.org>
22118         * manual/install.texi: Suppress menu for plain text output.
22119         * INSTALL: Regenerated.
22121 2013-12-18  Brooks Moses  <bmoses@google.com>
22123         [BZ #15846]
22124         * misc/getauxval.c: Include errno.h.
22125         (__getauxval): Set errno to ENOENT if the requested type is not
22126         found.
22127         * misc/sys/auxv.h (getauxval): Document that it may set errno;
22128         don't declare with __attribute_const__.
22129         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
22130         * manual/startup.texi: Document that getauxval sets errno.
22132 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
22134         * math/auto-libm-test-in: Add tests of jn and yn.
22135         * math/auto-libm-test-out: Regenerated.
22136         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
22137         (yn_test_data): Likewise.
22138         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22139         mpfr_if_f.
22140         (func_calc_desc): Add mpfr_if_f union field.
22141         (FUNC_mpfr_if_f): New macro.
22142         (test_functions): Add jn and yn.
22143         (calc_generic_results): Assert type of second input for
22144         mpfr_ff_f.  Handle mpfr_if_f.
22145         (output_for_one_input_case): Disable all checking for arguments
22146         fitting floating-point types in case of an integer argument.
22147         * sysdeps/i386/fpu/libm-test-ulps: Update.
22148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22151         Don't expect fegetround reference in libm.so.
22153 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22155         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
22156         $(config-cflags-nofma).
22158 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
22160         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
22161         * math/auto-libm-test-out: Regenerated.
22163         [BZ #16338]
22164         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
22165         to determine exponent and adjust argument to have exponent of -1.
22166         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
22167         log2.
22168         * math/auto-libm-test-out: Regenerated.
22169         * sysdeps/i386/fpu/libm-test-ulps: Update.
22170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22172 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
22174         * manual/probes.texi: Remove cases when per-thread arenas are
22175         disabled.
22177 2013-12-18  Andreas Schwab  <schwab@suse.de>
22179         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
22180         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
22181         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
22182         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
22183         * sysdeps/i386/i686/multiarch/Makefile: Update.
22184         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
22186 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
22188         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
22189         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
22191 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
22193         [BZ #15968]
22194         Support TZ transition times < 00:00:00.
22195         This is needed for version-3 tz-format files; it supports time
22196         stamps past 2037 for America/Godthab (the only entry in the tz
22197         database for which this change is relevant).
22198         * manual/time.texi (TZ Variable): Document transition times
22199         from -167:59:59 through -00:00:01.
22200         * time/tzset.c (tz_rule): Time of day is now signed.
22201         (__tzset_parse_tz): Parse negative time of day.
22203         Document TZ transition times >= 25:00:00.
22204         * manual/time.texi (TZ Variable): Document transition times from
22205         25:00:00 through 167:59:59.  These are already supported, and this
22206         support will help with version-3 tz-format files.
22208         * manual/time.texi (TZ Variable): Modernize North America example
22209         to reflect current (i.e., 2007-and-later) daylight saving rules.
22211         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
22213 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
22215         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
22216         * sysdeps/unix/bsd/bits/stat.h: Likewise.
22217         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
22218         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22219         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
22220         * sysdeps/unix/bsd/bsdstat.h: Likewise.
22221         * sysdeps/unix/bsd/clock.c: Likewise.
22222         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
22223         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
22224         * sysdeps/unix/bsd/init-posix.c: Likewise.
22225         * sysdeps/unix/bsd/poll.c: Likewise.
22226         * sysdeps/unix/bsd/ptsname.c: Likewise.
22227         * sysdeps/unix/bsd/seekdir.c: Likewise.
22228         * sysdeps/unix/bsd/setegid.c: Likewise.
22229         * sysdeps/unix/bsd/seteuid.c: Likewise.
22230         * sysdeps/unix/bsd/setgid.c: Likewise.
22231         * sysdeps/unix/bsd/setrgid.c: Likewise.
22232         * sysdeps/unix/bsd/setruid.c: Likewise.
22233         * sysdeps/unix/bsd/setsid.c: Likewise.
22234         * sysdeps/unix/bsd/setuid.c: Likewise.
22235         * sysdeps/unix/bsd/sigaction.c: Likewise.
22236         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
22237         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
22238         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
22239         * sysdeps/unix/bsd/telldir.c: Likewise.
22240         * sysdeps/unix/bsd/times.c: Likewise.
22241         * sysdeps/unix/bsd/usleep.c: Likewise.
22243         * misc/Makefile (install-lib): Remove libbsd-compat.a.
22244         ($(objpfx)libbsd-compat.a): Remove rule.
22246         * include/features.h (__FAVOR_BSD): Do not define.
22247         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
22248         features conflicting with POSIX.
22249         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
22250         (_BSD_SOURCE): Remove description of not being a subset of other
22251         feature test macros.
22252         * manual/job.texi (getpgrp): Do not document BSD version.
22253         (getpgid): Do not document by reference to BSD getpgrp.
22254         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
22255         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
22256         * signal/signal.h [__FAVOR_BSD]: Likewise.
22257         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
22258         instead of making contents conditional on [__FAVOR_BSD].
22259         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
22261 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22265 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
22267         [BZ #16314]
22268         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
22269         values below 2**-450, not 2**-500.
22270         * math/auto-libm-test-in: Don't allow spurious underflow from
22271         hypot.
22272         * math/auto-libm-test-out: Regenerated.
22274         [BZ #16316]
22275         [BZ #16330]
22276         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
22277         values of ha and hb and sort them after adjusting subnormal
22278         arguments.
22279         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
22280         Likewise.
22281         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
22282         values of ea and eb and sort them after adjusting subnormal
22283         arguments.
22284         * math/auto-libm-test-in: Do not expect some hypot tests of
22285         subnormals to fail.  Add more hypot tests.
22286         * math/auto-libm-test-out: Regenerated.
22288 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22290         [BZ #13304]
22291         * sysdeps/sh/s_fma.c: New file.
22292         * sysdeps/sh/s_fmaf.c: New file.
22293         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
22294         version.
22295         * sysdeps/sh/Implies: Add sh/soft-fp.
22297 2013-12-16  Roland McGrath  <roland@hack.frob.com>
22299         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
22300         level of indirection to members `objname', `errstring', `malloced'.
22301         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
22302         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
22303         it as the __longjmp argument (just pass 1 instead).
22304         (_dl_catch_error): Initialize C with argument pointers and address of
22305         volatile local ERRCODE rather than copying values out of C at return.
22307 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
22309         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
22310         * math/auto-libm-test-out: Regenerated.
22311         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
22312         (hypot_test_data): Likewise.
22313         (pow_test_data): Likewise.
22314         (pow_tonearest_test_data): Likewise.
22315         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22316         mpfr_ff_f.
22317         (func_calc_desc): Add mpfr_ff_f union field.
22318         (FUNC_mpfr_ff_f): New macro.
22319         (test_functions): Add atan2, hypot and pow.
22320         (special_fill_min): New function.
22321         (special_fill_minus_min): Likewise.
22322         (special_fill_min_subnorm): Likewise.
22323         (special_fill_minus_min_subnorm): Likewise.
22324         (special_real_inputs): Add min, -min, min_subnorm and
22325         -min_subnorm.
22326         (calc_generic_results): Handle mpfr_ff_f.
22327         * sysdeps/i386/fpu/libm-test-ulps: Update.
22328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22330 2013-12-16  Will Newton  <will.newton@linaro.org>
22332         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
22333         (Aligned Memory Blocks): Add documentation for aligned_alloc
22334         and suggest it as an alternative to posix_memalign.
22335         (Hooks for Malloc): Document __memalign_hook is also called
22336         for aligned_alloc.  (Summary of Malloc): Add summary for
22337         aligned alloc.  Document __memalign_hook is also called
22338         for aligned_alloc.
22340 2013-12-16  Will Newton  <will.newton@linaro.org>
22342         * manual/memory.texi (Malloc Examples): Clarify default
22343         alignment documentation.  Suggest posix_memalign rather
22344         than memalign or valloc.
22345         (Aligned Memory Blocks): Remove suggestion to use memalign
22346         or valloc.  Remove obsolete comment about BSD.
22347         Document memalign errno values and mark the function obsolete.
22348         Document posix_memalign returned error codes.  Mark valloc
22349         as obsolete.  (Hooks for Malloc): __memalign_hook is also
22350         called for posix_memalign and valloc.
22351         (Summary of Malloc): Add posix_memalign to function summary.
22352         __memalign_hook is also called for posix_memalign and valloc.
22354 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22356         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
22357         TAYLOR_SIN.
22358         (__sin): Adjust.
22359         (__cos): Likewise.
22360         (sloww): Use mynumber union.  Expand ternary operator into
22361         if-else statements.
22362         (cslow): use mynumber union.
22364 2013-12-16  Allan McRae  <allan@archlinux.org>
22366         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
22367         * configure: Regenerated.
22369         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
22371         [BZ #14120]
22372         * configure.ac: Added --enable-maintainer-mode. Check for
22373         autoconf when enabled.
22374         * configure: Regenerated.
22376         * nscd/nscd.service: New file.
22377         * nscd/nscd.tmpfiles: New file.
22379 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
22381         [BZ #12100]
22382         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
22383         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
22384         * sysdeps/x86_64/multiarch/strstr.c: ... here.
22385         (strstr): Add __strstr_sse2_unaligned ifunc.
22386         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
22387         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
22388         (strcasestr): Remove __strcasestr_sse42 ifunc.
22389         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
22390         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22391         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22393 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22395         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
22396         * sysdeps/sh/bits/fenv.h: ... here.
22397         * sysdeps/sh/sh4/fpu/bits: Remove directory.
22399 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22401         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
22403         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
22404         hypotf multiarch implementations.
22405         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
22406         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
22407         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
22408         multiarch hypot for PPC64.
22409         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
22410         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
22411         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
22412         multiarch hypotf for PPC64.
22414         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
22415         modff multiarch implementations.
22416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
22417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
22418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
22419         multiarch modf for PPC64.
22420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
22421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
22422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
22423         multiarch modff for PPC64.
22425         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
22426         and logl multiarch implementations.
22427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
22428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
22429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
22430         multiarch logb for PPC64.
22431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
22432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
22433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
22434         multiarch logb for PPC64.
22435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
22436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
22437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
22438         multiarch logb for PPC64.
22440         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
22441         isinff multiarch implementation.
22442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
22443         file.
22444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
22445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
22446         multiarch isinf for PPC64.
22447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
22448         file.
22449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
22450         multiarch isinff for PPC64.
22452         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
22453         finitef multiarch implementation.
22454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
22455         file.
22456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
22457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
22458         multiarch finite for PPC64.
22459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
22460         file.
22461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
22462         multiarch finitef for PPC64.
22464         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
22465         lrint multiarch implementation.
22466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
22467         file.
22468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
22469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
22470         multiarch llrint for PPC64.
22471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
22472         multiarch lrint for PPC64.
22474         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
22475         copysignf multiarch implementation.
22476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
22477         file.
22478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
22479         file.
22480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
22481         multiarch copysign for PPC64.
22482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
22483         multiarch copysignf for PPC64.
22485         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
22486         multiarch implementation.
22487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
22488         file.
22489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
22490         file.
22491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
22492         file.
22493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
22494         file.
22495         multiarch llround for PPC64.
22496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
22497         multiarch trunc for PPC64.
22498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
22499         multiarch truncf for PPC64.
22501         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
22502         multiarch implementation.
22503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
22504         file.
22505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
22506         file.
22507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
22508         file.
22509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
22510         file.
22511         multiarch llround for PPC64.
22512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
22513         multiarch round for PPC64.
22514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
22515         multiarch roundf for PPC64.
22517         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
22518         multiarch implementation.
22519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
22520         file.
22521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
22522         file.
22523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
22524         file.
22525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
22526         file.
22527         multiarch llround for PPC64.
22528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
22529         multiarch floor for PPC64.
22530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
22531         multiarch floorf for PPC64.
22533         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
22534         multiarch implementation.
22535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
22536         file.
22537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
22538         file.
22539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
22540         file.
22541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
22542         file.
22543         multiarch llround for PPC64.
22544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
22545         multiarch ceil for PPC64.
22546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
22547         multiarch ceilf for PPC64.
22549         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22550         multiarch implementation.
22551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
22552         file.
22553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
22554         file.
22555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
22556         file.
22557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
22558         multiarch llround for PPC64.
22559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
22560         multiarch lround for PPC64.
22562         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22563         multiarch implementation.
22564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
22565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
22566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
22567         file.
22568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
22569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
22570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
22571         multiarch isnan for PPC64.
22572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
22573         multiarch isnanf for PPC64.
22575         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
22576         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
22577         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
22578         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
22579         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
22580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
22582         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
22583         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22584         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22585         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22587         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
22588         multiarch implementations.
22589         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22590         (__libc_ifunc_impl_list): Likewise.
22591         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22592         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
22593         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
22594         multiarch stpcpy for PPC64.
22596         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
22597         multiarch implementations.
22598         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22599         (__libc_ifunc_impl_list): Likewise.
22600         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
22601         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
22602         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
22603         multiarch strcpy for PPC64.
22605         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
22606         redefine function name.
22607         (_wordcopy_fwd_dest_aligned): Likewise.
22608         (_wordcopy_bwd_aligned): Likewise.
22609         (_wordcopy_bwd_dest_aligned): Likewise.
22610         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
22611         multiarch implementations.
22612         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22613         (__libc_ifunc_impl_list): Likewise.
22614         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
22615         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
22616         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
22617         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
22618         multiarch wcscpy for PPC64.
22620         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
22621         multiarch implementations.
22622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22623         (__libc_ifunc_impl_list): Likewise.
22624         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
22625         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
22626         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
22627         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
22628         multiarch wcscpy for PPC64.
22630         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
22631         multiarch implementations.
22632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22633         (__libc_ifunc_impl_list): Likewise.
22634         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
22635         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
22636         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
22637         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
22638         multiarch wcsrchr for PPC64.
22640         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
22641         multiarch implementations.
22642         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22643         (__libc_ifunc_impl_list): Likewise.
22644         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
22645         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
22646         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
22647         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
22648         multiarch wcschr for PPC64.
22650         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
22651         multiarch implementations.
22652         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22653         (__libc_ifunc_impl_list): Likewise.
22654         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
22655         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
22656         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
22657         multiarch strchrnul for PPC64.
22659         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
22660         implementations.
22661         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22662         (__libc_ifunc_impl_list): Likewise.
22663         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
22664         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
22665         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
22666         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
22667         strchr for PPC64.
22669         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
22670         implementations.
22671         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22672         (__libc_ifunc_impl_list): Likewise.
22673         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
22674         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
22675         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
22676         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
22677         strncmp for PPC64.
22679         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
22680         multiarch implementations.
22681         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22682         (__libc_ifunc_impl_list): Likewise.
22683         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
22684         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
22685         strncasecmp for PPC64.
22686         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
22687         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
22688         multiarch strncasecmp_l for PPC64.
22690         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
22691         multiarch implementations.
22692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22693         (__libc_ifunc_impl_list): Likewise.
22694         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
22695         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
22696         multiarch strcasecmp for PPC64.
22697         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
22698         file.
22699         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
22700         multiarch strcasecmp_l for PPC64.
22702         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
22703         implementations.
22704         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22705         (__libc_ifunc_impl_list): Likewise.
22706         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
22707         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
22708         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
22709         strnlen for PPC64.
22711         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
22712         implementations.
22713         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22714         (__libc_ifunc_impl_list): Likewise.
22715         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
22716         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
22717         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
22718         strlen for PPC64.
22720         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
22721         implementations.
22722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22723         (__libc_ifunc_impl_list): Likewise.
22724         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
22725         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
22726         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
22727         rawmemrchr for PPC64.
22729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
22730         implementation.
22731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22732         (__libc_ifunc_impl_list): Likewise.
22733         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
22734         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
22735         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
22736         memrchr for PPC64.
22738         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
22739         implementation.
22740         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22741         (__libc_ifunc_impl_list): Likewise.
22742         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
22743         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
22744         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
22745         memchr for PPC64.
22747         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
22748         implementation.
22749         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22750         (__libc_ifunc_impl_list): Likewise.
22751         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
22752         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
22753         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
22754         mempcpy for PPC64.
22756         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
22757         avoid cretion of __bzero symbol.
22758         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
22759         Likewise.
22760         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
22761         Likewise.
22762         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
22763         Likewise.
22764         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
22765         multiarch implementations.
22766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22767         (__libc_ifunc_impl_list): Likewise.
22768         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
22769         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
22770         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
22771         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
22772         bzero for PPC32.
22773         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
22774         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
22775         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
22776         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
22777         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
22778         memset for PPC64.
22779         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
22781         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
22782         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
22783         implementations.
22784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22785         (__libc_ifunc_impl_list): Likewise.
22786         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
22787         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
22788         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
22789         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
22790         memcmp for PPC64.
22792         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
22793         multiarch for POWER/PPC64.
22794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
22795         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
22796         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
22797         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
22798         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
22799         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
22800         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
22801         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
22802         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
22803         memcpy for PPC64.
22805         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
22806         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
22807         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
22808         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
22809         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
22810         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
22811         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
22812         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
22813         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
22814         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
22815         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
22816         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
22817         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
22818         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
22819         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
22820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
22821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
22822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
22823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
22824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
22825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
22826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
22828 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22830         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
22832 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22834         * benchtests/Makefile (bench): Add exp2 and log2.
22835         (LDLIBS-bench-exp2): Add -lm.
22836         (LDLIBS-bench-log2): Likewise.
22837         * benchtests/exp2-inputs: New inputs file.
22838         * benchtests/log2-inputs: New inputs file.
22839         * benchtests/log-inputs: Add new inputs.
22840         * benchtests/tan-inputs: Likewise.
22842 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22844         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
22845         definition...
22846         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
22847         (csloww2): ... from here.
22849         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
22850         instead of structures.
22851         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
22852         (POLYNOMIAL): Likewise.
22853         (TAYLOR_SLOW): Likewise.
22854         (__sin): Likewise.
22855         (__cos): Likewise.
22856         (slow1): Likewise.
22857         (slow2): Likewise.
22858         (sloww): Likewise.
22859         (sloww1); Likewise.
22860         (sloww2): Likewise.
22861         (bsloww1): Likewise.
22862         (bsloww2): Likewise.
22863         (cslow2): Likewise.
22864         (csloww): Likewise.
22865         (csloww1): Likewise.
22866         (csloww2): Likewise.
22868 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
22870         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
22871         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
22872         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
22873         * malloc/hooks.c (realloc_check): Likewise.
22875         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
22876         * malloc/arena.c: Remove PER_THREAD conditional.
22877         [!PER_THREAD]: Remove code.
22878         (ptmalloc_unlock_all2): Likewise.
22879         (ptmalloc_init): Likewise.
22880         (_int_new_arena): Likewise.
22881         (arena_get2): Likewise.
22882         * malloc/hooks.c (__malloc_get_state): Likewise.
22883         (__malloc_set_state): Likewise.
22884         * malloc/malloc.c: Likewise.
22885         (struct malloc_state): Likewise.
22886         (struct malloc_par): Likewise.
22887         (__libc_realloc): Likewise.
22888         (__libc_mallopt): Likewise.
22890 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22892         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
22894 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
22896         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
22897         macro to a function.  Check for zero perturb_byte.
22898         (_int_malloc, _int_free): Remove zero perturb_byte checks.
22900         * malloc/malloc.c: (force_reg): Remove.
22901         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
22902         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
22903         force_reg by atomic_forced_read.
22904         * malloc/arena.c (ptmalloc_init): Likewise.
22905         * malloc/hooks.c (top_check): Likewise.
22907 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22911 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
22913         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22915 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
22917         * math/auto-libm-test-in: Add tests of lgamma.
22918         * math/auto-libm-test-out: Regenerated.
22919         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
22920         (M_LOG_2_SQRT_PIl): Likewise.
22921         (lgamma_test_data): Use AUTO_TESTS_f_f1.
22922         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22923         mpfr_f_f1.
22924         (func_calc_desc): Add mpfr_f_f1 union field.
22925         (ARGS1): New macro.
22926         (ARGS2): Likewise.
22927         (ARGS3): Likewise.
22928         (ARGS4): Likewise.
22929         (RET1): Likewise.
22930         (RET2): Likewise.
22931         (CALC): Likewise.
22932         (FUNC): Likewise.
22933         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
22934         (test_functions): Add lgamma.
22935         (calc_generic_results): Handle mpfr_f_f1.
22936         * sysdeps/i386/fpu/libm-test-ulps: Update.
22937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22939 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22941         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
22942         __mpn_add_n for PowerPC64/POWER7.
22943         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
22944         __mpn_sub_n for PowerPC64/POWER7.
22946         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
22947         __mpn_addmul_1 for PowerPC64.
22948         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
22949         __mpn_submul_1 for PowerPC64.
22950         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
22951         for PowerPC64.
22952         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
22953         for PowerPC64.
22955 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
22957         [BZ #15089]
22958         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
22960 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22962         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
22964         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
22965         add multiarch folders.
22966         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
22967         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
22968         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
22969         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
22970         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
22971         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
22972         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
22973         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
22974         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
22975         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
22976         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
22977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
22978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
22979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
22980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
22981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
22982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
22984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
22985         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
22986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
22987         New file.
22988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
22989         New file.
22990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
22991         multiarch __ieee754_hypot for PowerPC32.
22992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
22993         New file.
22994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
22995         New file.
22996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
22997         multiarch __ieee754_hypotf for PowerPC32.
22999         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
23000         long_double_symbol only if __logbl is defined.
23001         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
23002         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
23003         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
23004         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
23005         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
23006         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
23007         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
23008         path for implementation.
23009         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
23010         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
23011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
23012         logb, and logbl multiarch implementations for PowerPC32.
23013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
23014         file.
23015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
23016         file.
23017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
23018         multiarch logb for PowerPC32.
23019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
23020         file.
23021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
23022         file.
23023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
23024         multiarch logbf for PowerPC32.
23025         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
23026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
23027         file.
23028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
23029         multiarch logbl implementation for PowerPC32.
23031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
23032         and modff multiarch implementations.
23033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
23034         New file.
23035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
23036         New file.
23037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
23038         multiarch modf for PowerPC32.
23039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
23040         New file.
23041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
23042         New file.
23043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
23044         multiarch modff for PowerPC32.
23046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
23047         and lrintf multiarch implementations.
23048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
23049         New file.
23050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
23051         New file.
23052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
23053         multiarch lrint for PowerPC32.
23054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
23055         file: multiarch lrintf for PowerPC32.
23057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
23058         and lroundf multiarch implementations.
23059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
23060         New file.
23061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
23062         New file.
23063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
23064         New file.
23065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
23066         multiarch lround for PowerPC32.
23067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
23068         file: multiarch lroundf for PowerPC32.
23070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23071         copysign and copysignf multiarch implementations.
23072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
23073         New file.
23074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
23075         New file.
23076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
23077         file: multiarch copysign for PowerPC32.
23078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
23079         file: multiarch copysignf for PowerPC32.
23081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
23082         and truncf multiarch implementations.
23083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
23084         New file.
23085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
23086         file.
23087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
23088         multiarch trunc for PowerPC32.
23089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
23090         New file.
23091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
23092         New file.
23093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
23094         multiarch truncf for PowerPC32.
23096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
23097         and roundf multiarch implementations.
23098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
23099         New file.
23100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
23101         file.
23102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
23103         multiarch round for PowerPC32.
23104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
23105         New file.
23106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
23107         New file.
23108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
23109         multiarch roundf for PowerPC32.
23111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
23112         and floorf multiarch implementations.
23113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
23114         New file.
23115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
23116         file.
23117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
23118         multiarch floor for PowerPC32.
23119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
23120         New file.
23121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
23122         New file.
23123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
23124         multiarch floorf for PowerPC32.
23126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
23127         and ceilf multiarch implementations.
23128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
23129         New file.
23130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
23131         file.
23132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
23133         multiarch ceil for PowerPC32.
23134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
23135         New file.
23136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
23137         file.
23138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
23139         multiarch ceilf for PowerPC32.
23141         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
23142         is defined.
23143         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
23144         FINITEF is defined.
23145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
23146         and finitef multiarch implementations.
23147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
23148         New file.
23149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
23150         file.
23151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
23152         multiarch finite for PowerPC32.
23153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
23154         New file.
23155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
23156         file: multiarch finitef for PowerPC32.
23158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
23159         and isinff multiarch implementations.
23160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
23161         file.
23162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
23163         file.
23164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
23165         multiarch isinf for PowerPC32.
23166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
23167         New file.
23168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
23169         multiarch isinff for PowerPC32.
23171         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
23172         alias when __isnan is defined.
23173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
23174         and isnanf multiarch implementations.
23175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
23176         file.
23177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
23178         file.
23179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
23180         file.
23181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
23182         file.
23183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
23184         multiarch isnan for PowerPC32.
23185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
23186         New file.
23187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
23188         New file.
23189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
23190         multiarch isnanf for PowerPC32.
23192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
23193         and sqrtf multiarch implementations.
23194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
23195         file.
23196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
23197         file.
23198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
23199         multiarch sqrt for PowerPC32.
23200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
23201         file.
23202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
23203         file.
23204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
23205         multiarch sqrtf for PowerPC32.
23207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
23208         and llroundf multiarch implementations.
23209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
23210         New file.
23211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
23212         New file.
23213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
23214         New file.
23215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
23216         file: multiarch llround for PowerPC32.
23217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
23218         file: multiarch llroundf for PowerPC32.
23220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
23221         multiarch PowerPC32 fpu implementations.
23222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
23223         New file.
23224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
23225         New file.
23226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
23227         multiarch llrint for PowerPC32.
23228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
23229         New file.
23230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
23231         New file.
23232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
23233         file.
23235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
23237         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
23238         file.
23239         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
23240         file.
23241         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
23242         file.
23243         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
23244         multiarch wordcopy for PPC32.
23245         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23246         wordcopy objects.
23247         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23248         (__libc_ifunc_impl_list): Likewise.
23249         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
23250         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
23251         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
23252         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
23253         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
23254         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
23256         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
23257         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
23258         file.
23259         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
23260         file.
23261         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
23262         file.
23263         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
23264         multiarch wcscpy for PPC32.
23265         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23266         multiarch objects.
23267         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23268         (__libc_ifunc_impl_list): Likewise.
23269         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23270         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23271         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
23272         sysdeps/powerpc/power6/wcscpy.c.
23274         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
23275         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
23276         file.
23277         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
23278         file.
23279         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
23280         file.
23281         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
23282         multiarch wcsrchr for PPC32.
23283         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23284         multiarch objects.
23285         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23286         (__libc_ifunc_impl_list): Likewise.
23287         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23288         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23289         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
23290         sysdeps/powerpc/power6/wcsrchr.c.
23292         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
23293         file.
23294         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
23295         file.
23296         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
23297         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
23298         multiarch wcschr for PPc32.
23299         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23300         multiarch objects.
23301         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23302         (__libc_ifunc_impl_list): Likewise.
23303         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
23304         * sysdeps/powerpc/power6/wcschr.c: ... to here.
23305         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
23306         sysdeps/powerpc/power6/wcschr.c.
23308         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
23309         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
23310         file.
23311         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
23312         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
23313         file: multiarch strchr for PPC32.
23314         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
23315         multiarch objects.
23316         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23317         (__libc_ifunc_impl_list): Likewise.
23319         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
23320         name.
23321         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
23322         file.
23323         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
23324         file.
23325         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
23326         multiarch strchrnul for PPC32.
23327         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
23328         multiarch objects.
23329         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23330         (__libc_ifunc_impl_list): Likewise.
23332         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
23333         file.
23334         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
23335         multiarch strncasecmp for PPC32.
23336         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
23337         file.
23338         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
23339         multiarch strncasecmp_l for PPC32.
23340         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
23341         strncasecmp multiarch objects.
23342         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23343         (__libc_ifunc_impl_list): Likewise.
23345         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
23346         file.
23347         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
23348         multiarch strncasecmp for PPC32.
23349         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23350         New file.
23351         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
23352         multiarch strcasecmp_l for PPC32.
23353         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
23354         multiarch objects.
23355         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23356         (__libc_ifunc_impl_list): Likewise.
23358         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
23359         file.
23360         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
23361         file.
23362         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
23363         multiarch strncmp for PPC32.
23364         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
23365         multiarch objects.
23366         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23367         (__libc_ifunc_impl_list): Likewise.
23369         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
23370         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
23371         file.
23372         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
23373         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
23374         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
23375         multiarch objects.
23376         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23377         (__libc_ifunc_impl_list): Likewise.
23379         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
23380         file.
23381         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
23382         file.
23383         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
23384         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
23385         multiarch objects.
23386         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23387         (__libc_ifunc_impl_list): Likewise.
23389         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
23390         file.
23391         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
23392         file.
23393         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
23394         multiarch rawmemchr for PPC32.
23395         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
23396         multiarch objects.
23397         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23398         (__libc_ifunc_impl_list): Likewise.
23400         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
23401         file.
23402         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
23403         file.
23404         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
23405         file: memrchr multiarch for PPC32.
23406         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
23407         multiarch objects.
23408         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23409         (__libc_ifunc_impl_list): Likewise.
23411         * string/memchr.c (__memchr): Using macro to redefine symbol name.
23412         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
23413         file.
23414         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
23415         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
23416         multiarch memchr for PPC32.
23417         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
23418         multiarch objects.
23419         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23420         (__libc_ifunc_impl_list): Likewise.
23422         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
23423         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
23424         file.
23425         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
23426         file.
23427         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
23428         file: multiarch mempcpy for PPC32.
23429         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
23430         multiarch objects.
23431         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23432         (__libc_ifunc_impl_list): Likewise.
23434         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
23435         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
23436         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
23437         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
23438         multiarch bzero for PPC32.
23439         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
23440         file.
23441         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
23442         file.
23443         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
23444         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
23445         file: multiarch memset for PPC32.
23446         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
23447         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
23448         memset multiarch objects.
23449         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23450         (__libc_ifunc_impl_list): Likewise.
23452         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
23453         file.
23454         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
23455         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
23456         memcmp for PPC32.
23457         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
23458         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
23459         multiarch objects.
23460         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23461         (__libc_ifunc_impl_list): Likewise.
23463         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
23464         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
23465         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
23466         file.
23467         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
23468         file.
23469         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
23470         file.
23471         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
23472         multiarch memcpy for PPC32.
23473         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
23474         multiarch objects.
23475         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23476         (__libc_ifunc_impl_list): Likewise.
23478         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
23479         support multiarch for POWER/PPC32.
23480         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
23481         Likewise.
23482         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
23483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
23484         Implies file to make multiarch folder appers before the fpu and
23485         default folder for power4 configuration.
23487 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23489         * scripts/bench.pl: Append volatile keyword to type.
23491 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23493         * sysdeps/sh/sotruss-lib.c: New file.
23494         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
23496 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23498         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23500 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
23502         [BZ #6810]
23503         * math/w_tgamma.c: Include <errno.h>.
23504         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
23505         * math/w_tgammaf.c: Include <errno.h>.
23506         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
23507         * math/w_tgammal.c: Include <errno.h>.
23508         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
23509         * math/auto-libm-test-in: Do not allow missing errno on tgamma
23510         underflow.  Add more tgamma tests.
23511         * math/auto-libm-test-out: Regenerated.
23512         * sysdeps/i386/fpu/libm-test-ulps: Update.
23513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23515         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
23516         sin, sinh, tan, tanh, tgamma, y0 and y1.
23517         * math/auto-libm-test-out: Regenerated.
23518         * math/libm-test.inc (TEST_COND_x86_64): New macro.
23519         (TEST_COND_x86): Likewise.
23520         (M_E2l): Remove macro.
23521         (M_E3l): Likewise.
23522         (M_2_SQRT_PIl): Likewise.
23523         (M_SQRT_PIl): Likewise.
23524         (M_1_DIV_El): Likewise.
23525         (log_test_data): Use AUTO_TESTS_f_f.
23526         (log10_test_data): Likewise.
23527         (log1p_test_data): Likewise.
23528         (log2_test_data): Likewise.
23529         (sin_test_data): Likewise.
23530         (sin_tonearest_test_data): Likewise.
23531         (sin_towardzero_test_data): Likewise.
23532         (sin_downward_test_data): Likewise.
23533         (sin_upward_test_data): Likewise.
23534         (sinh_test_data): Likewise.
23535         (sinh_tonearest_test_data): Likewise.
23536         (sinh_towardzero_test_data): Likewise.
23537         (sinh_downward_test_data): Likewise.
23538         (sinh_upward_test_data): Likewise.
23539         (tan_test_data): Likewise.
23540         (tan_tonearest_test_data): Likewise.
23541         (tan_towardzero_test_data): Likewise.
23542         (tan_downward_test_data): Likewise.
23543         (tan_upward_test_data): Likewise.
23544         (tanh_test_data): Likewise.
23545         (tgamma_test_data): Likewise.
23546         (y0_test_data): Likewise.
23547         (y1_test_data): Likewise.
23548         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
23549         (special_real_inputs): Add pi/4.
23550         * sysdeps/i386/fpu/libm-test-ulps: Update.
23551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23553 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23555         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
23556         "longjmp_target" static probes.
23557         (__longjmp): Rename to __longjmp_symbol.
23558         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23559         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
23560         on which longjmp to generate.
23561         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23562         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
23563         probe.
23564         (__sigsetjmp): Rename to __sigsetjmp_symbol.
23565         (__sigjmp_save): Rename to __sigjmp_save_symbol.
23566         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23567         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
23568         and __sigjmp_save_symbol based on which sigsetjmp to generated.
23569         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
23570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
23571         __longjmp_symbol based on which __longjmp to generate.
23572         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
23573         probe.
23574         (setjmp): Rename to setjmp_symbol.
23575         (__sigsetjmp): Rename to __sigsetjmp_symbol.
23576         (_setjmp): Rename to _setjmp_symbol.
23577         (__sigsetjmp): Rename to __sigsetjmp_symbol.
23578         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
23579         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
23580         which setjmp to generate.
23581         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
23582         "longjmp_target" static probes.
23584 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23586         * benchtests/README: Add note about output arguments.
23587         * benchtests/bench-sincos.c: Remove file.
23588         * benchtests/sincos-inputs: New file.
23589         * scripts/bench.pl: Identify output arguments and define
23590         static variables for them.
23592         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
23594         [BZ #15941]
23595         * Makefile (INSTALL): Add install-plain.texi as the primary
23596         dependency.
23597         * manual/install-plain.texi: New file.
23598         * manual/install.texi: Include node directive only for
23599         non-plaintext output.
23601 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
23603         * stdlib/longlong.h: Update from GCC.
23605         [BZ #6807]
23606         [BZ #15901]
23607         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
23608         * math/w_j0f.c (y0f): Likewise.
23609         * math/w_j0l.c (__y0l): Likewise.
23610         * math/w_j1.c (y1): Likewise.
23611         * math/w_j1f.c (y1f): Likewise.
23612         * math/w_j1l.c (__y1l): Likewise
23613         * math/w_jn.c (yn): Likewise.
23614         * math/w_jnf.c (ynf): Likewise.
23615         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
23616         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
23617         value for Bessel function domain errors outside _SVID_ mode.
23618         Adjust sign of return value for yn (negative integer, 0).
23619         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
23620         by zero in return for negative x and set sign appropriately for
23621         negative n.
23622         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
23623         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23624         * math/libm-test.inc (y0_test_data): Add more tests and adjust
23625         expectations in error cases.
23626         (y1_test_data): Likewise.
23627         (yn_test_data): Likewise.
23628         * sysdeps/i386/fpu/libm-test-ulps: Update.
23629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23631 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23633         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
23634         "64" to "64-v1".  Add "64-v2".
23635         (abi-64-options): Rename to ...
23636         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
23637         (abi-64-condition): Rename to ...
23638         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
23639         (abi-64-ld-soname): Rename to ...
23640         (abi-64-v1-ld-soname): ... this.
23641         (abi-64-v2-options): Define.
23642         (abi-64-v2-condition): Likewise.
23643         (abi-64-v2-ld-soname): Likewise.
23644         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
23645         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
23646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
23647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
23648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
23650 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23651             Alan Modra  <amodra@gmail.com>
23653         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
23654         New versions for use with the ELFv2 ABI.
23655         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
23656         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
23657         declaration.
23658         (struct La_ppc64v2_retval): Likewise.
23659         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
23660         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
23661         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
23662         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
23663         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
23664         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23665         Do not save or restore CR.
23666         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
23667         (_dl_profile_resolve): Do no save or restore CR.  Support extended
23668         return values for ELFv2 ABI.  Fix location of FPR return registers.
23669         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
23670         updated values for _CALL_ELF == 2.
23671         (La_regs, La_retval, int_retval): Likewise.
23673 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23675         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
23676         (FRAME_MIN_SIZE_PARM): Likewise.
23677         (FRAME_BACKCHAIN): Likewise.
23678         (FRAME_CR_SAVE): Likewise.
23679         (FRAME_LR_SAVE): Likewise.
23680         (FRAME_TOC_SAVE): Likewise.
23681         (FRAME_PARM_SAVE): Likewise.
23682         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
23683         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
23684         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
23685         (call_mcount_parm_offset): New macro.
23686         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
23687         (PROF): Use symbolic stack frame offsets.
23688         (TAIL_CALL_SYSCALL_ERROR): Likewise.
23689         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
23690         Redefine in terms of FRAME_MIN_SIZE.
23691         (_dl_runtime_resolve): Use symbolic stack frame offsets.
23692         (_dl_profile_resolve): Likewise.  Update comment.
23693         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
23694         symbols stack frame offsets.
23695         (__sigsetjmp): Likewise.
23696         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
23697         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
23698         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
23699         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
23701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
23702         (FRAME_BACKCHAIN): Remove.
23703         (FRAME_CR_SAVE): Likewise.
23704         (FRAME_LR_SAVE): Likewise.
23705         (FRAME_COMPILER_DW): Likewise.
23706         (FRAME_LINKER_DW): Likewise.
23707         (FRAME_TOC_SAVE): Likewise.
23708         (FRAME_PARM_SAVE): Likewise.
23709         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
23710         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
23711         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
23712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
23713         (CHECK_SP): Use symbolic stack frame offsets.
23714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
23715         zone" instead of caller's parameter save area for temp storage.
23716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23717         Likewise.  Also, use symbolic stack frame offsets.
23718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
23719         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
23720         our own stack frame instead of the caller's.
23721         (__socket): Use symbolic stack frame offsets.
23723 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23724             Alan Modra  <amodra@gmail.com>
23726         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
23727         Define.
23728         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
23729         (PPC64_LOCAL_ENTRY_OFFSET): Define.
23730         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
23731         New function.
23732         (elf_machine_fixup_plt): Call it.
23733         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
23734         reloc arguments.
23735         (elf_machine_rela): Update call to elf_machine_plt_conflict.
23736         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
23737         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
23738         r2 before calling target.
23740 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23741             Alan Modra  <amodra@gmail.com>
23743         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
23744         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
23745         versions of macros to support ELFv2 ABI.
23746         (LOCALENTRY): New macro.
23747         (ENTRY, EALIGN): Use it.
23748         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
23749         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
23750         fall through into ENTRY entry point.
23751         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
23752         Only define if _CALL_ELF != 2.
23754         (elf_machine_matches_host): Verify ABI version matches.
23755         (RTLD_START): Use LOCALENTRY.
23756         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
23757         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
23758         (PLT_ENTRY_WORDS): New macro.
23759         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
23760         (elf_machine_runtime_setup): Support ELFv2 ABI.
23761         (elf_machine_fixup_plt): Likewise.
23762         (elf_machine_plt_conflict): Likewise.
23763         (resolve_ifunc): Likewise.
23764         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23765         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23766         Likewise.
23767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
23768         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
23769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23770         (makecontext): Support ELFv2 ABI.
23771         * elf/elf.h (EF_PPC64_ABI): Define.
23773 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23775         * sysdeps/powerpc/powerpc64/sysdep.h
23776         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
23777         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
23778         (ENTRY) [ASSEMBLER]: ... but instead here ...
23779         (EALIGN) [ASSEMBLER]: ... and here.
23780         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
23781         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
23782         (ENTRY_2) [!ASSEMBLER]: Use it.
23783         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
23784         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
23785         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
23786         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
23787         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
23788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
23789         Use PPC64_LOAD_FUNCPTR.
23791         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
23793 2013-12-04  Alan Modra  <amodra@gmail.com>
23795         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
23796         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
23797         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
23798         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
23800         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
23801         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
23802         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
23803         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
23804         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
23805         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
23807 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23810         (__makecontext): Fix incorrect CFI when backtracing out of
23811         context created via makecontext.
23812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
23813         (__setcontext): Fix incorrect CFI during switch to new context.
23814         (__novec_setcontext): Likewise.
23816 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
23818         [BZ #4772]
23819         * time/strptime_l.c (__strptime_internal): Allow modifiers
23820         in strptime.
23821         * time/tst-strptime.c (day_tests): Add testcase.
23823 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23825         * scripts/bench.pl: Skip over blank lines.
23827 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
23829         [BZ #926]
23830         * manual/time.texi (Calendar Time): Clarify what timezone functions
23831         use.
23833 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23837 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
23839         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
23840         implementation.
23841         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
23842         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
23843         * debug/memset_chk.c (__memset_chk): Likewise.
23844         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
23845         * debug/strncpy_chk.c: Likewise.
23847 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
23849         [BZ #15268]
23850         [BZ #15425]
23851         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
23852         (__ieee754_exp): For possibly underflowing results, check size of
23853         result and force underflow exception if required.
23854         * math/auto-libm-test-in: Add more tests of exp.
23855         * math/auto-libm-test-out: Regenerated.
23856         * sysdeps/i386/fpu/libm-test-ulps: Update.
23857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23859         [BZ #16283]
23860         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
23861         * math/w_exp2f.c (__exp2f): Likewise.
23862         * math/w_exp2l.c (__exp2l): Likewise.
23863         * math/auto-libm-test-in: Do not allow missing errno on exp2
23864         underflow.
23865         * math/auto-libm-test-out: Regenerated.
23867 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
23869         [BZ #16274]
23870         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
23871         handle filename validation.
23872         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
23873         (do_open): Delete.
23875 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
23877         [BZ #6786]
23878         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
23879         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
23880         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
23881         <float.h>.
23882         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
23883         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
23884         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23885         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
23886         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23887         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
23888         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23889         * math/auto-libm-test-in: Don't allow missing errno from erfc.
23890         Add more erfc tests.
23891         * math/auto-libm-test-out: Regenerated.
23892         * sysdeps/i386/fpu/libm-test-ulps: Update.
23893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23895         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
23896         exp2, expm1, j0 and j1.
23897         * math/auto-libm-test-out: Regenerated.
23898         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
23899         (erfc_test_data): Likewise.
23900         (exp_test_data): Likewise.
23901         (exp_tonearest_test_data): Likewise.
23902         (exp_towardzero_test_data): Likewise.
23903         (exp_downward_test_data): Likewise.
23904         (exp_upward_test_data): Likewise.
23905         (exp10_test_data): Likewise.
23906         (exp2_test_data): Likewise.
23907         (expm1_test_data): Likewise.
23908         (j0_test_data): Likewise.
23909         (j1_test_data): Likewise.
23910         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
23911         (input_flag_type): Add flag_xfail_rounding.
23912         (input_flags): Add xfail-rounding.
23913         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
23914         (output_for_one_input_case): Handle flag_xfail_rounding.
23915         * sysdeps/i386/fpu/libm-test-ulps: Update.
23916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23918 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
23920         [BZ #16289]
23921         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
23922         division by 0.
23924 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23926         [BZ #16195]
23927         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
23928         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
23929         (STAP_PROBE0): New macro.
23930         (STAP_PROBE1): Likewise.
23931         (STAP_PROBE2): Likewise.
23932         (STAP_PROBE3): Likewise.
23933         (STAP_PROBE4): Likewise.
23935 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
23937         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
23939 2013-12-02  Steve Ellcey  <sellcey@mips.com>
23941         * benchtests/Makefile (bench): Add sqrt.
23942         (LDLIBS-bench-sqrt): New.
23943         * benchtests/sqrt-input: New.
23945 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
23947         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
23948         (GAIH_EAI): Likewise.
23949         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
23950         (gaih_inet): Likewise.
23951         (getaddrinfo): Don't use GAIH_EAI.
23953         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
23954         (struct gaih): Remove definition.
23956 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23958         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
23959         Use HERRNOP directly.
23961 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23965 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
23967         * math/gen-auto-libm-tests.c (test_functions): Add more
23968         single-argument functions.
23969         (special_fill_pi_2): New function.
23970         (special_fill_minus_pi_2): Likewise.
23971         (special_fill_pi_6): Likewise.
23972         (special_fill_minus_pi_6): Likewise.
23973         (special_fill_pi_3): Likewise.
23974         (special_fill_2pi_3): Likewise.
23975         (special_fill_e): Likewise.
23976         (special_fill_1_e): Likewise.
23977         (special_fill_e_minus_1): Likewise.
23978         (special_real_inputs): Add more special inputs.
23979         (output_for_one_input_case): Do not require ERANGE on underflow to
23980         zero if round-to-nearest result does not underflow to zero, unless
23981         exact results required.
23982         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
23983         atan, atanh, cbrt, cos and cosh.
23984         * math/auto-libm-test-out: Regenerated.
23985         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
23986         (acos_tonearest_test_data): Likewise.
23987         (acos_towardzero_test_data): Likewise.
23988         (acos_downward_test_data): Likewise.
23989         (acos_upward_test_data): Likewise.
23990         (acosh_test_data): Likewise.
23991         (asin_test_data): Likewise.
23992         (asin_tonearest_test_data): Likewise.
23993         (asin_towardzero_test_data): Likewise.
23994         (asin_upward_test_data): Likewise.
23995         (asinh_test_data): Likewise.
23996         (atan_test_data): Likewise.
23997         (atanh_test_data): Likewise.
23998         (cbrt_test_data): Likewise.
23999         (cos_test_data): Likewise.
24000         (cos_tonearest_test_data): Likewise.
24001         (cos_towardzero_test_data): Likewise.
24002         (cos_downward_test_data): Likewise.
24003         (cos_upward_test_data): Likewise.
24004         (cosh_test_data): Likewise.
24005         (cosh_tonearest_test_data): Likewise.
24006         (cosh_towardzero_test_data): Likewise.
24007         (cosh_downward_test_data): Likewise.
24008         (cosh_upward_test_data): Likewise.
24009         * sysdeps/i386/fpu/libm-test-ulps: Update.
24010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24012 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
24014         [BZ #6787]
24015         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
24016         * math/w_exp10f.c (__exp10f): Likewise.
24017         * math/w_exp10l.c (__exp10l): Likewise.
24018         * math/libm-test.inc (exp10_test_data): Add more tests and expect
24019         errno settings in existing tests.
24021         [BZ #14032]
24022         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
24023         precision control set to double precision.
24024         * sysdeps/i386/fpu/w_sqrt.c: New file.
24025         * math/auto-libm-test-in: Add more tests.
24026         * math/auto-libm-test-out: Update.
24028         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
24029         (sqrt_test_tonearest): New function.
24030         (sqrt_towardzero_test_data): New variable.
24031         (sqrt_test_towardzero): New function.
24032         (sqrt_downward_test_data): New variable.
24033         (sqrt_test_downward): New function.
24034         (sqrt_upward_test_data): New variable.
24035         (sqrt_test_upward): New function.
24036         (main): Call the new functions.
24038         * math/gen-auto-libm-tests.c: New file.
24039         * math/auto-libm-test-in: Likewise.
24040         * math/auto-libm-test-out: New generated file.
24041         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
24042         variables.
24043         (%beautify): Add generated representations of zero.
24044         (top level): Set $auto_input and call parse_auto_input.
24045         (beautify): Remove trailing "f" from hex float constants.
24046         (parse_args): Handle XFAIL_TEST.
24047         (convert_condition): New function.
24048         (or_value): Likewise.
24049         (or_cond_value): Likewise.
24050         (generate_testfile): Handle AUTO_TESTS_* lines.
24051         (parse_auto_input): New function.
24052         * math/libm-test.inc (XFAIL_TEST): New macro.
24053         (ERRNO_UNCHANGED): Update value.
24054         (ERRNO_EDOM): Likewise.
24055         (ERRNO_ERANGE): Likewise.
24056         (IGNORE_RESULT): Likewise.
24057         (TEST_COND_flt_32): New macro.
24058         (TEST_COND_dbl_64): Likewise.
24059         (TEST_COND_ldbl_96_intel): Likewise.
24060         (TEST_COND_ldbl_96_m68k): Likewise.
24061         (TEST_COND_ldbl_128): Likewise.
24062         (TEST_COND_ldbl_128ibm): Likewise.
24063         (TEST_COND_long32): Likewise.
24064         (TEST_COND_long64): Likewise.
24065         (TEST_COND_before_rounding): Likewise.
24066         (TEST_COND_after_rounding): Likewise.
24067         (enable_test): Handle XFAIL_TEST flag.
24068         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
24069         with finite results.
24070         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
24071         auto-libm-test-out.
24073 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24074             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24076         [BZ #16214]
24077         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
24078         __tls_get_addr_internal instead of __tls_get_offset in order to
24079         avoid GOT pointer dependency.  Make rtld export
24080         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
24081         __tls_get_addr since we are a __tls_get_offset platform.
24082         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
24083         GOT pointer being set up before.
24084         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
24086 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
24088         * manual/math.texi (Errors in Math Functions): Document accuracy
24089         goals.
24091         [BZ #15004]
24092         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
24093         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
24094         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24095         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24096         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24097         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24098         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24099         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24100         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24101         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24102         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24103         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24104         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24105         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24106         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24107         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24109         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
24110         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
24111         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
24112         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
24113         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
24114         Likewise.
24115         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
24116         Likewise.
24117         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
24118         Likewise.
24119         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
24120         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
24121         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
24122         atomic-feupdateenv and flt-rounds.
24123         * sysdeps/powerpc/nofpu/Versions (libc): Add
24124         __atomic_feholdexcept, __atomic_feclearexcept,
24125         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
24126         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
24127         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
24128         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
24129         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
24130         here.
24131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24132         Update.
24134         * manual/arith.texi (FP Exceptions): Document that exceptions may
24135         not be raised when matherr is used.
24136         (Math Error Reporting): Document overflow in directed rounding
24137         modes.  Document that errno may not be set when finite values are
24138         returned on overflow.  Document intent to set errno on underflow
24139         only for underflow to zero.
24141         [BZ #16271]
24142         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
24143         round-to-nearest then adjust result for other rounding modes.
24144         * include/fenv.h (fegetround): Use libm_hidden_proto.
24145         * math/fegetround.c (fegetround): Use libm_hidden_def.
24146         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24147         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24148         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24149         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24150         Likewise.
24151         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
24152         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24153         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24154         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
24156 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24158         [BZ #16077]
24159         * nss/Versions (libnss_files): Add
24160         _nss_files_gethostbyname3_r.
24161         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
24162         New function.
24163         (HOST_DB_LOOKUP): Remove macro.
24164         (_nss_files_gethostbyname_r): Implement function without the
24165         HOST_DB_LOOKUP macro.
24166         (_nss_files_gethostbyname2_r): Likewise.
24168 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
24170         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
24172 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
24174         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
24175         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
24176         warning.
24178 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24180         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
24181         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
24182         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
24183         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24184         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
24185         __fe_nomask_env_priv and attribute_hidden.
24186         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
24187         (libc_feupdateenv_test_ppc): Likewise.
24188         (libc_feresetround_ppc): Likewise.
24189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24190         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
24191         compat_symbol macro.
24192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24193         (__fe_nomask_env): Likewise.
24194         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
24196 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24198         * string/Makefile: Remove ifunc tests.
24199         * string/test-string.h: Define TEST_IFUNC.
24200         * string/test-bcopy-ifunc.c: Remove.
24201         * string/test-bzero-ifunc.c: Likewise.
24202         * string/test-memccpy-ifunc.c: Likewise.
24203         * string/test-memchr-ifunc.c: Likewise.
24204         * string/test-memcmp-ifunc.c: Likewise.
24205         * string/test-memcpy-ifunc.c: Likewise.
24206         * string/test-memmem-ifunc.c: Likewise.
24207         * string/test-memmove-ifunc.c: Likewise.
24208         * string/test-mempcpy-ifunc.c: Likewise.
24209         * string/test-memrchr-ifunc.c: Likewise.
24210         * string/test-memset-ifunc.c: Likewise.
24211         * string/test-rawmemchr-ifunc.c: Likewise.
24212         * string/test-stpcpy-ifunc.c: Likewise.
24213         * string/test-stpncpy-ifunc.c: Likewise.
24214         * string/test-strcasecmp-ifunc.c: Likewise.
24215         * string/test-strcasestr-ifunc.c: Likewise.
24216         * string/test-strcat-ifunc.c: Likewise.
24217         * string/test-strchr-ifunc.c: Likewise.
24218         * string/test-strchrnul-ifunc.c: Likewise.
24219         * string/test-strcmp-ifunc.c: Likewise.
24220         * string/test-strcpy-ifunc.c: Likewise.
24221         * string/test-strcspn-ifunc.c: Likewise.
24222         * string/test-strlen-ifunc.c: Likewise.
24223         * string/test-strncasecmp-ifunc.c: Likewise.
24224         * string/test-strncat-ifunc.c: Likewise.
24225         * string/test-strncmp-ifunc.c: Likewise.
24226         * string/test-strncpy-ifunc.c: Likewise.
24227         * string/test-strnlen-ifunc.c: Likewise.
24228         * string/test-strpbrk-ifunc.c: Likewise.
24229         * string/test-strrchr-ifunc.c: Likewise.
24230         * string/test-strspn-ifunc.c: Likewise.
24231         * string/test-strstr-ifunc.c: Likewise.
24233 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24235         * benchtests/Makefile: Remove ifunc tests.
24236         * benchtests/bench-string.h: Define TEST_IFUNC.
24237         * benchtests/bench-bcopy-ifunc.c: Remove.
24238         * benchtests/bench-bzero-ifunc.c: Likewise.
24239         * benchtests/bench-memccpy-ifunc.c: Likewise.
24240         * benchtests/bench-memchr-ifunc.c: Likewise.
24241         * benchtests/bench-memcmp-ifunc.c: Likewise.
24242         * benchtests/bench-memcpy-ifunc.c: Likewise.
24243         * benchtests/bench-memmem-ifunc.c: Likewise.
24244         * benchtests/bench-memmove-ifunc.c: Likewise.
24245         * benchtests/bench-mempcpy-ifunc.c: Likewise.
24246         * benchtests/bench-memrchr-ifunc.c: Likewise.
24247         * benchtests/bench-memset-ifunc.c: Likewise.
24248         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
24249         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
24250         * benchtests/bench-stpcpy-ifunc.c: Likewise.
24251         * benchtests/bench-stpncpy-ifunc.c: Likewise.
24252         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
24253         * benchtests/bench-strcasestr-ifunc.c: Likewise.
24254         * benchtests/bench-strcat-ifunc.c: Likewise.
24255         * benchtests/bench-strchr-ifunc.c: Likewise.
24256         * benchtests/bench-strchrnul-ifunc.c: Likewise.
24257         * benchtests/bench-strcmp-ifunc.c: Likewise.
24258         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
24259         * benchtests/bench-strcpy-ifunc.c: Likewise.
24260         * benchtests/bench-strcspn-ifunc.c: Likewise.
24261         * benchtests/bench-strlen-ifunc.c: Likewise.
24262         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
24263         * benchtests/bench-strncat-ifunc.c: Likewise.
24264         * benchtests/bench-strncmp-ifunc.c: Likewise.
24265         * benchtests/bench-strncpy-ifunc.c: Likewise.
24266         * benchtests/bench-strnlen-ifunc.c: Likewise.
24267         * benchtests/bench-strpbrk-ifunc.c: Likewise.
24268         * benchtests/bench-strrchr-ifunc.c: Likewise.
24269         * benchtests/bench-strsep-ifunc.c: Likewise.
24270         * benchtests/bench-strspn-ifunc.c: Likewise.
24271         * benchtests/bench-strstr-ifunc.c: Likewise.
24273 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24275         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
24277 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24279         * resolv/netdb.h: Use __glibc_reserved instead __unused.
24280         * rt/aio.h: Likewise.
24281         * sysdeps/gnu/bits/utmp.h: Likewise.
24282         * sysdeps/gnu/bits/utmpx.h: Likewise.
24283         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24284         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
24285         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
24286         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
24287         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
24288         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
24289         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
24290         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
24291         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
24292         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
24293         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
24294         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
24295         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
24296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
24297         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24298         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
24299         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
24300         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
24301         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
24302         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
24303         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
24304         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
24305         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
24306         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24307         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
24308         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24309         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
24310         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
24311         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
24312         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
24313         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
24314         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
24315         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
24316         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24317         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
24318         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
24319         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
24320         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
24321         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
24322         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
24323         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
24324         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24326 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
24328         [BZ #16245]
24329         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
24330         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
24332 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
24334         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
24335         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24336         Likewise.
24338 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24340         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
24341         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
24342         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
24343         (__fesetround): Remove define.
24344         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
24345         rounding and exceptions handling.
24346         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
24347         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
24348         (__fe_nomask_env): Likewise.
24349         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
24350         __fegetround instead of fegetround.
24351         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24352         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
24354 2013-11-21  Roland McGrath  <roland@hack.frob.com>
24356         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
24357         it's there.
24359         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
24361 2013-11-21  Meador Inge  <meadori@codesourcery.com>
24363         [BZ #11157]
24364         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
24365         (encrypt_r): Likewise.
24366         * malloc/obstack.h (obstack_free): Likewise.
24367         * posix/unistd.h (encrypt): Likewise.
24369 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
24371         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
24372         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
24373         DL_CALL_DT_FINI() that call the functions directly.
24374         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
24375         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
24376         * elf/dl-fini.c: Likewise.
24378 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
24380         * malloc/hooks.c (memalign_check): Add alignment rounding.
24381         * malloc/malloc.c (_mid_memalign): New function.
24382         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
24383         Implement by calling _mid_memalign.
24384         * manual/probes.texi (Memory Allocation Probes): Remove
24385         memory_valloc_retry and memory_pvalloc_retry.
24387 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24389         * locale/programs/locarchive.c (open_archive): Add const
24390         qualifier to ARCHIVEFNAME and copy default fname to
24391         DEFAULT_FNAME.
24393         [BZ #15601]
24394         * libio/tst-widetext.input: Rename Oriya to Odia.
24395         * locale/iso-639.def: Likewise.
24397         * manual/probes.texi (Mathematical Function Probes): Add
24398         documentation for sin, cos, asin and acos probes.
24399         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
24400         (__sin32): Add slowasin probe.
24401         (__cos32): Add slowacos probe.
24402         (__mpsin): Add slowsin probe.
24403         (__mpcos): Add slowcos probe.
24405 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
24407         [BZ #15483]
24408         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
24409         thread-local __sim_exceptions_thread and global
24410         __sim_exceptions_global.
24411         (__sim_disabled_exceptions): Change to thread-local
24412         __sim_disabled_exceptions_thread and global
24413         __sim_disabled_exceptions_global.
24414         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24415         and global __sim_round_mode_global.
24416         (__simulate_exceptions): Use thread-local floating-point state and
24417         set global state from it as needed.
24418         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
24419         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
24420         __sim_round_mode_thread.
24421         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
24422         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
24423         and global __sim_exceptions_global.
24424         (__sim_disabled_exceptions): Change to thread-local
24425         __sim_disabled_exceptions_thread and global
24426         __sim_disabled_exceptions_global.
24427         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24428         and global __sim_round_mode_global.
24429         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
24430         (SIM_SET_GLOBAL): Likewise.
24431         * sysdeps/powerpc/soft-fp/sfp-machine.h
24432         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
24433         __sim_round_mode_thread.
24434         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
24435         __sim_disabled_exceptions_thread.
24436         (__sim_exceptions): Change to __sim_exceptions_thread.
24437         (__sim_disabled_exceptions): Change to
24438         __sim_disabled_exceptions_thread.
24439         (__sim_round_mode): Change to __sim_round_mode_thread.
24440         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
24441         thread-local floating-point state and set global state from it as
24442         needed.
24443         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
24444         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
24445         (__sim_disabled_exceptions): Remove extern declaration.
24446         (feenableexcept): Use thread-local floating-point state and set
24447         global state from it as needed.
24448         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
24449         extern declaration.
24450         (__sim_disabled_exceptions): Likewise.
24451         (__sim_round_mode): Likewise.
24452         (__fegetenv): Use thread-local floating-point state.
24453         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
24454         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24455         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
24456         floating-point state and set global state from it as needed.
24457         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
24458         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24459         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
24460         Likewise.
24461         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
24462         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
24463         Likewise.
24464         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
24465         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
24466         Use __sim_round_mode_thread.
24467         * math/test-fenv-tls.c: New file.
24468         * math/Makefile (tests): Add test-fenv-tls.
24469         ($(objpfx)test-fenv-tls): Depend on
24470         $(common-objpfx)nptl/libpthread.so.
24472 2013-11-19  Andreas Schwab  <schwab@suse.de>
24474         * locale/programs/locale.c (show_info): Decode wordarray elements.
24475         * locale/categories.def (LC_MONETARY): Add element for
24476         _NL_MONETARY_CRNCYSTR.
24477         * locale/C-monetary.c (conversion_rate): New variable.
24478         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
24479         element.
24481 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
24483         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
24484         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
24486 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
24488         * elf/Makefile (tst-auxv): New test.
24489         * elf/tst-auxv.c: New
24490         * elf/rtld.c (dl_main): Adjust AT_EXECFN
24492 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
24494         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
24495         (hidden_proto): Caller changed.
24496         (hidden_tls_proto): New macro.
24497         (libc_hidden_tls_proto): Likewise.
24498         (rtld_hidden_tls_proto): Likewise.
24499         (libm_hidden_tls_proto): Likewise.
24500         (libresolv_hidden_tls_proto): Likewise.
24501         (librt_hidden_tls_proto): Likewise.
24502         (libdl_hidden_tls_proto): Likewise.
24503         (libnss_files_hidden_tls_proto): Likewise.
24504         (libnsl_hidden_tls_proto): Likewise.
24505         (libnss_nisplus_hidden_tls_proto): Likewise.
24506         (libutil_hidden_tls_proto): Likewise.
24508 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
24510         [BZ #10253]
24511         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
24512         (decompose_rpath): Defer expansion to fillin_rpath.
24513         (_dl_init_paths): Pass linkmap to fillin_rpath.
24515 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24517         * benchtests/Makefile: Add strsep.
24518         * benchtests/bench-strsep.c: New file: strsep benchtest.
24519         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
24521 2013-11-18  Andreas Schwab  <schwab@suse.de>
24523         * locale/programs/locale.c (show_info) [case byte]: Check for
24524         '\377' instead of '\177'.
24525         * locale/C-monetary.c (not_available): Always use "\377".
24526         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
24527         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
24528         detect unavailable sign_posn locale elements.
24529         * locale/localeconv.c (__localeconv): For grouping and
24530         mon_grouping handle "\177" and "\377" like no grouping.
24531         (INT_ELEM): New macro.  Use it to set all numeric members.
24532         * locale/programs/ld-monetary.c (monetary_read)
24533         <tok_mon_grouping>: Normalize single -1 to the empty string.
24534         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
24535         Likewise.
24537 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
24539         [BZ #16055]
24540         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
24541         when we match (nil).
24542         * stdio-common/tst-sscanf.c (struct test): Add testcase.
24544 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
24546         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
24547         (NO_TEST_INLINE): Update value.
24548         (ERRNO_UNCHANGED): Likewise.
24549         (ERRNO_EDOM): Likewise.
24550         (ERRNO_ERANGE): Likewise.
24551         (IGNORE_RESULT): Likewise.
24552         (check_float_internal): Check signs of NaN results if
24553         TEST_NAN_SIGN used.
24554         (check_complex): Pass TEST_NAN_SIGN flag through to second
24555         check_float_internal call.
24556         (copysign_test_data): Add tests with quiet NaNs as second
24557         argument.  Use TEST_NAN_SIGN.
24558         (fabs_test_data): Add test of negative quiet NaN argument.  Use
24559         TEST_NAN_SIGN.
24560         (signbit_test_data): Add tests of quiet NaN argument.
24561         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
24563         * math/gen-libm-test.pl (show_exceptions): Take extra argument
24564         $ignore_result.
24565         (parse_args): Handle function results specified as IGNORE.
24566         * math/libm-test.inc (IGNORE_RESULT): New macro.
24567         (check_float_internal): Do not check numerical result if flag
24568         IGNORE_RESULT set.
24569         (check_complex): Pass through IGNORE_RESULT to second
24570         check_float_internal call.
24571         (check_int): Do not check numerical result if flag IGNORE_RESULT
24572         set.
24573         (check_long): Likewise.
24574         (check_bool): Likewise.
24575         (check_longlong): Likewise.
24576         (lrint_test_data): Add tests of infinite and NaN arguments.
24577         (lrint_tonearest_test_data): Likewise.
24578         (lrint_towardzero_test_data): Likewise.
24579         (lrint_downward_test_data): Likewise.
24580         (lrint_upward_test_data): Likewise.
24581         (llrint_test_data): Likewise.
24582         (llrint_tonearest_test_data): Likewise.
24583         (llrint_towardzero_test_data): Likewise.
24584         (llrint_downward_test_data): Likewise.
24585         (llrint_upward_test_data): Likewise.
24586         (lround_test_data): Likewise.
24587         (llround_test_data): Likewise.
24589         * math/libm-test.inc (NO_TEST_INLINE): New macro.
24590         (ERRNO_UNCHANGED): Update value.
24591         (ERRNO_EDOM): Likewise.
24592         (ERRNO_ERANGE): Likewise.
24593         (NO_TEST_INLINE_FLOAT): New macro.
24594         (NO_TEST_INLINE_DOUBLE): Likewise.
24595         (enable_test): New function.
24596         (RUN_TEST_f_f): Check enable_test before running test.
24597         (RUN_TEST_2_f): Likewise.
24598         (RUN_TEST_fff_f): Likewise.
24599         (RUN_TEST_c_f): Likewise.
24600         (RUN_TEST_f_f1): Likewise.
24601         (RUN_TEST_fF_f1): Likewise.
24602         (RUN_TEST_fI_f1): Likewise.
24603         (RUN_TEST_ffI_f1): Likewise.
24604         (RUN_TEST_c_c): Likewise.
24605         (RUN_TEST_cc_c): Likewise.
24606         (RUN_TEST_f_i): Likewise.
24607         (RUN_TEST_f_i_tg): Likewise.
24608         (RUN_TEST_ff_i_tg): Likewise.
24609         (RUN_TEST_f_b): Likewise.
24610         (RUN_TEST_f_b_tg): Likewise.
24611         (RUN_TEST_f_l): Likewise.
24612         (RUN_TEST_f_L): Likewise.
24613         (RUN_TEST_fFF_11): Likewise.
24614         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
24615         conditionals.
24616         (cosh_test_data): Likewise.
24617         (exp_test_data): Likewise.
24618         (expm1_test_data): Likewise.
24619         (hypot_test_data): Likewise.
24620         (pow_test_data): Likewise.
24621         (sinh_test_data): Likewise.
24622         (tanh_test_data): Likewise.
24623         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
24624         flags argument.
24626         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
24627         tests with quiet NaN input and output.
24628         (acosh_test_data): Likewise.
24629         (asin_test_data): Likewise.
24630         (asinh_test_data): Likewise.
24631         (atan_test_data): Likewise.
24632         (atanh_test_data): Likewise.
24633         (atan2_test_data): Likewise.
24634         (cbrt_test_data): Likewise.
24635         (cos_test_data): Likewise.
24636         (cosh_test_data): Likewise.
24637         (erf_test_data): Likewise.
24638         (erfc_test_data): Likewise.
24639         (exp_test_data): Likewise.
24640         (exp10_test_data): Likewise.
24641         (exp2_test_data): Likewise.
24642         (expm1_test_data): Likewise.
24643         (hypot_test_data): Likewise.
24644         (j0_test_data): Likewise.
24645         (j1_test_data): Likewise.
24646         (jn_test_data): Likewise.
24647         (lgamma_test_data): Likewise.
24648         (log_test_data): Likewise.
24649         (log10_test_data): Likewise.
24650         (log1p_test_data): Likewise.
24651         (log2_test_data): Likewise.
24652         (pow_test_data): Likewise.
24653         (scalb_test_data): Likewise.
24654         (sin_test_data): Likewise.
24655         (sincos_test_data): Likewise.
24656         (sinh_test_data): Likewise.
24657         (tan_test_data): Likewise.
24658         (tanh_test_data): Likewise.
24659         (tgamma_test_data): Likewise.
24660         (y0_test_data): Likewise.
24661         (y1_test_data): Likewise.
24662         (yn_test_data): Likewise.
24664         [BZ #16167]
24665         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
24666         argument being NaN and avoid computations with second argument in
24667         that case.
24668         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24669         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
24670         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24672 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
24674         * locale/iso-639.def: Add Chitwani Tharu (the).
24676 2013-11-14  Andreas Schwab  <schwab@suse.de>
24678         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
24679         word instead of empty string.
24681 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24684         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
24685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24686         (__fe_nomask_env): Likewise.
24688 2013-11-13  Steve Ellcey  <sellcey@mips.com>
24690         * benchtests/bench-timing.h: Include time.h.
24692 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
24694         [BZ #15997]
24695         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
24696         to 3.4.0 for x32.
24697         * sysdeps/unix/sysv/linux/configure: Regenerated.
24699 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
24701         [BZ #16151]
24702         * stdlib/strtod_l.c (round_and_return): Do not consider
24703         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
24704         exponent one less than half the least subnormal exponent.
24705         * stdlib/test-strtod-round-data: Add more tests.
24706         * stdlib/tst-strtod-round.c (tests): Regenerated.
24708 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24710         [BZ #14143]
24711         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
24712         (__fe_mask_env): Likewise.
24713         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
24714         libm_hidden_proto and add function prototype.
24715         (__fe_mask_env): Add function prototype.
24716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24717         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
24718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24719         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
24720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24721         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
24723 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24725         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
24726         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
24728 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24730         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
24731         of htab_find_slot().
24733 2013-11-11  David S. Miller  <davem@davemloft.net>
24735         [BZ #16150]
24736         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
24737         symbol in the non-vis3 case in static builds.
24738         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
24739         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
24740         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
24741         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
24743 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
24745         [BZ #387]
24746         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
24747         it is empty.
24749 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24751         * benchtests/Makefile: Add bench-strtod.
24752         * benchtests/bench-strtod.c: New file: strtod benchtest
24754 2013-11-11  Andreas Schwab  <schwab@suse.de>
24756         [BZ #16153]
24757         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
24758         terminating NUL in key length.
24760 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24762         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24763         Add artificial ODP entry for vDSO symbol for PPC64.
24764         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
24765         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
24767 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
24769         [BZ #15374]
24770         * nss/getent.c (services_keys): Recognize services starting with digit.
24772 2013-11-06  David S. Miller  <davem@davemloft.net>
24774         [BZ #15985]
24775         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
24776         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
24778 2013-11-06  Will Newton  <will.newton@linaro.org>
24780         * manual/memory.texi (Malloc Examples): Remove register
24781         keyword from examples.
24783 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
24785         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
24787 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
24789         [BZ #6981]
24790         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
24791         depending on [__GCC_IEC_559 > 0].
24792         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
24793         depending on [__GCC_IEC_559_COMPLEX > 0].
24795 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
24797         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
24798         to iso-639.def.
24800 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
24802         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
24804 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
24806         [BZ #16112]
24807         * malloc/malloc (malloc_info): Do not handle first bin as
24808         special case.
24810 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
24812         * locale/iso-639.def: Add Central Nahuatl (nhn).
24814 2013-11-01  Bruno Haible  <bruno@clisp.org>
24816         [BZ #7003]
24817         * manual/math.texi (BSD Random): Specify range upper bound as
24818         in POSIX.
24820 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
24822         * locale/iso-639.def: Add Meadow Mari (mhr).
24824 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
24826         [BZ #14752], [BZ #15763]
24827         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
24828         Validate name.
24829         * rt/tst_shm.c: Add test for escaping directory.
24831 2013-10-31  Andreas Schwab  <schwab@suse.de>
24833         [BZ #15917]
24834         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
24835         followed by 'x' as part of digit sequence.
24836         * stdio-common/tst-sscanf.c (double_tests2): New tests.
24838 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
24840         [BZ #16037]
24841         * configure.ac: allow GNU Make 4.0 and greater.
24842         * configure: Regenerated.
24844 2013-10-30  Will Newton  <will.newton@linaro.org>
24846         [BZ #16038]
24847         * malloc/hooks.c (memalign_check): Limit alignment to the
24848         maximum representable power of two.
24849         * malloc/malloc.c (__libc_memalign): Likewise.
24850         * malloc/tst-memalign.c (do_test): Add test for very
24851         large alignment values.
24852         * malloc/tst-posix_memalign.c (do_test): Likewise.
24854 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
24856         [BZ #11087]
24857         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
24858         (munmap_chunk): Likewise.
24859         (mremap_chunk): Likewise.
24861 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
24863         [BZ #15799]
24864         * stdlib/div.c (div): Remove obsolete code.
24865         * stdlib/ldiv.c (ldiv): Likewise.
24866         * stdlib/lldiv.c (lldiv): Likewise.
24868 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24870         [BZ #16071]
24871         * nss/nss_files/files-XXX.c (get_contents_ret): New
24872         enumerator.
24873         (get_contents): New function.
24874         (internal_getent): Use it.  Expand size of LINEBUFLEN.
24876 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
24878         * configure.in: Moved to ...
24879         * configure.ac: ... here. Change reference to configure.in
24880         to configure.ac.
24881         * sysdeps/arm/preconfigure.ac: ... here.
24882         configure.in to configure.ac.
24883         * sysdeps/gnu/configure.in: Moved to ...
24884         * sysdeps/gnu/configure.ac: ... here.
24885         * sysdeps/i386/configure.in: Moved to ...
24886         * sysdeps/i386/configure.ac: ... here.
24887         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
24888         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
24889         * sysdeps/mach/configure.in: Moved to ...
24890         * sysdeps/mach/configure.ac: ... here.
24891         * sysdeps/mach/hurd/configure.in: Moved to ...
24892         * sysdeps/mach/hurd/configure.ac: ... here.
24893         * sysdeps/powerpc/configure.in: Moved to ...
24894         * sysdeps/powerpc/configure.ac: ... here.
24895         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
24896         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
24897         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
24898         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
24899         * sysdeps/s390/s390-32/configure.in: Moved to ...
24900         * sysdeps/s390/s390-32/configure.ac: ... here.
24901         * sysdeps/s390/s390-64/configure.in: Moved to ...
24902         * sysdeps/s390/s390-64/configure.ac: ... here.
24903         * sysdeps/sh/configure.in: Moved to ...
24904         * sysdeps/sh/configure.ac: ... here.
24905         * sysdeps/sparc/configure.in: Moved to ...
24906         * sysdeps/sparc/configure.ac: ... here.
24907         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
24908         * sysdeps/unix/sysv/linux/configure.ac: ... here.
24909         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
24910         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
24911         * sysdeps/x86_64/configure.in: Moved to ...
24912         * sysdeps/x86_64/configure.ac: ... here.
24913         * sysdeps/x86_64/preconfigure.in: Moved to ...
24914         * sysdeps/x86_64/preconfigure.ac: ... here.
24915         * aclocal.m4: Change reference to configure.in to configure.ac.
24916         * config.h.in: Likewise.
24917         * manual/install.texi: Likewise.
24918         * manual/maint.texi: Likewise.
24919         * Makefile: Likewise.
24920         * malloc/Makefile: Likewise.
24921         * nscd/Makefile: Likewise.
24922         * Makeconfig: Change reference to configure.in and
24923         preconfigure.in to configure.ac and preconfigure.ac
24924         respectively.
24925         * INSTALL: Regenerated.
24926         * configure: Likewise.
24927         * sysdeps/gnu/configure: Likewise.
24928         * sysdeps/i386/configure: Likewise.
24929         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
24930         * sysdeps/mach/configure: Likewise.
24931         * sysdeps/mach/hurd/configure: Likewise.
24932         * sysdeps/powerpc/configure: Likewise.
24933         * sysdeps/powerpc/powerpc32/configure: Likewise.
24934         * sysdeps/powerpc/powerpc64/configure: Likewise.
24935         * sysdeps/s390/s390-32/configure: Likewise.
24936         * sysdeps/s390/s390-64/configure: Likewise.
24937         * sysdeps/sh/configure: Likewise.
24938         * sysdeps/sparc/configure: Likewise.
24939         * sysdeps/unix/sysv/linux/configure: Likewise.
24940         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
24941         * sysdeps/x86_64/configure: Likewise.
24942         * sysdeps/x86_64/preconfigure: Likewise.
24944 2013-10-29  Andreas Schwab  <schwab@suse.de>
24946         * stdio-common/Makefile (tst-swscanf-ENV): Define.
24948 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24950         * benchtests/pow-inputs: Add new inputs.
24952         * benchtests/exp-inputs: Add new inputs.
24954         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
24955         conditional check for return value.
24956         (__cos32): Likewise.
24958 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24960         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
24961         to provide a boost for large inputs with word alignment.
24962         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
24963         implementation based on optimized PPC64 strcpy.
24964         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
24965         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
24966         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
24967         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
24969 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
24971         [BZ #2801]
24972         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
24974 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
24976         [BZ #14876]
24977         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
24978         * time/tst-strptime.c (day_tests): Add testcase.
24980 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
24982         [BZ #14029]
24983         * manual/pattern.texi: Acknowledge that fnmatch can fail.
24985 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
24987         [BZ #16074]
24988         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
24989         MAP_FAILED on error.
24991 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24993         [BZ #16072]
24994         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
24995         heap for large requests.
24997 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
24999         [BZ #9954]
25000         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
25001         result if the result has no associated interface.
25002         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
25003         interface for all 127.X.Y.Z addresses.
25005 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
25007         * locale/iso-639.def: Add Ligurian (lij)
25009 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
25011         [BZ #15825]
25012         * sunrpc/rpc_main.c: Document rpcgen -5.
25014 2013-10-19  Michael Stahl  <mstahl@redhat.com>
25016         * elf/rtld.c (do_preload): Print the reason why preloading failed.
25018 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
25020         [BZ #10278]
25021         * posix/glob.c: Match only directories when trailing slash is present.
25022         * posix/tst-gnuglob.c (my_opendir): Do not open files.
25023         (main): Add testcase.
25025 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
25027         [BZ #15670]
25028         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
25030 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
25032         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
25033         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
25034         AUTH_DES and cindex for FIPS 140-2.
25035         (DES Encryption): Add cindex FIPS 46-3.
25037         * locale/locarchive.h (struct locarhandle): Add fname.
25038         * locale/programs/localedef.c (main): Pass ARGV[remaining]
25039         if an optional argument was specified to --list-archive,
25040         otherwise NULL.
25041         * locale/programs/locarchive.c (show_archive_content): Take new
25042         argument fname and pass it via ah.fname to open_archive.
25043         * locale/programs/localedef.h: Update decl.
25044         (open_archive): If AH->fname is non-null, open that file
25045         rather than the default file name, and don't ignore ENOENT.
25046         (create_archive): Set AH.fname to NULL.
25047         (delete_locales_from_archive): Likewise.
25048         (add_locales_to_archive): Likewise.
25049         * locale/programs/locfile.c (write_all_categories): Likewise.
25051 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
25052             Aldy Hernandez  <aldyh@redhat.com>
25054         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
25055         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
25056         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
25057         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
25058         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
25059         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
25060         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
25061         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
25062         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
25063         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
25064         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
25065         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
25066         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
25067         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
25068         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
25069         Likewise.
25070         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
25071         Likewise.
25072         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
25073         Likewise.
25074         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
25075         Likewise.
25076         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
25077         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
25078         Likewise.
25079         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
25080         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
25081         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
25082         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
25083         Likewise.
25084         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
25085         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
25086         * sysdeps/powerpc/preconfigure: Likewise.
25087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
25088         Likewise.
25089         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
25090         Replace contents of file by #include of <fenv_libc.h>.
25091         * sysdeps/powerpc/soft-fp/sfp-machine.h
25092         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
25093         and <sys/prctl.h>.
25094         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
25095         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
25096         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
25097         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
25098         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
25099         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
25100         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
25101         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
25102         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
25103         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
25104         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
25105         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
25106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25107         Allow copysignl PLT reference to be missing.
25109 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
25110             Joseph Myers  <joseph@codesourcery.com
25112         [BZ #15948]
25113         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
25114         single character.
25115         (add_to_tablewc): Assert sequence of wide characters is nonempty.
25117 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25119         * elf/tst-tls-dlinfo.c: Don't include tls.h.
25120         * elf/tst-tls1.c: Likewise.
25121         * elf/tst-tls10.h: Likewise.
25122         * elf/tst-tls14.c: Likewise.
25123         * elf/tst-tls2.c: Likewise.
25124         * elf/tst-tls3.c: Likewise.
25125         * elf/tst-tls4.c: Likewise.
25126         * elf/tst-tls5.c: Likewise.
25127         * elf/tst-tls6.c: Likewise.
25128         * elf/tst-tls7.c: Likewise.
25129         * elf/tst-tls8.c: Likewise.
25130         * elf/tst-tls9.c: Likewise.
25131         * elf/tst-tlsmod1.c: Likewise.
25132         * elf/tst-tlsmod13.c: Likewise.
25133         * elf/tst-tlsmod13a.c: Likewise.
25134         * elf/tst-tlsmod14a.c: Likewise.
25135         * elf/tst-tlsmod16a.c: Likewise.
25136         * elf/tst-tlsmod16b.c: Likewise.
25137         * elf/tst-tlsmod2.c: Likewise.
25138         * elf/tst-tlsmod3.c: Likewise.
25139         * elf/tst-tlsmod4.c: Likewise.
25140         * elf/tst-tlsmod5.c: Likewise.
25141         * elf/tst-tlsmod6.c: Likewise.
25143 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
25145         [BZ #12486]
25146         * malloc/malloc.c: remove checks for statistics.
25148 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
25150         [BZ #15277]
25151         * inet/inet_net.c (inet_network): Detect additional invalid strings.
25152         * inet/tst-network.c: Add testcase.
25154 2013-10-17  Andreas Schwab  <schwab@suse.de>
25156         [BZ #15218]
25157         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
25158         to determine canonical name.
25160 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
25162         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
25163         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
25164         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25165         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25166         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25167         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25168         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25169         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25170         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25171         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25172         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25173         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25174         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25175         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25176         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25177         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25178         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25179         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25180         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25181         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25182         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25183         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25184         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25185         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
25186         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
25187         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25188         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25189         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
25190         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25191         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
25192         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25193         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25194         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25195         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25196         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25197         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25198         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25199         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25200         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25201         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25202         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25203         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25204         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25205         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25206         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25207         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25208         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25209         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25210         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25211         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25212         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25213         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25214         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25215         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25216         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25217         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25218         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25219         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25221 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
25223         [BZ #16041]
25224         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
25225         make result into a quiet NaN.
25227 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
25229         * soft-fp/adddf3.c: Fix horizontal whitespace.
25230         * soft-fp/addsf3.c: Likewise.
25231         * soft-fp/addtf3.c: Likewise.
25232         * soft-fp/divdf3.c: Likewise.
25233         * soft-fp/divsf3.c: Likewise.
25234         * soft-fp/divtf3.c: Likewise.
25235         * soft-fp/double.h: Likewise.
25236         * soft-fp/eqdf2.c: Likewise.
25237         * soft-fp/eqsf2.c: Likewise.
25238         * soft-fp/eqtf2.c: Likewise.
25239         * soft-fp/extenddftf2.c: Likewise.
25240         * soft-fp/extended.h: Likewise.
25241         * soft-fp/extendsfdf2.c: Likewise.
25242         * soft-fp/extendsftf2.c: Likewise.
25243         * soft-fp/extendxftf2.c: Likewise.
25244         * soft-fp/fixdfdi.c: Likewise.
25245         * soft-fp/fixdfsi.c: Likewise.
25246         * soft-fp/fixdfti.c: Likewise.
25247         * soft-fp/fixsfdi.c: Likewise.
25248         * soft-fp/fixsfsi.c: Likewise.
25249         * soft-fp/fixsfti.c: Likewise.
25250         * soft-fp/fixtfdi.c: Likewise.
25251         * soft-fp/fixtfsi.c: Likewise.
25252         * soft-fp/fixtfti.c: Likewise.
25253         * soft-fp/fixunsdfdi.c: Likewise.
25254         * soft-fp/fixunsdfsi.c: Likewise.
25255         * soft-fp/fixunsdfti.c: Likewise.
25256         * soft-fp/fixunssfdi.c: Likewise.
25257         * soft-fp/fixunssfsi.c: Likewise.
25258         * soft-fp/fixunssfti.c: Likewise.
25259         * soft-fp/fixunstfdi.c: Likewise.
25260         * soft-fp/fixunstfsi.c: Likewise.
25261         * soft-fp/fixunstfti.c: Likewise.
25262         * soft-fp/floatdidf.c: Likewise.
25263         * soft-fp/floatdisf.c: Likewise.
25264         * soft-fp/floatditf.c: Likewise.
25265         * soft-fp/floatsidf.c: Likewise.
25266         * soft-fp/floatsisf.c: Likewise.
25267         * soft-fp/floatsitf.c: Likewise.
25268         * soft-fp/floattidf.c: Likewise.
25269         * soft-fp/floattisf.c: Likewise.
25270         * soft-fp/floattitf.c: Likewise.
25271         * soft-fp/floatundidf.c: Likewise.
25272         * soft-fp/floatundisf.c: Likewise.
25273         * soft-fp/floatunditf.c: Likewise.
25274         * soft-fp/floatunsidf.c: Likewise.
25275         * soft-fp/floatunsisf.c: Likewise.
25276         * soft-fp/floatunsitf.c: Likewise.
25277         * soft-fp/floatuntidf.c: Likewise.
25278         * soft-fp/floatuntisf.c: Likewise.
25279         * soft-fp/floatuntitf.c: Likewise.
25280         * soft-fp/fmadf4.c: Likewise.
25281         * soft-fp/fmasf4.c: Likewise.
25282         * soft-fp/fmatf4.c: Likewise.
25283         * soft-fp/gedf2.c: Likewise.
25284         * soft-fp/gesf2.c: Likewise.
25285         * soft-fp/getf2.c: Likewise.
25286         * soft-fp/ledf2.c: Likewise.
25287         * soft-fp/lesf2.c: Likewise.
25288         * soft-fp/letf2.c: Likewise.
25289         * soft-fp/muldf3.c: Likewise.
25290         * soft-fp/mulsf3.c: Likewise.
25291         * soft-fp/multf3.c: Likewise.
25292         * soft-fp/negdf2.c: Likewise.
25293         * soft-fp/negsf2.c: Likewise.
25294         * soft-fp/negtf2.c: Likewise.
25295         * soft-fp/op-1.h: Likewise.
25296         * soft-fp/op-2.h: Likewise.
25297         * soft-fp/op-4.h: Likewise.
25298         * soft-fp/op-8.h: Likewise.
25299         * soft-fp/op-common.h: Likewise.
25300         * soft-fp/quad.h: Likewise.
25301         * soft-fp/single.h: Likewise.
25302         * soft-fp/soft-fp.h: Likewise.
25303         * soft-fp/sqrtdf2.c: Likewise.
25304         * soft-fp/sqrtsf2.c: Likewise.
25305         * soft-fp/sqrttf2.c: Likewise.
25306         * soft-fp/subdf3.c: Likewise.
25307         * soft-fp/subsf3.c: Likewise.
25308         * soft-fp/subtf3.c: Likewise.
25309         * soft-fp/truncdfsf2.c: Likewise.
25310         * soft-fp/trunctfdf2.c: Likewise.
25311         * soft-fp/trunctfsf2.c: Likewise.
25312         * soft-fp/trunctfxf2.c: Likewise.
25313         * soft-fp/unorddf2.c: Likewise.
25314         * soft-fp/unordsf2.c: Likewise.
25315         * soft-fp/unordtf2.c: Likewise.
25317 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
25319         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
25320         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
25322 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
25324         * elf/dl-libc.c: Clear initfini list after freeing.
25326 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
25328         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
25329         * soft-fp/addsf3.c: Likewise.
25330         * soft-fp/addtf3.c: Likewise.
25331         * soft-fp/divdf3.c: Likewise.
25332         * soft-fp/divsf3.c: Likewise.
25333         * soft-fp/divtf3.c: Likewise.
25334         * soft-fp/double.h: Likewise.
25335         * soft-fp/eqdf2.c: Likewise.
25336         * soft-fp/eqsf2.c: Likewise.
25337         * soft-fp/eqtf2.c: Likewise.
25338         * soft-fp/extenddftf2.c: Likewise.
25339         * soft-fp/extended.h: Likewise.
25340         * soft-fp/extendsfdf2.c: Likewise.
25341         * soft-fp/extendsftf2.c: Likewise.
25342         * soft-fp/extendxftf2.c: Likewise.
25343         * soft-fp/fixdfdi.c: Likewise.
25344         * soft-fp/fixdfsi.c: Likewise.
25345         * soft-fp/fixdfti.c: Likewise.
25346         * soft-fp/fixsfdi.c: Likewise.
25347         * soft-fp/fixsfsi.c: Likewise.
25348         * soft-fp/fixsfti.c: Likewise.
25349         * soft-fp/fixtfdi.c: Likewise.
25350         * soft-fp/fixtfsi.c: Likewise.
25351         * soft-fp/fixtfti.c: Likewise.
25352         * soft-fp/fixunsdfdi.c: Likewise.
25353         * soft-fp/fixunsdfsi.c: Likewise.
25354         * soft-fp/fixunsdfti.c: Likewise.
25355         * soft-fp/fixunssfdi.c: Likewise.
25356         * soft-fp/fixunssfsi.c: Likewise.
25357         * soft-fp/fixunssfti.c: Likewise.
25358         * soft-fp/fixunstfdi.c: Likewise.
25359         * soft-fp/fixunstfsi.c: Likewise.
25360         * soft-fp/fixunstfti.c: Likewise.
25361         * soft-fp/floatdidf.c: Likewise.
25362         * soft-fp/floatdisf.c: Likewise.
25363         * soft-fp/floatditf.c: Likewise.
25364         * soft-fp/floatsidf.c: Likewise.
25365         * soft-fp/floatsisf.c: Likewise.
25366         * soft-fp/floatsitf.c: Likewise.
25367         * soft-fp/floattidf.c: Likewise.
25368         * soft-fp/floattisf.c: Likewise.
25369         * soft-fp/floattitf.c: Likewise.
25370         * soft-fp/floatundidf.c: Likewise.
25371         * soft-fp/floatundisf.c: Likewise.
25372         * soft-fp/floatunsidf.c: Likewise.
25373         * soft-fp/floatunsisf.c: Likewise.
25374         * soft-fp/floatuntidf.c: Likewise.
25375         * soft-fp/floatuntisf.c: Likewise.
25376         * soft-fp/floatuntitf.c: Likewise.
25377         * soft-fp/fmadf4.c: Likewise.
25378         * soft-fp/fmasf4.c: Likewise.
25379         * soft-fp/fmatf4.c: Likewise.
25380         * soft-fp/gedf2.c: Likewise.
25381         * soft-fp/gesf2.c: Likewise.
25382         * soft-fp/getf2.c: Likewise.
25383         * soft-fp/ledf2.c: Likewise.
25384         * soft-fp/lesf2.c: Likewise.
25385         * soft-fp/letf2.c: Likewise.
25386         * soft-fp/muldf3.c: Likewise.
25387         * soft-fp/mulsf3.c: Likewise.
25388         * soft-fp/multf3.c: Likewise.
25389         * soft-fp/negdf2.c: Likewise.
25390         * soft-fp/negsf2.c: Likewise.
25391         * soft-fp/negtf2.c: Likewise.
25392         * soft-fp/op-1.h: Likewise.
25393         * soft-fp/op-2.h: Likewise.
25394         * soft-fp/op-4.h: Likewise.
25395         * soft-fp/op-8.h: Likewise.
25396         * soft-fp/op-common.h: Likewise.
25397         * soft-fp/quad.h: Likewise.
25398         * soft-fp/single.h: Likewise.
25399         * soft-fp/soft-fp.h: Likewise.
25400         * soft-fp/sqrtdf2.c: Likewise.
25401         * soft-fp/sqrtsf2.c: Likewise.
25402         * soft-fp/sqrttf2.c: Likewise.
25403         * soft-fp/subdf3.c: Likewise.
25404         * soft-fp/subsf3.c: Likewise.
25405         * soft-fp/subtf3.c: Likewise.
25406         * soft-fp/truncdfsf2.c: Likewise.
25407         * soft-fp/trunctfdf2.c: Likewise.
25408         * soft-fp/trunctfsf2.c: Likewise.
25409         * soft-fp/trunctfxf2.c: Likewise.
25410         * soft-fp/unorddf2.c: Likewise.
25411         * soft-fp/unordsf2.c: Likewise.
25412         * soft-fp/unordtf2.c: Likewise.
25414 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
25416         [BZ #15672]
25417         * misc/error.c (error_tail): Fix possible buffer overflow.
25419 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
25421         [BZ #13028]
25422         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
25423         address.
25425 2013-10-14  P. J. McDermott  <pj@pehjota.net>
25427         [BZ #832]
25428         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
25429         testing pipefail option.
25431 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
25433         * soft-fp/double.h: Indent preprocessor directives inside #if.
25434         * soft-fp/extended.h: Likewise.
25435         * soft-fp/op-2.h: Likewise.
25436         * soft-fp/op-4.h: Likewise.
25437         * soft-fp/op-common.h: Likewise.
25438         * soft-fp/quad.h: Likewise.
25439         * soft-fp/single.h: Likewise.
25440         * soft-fp/soft-fp.h: Likewise.
25442 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
25444         * iconv/iconv_prog.c: Fix typos.
25445         * stdio-common/psiginfo-data.h: Likewise.
25447 2013-10-12   Reuben Thomas <rrt@sc3d.org>
25449         [BZ #15764]
25450         * locale/setlocale.c: Fix typo.
25452 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
25454         [BZ #16036]
25455         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
25456         signaling NaN arguments.
25457         * soft-fp/unordsf2.c (__unordsf2): Likewise.
25458         * soft-fp/unordtf2.c (__unordtf2): Likewise.
25460         [BZ #14910]
25461         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
25462         unordered operands.
25463         * soft-fp/gesf2.c (__gesf2): Likewise.
25464         * soft-fp/getf2.c (__getf2): Likewise.
25465         * soft-fp/ledf2.c (__ledf2): Likewise.
25466         * soft-fp/lesf2.c (__lesf2): Likewise.
25467         * soft-fp/letf2.c (__letf2): Likewise.
25469         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
25470         * soft-fp/eqsf2.c (__eqsf2): Likewise.
25471         * soft-fp/eqtf2.c (__eqtf2): Likewise.
25472         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
25473         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
25474         * soft-fp/fixdfti.c (__fixdfti): Likewise.
25475         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
25476         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
25477         * soft-fp/fixsfti.c (__fixsfti): Likewise.
25478         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
25479         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
25480         * soft-fp/fixtfti.c (__fixtfti): Likewise.
25481         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
25482         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
25483         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
25484         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
25485         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
25486         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
25487         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
25488         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
25489         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
25490         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
25491         * soft-fp/floatdisf.c (__floatdisf): Likewise.
25492         * soft-fp/floatsisf.c (__floatsisf): Likewise.
25493         * soft-fp/floattidf.c (__floattidf): Likewise.
25494         * soft-fp/floattisf.c (__floattisf): Likewise.
25495         * soft-fp/floattitf.c (__floattitf): Likewise.
25496         * soft-fp/floatundidf.c (__floatundidf): Likewise.
25497         * soft-fp/floatundisf.c (__floatundisf): Likewise.
25498         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
25499         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
25500         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
25501         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
25502         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
25503         * soft-fp/gesf2.c (__gesf2): Likewise.
25504         * soft-fp/getf2.c (__getf2): Likewise.
25505         * soft-fp/ledf2.c (__ledf2): Likewise.
25506         * soft-fp/lesf2.c (__lesf2): Likewise.
25507         * soft-fp/letf2.c (__letf2): Likewise.
25509         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
25510         Undefine and redefine.
25511         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
25512         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
25513         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
25514         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
25515         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25516         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
25517         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25518         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
25519         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25520         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
25521         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25522         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
25523         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25524         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
25525         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25527         [BZ #16032]
25528         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
25529         without decrementing exponent if mantissa >= that for the
25530         denominator, not >.
25531         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
25532         denominator, not >.  Decrement exponent in < case instead of
25533         incrementing in >= case.
25534         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
25535         without decrementing exponent if mantissa >= that for the
25536         denominator, not >.
25538         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
25539         computing saturated result for unsigned overflow.
25541 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25542             Jeff Law  <law@redhat.com>
25544         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
25545         (atan2Mp): Add systemtap probe marker.
25546         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
25547         (__ieee754_log): Add systemtap probe marker.
25548         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
25549         (atanMp): Add systemtap probe marker.
25550         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
25551         (tanMp): Add systemtap probe marker.
25552         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
25553         (__slowexp): Add systemtap probe marker.
25554         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
25555         (__slowpow): Add systemtap probe marker.
25556         * manual/probes.texi: Document probes.
25558 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
25560         [BZ #15362]
25561         * libio/fileops.c (_IO_new_file_write): Return count of bytes
25562         written.
25563         (_IO_new_file_xsputn): Don't return EOF if nothing has been
25564         written.
25565         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
25566         written to buffer but not flushed.
25567         * libio/iofwrite_u.c:  Likewise.
25568         * libio/iopadn.c:  Return bytes returned even if EOF was
25569         encountered.
25570         * libio/iowpadn.c:  Likewise.
25571         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
25572         if _IO_padn does not write the whole buffer.
25573         [!COMPILE_WPRINTF] (PAD): Likewise.
25575 2013-10-10  David S. Miller  <davem@davemloft.net>
25577         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
25578         directory block.
25580 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
25582         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
25583         instead of FSF address.
25584         * soft-fp/fixdfti.c: Likewise.
25585         * soft-fp/fixsfti.c: Likewise.
25586         * soft-fp/fixtfti.c: Likewise.
25587         * soft-fp/fixunsdfti.c: Likewise.
25588         * soft-fp/fixunssfti.c: Likewise.
25589         * soft-fp/fixunstfti.c: Likewise.
25590         * soft-fp/floattidf.c: Likewise.
25591         * soft-fp/floattisf.c: Likewise.
25592         * soft-fp/floattitf.c: Likewise.
25593         * soft-fp/floatuntidf.c: Likewise.
25594         * soft-fp/floatuntisf.c: Likewise.
25595         * soft-fp/floatuntitf.c: Likewise.
25596         * soft-fp/trunctfxf2.c: Likewise.
25598         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
25599         * soft-fp/fixdfti.c: Likewise.
25600         * soft-fp/fixsfti.c: Likewise.
25601         * soft-fp/fixtfti.c: Likewise.
25602         * soft-fp/fixunsdfti.c: Likewise.
25603         * soft-fp/fixunssfti.c: Likewise.
25604         * soft-fp/fixunstfti.c: Likewise.
25605         * soft-fp/floattidf.c: Likewise.
25606         * soft-fp/floattisf.c: Likewise.
25607         * soft-fp/floattitf.c: Likewise.
25608         * soft-fp/floatuntidf.c: Likewise.
25609         * soft-fp/floatuntisf.c: Likewise.
25610         * soft-fp/floatuntitf.c: Likewise.
25611         * soft-fp/trunctfxf2.c: Likewise.
25613 2013-10-10  David S. Miller  <davem@davemloft.net>
25615         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25617 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
25619         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25620         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
25621         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
25622         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
25623         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
25624         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
25625         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
25627         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
25628         for NaNs before doing comparisons on argument.
25629         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
25630         Likewise.
25632 2013-10-10  Will Newton  <will.newton@linaro.org>
25634         * malloc/hooks.c (memalign_check): Ensure the value of bytes
25635         passed to _int_memalign does not overflow.
25637 2013-10-10  Torvald Riegel  <triegel@redhat.com>
25639         * scripts/bench.pl: Add include-sources directive.
25640         * benchtests/README: Update documentation.
25642 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
25644         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
25645         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
25646         instead of FP_INIT_ROUNDMODE.
25647         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
25648         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
25650         [BZ #16034]
25651         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
25652         copy class of input value.
25653         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
25654         not handle exceptions.
25655         * soft-fp/negsf2.c (__negsf2): Likewise.
25656         * soft-fp/negtf2.c (__negtf2): Likewise.
25657         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
25659 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
25661         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
25662         semicolon.  From Linux kernel.
25664 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
25666         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
25668 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
25670         [BZ #156]
25671         * manual/socket.texi: Added statement about buffer
25672         for gethostbyname2_r.
25674 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
25676         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
25677         Use .p2align directive instead, throughout.
25678         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25679         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
25680         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
25681         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25682         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25683         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
25684         * sysdeps/x86_64/strchr.S: Likewise.
25685         * sysdeps/x86_64/strrchr.S: Likewise.
25687 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25689         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
25691         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
25693         * sysdeps/generic/math_private.h (__mpsin1): Remove
25694         declaration.
25695         (__mpcos1): Likewise.
25696         (__mpsin): New argument __range_reduce.
25697         (__mpcos): Likewise.
25698         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25699         (slow): Use __mpsin and __mpcos.
25700         (slow1): Likewise.
25701         (slow2): Likewise.
25702         (sloww): Likewise.
25703         (sloww1): Likewise.
25704         (sloww2): Likewise.
25705         (bsloww): Likewise.
25706         (bsloww1): Likewise.
25707         (bsloww2): Likewise.
25708         (cslow2): Likewise.
25709         (csloww): Likewise.
25710         (csloww1): Likewise.
25711         (csloww2): Likewise.
25712         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
25713         range_reduce.  Merge in __mpsin1.
25714         (__mpcos): Likewise.
25715         (__mpsin1): Remove.
25716         (__mpcos1): Likewise.
25718 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
25720         * locale/loadlocale.c (_nl_intern_locale_data): Use
25721         LOCFILE_ALIGNED_P.
25722         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
25723         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
25724         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
25725         obstack data is appropriately aligned.
25726         (obstack_int32_grow_fast): Likewise.
25727         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
25728         * locale/programs/locfile.c (add_locale_uint32): Likewise.
25729         (add_locale_uint32_array): Likewise.
25731 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
25733         * benchtests/Makefile: Remove ARGLIST and RET variables.
25734         ($(objpfx)bench-%.c): Pass only function name to the script.
25735         * benchtests/README: Update documentation.
25736         * benchtests/acos-inputs: Add new directives.
25737         * benchtests/acosh-inputs: Likewise.
25738         * benchtests/asin-inputs: Likewise.
25739         * benchtests/asinh-inputs: Likewise.
25740         * benchtests/atan-inputs: Likewise.
25741         * benchtests/atanh-inputs: Likewise.
25742         * benchtests/cos-inputs: Likewise.
25743         * benchtests/cosh-inputs: Likewise.
25744         * benchtests/exp-inputs: Likewise.
25745         * benchtests/log-inputs: Likewise.
25746         * benchtests/pow-inputs: Likewise.
25747         * benchtests/rint-inputs: Likewise.
25748         * benchtests/sin-inputs: Likewise.
25749         * benchtests/sinh-inputs: Likewise.
25750         * benchtests/tan-inputs: Likewise.
25751         * benchtests/tanh-inputs: Likewise.
25752         * scripts/bench.pl: Add support for new directives.
25754 2013-10-07  Alan Modra  <amodra@gmail.com>
25756         * README: Fix careless merge.
25758 2013-10-05  Alan Modra  <amodra@gmail.com>
25760         * NEWS: Mention powerpc64le support and bugs fixed.
25761         * README: Both big-endian and little-endian powerpc64 supported.
25763 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25765         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
25766         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
25767         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
25768         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
25770 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
25772         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
25773         match prototype.
25775 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
25777         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
25778         Move -mhard-float appending from
25779         ports/sysdeps/powerpc/powerpc32/Makefile.
25780         [$(with-fp) = yes] (ASFLAGS): Likewise.
25781         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
25782         * sysdeps/powerpc/nofpu: Move directory from
25783         ports/sysdeps/powerpc/nofpu.
25784         * sysdeps/powerpc/soft-fp: Move directory from
25785         ports/sysdeps/powerpc/soft-fp.
25786         * sysdeps/powerpc/powerpc32/405: Move directory from
25787         ports/sysdeps/powerpc/powerpc32/405.
25788         * sysdeps/powerpc/powerpc32/440: Move directory from
25789         ports/sysdeps/powerpc/powerpc32/440.
25790         * sysdeps/powerpc/powerpc32/464: Move directory from
25791         ports/sysdeps/powerpc/powerpc32/464.
25792         * sysdeps/powerpc/powerpc32/476: Move directory from
25793         ports/sysdeps/powerpc/powerpc32/476.
25794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
25795         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
25796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
25797         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
25798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
25799         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
25800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
25801         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
25802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
25803         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
25804         * README: Update for powerpc-*-linux-gnu software floating point
25805         support in libc.
25807         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
25808         case to powerpc/powerpc32*.
25809         * sysdeps/unix/sysv/linux/configure: Regenerated.
25811         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
25812         (_FPU_MASK_OM): Define as 0x04.
25813         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
25814         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
25815         0x00c10080.
25816         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
25817         0x0000003c.
25818         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
25820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
25821         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
25822         getcontext_e500.
25823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
25824         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
25825         setcontext_e500.
25826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
25827         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
25828         and setcontext_e500.
25830 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
25832         * locale/iso-3166.def: Update iso-1366.def and related occurrences
25834 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25836         * manual/threads.texi (Default Thread Attributes): Fix typo.
25838 2013-10-04  Will Newton  <will.newton@linaro.org>
25840         * malloc/Makefile: Add tst-memalign.
25841         * malloc/tst-memalign.c: New file.
25843         * malloc/tst-posix_memalign.c: Add comments.
25844         (do_test): Add comments and call free on all potentially
25845         allocated pointers. Add space after cast.
25847         * malloc/tst-pvalloc.c: Add comments.
25848         (do_test): Add comments and call free on all potentially
25849         allocated pointers. Remove duplicate check for NULL pointer.
25850         Add space after cast.
25852         * malloc/tst-valloc.c: Add comments.
25853         (do_test): Add comments and call free on all potentially
25854         allocated pointers. Remove duplicate check for NULL pointer.
25855         Add space after cast.
25857 2013-10-04  Alan Modra  <amodra@gmail.com>
25859         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25860         Use stdint types in rather than __attribute__((mode())).
25861         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25863 2013-10-04  Alan Modra  <amodra@gmail.com>
25865         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25866         Correct handling of unaligned relocs for little-endian.
25867         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25869 2013-10-04  Alan Modra  <amodra@gmail.com>
25871         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
25872         * configure: Regenerate.
25873         * nptl/shlib-versions: Powerpc*le starts at 2.18.
25874         * shlib-versions: Likewise.
25876 2013-10-04  Alan Modra  <amodra@gmail.com>
25878         * string/tester.c (test_memrchr): Increment reported test cycle.
25880 2013-10-04  Alan Modra  <amodra@gmail.com>
25882         * string/test-memcpy.c (do_one_test): When reporting errors, print
25883         string address and don't overrun end of string.
25885 2013-10-04  Alan Modra  <amodra@gmail.com>
25887         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
25888         insrdi.  Make better use of reg selection to speed exit slightly.
25889         Schedule entry path a little better.  Remove useless "are we done"
25890         checks on entry to main loop.  Handle wrapping around zero address.
25891         Correct main loop count.  Handle single left-over word from main
25892         loop inline rather than by using loop_small.  Remove extra word
25893         case in loop_small caused by wrong loop count.  Add little-endian
25894         support.
25895         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25896         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
25897         cache hint.
25898         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25899         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
25900         support.  Avoid rlwimi.
25901         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
25903 2013-10-04  Alan Modra  <amodra@gmail.com>
25905         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
25906         insrdi.  Formatting.
25907         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
25908         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25909         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
25910         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25911         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25912         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
25914 2013-10-04  Alan Modra  <amodra@gmail.com>
25916         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
25917         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25918         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
25919         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
25920         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25921         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25922         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25923         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
25924         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
25925         use of regs.  Use power7 mtocrf.  Tidy function tails.
25927 2013-10-04  Alan Modra  <amodra@gmail.com>
25929         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
25930         Formatting.  Consistently use rXXX register defines or rN defines.
25931         Use early exit labels that avoid restoring unused non-volatile regs.
25932         Make cr field use more consistent with rWORDn compares.  Rename
25933         regs used as shift registers for unaligned loop, using rN defines
25934         for short lifetime/multiple use regs.
25935         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25936         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
25937         addi 1,1,64 to pop stack frame.  Simplify return value code.
25938         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25940 2013-10-04  Alan Modra  <amodra@gmail.com>
25942         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
25943         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
25944         rather than rlwimi.
25945         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
25946         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
25947         little-endian support.  Correct typos.
25948         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
25949         rather than rlwimi.
25950         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
25951         in loop and entry code to keep "and." results.
25952         (strchr): Add little-endian support.  Comment.  Move cntlzd
25953         earlier in tail.
25954         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
25956 2013-10-04  Alan Modra  <amodra@gmail.com>
25958         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
25959         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
25960         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
25961         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
25963 2013-10-04  Alan Modra  <amodra@gmail.com>
25965         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
25966         (rTMP): Define as r11.
25967         (strcmp): Add little-endian support.  Optimise tail.
25968         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
25969         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25970         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25971         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25972         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25973         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25974         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25976 2013-10-04  Alan Modra  <amodra@gmail.com>
25978         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
25979         little-endian support.  Remove unnecessary "are we done" tests.
25980         Handle "s" wrapping around zero and extremely large "size".
25981         Correct main loop count.  Handle single left-over word from main
25982         loop inline rather than by using small_loop.  Correct comments.
25983         Delete "zero" tail, use "end_max" instead.
25984         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
25986 2013-10-04  Alan Modra  <amodra@gmail.com>
25988         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
25989         support.  Don't branch over align.
25990         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
25991         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
25992         support.  Rearrange tmp reg use to suit.  Comment.
25993         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
25995 2013-10-04  Alan Modra  <amodra@gmail.com>
25997         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
25999 2013-10-04  Alan Modra  <amodra@gmail.com>
26001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
26002         conditional form of branch and link when obtaining pc.
26003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
26005 2013-10-04  Alan Modra  <amodra@gmail.com>
26007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
26008         HIWORD/LOWORD.
26009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
26010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
26012 2013-10-04  Alan Modra  <amodra@gmail.com>
26014         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
26015         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
26016         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26017         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
26018         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26019         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26020         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
26021         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26022         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26023         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
26025 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26026             Alistair Popple <alistair@ozlabs.au.ibm.com>
26027             Alan Modra <amodra@gmail.com>
26029         [BZ #15723]
26030         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
26031         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
26032         _dl_hwcap access for little-endian.
26033         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
26034         destroy vmx regs when saving unaligned.
26035         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
26036         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
26037         destroy vmx regs when saving unaligned.
26039 2013-10-04  Alan Modra  <amodra@gmail.com>
26041         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
26042         Don't use a union to pack hi/low value.
26044 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26046         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
26047         for little-endian.
26048         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26049         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
26050         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26051         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26052         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26054 2013-10-04  Alan Modra  <amodra@gmail.com>
26056         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
26057         constants to usual value for .cst8 section, and remove redundant
26058         high address load.
26059         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
26060         constant for 0x1p52.  Load little-endian words of double from
26061         correct stack offsets.
26063 2013-10-04  Alan Modra  <amodra@gmail.com>
26065         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
26066         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
26067         words of double from correct stack offsets.
26068         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26069         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
26070         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26071         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26072         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26073         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26074         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26075         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26076         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26077         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26078         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26079         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26080         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26081         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26082         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26083         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
26084         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26086 2013-10-04  Alan Modra  <amodra@gmail.com>
26088         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
26089         64-bit int/double union.
26090         (_FPU_SETCW): Likewise.
26091         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
26092         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
26094 2013-10-04  Alan Modra  <amodra@gmail.com>
26096         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
26097         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
26099 2013-10-04  Alan Modra  <amodra@gmail.com>
26101         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
26102         use vector int constants.
26103         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
26105 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26107         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
26108         array with long long.
26109         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
26110         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
26111         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
26112         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
26113         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
26114         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
26115         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
26116         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
26117         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
26118         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
26119         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
26120         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
26121         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
26123 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26125         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
26126         (__signbit): Likewise.  Correct for little-endian.
26127         (__signbitl): Call __signbit.
26128         (lrint): Correct for little-endian.
26129         (lrintf): Call lrint.
26131 2013-10-04  Alan Modra  <amodra@gmail.com>
26133         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
26134         union 32-bit int array member with 64-bit int array.
26135         (t515, tm256): Double rather than long double.
26136         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
26138 2013-10-04  Alan Modra  <amodra@gmail.com>
26140         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
26141         Delete.
26142         (IEEE854_LONG_DOUBLE_BIAS): Delete.
26143         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
26144         version of math_ldbl.h.
26146 2013-10-04  Alan Modra  <amodra@gmail.com>
26148         [BZ #15734], [BZ #15735]
26149         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
26150         all uses of ieee875 long double macros and unions.  Simplify test
26151         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
26152         ldbl_extract_mantissa value for ix,iy exponents.  Properly
26153         normalize after ldbl_extract_mantissa, and don't add hidden bit
26154         already handled.  Don't treat low word of ieee854 mantissa like
26155         low word of IBM long double and mask off bit when testing for
26156         zero.
26157         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
26158         all uses of ieee875 long double macros and unions.  Simplify tests
26159         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
26160         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
26161         two1022, instead use their values.  Recognise that tests for large
26162         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
26163         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
26164         Rewrite all uses of ieee875 long double macros and unions.  Simplify
26165         test for 0.0L and nan.  Correct negation.
26166         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
26167         ieee875 long double macros and unions.  Correct output for large
26168         magnitude x.  Correct absolute value calculation.
26169         (__erfcl): Likewise.
26170         * math/libm-test.inc: Add tests for errors discovered in IBM long
26171         double versions of fmodl, remainderl, erfl and erfcl.
26173 2013-10-04  Alan Modra  <amodra@gmail.com>
26175         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
26176         all uses of ieee854 long double macros and unions.  Simplify tests
26177         for long doubles that are fully specified by the high double.
26178         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26179         Likewise.
26180         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
26181         Remove dead code too.
26182         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26183         (__ieee754_ynl): Likewise.
26184         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26185         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
26186         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
26187         Remove dead code too.
26188         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26189         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
26190         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
26191         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
26192         Simplify.
26193         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
26194         Simplify.
26195         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
26196         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
26197         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
26198         Comment on variable precision.
26199         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
26200         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26201         Likewise.
26202         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26203         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26204         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26205         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26206         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
26208 2013-10-04  Alan Modra  <amodra@gmail.com>
26210         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
26211         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
26212         all uses of ieee854 long double macros and unions.
26213         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
26214         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26215         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
26216         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
26217         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26218         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26219         Likewise.
26220         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
26221         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26222         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
26223         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26224         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26225         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26226         Simplify sign and nan test too.
26227         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
26228         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
26229         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
26230         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
26231         Likewise.
26232         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26233         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
26234         Likewise.
26235         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26236         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26237         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
26238         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
26239         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
26240         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
26242 2013-10-04  Alan Modra  <amodra@gmail.com>
26244         * stdio-common/printf_size.c (__printf_size): Don't use
26245         union ieee854_long_double in fpnum union.
26246         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
26247         signbit macro to retrieve sign from long double.
26248         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
26249         retrieve sign from long double.
26250         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
26251         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
26252         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
26253         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26254         * math/test-misc.c (main): Don't use union ieee854_long_double.
26256 2013-10-04  Alan Modra  <amodra@gmail.com>
26258         [BZ #15680]
26259         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
26260         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
26261         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
26262         calculation.  Remove unnecessary test for denormal exponent.
26263         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
26264         Correct handling of denormals.  Avoid undefined shift behaviour.
26265         Correct normalisation of low mantissa when low double is denormal.
26266         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
26267         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
26268         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
26269         Correct normalisation of low mantissa.  Test for overflow of high
26270         mantissa and normalise.
26271         (ldbl_nearbyint): Use more readable constant for two52.
26272         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
26273         (__mpn_construct_long_double): Fix test for overflow of high
26274         mantissa and correct normalisation.  Avoid undefined shift.
26276 2013-10-04  Alan Modra  <amodra@gmail.com>
26278         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26279         (union ibm_extended_long_double): Define as an array of ieee754_double.
26280         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
26281         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
26282         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
26283         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26284         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26285         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
26286         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26287         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26288         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26289         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
26290         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26292 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
26294         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
26295         page size instead of calling getpagesize.
26297         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
26298         (LOCFILE_ALIGN_MASK): Likewise.
26299         (LOCFILE_ALIGN_UP): Likewise.
26300         (LOCFILE_ALIGNED_P): Likewise.
26301         * locale/programs/ld-collate.c (collate_output): Use the new
26302         macros instead of __alignof__ (int32_t).
26303         * locale/weight.h (findidx): Likewise.
26305 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
26307         [BZ #431]
26308         * manual/string.texi: Fix strncat and wcsncat.
26310 2013-10-03  Brooks Moses  <bmoses@google.com>
26312         [BZ #15915]
26313         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
26314         * Makerules: ...here, and adjust associated comments.
26316 2013-10-02  Will Newton  <will.newton@linaro.org>
26318         * malloc/Makefile: Add tst-pvalloc.
26319         * malloc/tst-pvalloc.c: New file.
26321 2013-10-02  Will Newton  <will.newton@linaro.org>
26323         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
26324         improve test coverage.
26326 2013-10-02  Will Newton  <will.newton@linaro.org>
26328         * malloc/Makefile: Add tst-posix_memalign.
26329         * malloc/tst-posix_memalign.c: New file.
26331 2013-10-01  Eric Blake  <eblake@redhat.com>
26333         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
26334         Use __THROWNL rather than __THROW on static functions.
26336 2013-09-30  Petr Machata  <pmachata@redhat.com>
26338         * elf/elf.h (R_AARCH64_ABS16): New macro.
26339         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
26340         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
26341         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
26342         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
26343         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
26344         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
26345         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
26346         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
26347         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
26348         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
26349         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
26350         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
26351         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
26352         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
26353         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
26354         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
26355         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
26356         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
26357         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
26358         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
26359         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
26360         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
26361         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
26362         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
26363         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
26364         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
26365         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
26366         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
26367         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
26368         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
26369         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
26370         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
26371         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
26372         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
26373         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
26374         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
26375         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
26376         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
26377         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
26378         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
26379         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
26380         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
26381         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
26382         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
26383         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
26384         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
26385         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
26386         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
26387         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
26388         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
26389         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
26390         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
26391         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
26392         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
26393         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
26394         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
26395         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
26396         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
26397         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
26398         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
26399         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
26400         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
26401         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
26402         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
26403         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
26404         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
26405         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
26406         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
26407         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
26408         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
26409         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
26410         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
26411         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
26412         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
26413         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
26414         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
26415         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
26416         (R_AARCH64_TLSDESC_LDR): Likewise.
26417         (R_AARCH64_TLSDESC_ADD): Likewise.
26418         (R_AARCH64_TLSDESC_CALL): Likewise.
26420 2013-09-30  Andreas Schwab  <schwab@suse.de>
26422         [BZ #15048]
26423         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
26424         the nss database lookup.
26425         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26426         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26428 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
26430         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
26432 2013-09-28  P. J. McDermott  <pj@pehjota.net>
26434         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
26435         ${Bash-specific parameter/pattern/string} parameter expansion.
26436         * sysdeps/unix/make-syscalls.sh: Likewise.
26438 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26440         * sysdeps/sh/stackguard-macros.h: New file.
26442 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
26444         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26445         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
26446         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
26447         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
26448         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26449         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
26451 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26453         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
26454         Fix thread ID register.
26456 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
26458         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
26459         [POSIX || UNIX98]: Require rather than permitting all symbols from
26460         <time.h>.
26461         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
26462         element of struct sched_param.
26463         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
26464         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
26465         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
26466         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
26467         constant.
26469 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
26471         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
26472         argument calculation.
26474 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
26476         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
26477         Expect macro.
26478         [POSIX] (pthread_attr_t): Do not require type.
26479         [POSIX] (pthread_cond_t): Likewise.
26480         [POSIX] (pthread_condattr_t): Likewise.
26481         [POSIX] (pthread_key_t): Likewise.
26482         [POSIX] (pthread_mutex_t): Likewise.
26483         [POSIX] (pthread_mutexattr_t): Likewise.
26484         [POSIX] (pthread_once_t): Likewise.
26485         [POSIX] (pthread_t): Likewise.
26486         [POSIX-based standards] (pthread_atfork): Expect function.
26488 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
26489             Richard Sandiford  <richard@codesourcery.com>
26491         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
26492         (swap_endianness_p): New extern variable.
26493         (set_big_endian): New inline function.
26494         (maybe_swap_uint32): Likewise.
26495         (maybe_swap_uint32_array): Likewise.
26496         (maybe_swap_uint32_obstack): Likewise.
26497         * locale/programs/locfile.c: Include <stdbool.h>.
26498         (swap_endianness_p): New variable.
26499         (add_locale_uint32): Call maybe_swap_uint32.
26500         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
26501         (write_locale_data): Call maybe_swap_uint32_array.
26502         * locale/programs/ld-collate.c (obstack_int32_grow): Call
26503         maybe_swap_uint32.
26504         (obstack_int32_grow_fast): Likewise.
26505         (output_weightwc): Call maybe_swap_uint32_obstack.
26506         (collate_output): Likewise.
26507         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
26508         (OPT_LITTLE_ENDIAN): Likewise.
26509         (options): Add --little-endian and --big-endian options.
26510         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
26511         * locale/programs/locarchive.c: Include "locfile.h".
26512         (GET): New macro.
26513         (SET): Likewise.
26514         (INC): Likewise.
26515         (create_archive): Use the new macros to access fields of
26516         structures directly mapped from or written to locale archives.
26517         (oldlocrecentcmp): Likewise.
26518         (enlarge_archive): Likewise.
26519         (insert_name): Likewise.
26520         (add_alias): Likewise.
26521         (add_locale): Likewise.
26522         (delete_locales_from_archive): Likewise.
26523         (show_archive_content): Likewise.
26524         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
26525         locale data.
26527 2013-09-24  Roland McGrath  <roland@hack.frob.com>
26529         * manual/freemanuals.texi: Updated from (newly) canonical copy at
26530         http://www.gnu.org/doc/freemanuals.texi.
26531         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
26533 2013-09-24  Will Newton  <will.newton@linaro.org>
26535         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
26536         macro.
26538 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
26540         * locale/hashval.h (compute_hashval): Interpret bytes of key as
26541         unsigned char.
26543 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
26545         * manual/threads.texi (POSIX Threads): Fix a typo.
26547 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26549         [BZ #14547]
26550         * string/tst-strcoll-overflow.c: New test case.
26551         * string/Makefile (xtests): Add tst-strcoll-overflow.
26552         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
26553         cache if string sizes may cause integer overflow.
26555         [BZ #14547]
26556         * string/strcoll_l.c (coll_seq): New members rule, idx,
26557         save_idx and back_us.
26558         (get_next_seq_nocache): New function.
26559         (do_compare_nocache): New function.
26560         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
26561         when malloc fails.
26563 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
26565         [BZ #15754]
26566         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
26567         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
26568         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
26570         [BZ #15754]
26571         * elf/Makefile (tests): Add tst-ptrguard1.
26572         (tests-static): Add tst-ptrguard1-static.
26573         (tst-ptrguard1-ARGS): Define.
26574         (tst-ptrguard1-static-ARGS): Define.
26575         * elf/tst-ptrguard1.c: New file.
26576         * elf/tst-ptrguard1-static.c: New file.
26577         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
26578         * sysdeps/i386/stackguard-macros.h: Likewise.
26579         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26580         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26581         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26582         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26583         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26584         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26586 2013-09-23  Hector Marco  <hecmargi@upv.es>
26587             Ismael Ripoll  <iripoll@disca.upv.es>
26588             Carlos O'Donell  <carlos@redhat.com>
26590         [BZ #15754]
26591         * sysdeps/generic/stackguard-macros.h: Define
26592         __pointer_chk_guard_local and POINTER_CHK_GUARD.
26593         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
26594         Define __pointer_chk_guard_local.
26595         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
26596         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
26598 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
26600         [BZ #15859]
26601         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
26603 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
26605         * include/string.h (__ffs): Declare as hidden.
26606         * string/ffs.c (__ffs): Define as hidden.
26607         * sysdeps/i386/ffs.c (__ffs): Likewise.
26608         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
26609         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
26610         * sysdeps/s390/ffs.c (__ffs): Likewise.
26611         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
26613 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
26615         * NEWS: Mention malloc probes.
26617         * malloc/arena.c (new_heap): New memory_heap_new probe.
26618         (grow_heap): New memory_heap_more probe.
26619         (shrink_heap): New memory_heap_less probe.
26620         (heap_trim): New memory_heap_free probe.
26621         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
26622         (systrim): New memory_sbrk_less probe.
26623         * manual/probes.texi: Document them.
26625         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
26626         * manual/probes.texi: Document it.
26628         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
26629         (__libc_realloc): Add memory_realloc_retry probe.
26630         (__libc_memalign): Add memory_memalign_retry probe.
26631         (__libc_valloc): Add memory_valloc_retry probe.
26632         (__libc_pvalloc): Add memory_pvalloc_retry probe.
26633         (__libc_calloc): Add memory_calloc_retry probe.
26634         * manual/probes.texi: Document them.
26636         * malloc/arena.c (get_free_list): Add probe
26637         memory_arena_reuse_free_list.
26638         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
26639         and memory_arena_reuse.
26640         (arena_get2) [!PER_THREAD]: Likewise.
26641         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
26642         memory_arena_reuse_realloc.
26643         * manual/probes.texi: Document them.
26645         * malloc/malloc.c (__libc_free): Add
26646         memory_mallopt_free_dyn_thresholds probe.
26647         (__libc_mallopt): Add multiple memory_mallopt probes.
26648         * manual/probes.texi: Document them.
26650         * malloc/malloc.c: Include stap-probe.h.
26651         (__libc_mallopt): Add memory_mallopt probe.
26652         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
26653         * manual/probes.texi: New.
26654         * manual/Makefile (chapters): Add probes.
26655         * manual/threads.texi: Set next node.
26657 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
26659         [BZ #15963, #13985]
26660         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
26661         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
26662         Add `Chinese' to `nan' entry name.
26664 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26666         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
26667         (POLYNOMIAL): Likewise.
26668         (TAYLOR_SINCOS): Likewise.
26669         (TAYLOR_SLOW): Likewise.
26670         (__sin): Use TAYLOR_SINCOS.
26671         (__cos): Likewise.
26672         (slow): Use TAYLOR_SLOW.
26673         (sloww): Likewise.
26674         (bsloww): Likewise.
26675         (csloww): Likewise.
26677 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26679         * stdlib/strtod_l.c: Fix buffer overrun.
26681 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26683         * benchtests/Makefile (bench): Add sincos.
26684         * benchtests/bench-sincos.c: New file.
26686         * math/libm-test.inc (cos_test_data): New test inputs.
26687         (sin_test_data): Likewise.
26689         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
26690         macro.
26691         (__sin): Use it.
26692         (__cos): Likewise.
26693         (slow1): Likewise.
26694         (slow2): Likewise.
26695         (sloww1): Likewise.
26696         (sloww2): Likewise.
26697         (bsloww1): Likewise.
26698         (bsloww2): Likewise.
26699         (cslow2): Likewise.
26700         (csloww1): Likewise.
26701         (csloww2): Likewise.
26703         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
26704         function.
26705         (__sin): Use it.
26706         (__cos): Likewise.
26708         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
26709         gotos.
26710         (__cos): Likewise.
26712 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
26714         * config.h.in (HAVE_MIPS_NAN2008): New macro.
26715         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
26716         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
26717         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
26718         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
26719         * elf/cache.c (print_entry): Handle the new cache flags.
26721 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
26722             Aldy Hernandez  <aldyh@redhat.com>
26724         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
26725         Change condition to [_SOFT_FLOAT].
26726         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
26727         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
26728         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
26729         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
26730         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
26731         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
26732         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
26733         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
26734         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
26735         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
26736         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
26737         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
26738         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
26739         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
26740         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
26741         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
26742         declaration.
26744 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
26746         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
26747         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
26748         (__longjmp): Use LOAD_GP to load saved GPRs.
26749         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
26750         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
26751         (__sigsetjmp): Use SAVE_GP to save GPRs.
26753         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
26754         Do not append -msoft-float.
26755         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
26757 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26759         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
26761 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
26763         [BZ #15966]
26764         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
26765         (_FPU_GETCW): Use initial "__" on variable and field names but not
26766         on macro parameter name.
26767         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
26768         parentheses around reference to macro parameter.
26770 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
26772         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
26773         prototype.
26774         (ctype_startup): Use uint32_t in cast and sizeof for
26775         ctype->charnames.
26777 2013-09-11  Jia Liu  <proljc@gmail.com>
26779         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
26780         __daddr_t_defined.
26781         [__FreeBSD__]: Likewise.
26783 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
26785         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
26786         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
26787         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
26788         (strchr): Remove __strchr_sse42 ifunc selection.
26789         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
26790         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
26792 2013-09-11  Will Newton  <will.newton@linaro.org>
26794         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
26795         parameter to RES. Remove hardcoded 1000 value.
26796         * benchtests/bench-skeleton.c (main): Pass RES parameter
26797         to TIMING_INIT and multiply result by 1000.
26799 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26801         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26803 2013-09-11  Andreas Schwab  <schwab@suse.de>
26805         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
26806         if not defined.
26807         (O_TMPFILE) [__USE_GNU]: Define.
26808         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
26809         Define.
26811 2013-09-11  Will Newton  <will.newton@linaro.org>
26813         [BZ #15857]
26814         * malloc/malloc.c (__libc_memalign): Check the value of bytes
26815         does not overflow.
26817 2013-09-11  Will Newton  <will.newton@linaro.org>
26819         [BZ #15856]
26820         * malloc/malloc.c (__libc_valloc): Check the value of bytes
26821         does not overflow.
26823 2013-09-11  Will Newton  <will.newton@linaro.org>
26825         [BZ #15855]
26826         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
26827         does not overflow.
26829 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
26831         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
26832         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26833         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26834         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26835         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26837 2013-09-10  Allan McRae  <allan@archlinux.org>
26839         [BZ #15748]
26840         * manual/arith.texi (Parsing of Floats): Clarify
26841         cross-reference.
26843         [BZ #15849]
26844         * manual/install.texi (Running make install): Mention
26845         --enable-pt-chown.
26846         * INSTALL: Regenerated.
26848 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
26850         * csu/init-first.c (_init): Remove the !SHARED condition around
26851         FPU control word initialization.
26852         * elf/dl-support.c (_dl_fpu_control): New variable.
26853         (_dl_aux_init) <AT_FPUCW>: Initialize it.
26854         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
26855         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
26856         * math/test-fpucw-static.c: New file.
26857         * math/test-fpucw-ieee.c: New file.
26858         * math/test-fpucw-ieee-static.c: New file.
26859         * math/Makefile (tests): Add `test-fpucw-ieee' and
26860         `$(tests-static)'.
26861         (tests-static): New variable.
26862         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
26863         dependency to...
26864         [($(build-shared),yes)]
26865         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
26866         ... this.
26867         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
26868         New dependency.
26870 2013-09-09  Allan McRae  <allan@archlinux.org>
26872         [BZ #15939]
26873         * manual/string.texi (Collation Functions): Fix typo in
26874         strcoll example.
26875         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
26877         [BZ #15893]
26878         * stdlib/isomac.c (get_null_defines): Fix memory leak.
26880         [BZ #15892]
26881         * libio/memstream.c (open_memstream): Fix memory leak.
26882         * libio/wmemstream.c (open_wmemstream): Likewise.
26884         [BZ #15895]
26885         * nscd/netgroupcache.c: Fix nesting of ifdefs.
26887 2013-09-09  Will Newton  <will.newton@linaro.org>
26889         * malloc/Makefile: Add tst-realloc to tests.
26890         * malloc/tst-realloc.c: New file.
26892 2013-09-09  Allan McRae  <allan@archlinux.org>
26894         [BZ #15844]
26895         * COPYING: Update from GNU website to fix FSF address.
26896         * COPYING.LIB: Likewise.
26898 2013-09-06  David S. Miller  <davem@davemloft.net>
26900         * po/zh_TW.po: Update Chinese (traditional) translation from
26901         translation project.
26903 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
26904             Joseph Myers  <joseph@codesourcery.com>
26906         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
26907         "localeinfo.h".
26908         (obstack_chunk_alloc): New macro.
26909         (obstack_chunk_free): Likewise.
26910         (record_offset): New function.
26911         (init_locale_data): Likewise.
26912         (align_locale_data): Likewise.
26913         (add_locale_empty): Likewise.
26914         (add_locale_raw_data): Likewise.
26915         (add_locale_raw_obstack): Likewise.
26916         (add_locale_string): Likewise.
26917         (add_locale_wstring): Likewise.
26918         (add_locale_uint32): Likewise.
26919         (add_locale_uint32_array): Likewise.
26920         (add_locale_char): Likewise.
26921         (start_locale_structure): Likewise.
26922         (end_locale_structure): Likewise.
26923         (start_locale_prelude): Likewise.
26924         (end_locale_prelude): Likewise.
26925         (write_locale_data): Take locale_file structure rather than an
26926         iovec.
26927         * locale/programs/locfile.h: Include "obstack.h".
26928         (struct locale_file): Change to store locale file contents instead
26929         of header.
26930         (init_locale_data): New prototype.
26931         (align_locale_data): Likewise.
26932         (add_locale_empty): Likewise.
26933         (add_locale_raw_data): Likewise.
26934         (add_locale_raw_obstack): Likewise.
26935         (add_locale_string): Likewise.
26936         (add_locale_wstring): Likewise.
26937         (add_locale_uint32): Likewise.
26938         (add_locale_uint32_array): Likewise.
26939         (add_locale_char): Likewise.
26940         (start_locale_structure): Likewise.
26941         (end_locale_structure): Likewise.
26942         (start_locale_prelude): Likewise.
26943         (end_locale_prelude): Likewise.
26944         (write_locale_data): Update prototype.
26945         * locale/programs/3level.h (struct TABLE): Remove result field.
26946         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
26947         Use new locale_file interface.
26948         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
26949         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
26950         * locale/programs/ld-address.c (address_output): Use new
26951         locale_file interface.
26952         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
26953         NO_ADD_LOCALE.
26954         (collate_finish): Don't call collseq_table_finalize.
26955         (collate_output): Use new locale_file interface.
26956         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
26957         in file.
26958         (NO_FINALIZE): Change to NO_ADD_LOCALE.
26959         (TABLE): Move defines earlier in file.
26960         (ELEMENT): Likewise.
26961         (DEFAULT): Likewise.
26962         (wctrans_table_add): Move macro and inline function earlier in
26963         file.
26964         (struct wctype_table): Move type earlier in file.
26965         (add_locale_wctype_table): New static prototype.
26966         (struct locale_ctype_t): Use logical types instead of struct iovec
26967         pointers for members.
26968         (ctype_output): Use new locale_file interface.
26969         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
26970         new locale_file interface.
26971         (allocate_arrays): Update for use of new locale_file interface.
26972         * locale/programs/ld-identification.c (identification_output): Use
26973         new locale_file interface.
26974         * locale/programs/ld-measurement.c (measurement_output): Likewise.
26975         * locale/programs/ld-messages.c (messages_output): Likewise.
26976         * locale/programs/ld-monetary.c (monetary_output): Likewise.
26977         * locale/programs/ld-name.c (name_output): Likewise.
26978         * locale/programs/ld-numeric.c (numeric_output): Likewise.
26979         * locale/programs/ld-paper.c (paper_output): Likewise.
26980         * locale/programs/ld-telephone.c (telephone_output): Likewise.
26981         * locale/programs/ld-time.c (time_output): Likewise.
26983 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26985         * benchtests/Makefile: Add memrchr benchmark.
26986         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
26987         benchmark as memrchr.
26988         * benchtests/bench-memrchr-ifunc.c: New file.
26989         * benchtests/bench-memrchr.c: New file.
26991 2013-09-06   Will Newton  <will.newton@linaro.org>
26993         * benchtests/Makefile (string-bench): Add memcpy.
26995 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
26996             Cong Wang  <amwang@redhat.com>
26998         [BZ #15850]
26999         * sysdeps/unix/sysv/linux/bits/in.h
27000         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
27001         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
27002         before __USE_KERNEL_IPV6_DEFS uses.
27003         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
27004         IPPROTO_BEETPH.
27005         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
27006         sockaddr_in6, or ipv6_mreq.
27008 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27010         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
27011         memory access for final bytes in some large inputs.
27012         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
27014 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27016         * string/test-memrchr.c: New file.
27017         * string/test-memrchr-ifunc.c: New file.
27018         * string/Makefile: Add new memrchr testcase.
27020 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
27022         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
27023         fanotify_init returns EPERM.
27025 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
27027         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
27028         errors.
27029         (top level): Treat second token from macro or constant entries for
27030         allowed headers as allowed.
27031         * include/complex.h: Condition internal declarations on
27032         [!_ISOMAC].
27033         * include/fenv.h: Condition include of <stdbool.h> and internal
27034         declarations on [!_ISOMAC].
27036 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
27038         [BZ #15923]
27039         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
27041 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
27043         * configure.in (--enable-versioning): Remove configure option.
27044         (libc_cv_asm_symver_directive): Remove configure test.
27045         (libc_cv_ld_version_script_option): Likewise.
27046         (VERSIONING): Remove variable and AC_SUBST.
27047         (DO_VERSIONING): Remove AC_DEFINE.
27048         * configure: Regenerated.
27049         * config.h.in (DO_VERSIONING): Remove macro.
27050         * Makerules [$(versioning) = yes]: Change conditionals to
27051         [$(build-shared) = yes].
27052         * config.make.in (versioning): Remove variable.
27053         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
27054         [$(build-shared) = yes].
27055         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
27056         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
27057         * elf/Makefile [$(versioning) = yes]: Change conditionals to
27058         [$(build-shared) = yes].
27059         * extra-lib.mk [$(versioning) = yes]: Likewise.
27060         * hurd/Makefile [$(versioning) = yes]: Likewise.
27061         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
27062         [SHARED].
27063         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
27064         [SHARED].
27065         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27066         [SHARED && !NO_HIDDEN].
27067         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
27068         [SHARED].
27069         [SHARED && DO_VERSIONING]: Likewise..
27070         * libio/Makefile [$(versioning) = yes]: Change conditionals to
27071         [$(build-shared) = yes].
27072         * manual/install.texi (--disable-versioning): Remove
27073         documentation.
27074         * INSTALL: Regenerated.
27075         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
27076         to [SHARED].
27077         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
27078         [$(build-shared) = yes].
27079         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
27080         * sysdeps/i386/i686/multiarch/strstr-c.c
27081         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27082         [SHARED && !NO_HIDDEN].
27083         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
27084         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
27085         * sysdeps/powerpc/powerpc32/dl-machine.c
27086         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
27087         * sysdeps/powerpc/powerpc32/sysdep.h
27088         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
27089         to [SHARED && PIC && !NO_HIDDEN].
27090         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
27091         conditional to [SHARED].
27093 2013-09-04   Will Newton  <will.newton@linaro.org>
27095         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
27096         * benchtests/bench-string.h: Include bench-timing.h instead
27097         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
27098         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
27099         call to HP_TIMING_DIFF_INIT.
27100         * benchtests/bench-memccpy.c: Use bench-timing.h macros
27101         instead of hp-timing.h macros.
27102         * benchtests/bench-memchr.c: Likewise.
27103         * benchtests/bench-memcmp.c: Likewise.
27104         * benchtests/bench-memcpy.c: Likewise.
27105         * benchtests/bench-memmem.c: Likewise.
27106         * benchtests/bench-memmove.c: Likewise.
27107         * benchtests/bench-memset.c: Likewise.
27108         * benchtests/bench-rawmemchr.c: Likewise.
27109         * benchtests/bench-strcasecmp.c: Likewise.
27110         * benchtests/bench-strcasestr.c: Likewise.
27111         * benchtests/bench-strcat.c: Likewise.
27112         * benchtests/bench-strchr.c: Likewise.
27113         * benchtests/bench-strcmp.c: Likewise.
27114         * benchtests/bench-strcpy.c: Likewise.
27115         * benchtests/bench-strcpy_chk.c: Likewise.
27116         * benchtests/bench-strlen.c: Likewise.
27117         * benchtests/bench-strncasecmp.c: Likewise.
27118         * benchtests/bench-strncat.c: Likewise.
27119         * benchtests/bench-strncmp.c: Likewise.
27120         * benchtests/bench-strncpy.c: Likewise.
27121         * benchtests/bench-strnlen.c: Likewise.
27122         * benchtests/bench-strpbrk.c: Likewise.
27123         * benchtests/bench-strrchr.c: Likewise.
27124         * benchtests/bench-strspn.c: Likewise.
27125         * benchtests/bench-strstr.c: Likewise.
27127 2013-09-04  Will Newton  <will.newton@linaro.org>
27129         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
27131 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
27133         [BZ #15427]
27134         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27135         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
27136         * math/libm-test.inc (lgamma_test_data): Add more tests.
27137         * sysdeps/i386/fpu/libm-test-ulps: Update.
27138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27140 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
27142         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
27143         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27144         Add ifunc.
27145         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27146         Add strcmp-sse2-unaligned
27147         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
27149 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
27151         * Versions.def (libc): Add GLIBC_2.19.
27153 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
27155         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
27156         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
27158 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
27160         [BZ #14155]
27161         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
27162         intermediate calculations in recurrence.
27163         (__ieee754_ynf): Likewise.
27164         * math/libm-test.inc (jn_test_data): Do not allow spurious
27165         underflow exception.  Add more tests.
27166         (yn_test_data): Add more tests.
27167         * sysdeps/i386/fpu/libm-test-ulps: Update.
27168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27170 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
27172         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
27174 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
27176         * csu/init-first.c: Fix then/than typos.
27177         * locale/programs/ld-collate.c: Likewise.
27178         * locale/programs/linereader.h: Likewise.
27179         * manual/charset.texi: Likewise.
27180         * manual/filesys.texi: Likewise.
27181         * manual/stdio.texi: Likewise.
27182         * manual/string.texi: Likewise.
27183         * stdlib/fmtmsg.c: Likewise.
27184         * sysdeps/i386/stpncpy.S: Likewise.
27185         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27186         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27187         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27188         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27190 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
27192         * elf/dl-open.c: Fix typos.
27193         * iconvdata/gbbig5.c: Likewise.
27194         * iconvdata/iso-2022-jp.c: Likewise.
27195         * iconv/gconv_int.h: Likewise.
27196         * iconv/loop.c: Likewise.
27197         * nis/rpcsvc/nis.h: Likewise.
27198         * resolv/ns_name.c: Likewise.
27199         * stdio-common/vfscanf.c: Likewise.
27200         * streams/stropts.h: Likewise.
27201         * sunrpc/rpc_thread.c: Likewise.
27202         * sysdeps/i386/strpbrk.S: Likewise.
27203         * sysdeps/ieee754/k_standard.c: Likewise.
27204         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27205         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27206         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
27207         * sysdeps/mach/hurd/profil.c: Likewise.
27208         * sysdeps/s390/dl-procinfo.h: Likewise.
27209         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
27210         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27211         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
27212         * sysdeps/x86_64/dl-trampoline.S: Likewise.
27213         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27215 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
27217         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
27218         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
27220 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
27222         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
27223         aix specific files.
27224         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
27225         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
27226         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
27227         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
27228         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
27229         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
27230         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
27231         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
27233 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
27234             Roland McGrath  <roland@hack.frob.com>
27236         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
27237         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
27239 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27241         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
27242         __executable_start symbol instead of _start.
27244 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
27246         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
27247         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
27248         Move macros to...
27249         * sysdeps/gnu/ldsodefs.h: ... this new file.
27251         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
27252         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
27253         instead of ELFOSABI_LINUX.
27255         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
27256         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
27257         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
27258         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
27259         Likewise.
27260         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
27261         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
27262         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
27263         Likewise.
27264         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27265         (ibm_extended_long_double): Add ieee_nan member.
27266         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
27267         (do_test): New function.
27269         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
27270         TEST_TRUNC.
27271         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
27272         functions, renamed from truncdfsf_test, trunctfsf_test,
27273         trunctfdf_test.
27274         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
27275         functions.
27276         (do_test): Run all these.
27278 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
27280         * argp/argp-help.c: Fix typos.
27281         * argp/argp-parse.c: Likewise.
27282         * debug/backtracesyms.c: Likewise.
27283         * elf/elf.h: Likewise.
27284         * malloc/malloc.c: Likewise.
27285         * nis/nis_print.c: Likewise.
27286         * resolv/res_comp.c: Likewise.
27287         * stdlib/stdlib.h: Likewise.
27288         * sunrpc/clnt_tcp.c: Likewise.
27289         * sunrpc/clnt_udp.c: Likewise.
27290         * sunrpc/clnt_unix.c: Likewise.
27291         * sysdeps/unix/bsd/ptsname.c: Likewise.
27292         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27293         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
27294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
27295         Likewise.
27296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
27297         Likewise.
27298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27299         Likewise.
27300         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27302 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27304         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
27305         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27307 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
27309         [BZ #15897]
27310         * dlfcn/Makefile (tests): Add bug-dl-leaf.
27311         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
27312         ($(objpfx)bug-dl-leaf): New rule.
27313         ($(objpfx)bug-dl-leaf.so): Likewise.
27314         ($(objpfx)bug-dl-leaf.out): Likewise.
27315         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
27316         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
27317         * dlfcn/bug-dl-leaf.c: New test.
27318         * dlfcn/bug-dl-leaf-lib.c: Likewise.
27319         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
27320         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
27321         (dlclose): Likewise.
27322         (dlmopen): Likewise.
27324 2013-08-27  Roland McGrath  <roland@hack.frob.com>
27326         * include/netdb.h [!_ISOMAC]:
27327         Don't include <tls.h>.
27328         (h_errno, __libc_h_errno): Move declaration and macros out of
27329         [_LIBC_REENTRANT].
27331         * include/resolv.h [_RESOLV_H_]:
27332         Don't include <tls.h>.
27333         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
27334         * resolv/res_libc.c: Don't include <tls.h>.
27335         (_res): Use __attribute__ ((nocommon)) in place of
27336         __attribute__ ((section (".bss"))).
27338         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
27339         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
27341         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
27343         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
27344         only under [SIOCGIFCONF && SIOCGIFNETMASK].
27346         * resolv/res_mkquery.c: Include <sys/time.h>.
27348         * inet/ifreq.c: Moved to ...
27349         * sysdeps/unix/ifreq.c: ... here.
27350         * inet/ifreq.c: New file, true stub version.
27352         * socket/sa_len.c: New file.
27353         * socket/Makefile (aux): Add it.
27354         * sysdeps/unix/sysv/linux/Makefile
27355         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
27356         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
27357         and #include <socket/sa_len.c>.
27358         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
27359         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
27361         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
27362         * bits/socket.h: ... here.
27364         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
27365         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
27366         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
27368 2013-08-27  Andreas Schwab  <schwab@suse.de>
27370         [BZ #15736]
27371         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
27372         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
27373         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
27374         * string/test-strcasecmp.c (test_main): Run tests in several
27375         locales.
27376         * string/test-strncasecmp.c (test_main): Likewise.
27378         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
27379         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
27380         to __strcasecmp_nonascii and __strncasecmp_nonascii.
27381         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
27382         (__strncasecmp_ssse3) [PIC]: Likewise.
27384 2013-08-26  Roland McGrath  <roland@hack.frob.com>
27386         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
27388         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
27389         instead of explicitly declaring xdecrypt.
27390         * nis/nss_nis/nis-publickey.c: Likewise.
27392 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27394         [BZ #15890]
27395         * nscd/aicache.c: Include res_hconf.h.
27396         (addhstaiX): Initialize res_hconf.
27398 2013-08-26  Andreas Schwab  <schwab@suse.de>
27400         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
27401         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
27403 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27405         * nscd/aicache.c (addhstaiX): Fix indentation.
27407 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
27409         * configure.ac: Quote $build_pt_chown test.
27410         * configure: Regenerated.
27412 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
27414         [BZ #15532]
27415         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
27416         * math/s_cexpf.c (__cexpf): Likewise.
27417         * math/s_cexpl.c (__cexpl): Likewise.
27418         * math/libm-test.inc (cexp_test_data): Correct expected return
27419         value for NaN + i0.  Add another test.
27421 2013-08-22  David S. Miller  <davem@davemloft.net>
27423         * po/ca.po: Update Catalan translation from translation project.
27424         * po/uk.po: Add Ukrainian translations from translation project.
27426 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
27428         [BZ #15797]
27429         * math/s_fdim.c (__fdim): Check for infinite arguments if result
27430         is infinite, not alongside NaN test.
27431         * math/s_fdimf.c (__fdimf): Likewise.
27432         * math/s_fdiml.c (__fdiml): Likewise.
27433         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
27434         errno is unchanged.
27436 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
27438         * argp/argp-help.c: Fix typos.
27439         * crypt/speeds.c: Likewise.
27440         * csu/check_fds.c: Likewise.
27441         * elf/dl-load.c: Likewise.
27442         * elf/dl-open.c: Likewise.
27443         * elf/reldep3.c: Likewise.
27444         * elf/reldep.c: Likewise.
27445         * elf/sprof.c: Likewise.
27446         * iconv/iconv_charmap.c: Likewise.
27447         * iconv/skeleton.c: Likewise.
27448         * iconv/strtab.c: Likewise.
27449         * io/lockf64.c: Likewise.
27450         * libio/libioP.h: Likewise.
27451         * resolv/gai_notify.c: Likewise.
27452         * resolv/ns_name.c: Likewise.
27453         * resolv/ns_samedomain.c: Likewise.
27454         * resolv/res_send.c: Likewise.
27455         * stdlib/random.c: Likewise.
27456         * sunrpc/rpc/xdr.h: Likewise.
27457         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
27458         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27459         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27460         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27461         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27462         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27463         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27464         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27465         * sysdeps/mach/hurd/check_fds.c: Likewise.
27466         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27467         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27468         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27469         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27470         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27471         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27472         * sysdeps/pthread/aio_notify.c: Likewise.
27473         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
27474         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
27475         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
27476         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27477         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27479 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27481         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
27482         version if bit_Slow_SSE4_2 is set.
27483         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27484         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27486 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27488         [BZ #15867]
27489         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
27490         trampoline stack frame information.
27491         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
27492         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
27493         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
27494         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
27495         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
27496         * sysdeps/unix/sysv/linux/powerpc/init-first.c
27497         (_libc_vdso_platform_setup): Initialize the signal trampolines.
27498         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
27499         sa_flags value.
27500         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
27501         interrupting a syscall and set with option SA_SIGINFO.
27503 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
27505         [BZ #15531]
27506         * math/s_cproj.c (__cproj): Only return an infinity if one part of
27507         argument is infinite.
27508         * math/s_cprojf.c (__cprojf): Likewise.
27509         * math/s_cprojl.c (__cprojl): Likewise.
27510         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
27511         * math/libm-test.inc (cproj_test_data): Add more tests.
27513         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
27515         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
27516         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
27517         size.  Use __ffs to determine corresponding shift.
27519 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
27520             Roland McGrath  <roland@hack.frob.com>
27522         * Makefile (INSTALL): Remove trailing blank lines from output of
27523         makeinfo.
27525 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27527         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
27528         Align 32 bit compat elf_greg to 8 bytes.
27530 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
27532         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
27534 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27536         * string/strcoll_l.c (coll_seq): New structure.
27537         (get_next_seq_cached): New function.
27538         (get_next_seq): New function.
27539         (do_compare): New function.
27540         (STRCOLL): Use GNU style definition.  Simplify implementation
27541         by using get_next_seq, get_next_seq_cached and do_compare.
27543 2013-08-16  Florian Weimer  <fweimer@redhat.com>
27545         [BZ #14699]
27546         CVE-2013-4237
27547         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
27548         member.
27549         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
27550         member.
27551         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
27552         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
27553         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
27554         conditional.
27555         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
27556         GETDENTS_64BIT_ALIGNED.
27557         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27558         * manual/filesys.texi (Reading/Closing Directory): Document
27559         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
27560         strongly.
27561         * manual/conf.texi (Limits for Files): Add portability note to
27562         NAME_MAX, PATH_MAX.
27563         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
27565 2013-08-13  Andreas Schwab  <schwab@suse.de>
27567         [BZ #15749]
27568         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
27569         of fabs.
27570         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
27571         LDBL_MAX_EXP >= 16384]: Add tests for it.
27573 2013-08-12  David S. Miller  <davem@davemloft.net>
27575         * version.h (RELEASE): Set to "development".
27576         (VERSION): Set to "2.18.90".
27577         * NEWS: Add 2.19 section.
27579 2013-08-03  David S. Miller  <davem@davemloft.net>
27581         * po/ko.po: Update Korean translation from translation project.
27583 2013-08-01  David S. Miller  <davem@davemloft.net>
27585         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
27586         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
27587         Bilka.
27589 2013-07-30  David S. Miller  <davem@davemloft.net>
27591         * po/fr.po: Update French translation from translation project.
27593 2013-07-28  David S. Miller  <davem@davemloft.net>
27595         * po/cs.po: Update Czech translation from translation project.
27597         * po/sv.po: Update Swedish translation from translation project.
27599 2013-07-27  David S. Miller  <davem@davemloft.net>
27601         * po/eo.po: Update Esperanto translation from translation project.
27603         * po/vi.po: Update Vietnamese translation from translation project.
27605         * po/de.po: Update German translation from translation project.
27607 2013-07-26  David S. Miller  <davem@davemloft.net>
27609         * po/bg.po: Update Bulgarian translation from translation project.
27611         * po/nl.po: Update Dutch translation from translation project.
27612         * po/pl.po: Update Polish translation from translation project.
27613         * po/ru.po: Update Russian translation from translation project.
27615 2013-07-24  David S. Miller  <davem@davemloft.net>
27617         * po/libc.pot: Update.
27619 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27621         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
27622         variable page size.
27623         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
27624         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
27625         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
27627 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27629         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
27631 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27632             Andreas Schwab  <schwab@suse.de>
27633             Roland McGrath  <roland@hack.frob.com>
27634             Joseph Myers  <joseph@codesourcery.com>
27635             Carlos O'Donell  <carlos@redhat.com>
27637         [BZ #15755]
27638         * config.h.in: Define HAVE_PT_CHOWN.
27639         * config.make.in (build-pt-chown): New variable.
27640         * configure.in (--enable-pt_chown): New configure option.
27641         * configure: Regenerate.
27642         * login/Makefile: Include Makeconfig.  Build pt_chown only if
27643         build-pt-chown is enabled.
27644         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
27645         pt_chown to fix pty ownership.
27646         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
27647         CLOSE_ALL_FDS.
27648         * manual/install.texi (Configuring and compiling): Mention
27649         --enable-pt_chown. Add @findex for grantpt.
27650         * INSTALL: Regenerate.
27652 2013-07-20  David S. Miller  <davem@davemloft.net>
27654         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
27655         difference between 32-bit and 64-bit.
27657 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
27659         [BZ #15711]
27660         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
27661         Avoid system header dependency with -ffreestanding.
27662         ($(objpfx)bits/syscall%d): Likewise.
27664 2013-07-13  David S. Miller  <davem@davemloft.net>
27666         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
27667         underflows from atanl/atan2l due to bug 15319.
27668         (casinh_test_data): Likewise.
27670 2013-07-07  David S. Miller  <davem@davemloft.net>
27672         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27674 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
27676         * sysdeps/i386/fpu/libm-test-ulps: Update.
27677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27679 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27681         * configure.in (--enable-lock-elision): Fix message text.
27682         * INSTALL: Regenerate.
27683         * configure: Regenerate.
27685 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27689 2013-07-03  Andreas Jaeger  <aj@suse.de>
27691         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
27692         define.
27693         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
27694         (ptrace_peeksiginfo_args): Add.
27695         (__ptrace_peeksiginfo_flags): Add.
27696         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27697         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27698         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27700 2013-07-03  Allan McRae  <allan@archlinux.org>
27702         * sysdeps/i386/fpu/libm-test-ulps: Update.
27704 2013-07-02  David S. Miller  <davem@davemloft.net>
27706         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27708 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
27710         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27712 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
27714         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27717 2013-07-02  Andi Kleen <ak@linux.intel.com>
27719         * config.h.in (ENABLE_LOCK_ELISION): Add.
27720         * configure.in (--enable-lock-elision): Add option.
27721         * manual/install.texi: Document --enable lock elision.
27722         * configure: Regenerate
27723         * INSTALL: Regenerate.
27725 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
27727         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
27728         SSE4.2 strcasecmp for libc.a.
27729         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
27731 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
27733         [BZ #13304]
27734         * soft-fp/op-common.h (_FP_FMA): New macro.
27735         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
27736         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
27737         (_FP_MUL_MEAT_1_imm): ... here.
27738         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
27739         (_FP_MUL_MEAT_1_wide): ... here.
27740         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
27741         (_FP_MUL_MEAT_1_hard): ... here.
27742         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
27743         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
27744         (_FP_MUL_MEAT_2_wide): ... here.
27745         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
27746         (_FP_MUL_MEAT_2_wide_3mul): ... here.
27747         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
27748         (_FP_MUL_MEAT_2_gmp): ... here.
27749         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
27750         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
27751         (_FP_MUL_MEAT_4_wide): ... here.
27752         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
27753         (_FP_MUL_MEAT_4_gmp): ... here.
27754         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
27755         (_FP_WFRACBITS_DW_S): Likewise.
27756         (_FP_WFRACXBITS_DW_S): Likewise.
27757         (_FP_HIGHBIT_DW_S): Likewise.
27758         (FP_FMA_S): Likewise.
27759         (_FP_FRAC_HIGH_DW_S): Likewise.
27760         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
27761         (_FP_WFRACBITS_DW_D): Likewise.
27762         (_FP_WFRACXBITS_DW_D): Likewise.
27763         (_FP_HIGHBIT_DW_D): Likewise.
27764         (FP_FMA_D): Likewise.
27765         (_FP_FRAC_HIGH_DW_D): Likewise.
27766         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
27767         (_FP_WFRACBITS_DW_E): Likewise.
27768         (_FP_WFRACXBITS_DW_E): Likewise.
27769         (_FP_HIGHBIT_DW_E): Likewise.
27770         (FP_FMA_E): Likewise.
27771         (_FP_FRAC_HIGH_DW_E): Likewise.
27772         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
27773         (_FP_WFRACBITS_DW_Q): Likewise.
27774         (_FP_WFRACXBITS_DW_Q): Likewise.
27775         (_FP_HIGHBIT_DW_Q): Likewise.
27776         (FP_FMA_Q): Likewise.
27777         (_FP_FRAC_HIGH_DW_Q): Likewise.
27778         * soft-fp/fmasf4.c: New file.
27779         * soft-fp/fmadf4.c: Likewise.
27780         * soft-fp/fmatf4.c: Likewise.
27782 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27784         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27785         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
27786         Silvermont.
27787         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
27788         macro.
27789         (index_Slow_SSE4_2): Likewise.
27790         (index_Prefer_PMINUB_for_stringop): Likewise.
27791         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
27792         bit_Slow_SSE4_2 is set.
27793         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27794         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27796 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27798         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
27799         rtld_global._dl_hwcap2.
27800         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
27801         POWER8.
27802         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
27803         POWER8 feature descriptions defined in _dl_hwcap2.
27804         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
27805         string handling for POWER8 feature bits.
27806         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
27807         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
27808         _dl_powerpc_cap_flags.
27809         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
27810         * sysdeps/powerpc/rtld-global-offsets.sym
27811         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
27812         _dl_hwcap2 in the rtld_global_ro structure.
27814 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27816         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
27817         hardware capabilities in support of AT_HWCAP2.
27818         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
27819         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
27820         GLRO(dl_hwcap2).
27821         (_dl_show_auxv): Add support for calling _dl_procinfo to display
27822         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
27823         explicitly the unknown a_type display mechanism is used.
27824         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
27825         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
27826         struct member.
27827         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
27828         to macro prototype for AT_HWCAP2 support.
27829         * sysdeps/i386/dl-procinfo.h: Likewise.
27830         * sysdeps/s390/dl-procinfo.h: Likewise.
27831         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
27832         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
27833         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
27834         return -1 for unknown a_type display fallback.
27835         * sysdeps/sparc/dl-procinfo.h: Likewise.
27836         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
27837         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
27839 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
27841         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
27842         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
27844 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
27846         [BZ #12492]
27847         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
27848         mprotect making __stack_prot writable.
27850 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
27851             Joseph Myers  <joseph@codesourcery.com>
27853         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
27854         as being properly aligned.
27856 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
27858         * dlfcn/modstatic5.c: New file.
27859         * dlfcn/tststatic5.c: New file.
27860         * dlfcn/Makefile (tests): Add tststatic5.
27861         (tests-static): Likewise.
27862         (modules-names): Add modstatic5.
27863         (tststatic5-ENV): New variable.
27864         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
27866         [BZ #15022]
27867         * elf/dl-support.c (_dl_main_map): New variable.
27868         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
27869         (_dl_nns, _dl_load_adds): Set to 1.
27870         (_dl_initial_searchlist): Refer to _dl_main_map.
27871         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
27872         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
27873         call to _dl_get_origin.
27874         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
27875         around call_map.
27876         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
27877         * dlfcn/modstatic3.c: New file.
27878         * dlfcn/tststatic3.c: New file.
27879         * dlfcn/tststatic4.c: New file.
27880         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
27881         (tests-static): Likewise.
27882         (modules-names): Add modstatic3.
27883         (tststatic3-ENV, tststatic4-ENV): New variables.
27884         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
27885         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
27887 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
27889         * configure.in (CC): Require GCC version 4.4 or later.
27890         * configure: Regenerated.
27891         * manual/install.texi (Tools for Compilation): Update GCC version
27892         requirement.
27893         * INSTALL: Regenerated.
27895 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27897         [BZ #15674]
27898         * string/test-memcmp.c (check2): New.
27899         (main): Call check2.
27901         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
27903 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
27905         [BZ #15022]
27906         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
27907         over to...
27908         (dl_open_worker) [!SHARED]: ... here.
27910 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27912         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
27914 2013-06-25  Richard Henderson  <rth@redhat.com>
27916         * locale/programs/locarchive.c: Include <libc-internal.h>
27918 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
27920         * manual/texinfo.tex: Update to version 2013-06-21.17, with
27921         trailing whitespace removed.
27923 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
27925         [BZ #10283]
27926         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
27927         * locale/programs/locarchive.c: Include libc-mmap.h.
27928         (prepare_address_space): Take two new outputs (the mmap base and len).
27929         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
27930         values.
27931         (create_archive): Declare new mmap base and len values for
27932         prepare_address_space, and store the result in ah.
27933         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
27934         (enlarge_archive): If ah->mmap_base is not NULL, use that and
27935         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
27936         Declare new mmap base and len values for
27937         prepare_address_space, and store the result in new_ah.
27938         (open_archive): Declare new mmap base and len values for
27939         prepare_address_space, and store the result in ah.
27940         (close_archive): If ah->mmap_base is not NULL, use that and
27941         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
27942         * sysdeps/generic/libc-mmap.h: New file.
27944 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
27946         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
27947         (ALIGN_UP): Likewise.
27948         (PTR_ALIGN_DOWN): Likewise.
27949         (PTR_ALIGN_UP): Likewise.
27951 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27953         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
27954         entry mapped to PPC_PLATFORM_POWER8.
27955         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
27956         POWER8.
27957         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
27958         (_dl_string_platform): Add case for exporting platform position for
27959         POWER8.
27960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
27961         search path to sysdeps/powerpc/powerpc32/power8 directory.
27962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
27963         search path to sysdeps/powerpc/powerpc64/power8 directory.
27964         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
27965         power7 directories.
27966         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
27967         power7 directories.
27969 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27971         * INSTALL: Regenerate.
27973         * nscd/connections.c (nscd_init): Fix comment.
27975 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
27977         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
27979         [BZ #15667]
27980         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
27981         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
27983 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
27985         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
27986         DL_DST_REQ_STATIC.
27987         (DL_DST_REQ_STATIC): Remove macro.
27989 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
27991         [BZ #7006]
27992         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
27993         with a shift of 0 bits.
27995 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
27997         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
27998         $(tststatic-ENV).
28000 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28002         [BZ #15655]
28003         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
28005 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28007         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
28008         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
28009         accepts -fno-tree-loop-distribute-patterns.
28010         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
28011         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
28012         recursive call.
28013         * string/memset.c (memset): Likewise.
28014         * string/test-memmove.c (simple_memmove): Disable loop transformation
28015         to library calls.
28016         * string/test-memset.c (simple_memset): Likewise.
28017         * benchtests/bench-memmove.c (simple_memmove): Likewise.
28018         * benchtests/bench-memset.c (simple_memset): Likewise.
28019         * configure: Regenerated.
28021 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
28023         * math/test-misc.c (main): Ignore fesetround failure when failures
28024         of subsequent rounding tests would be ignored.
28026         [BZ #15654]
28027         * math/fedisblxcpt.c (fedisableexcept): Return 0.
28028         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
28029         * math/fegetenv.c (__fegetenv): Return 0.
28030         * math/fegetexcept.c (fegetexcept): Return 0.
28031         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
28032         FE_TONEAREST.
28033         * math/feholdexcpt.c (feholdexcept): Return 0.
28034         * math/fesetenv.c (__fesetenv): Return 0.
28035         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
28036         argument FE_TONEAREST.
28037         * math/feupdateenv.c (__feupdateenv): Return 0.
28038         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
28040 2013-06-18  Roland McGrath  <roland@hack.frob.com>
28042         * elf/rtld-Rules (rtld-compile-command.S): New variable.
28043         (rtld-compile-command.s, rtld-compile-command.c): New variables.
28044         ($(objpfx)rtld-%.os rules): Use them.
28046 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28048         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
28049         fields.
28051 2013-06-17  Roland McGrath  <roland@hack.frob.com>
28053         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
28054         length of target pattern, then descending length of dependency pattern.
28055         * configure.in (AWK): Require gawk 3.1.2 or newer.
28056         * manual/install.texi (Tools for Compilation): Say that we do.
28057         * configure: Regenerated.
28059         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
28060         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
28061         * scripts/sysd-rules.awk: ... this new script.
28062         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
28063         than a glob-style pattern.
28065 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
28067         * math/test-misc.c (main): Do not treat incorrectly rounded
28068         conversions as failure unless ROUNDING_TESTS passes.
28070 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
28072         [BZ #15631]
28073         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
28074         restore exception state around main square root computation, then
28075         check for inexactness explicitly.
28077         * math/libm-test.inc (fma_test_data): Add another test.
28079 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28081         * manual/threads.texi (Non-POSIX Extensions): New document
28082         node.  Document pthread_getattr_default_np and
28083         pthread_setattr_default_np.
28085         * Versions.def (libpthread): Add GLIBC_2.18.
28086         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
28087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28088         Likewise.
28089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28090         Likewise.
28091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28092         Likewise.
28093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28094         Likewise.
28095         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
28096         Likewise.
28097         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28098         Likewise.
28099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28100         Likewise.
28101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28102         Likewise.
28103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28104         Likewise.
28106 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28108         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28109         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
28111 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28112             H.J. Lu  <hjl.tools@gmail.com>
28114         [BZ #15627]
28115         * sysdeps/x86_64/rtld-memset.c: Remove file.
28116         * sysdeps/x86_64/rtld-memset.S: New file.
28118 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
28120         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
28121         (test_in_one_mode): Take arguments for whether the rounding mode
28122         is supported for each floating-point type.
28123         (do_test): Pass new arguments to test_in_one_mode using
28124         ROUNDING_TESTS.
28126 2013-06-13  Roland McGrath  <roland@hack.frob.com>
28128         * posix/tst-waitid.c (do_test): Distinguish different instances of
28129         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
28130         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
28131         before entering the kernel for waitpid.
28133 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28135         * NEWS: Fix note on clock function precision.  Text by Roland
28136         McGrath.
28138 2013-06-13  Roland McGrath  <roland@hack.frob.com>
28140         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
28141         it into place only when and if the sanity check passes.
28143 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
28145         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
28146         output for whether conversion result is exact.  Take argument
28147         indicating whether type is IBM long double.
28148         (round_for_all): Change need_exact field to ibm_ld.
28149         * stdlib/tst-strtod-round.c (struct exactness): New type.
28150         (struct test): Change bool ld_ok field to struct exactness exact.
28151         (TEST): Update all definitions for change to field.
28152         (tests): Regenerate array contents.
28153         (test_in_one_mode): Take pointer to new field instead of old ld_ok
28154         field value.  Check for IBM long double here.
28155         (do_test): Update calls to test_in_one_mode.
28157 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28159         [BZ #12515]
28160         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
28161         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
28163 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28165         [BZ #15605]
28166         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
28167         generated by the compiler on loop optimizations.
28168         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
28169         general definitions.
28171 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
28173         * math/bug-nextafter.c: Include <math-tests.h>.
28174         (main): Only test for exceptions if EXCEPTION_TESTS is true for
28175         the relevant type.
28176         * math/bug-nexttoward.c: Include <math-tests.h>.
28177         (main): Only test for exceptions if EXCEPTION_TESTS is true for
28178         the relevant type.
28179         * math/test-misc.c: Include <math-tests.h>.
28180         (main): Only test for exceptions if EXCEPTION_TESTS is true for
28181         the relevant type.
28183 2013-06-12  Andreas Jaeger  <aj@suse.de>
28185         * po/ia.po: Update Interlingua translation from translation
28186         project.
28188 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28190         * include/fenv.h: Include stdbool.h.
28191         (struct rm_ctx): New structure.
28192         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
28193         Define macro.
28194         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
28195         (SET_RESTORE_ROUNDF): Likewise.
28196         (SET_RESTORE_ROUNDL): Likewise.
28197         (SET_RESTORE_ROUND_NOEX): Likewise.
28198         (SET_RESTORE_ROUND_NOEXF): Likewise.
28199         (SET_RESTORE_ROUND_NOEXL): Likewise.
28200         (SET_RESTORE_ROUND_53BIT): Likewise.
28201         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
28202         (libc_feresetround_noexf_ctx): Likewise.
28203         (libc_feresetround_noexl_ctx): Likewise.
28204         (libc_feholdsetround_53bit_ctx): Likewise.
28205         (libc_feresetround_53bit_ctx): Likewise.
28206         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
28207         (libc_feholdexcept_setround_sse_ctx): New function.
28208         (libc_fesetenv_sse_ctx): Likewise.
28209         (libc_feupdateenv_sse_ctx): Likewise.
28210         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
28211         (libc_feholdexcept_setround_387_ctx): Likewise.
28212         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
28213         (libc_feholdsetround_387_prec_ctx): Likewise.
28214         (libc_feholdsetround_387_ctx): Likewise.
28215         (libc_feholdsetround_387_53bit_ctx): Likewise.
28216         (libc_feholdsetround_sse_ctx): Likewise.
28217         (libc_feresetround_sse_ctx): Likewise.
28218         (libc_feresetround_387_ctx): Likewise.
28219         (libc_feupdateenv_387_ctx): Likewise.
28220         (libc_feholdexcept_setroundf_ctx): Define macro.
28221         (libc_fesetenvf_ctx): Likewise.
28222         (libc_feupdateenvf_ctx): Likewise.
28223         (libc_feholdsetroundf_ctx): Likewise.
28224         (libc_feresetroundf_ctx): Likewise.
28225         (libc_feholdexcept_setround_ctx): Likewise.
28226         (libc_fesetenv_ctx): Likewise.
28227         (libc_feupdateenv_ctx): Likewise.
28228         (libc_feholdsetround_ctx): Likewise.
28229         (libc_feresetround_ctx): Likewise.
28230         (libc_feholdexcept_setroundl_ctx): Likewise.
28231         (libc_feupdateenvl_ctx): Likewise.
28232         (libc_feholdsetroundl_ctx): Likewise.
28233         (libc_feresetroundl_ctx): Likewise.
28234         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
28235         (libc_feresetround_53bit_ctx): Likewise.
28237 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28239         * locale/iso-639.def: Convert to UTF-8.
28241 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
28243         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
28244         (EXCEPTION_TESTS_double): Likewise.
28245         (EXCEPTION_TESTS_long_double): Likewise.
28246         (EXCEPTION_TESTS): Likewise.
28247         * math/libm-test.inc (test_exceptions): Only test exceptions if
28248         EXCEPTION_TESTS (FLOAT).
28250 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28252         * benchtests/Makefile (string-bench): Add strcpy_chk and
28253         stpcpy_chk.
28254         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
28255         * benchtests/bench-stpcpy_chk.c: New file.
28256         * benchtests/bench-strcpy_chk-ifunc.c: New file.
28257         * benchtests/bench-strcpy_chk.c: New file.
28258         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
28259         code.
28260         (do_test): Likewise.
28262 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28264         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
28265         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
28266         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
28267         with tabs where appropriate.
28268         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
28269         dl-procinfo.h.
28270         [PPC_PLATFORM_PPC440]: Likewise.
28271         [PPC_PLATFORM_PPC464]: Likewise.
28272         [PPC_PLATFORM_PPC476]: Likewise.
28273         (_dl_string_platform): Add support for detecting ppc405, ppc440,
28274         ppc464, and ppc476 platform strings merging from ports/
28275         dl-procinfo.h.
28277 2013-06-11  Andreas Schwab  <schwab@suse.de>
28279         [BZ #14991]
28280         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
28281         (from_ucs4_idx): Regenerate.
28282         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
28283         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
28284         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
28285         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
28286         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
28287         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
28288         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
28289         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
28290         from FROM_LOOP and TO_LOOP specific macros.
28291         (BODY): Handle combining characters.
28292         * iconvdata/BIG5HKSCS.irreversible: Update.
28293         * iconvdata/BIG5HKSCS.precomposed: New file.
28294         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
28295         characters.
28296         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
28298 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28300         * include/sys/time.h: Fix indentation and add copyright header.
28302         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
28303         (do_test): Likewise.
28304         * string/test-memchr.c (do_one_test): Likewise.
28305         (do_test): Likewise.
28306         * string/test-memcmp.c (do_one_test): Likewise.
28307         (do_test): Likewise.
28308         * string/test-memcpy.c (do_one_test): Likewise.
28309         (do_test): Likewise.
28310         * string/test-memmem.c (do_one_test): Likewise.
28311         (do_test): Likewise.
28312         (do_random_tests): Likewise.
28313         * string/test-memmove.c (do_one_test): Likewise.
28314         (do_test): Likewise.
28315         * string/test-memset.c (do_one_test): Likewise.
28316         (do_test): Likewise.
28317         * string/test-rawmemchr.c (do_one_test): Likewise.
28318         (do_test): Likewise.
28319         * string/test-strcasecmp.c (do_one_test): Likewise.
28320         (do_test): Likewise.
28321         * string/test-strcasestr.c (do_one_test): Likewise.
28322         (do_test): Likewise.
28323         * string/test-strcat.c (do_one_test): Likewise.
28324         (do_test): Likewise.
28325         * string/test-strchr.c (do_one_test): Likewise.
28326         (do_test): Likewise.
28327         * string/test-strcmp.c (do_one_test): Likewise.
28328         (do_test): Likewise.
28329         * string/test-strcpy.c (do_one_test): Likewise.
28330         (do_test): Likewise.
28331         * string/test-string.h: Likewise.
28332         (test_init): Likewise.
28333         * string/test-strlen.c (do_one_test): Likewise.
28334         (do_test): Likewise.
28335         * string/test-strncasecmp.c (do_one_test): Likewise.
28336         (do_test): Likewise.
28337         * string/test-strncat.c (do_one_test): Likewise.
28338         (do_test): Likewise.
28339         * string/test-strncmp.c (do_one_test): Likewise.
28340         (do_test_limit): Likewise.
28341         (do_test): Likewise.
28342         * string/test-strncpy.c (do_one_test): Likewise.
28343         (do_test): Likewise.
28344         * string/test-strnlen.c (do_one_test): Likewise.
28345         (do_test): Likewise.
28346         * string/test-strpbrk.c (do_one_test): Likewise.
28347         (do_test): Likewise.
28348         * string/test-strrchr.c (do_one_test): Likewise.
28349         (do_test): Likewise.
28350         * string/test-strspn.c (do_one_test): Likewise.
28351         (do_test): Likewise.
28352         * string/test-strstr.c (do_one_test): Likewise.
28353         (do_test): Likewise.
28355         * benchtests/Makefile (string-bench): Add string benchmarks.
28356         * benchtests/bench-bcopy-ifunc.c: New file.
28357         * benchtests/bench-bcopy.c: New file.
28358         * benchtests/bench-bzero-ifunc.c: New file.
28359         * benchtests/bench-bzero.c: New file.
28360         * benchtests/bench-memccpy-ifunc.c: New file.
28361         * benchtests/bench-memccpy.c: New file.
28362         * benchtests/bench-memchr-ifunc.c: New file.
28363         * benchtests/bench-memchr.c: New file.
28364         * benchtests/bench-memcmp-ifunc.c: New file.
28365         * benchtests/bench-memcmp.c: New file.
28366         * benchtests/bench-memmem-ifunc.c: New file.
28367         * benchtests/bench-memmem.c: New file.
28368         * benchtests/bench-memmove-ifunc.c: New file.
28369         * benchtests/bench-memmove.c: New file.
28370         * benchtests/bench-mempcpy-ifunc.c: New file.
28371         * benchtests/bench-mempcpy.c: New file.
28372         * benchtests/bench-memset-ifunc.c: New file.
28373         * benchtests/bench-memset.c: New file.
28374         * benchtests/bench-rawmemchr-ifunc.c: New file.
28375         * benchtests/bench-rawmemchr.c: New file.
28376         * benchtests/bench-stpcpy-ifunc.c: New file.
28377         * benchtests/bench-stpcpy.c: New file.
28378         * benchtests/bench-stpncpy-ifunc.c: New file.
28379         * benchtests/bench-stpncpy.c: New file.
28380         * benchtests/bench-strcasecmp-ifunc.c: New file.
28381         * benchtests/bench-strcasecmp.c: New file.
28382         * benchtests/bench-strcasestr-ifunc.c: New file.
28383         * benchtests/bench-strcasestr.c: New file.
28384         * benchtests/bench-strcat-ifunc.c: New file.
28385         * benchtests/bench-strcat.c: New file.
28386         * benchtests/bench-strchr-ifunc.c: New file.
28387         * benchtests/bench-strchr.c: New file.
28388         * benchtests/bench-strchrnul-ifunc.c: New file.
28389         * benchtests/bench-strchrnul.c: New file.
28390         * benchtests/bench-strcmp-ifunc.c: New file.
28391         * benchtests/bench-strcmp.c: New file.
28392         * benchtests/bench-strcpy-ifunc.c: New file.
28393         * benchtests/bench-strcpy.c: New file.
28394         * benchtests/bench-strcspn-ifunc.c: New file.
28395         * benchtests/bench-strcspn.c: New file.
28396         * benchtests/bench-strlen-ifunc.c: New file.
28397         * benchtests/bench-strlen.c: New file.
28398         * benchtests/bench-strncasecmp-ifunc.c: New file.
28399         * benchtests/bench-strncasecmp.c: New file.
28400         * benchtests/bench-strncat-ifunc.c: New file.
28401         * benchtests/bench-strncat.c: New file.
28402         * benchtests/bench-strncmp-ifunc.c: New file.
28403         * benchtests/bench-strncmp.c: New file.
28404         * benchtests/bench-strncpy-ifunc.c: New file.
28405         * benchtests/bench-strncpy.c: New file.
28406         * benchtests/bench-strnlen-ifunc.c: New file.
28407         * benchtests/bench-strnlen.c: New file.
28408         * benchtests/bench-strpbrk-ifunc.c: New file.
28409         * benchtests/bench-strpbrk.c: New file.
28410         * benchtests/bench-strrchr-ifunc.c: New file.
28411         * benchtests/bench-strrchr.c: New file.
28412         * benchtests/bench-strspn-ifunc.c: New file.
28413         * benchtests/bench-strspn.c: New file.
28414         * benchtests/bench-strstr-ifunc.c: New file.
28415         * benchtests/bench-strstr.c: New file.
28417         * benchtests/Makefile: Disable parallel execution of targets.
28418         (string-bench): Add memcpy.
28419         (benchset): New variable to store a list of benchmark sets.
28420         (bench-func): Renamed from bench.
28421         (bench-set): New target.
28422         (bench): Depend on bench-func and bench-set.
28423         * benchtests/README: Add section on benchmark sets.
28424         * benchtests/bench-memcpy-ifunc.c: New file.
28425         * benchtests/bench-memcpy.c: New file.
28426         * benchtests/bench-string.h: New file.
28428 2013-06-11  Andreas Schwab  <schwab@suse.de>
28430         [BZ #15577]
28431         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
28432         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
28433         values in the triple.
28434         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
28435         terminator in the group key.
28437 2013-06-11  Andreas Jaeger  <aj@suse.de>
28439         * po/zh_TW.po: Update Chinese (traditional) translation from
28440         translation project.
28442 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28444         * include/time.h (__clock_gettime): Add libc_hidden_proto.
28445         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
28446         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
28447         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28448         (clock_getcpuclockid): Likewise.
28449         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
28450         Add weak_alias and libc_hidden_def.
28451         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
28452         * rt/clock_gettime.c (clock_gettime): Rename to
28453         __clock_gettime.  Add weak_alias and libc_hidden_def.
28454         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
28455         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
28456         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
28457         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
28458         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
28459         Likewise.
28460         * rt/clock_settime.c (clock_settime): Rename to
28461         __clock_settime.  Add weak_alias and libc_hidden_def.
28462         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
28464 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
28466         * mach/err_boot.sub: Remove trailing whitespace.
28467         * mach/err_ipc.sub: Likewise.
28468         * mach/err_mach.sub: Likewise.
28470         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
28471         (ROUNDING_TESTS_double): Likewise.
28472         (ROUNDING_TESTS_long_double): Likewise.
28473         (ROUNDING_TESTS): Likewise.
28474         * math/libm-test.inc: Include <math-tests.h>.
28475         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
28476         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28477         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28478         (IF_ROUND_INIT_FE_UPWARD): Likewise.
28480 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28482         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
28483         of assigning.
28485 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
28487         * sysdeps/gnu/errlist.awk: Do not generate space at end of
28488         otherwise empty TRANS lines.
28489         * sysdeps/gnu/errlist.c: Regenerated.
28491         * catgets/gencat.c (error_print): Use (void) in function
28492         definition.
28493         * crypt/crypt_util.c (__init_des): Likewise.
28494         * crypt/speeds.c (Stop): Likewise.
28495         (main): Likewise.
28496         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
28497         * inet/ruserpass.c (token): Likewise.
28498         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
28499         * intl/localealias.c (extend_alias_table): Likewise.
28500         * intl/plural-exp.c (init_germanic_plural): Likewise.
28501         * libio/fcloseall.c (__fcloseall): Likewise.
28502         * libio/genops.c (_IO_flush_all): Likewise.
28503         (_IO_flush_all_linebuffered): Likewise.
28504         (_IO_cleanup): Likewise.
28505         (_IO_iter_begin): Likewise.
28506         (_IO_iter_end): Likewise.
28507         (_IO_list_lock): Likewise.
28508         (_IO_list_unlock): Likewise.
28509         (_IO_list_resetlock): Likewise.
28510         * libio/getchar.c (getchar): Likewise.
28511         * libio/getchar_u.c (getchar_unlocked): Likewise.
28512         * libio/getwchar.c (getwchar): Likewise.
28513         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
28514         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
28515         * login/getpt.c (__getpt): Likewise.
28516         * login/tst-utmp.c (main): Likewise.
28517         * malloc/hooks.c (__malloc_check_init): Likewise.
28518         * malloc/malloc.c (__malloc_stats): Likewise.
28519         * malloc/mtrace.c (tr_break): Likewise.
28520         (mtrace): Likewise.
28521         (muntrace): Likewise.
28522         * misc/fstab.c (endfsent): Likewise.
28523         * misc/getclktck.c (__getclktck): Likewise.
28524         * misc/getdtsz.c (__getdtablesize): Likewise.
28525         * misc/gethostid.c (gethostid): Likewise.
28526         * misc/getpagesize.c (__getpagesize): Likewise.
28527         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
28528         (__get_nprocs): Likewise.
28529         (__get_phys_pages): Likewise.
28530         (__get_avphys_pages): Likewise.
28531         * misc/getttyent.c (getttyent): Likewise.
28532         (setttyent): Likewise.
28533         (endttyent): Likewise.
28534         * misc/getusershell.c (getusershell): Likewise.
28535         (endusershell): Likewise.
28536         (setusershell): Likewise.
28537         (initshells): Likewise.
28538         * misc/hsearch.c (__hdestroy): Likewise.
28539         * misc/sync.c (sync): Likewise.
28540         * misc/syslog.c (closelog_internal): Likewise.
28541         (closelog): Likewise.
28542         * misc/ttyslot.c (ttyslot): Likewise.
28543         * misc/vhangup.c (vhangup): Likewise.
28544         * posix/fork.c (__fork): Likewise.
28545         * posix/getegid.c (__getegid): Likewise.
28546         * posix/geteuid.c (__geteuid): Likewise.
28547         * posix/getgid.c (__getgid): Likewise.
28548         * posix/getpid.c (__getpid): Likewise.
28549         * posix/getppid.c (__getppid): Likewise.
28550         * posix/getuid.c (__getuid): Likewise.
28551         * posix/pause.c (pause): Likewise.
28552         * posix/setpgrp.c (setpgrp): Likewise.
28553         * posix/setsid.c (__setsid): Likewise.
28554         * posix/test-vfork.c (noop): Likewise.
28555         * resolv/gethnamaddr.c (_endhtent): Likewise.
28556         (_gethtent): Likewise.
28557         (ht_endhostent): Likewise.
28558         (gethostent): Likewise.
28559         (dns_service): Likewise.
28560         * stdlib/drand48.c (drand48): Likewise.
28561         * stdlib/lrand48.c (lrand48): Likewise.
28562         * stdlib/mrand48.c (mrand48): Likewise.
28563         * stdlib/rand.c (rand): Likewise.
28564         * stdlib/random.c (__random): Likewise.
28565         * stdlib/setenv.c (clearenv): Likewise.
28566         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
28567         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
28568         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
28569         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
28570         (__get_nprocs): Likewise.
28571         (__get_phys_pages): Likewise.
28572         (__get_avphys_pages): Likewise.
28573         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
28574         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
28575         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
28576         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
28577         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
28578         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
28579         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
28580         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
28581         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
28582         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
28583         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
28584         * sysdeps/mach/hurd/sync.c (sync): Likewise.
28585         * sysdeps/posix/clock.c (clock): Likewise.
28586         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
28587         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
28588         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
28589         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
28590         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
28591         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
28592         (__get_nprocs_conf): Likewise.
28593         (__get_phys_pages): Likewise.
28594         (__get_avphys_pages): Likewise.
28595         * time/clock.c (clock): Likewise.
28596         * time/tzset.c (__tzname_max): Likewise.
28598 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
28600         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
28601         (__bswap_32): Do not use "register".
28602         * crypt/crypt.c (_ufc_doit_r): Likewise.
28603         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
28604         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
28605         * gmon/gmon.c (__monstartup): Likewise.
28606         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
28607         * hurd/hurdmalloc.c (more_memory): Likewise.
28608         (malloc): Likewise.
28609         (free): Likewise.
28610         (realloc): Likewise.
28611         (malloc_fork_prepare): Likewise.
28612         (malloc_fork_parent): Likewise.
28613         (malloc_fork_child): Likewise.
28614         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
28615         (_svcauth_des): Likewise.
28616         * inet/inet_lnaof.c (inet_lnaof): Likewise.
28617         * inet/inet_net.c (inet_network): Likewise.
28618         * inet/inet_netof.c (inet_netof): Likewise.
28619         * inet/rcmd.c (__validuser2_sa): Likewise.
28620         * io/fts.c (fts_open): Likewise.
28621         (fts_load): Likewise.
28622         (fts_close): Likewise.
28623         (fts_read): Likewise.
28624         (fts_children): Likewise.
28625         (fts_build): Likewise.
28626         (fts_stat): Likewise.
28627         (fts_sort): Likewise.
28628         (fts_alloc): Likewise.
28629         (fts_lfree): Likewise.
28630         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
28631         (_IO_file_xsgetn): Likewise.
28632         (_IO_file_xsgetn_mmap): Likewise.
28633         * libio/iofopncook.c (_IO_cookie_read): Likewise.
28634         (_IO_cookie_write): Likewise.
28635         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
28636         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
28637         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
28638         * malloc/obstack.c (_obstack_begin): Likewise.
28639         (_obstack_begin_1): Likewise.
28640         (_obstack_newchunk): Likewise.
28641         (_obstack_allocated_p): Likewise.
28642         (obstack_free): Likewise.
28643         (_obstack_memory_used): Likewise.
28644         * misc/getttyent.c (getttynam): Likewise.
28645         (getttyent): Likewise.
28646         (skip): Likewise.
28647         (value): Likewise.
28648         * misc/getusershell.c (initshells): Likewise.
28649         * misc/syslog.c (__vsyslog_chk): Likewise.
28650         * misc/ttyslot.c (ttyslot): Likewise.
28651         * nis/nis_hash.c (__nis_hash): Likewise.
28652         * posix/fnmatch_loop.c (FCT): Likewise.
28653         * posix/getconf.c (print_all): Likewise.
28654         (main): Likewise.
28655         * posix/getopt.c (exchange): Likewise.
28656         * posix/glob.c (globfree): Likewise.
28657         (prefix_array): Likewise.
28658         (__glob_pattern_type): Likewise.
28659         * resolv/arpa/nameser.h (NS_GET16): Likewise.
28660         (NS_GET32): Likewise.
28661         (NS_PUT16): Likewise.
28662         (NS_PUT32): Likewise.
28663         * resolv/gethnamaddr.c (getanswer): Likewise.
28664         (gethostbyname2): Likewise.
28665         (gethostbyaddr): Likewise.
28666         (_gethtent): Likewise.
28667         (_gethtbyname2): Likewise.
28668         (_gethtbyaddr): Likewise.
28669         * resolv/ns_print.c (dst_s_get_int16): Likewise.
28670         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28671         * resolv/res_init.c (__res_vinit): Likewise.
28672         (net_mask): Likewise.
28673         * resolv/res_mkquery.c (outchar): Likewise.
28674         (PRINT): Likewise.
28675         * stdio-common/printf_fp.c (outchar): Likewise.
28676         (PRINT): Likewise.
28677         * stdio-common/printf_fphex.c (outchar): Likewise.
28678         (PRINT): Likewise.
28679         * stdio-common/printf_size.c (outchar): Likewise.
28680         (PRINT): Likewise.
28681         * stdio-common/test_rdwr.c (main): Likewise.
28682         * stdio-common/tfformat.c (matches): Likewise.
28683         * stdio-common/vfprintf.c (outchar): Likewise.
28684         (printf_unknown): Likewise.
28685         (buffered_vfprintf): Likewise.
28686         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
28687         * stdio-common/xbug.c (AppendToBuffer): Likewise.
28688         (ReadFile): Likewise.
28689         * stdlib/qsort.c (SWAP): Likewise.
28690         (_quicksort): Likewise.
28691         * stdlib/setenv.c (__add_to_environ): Likewise.
28692         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
28693         * stdlib/strtol_l.c (__strtol_l): Likewise.
28694         * stdlib/tst-strtod.c (main): Likewise.
28695         * stdlib/tst-strtol.c (main): Likewise.
28696         * stdlib/tst-strtoll.c (main): Likewise.
28697         * string/bits/string2.h (__strcmp_cc): Likewise.
28698         (__strcmp_cg): Likewise.
28699         (__strcspn_c1): Likewise.
28700         (__strcspn_c2): Likewise.
28701         (__strcspn_c3): Likewise.
28702         (__strspn_c1): Likewise.
28703         (__strspn_c2): Likewise.
28704         (__strspn_c3): Likewise.
28705         (__strsep_1c): Likewise.
28706         (__strsep_2c): Likewise.
28707         (__strsep_3c): Likewise.
28708         * string/memccpy.c (__memccpy): Likewise.
28709         * string/stpcpy.c (__stpcpy): Likewise.
28710         * string/strcmp.c (strcmp): Likewise.
28711         * string/strrchr.c (strrchr): Likewise.
28712         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
28713         Likewise.
28714         * sysdeps/mach/hurd/getcwd.c
28715         (_hurd_canonicalize_directory_name_internal): Likewise.
28716         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
28717         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
28718         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
28719         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
28720         Likewise, in both definitions.
28721         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
28722         definitions.
28723         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
28724         64] (__bswap_64): Likewise.
28725         * time/test_time.c (main): Likewise.
28726         * time/tzfile.c (__tzfile_read): Likewise.
28727         (__tzfile_compute): Likewise.
28728         * time/tzset.c (__tzset_parse_tz): Likewise.
28729         (tzset_internal): Likewise.
28730         (compute_change): Likewise.
28731         * wcsmbs/wcscat.c (__wcscat): Likewise.
28732         * wcsmbs/wcschr.c (wcschr): Likewise.
28733         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
28734         * wcsmbs/wcscspn.c (wcscspn): Likewise.
28735         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
28736         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
28737         * wcsmbs/wcsspn.c (wcsspn): Likewise.
28738         * wcsmbs/wcsstr.c (wcsstr): Likewise.
28739         * wcsmbs/wmemchr.c (wmemchr): Likewise.
28740         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28741         * wcsmbs/wmemset.c (wmemset): Likewise.
28743 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
28745         * scripts/config.guess: Update to version 2013-05-16.
28746         * scripts/config.sub: Update to version 2013-04-24.
28747         * scripts/install-sh: Update to version 2011-11-20.07.
28748         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
28749         * scripts/move-if-change: Update to version 2012-01-06 07:23.
28751 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
28753         * debug/fgetws_u_chk.c: Fix leading whitespaces.
28754         * elf/sln.c: Likewise.
28755         * hurd/hurd/ioctl.h: Likewise.
28756         * hurd/hurdmalloc.c: Likewise.
28757         * hurd/xattr.c: Likewise.
28758         * include/shlib-compat.h: Likewise.
28759         * inet/ruserpass.c: Likewise.
28760         * libio/iofgets_u.c: Likewise.
28761         * libio/iofgetws_u.c: Likewise.
28762         * locale/programs/ld-identification.c: Likewise.
28763         * locale/programs/ld-time.c: Likewise.
28764         * mach/msg-destroy.c: Likewise.
28765         * nss/nss_files/files-netgrp.c: Likewise.
28766         * resolv/res_data.c: Likewise.
28767         * soft-fp/op-1.h: Likewise.
28768         * soft-fp/op-2.h: Likewise.
28769         * soft-fp/op-4.h: Likewise.
28770         * soft-fp/op-common.h: Likewise.
28771         * stdio-common/printf_fphex.c: Likewise.
28772         * stdlib/strtod_l.c: Likewise.
28773         * sunrpc/rpc/clnt.h: Likewise.
28774         * sysdeps/generic/framestate.c: Likewise.
28775         * sysdeps/i386/bsd-_setjmp.S: Likewise.
28776         * sysdeps/i386/bsd-setjmp.S: Likewise.
28777         * sysdeps/i386/__longjmp.S: Likewise.
28778         * sysdeps/i386/setjmp.S: Likewise.
28779         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28780         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28781         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28782         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28783         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28784         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28785         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28786         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28787         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28788         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28789         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28790         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28791         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28792         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28793         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28794         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28795         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28796         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
28797         * sysdeps/ieee754/support.c: Likewise.
28798         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28799         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
28800         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
28801         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
28802         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
28803         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
28804         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
28805         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
28806         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
28807         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
28808         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
28809         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
28810         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
28811         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
28812         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
28813         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
28814         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
28817 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
28819         * posix/transbug.c: Remove executable mode.
28821 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
28823         * crypt/speeds.c: Remove trailing whitespace.
28824         * dlfcn/default.c: Likewise.
28825         * elf/ifuncdep2.c: Likewise.
28826         * elf/ifuncmain1.c: Likewise.
28827         * elf/ifuncmain1vis.c: Likewise.
28828         * elf/testobj.h: Likewise.
28829         * elf/tst-stackguard1.c: Likewise.
28830         * gmon/sys/gmon.h: Likewise.
28831         * hurd/hurdmsg.c: Likewise.
28832         * hurd/new-fd.c: Likewise.
28833         * hurd/ports-get.c: Likewise.
28834         * iconvdata/ibm1008_420.c: Likewise.
28835         * inet/tst-getni1.c: Likewise.
28836         * inet/tst-getni2.c: Likewise.
28837         * libio/ioungetc.c: Likewise.
28838         * libio/wfiledoalloc.c: Likewise.
28839         * manual/libm-err-tab.pl: Likewise.
28840         * math/w_dremf.c: Likewise.
28841         * misc/ftruncate.c: Likewise.
28842         * posix/bug-glob2.c: Likewise.
28843         * posix/tst-pcre.c: Likewise.
28844         * posix/wait4.c: Likewise.
28845         * resolv/README: Likewise.
28846         * resolv/res_debug.h: Likewise.
28847         * resolv/tst-inet_ntop.c: Likewise.
28848         * setjmp/bug269-setjmp.c: Likewise.
28849         * soft-fp/extended.h: Likewise.
28850         * soft-fp/op-1.h: Likewise.
28851         * soft-fp/op-2.h: Likewise.
28852         * soft-fp/op-4.h: Likewise.
28853         * soft-fp/op-8.h: Likewise.
28854         * soft-fp/testit.c: Likewise.
28855         * stdio-common/bug16.c: Likewise.
28856         * stdlib/random.c: Likewise.
28857         * sunrpc/rpcsvc/rquota.x: Likewise.
28858         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
28859         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28860         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28861         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28862         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28863         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28864         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28865         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28866         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28867         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28868         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28869         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28870         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28871         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28872         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28873         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28874         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28875         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28876         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28877         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28878         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28879         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28880         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
28881         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28882         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28883         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28884         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28885         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28886         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28887         * sysdeps/ieee754/s_lib_version.c: Likewise.
28888         * sysdeps/mach/hurd/check_fds.c: Likewise.
28889         * sysdeps/mach/hurd/getsockname.c: Likewise.
28890         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
28891         * sysdeps/mach/hurd/recvfrom.c: Likewise.
28892         * sysdeps/powerpc/bits/link.h: Likewise.
28893         * sysdeps/powerpc/dl-procinfo.c: Likewise.
28894         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
28895         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
28896         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
28897         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28898         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28899         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
28900         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28901         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
28902         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28903         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28904         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28905         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
28906         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28907         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28908         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28909         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28910         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28911         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28912         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28913         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28914         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
28915         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28916         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28917         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
28918         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28919         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28920         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28921         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28922         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28923         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28924         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28925         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28926         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28927         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
28928         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28929         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
28930         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28931         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28932         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
28933         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
28934         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
28935         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
28936         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
28937         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28938         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
28939         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
28940         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28941         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
28942         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
28943         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28944         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28945         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28946         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28947         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
28948         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28949         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28950         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28951         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
28952         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28953         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
28954         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
28955         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
28956         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28957         * sysdeps/powerpc/sysdep.h: Likewise.
28958         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28959         * sysdeps/s390/s390-64/sub_n.S: Likewise.
28960         * sysdeps/sh/dl-trampoline.S: Likewise.
28961         * sysdeps/sh/memset.S: Likewise.
28962         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
28963         * sysdeps/sh/strlen.S: Likewise.
28964         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
28965         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
28966         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
28967         * sysdeps/sparc/sparc32/rem.S: Likewise.
28968         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
28969         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
28970         * sysdeps/sparc/sparc32/strchr.S: Likewise.
28971         * sysdeps/sparc/sparc32/udiv.S: Likewise.
28972         * sysdeps/sparc/sparc32/urem.S: Likewise.
28973         * sysdeps/sparc/sparc64/add_n.S: Likewise.
28974         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28975         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
28976         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
28977         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
28978         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
28979         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
28980         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
28981         * sysdeps/unix/bsd/times.c: Likewise.
28982         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
28983         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
28984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28987         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
28988         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28989         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
28990         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
28991         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
28992         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
28993         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28994         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
28995         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28996         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28997         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
28998         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28999         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
29000         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
29001         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
29002         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
29003         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
29004         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29005         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
29006         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
29007         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
29008         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
29009         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29010         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
29011         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
29012         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
29013         * sysdeps/x86_64/strcspn.S: Likewise.
29015 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29017         * locale/C-translit.h: Revert #include <stdint.h> because this is a
29018         generated file.  Regenerate properly from gen-translit.pl.
29019         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
29020         locale/C-translit.h.
29022 2013-06-05  Andreas Schwab  <schwab@suse.de>
29024         [BZ #15100]
29025         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
29026         week as 6 instead of -1.
29027         * time/tst-strptime.c (day_tests): Add test case.
29029 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29031         * sysdeps/generic/math_private.h
29032         (libc_feholdexcept_setround_53bit): Replace with
29033         libc_feholdsetround_53bit.
29034         (libc_feupdateenv_53bit): Replace with
29035         libc_feresetround_53bit.
29036         (SET_RESTORE_ROUND_53BIT): Adjust.
29038 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
29040         * string/test-strchrnul.c: Add copyright header.
29042         * posix/tst-getaddrinfo4.c: Increase test timeout.
29044 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
29046         [BZ #15536]
29047         * math/libm-test.inc (MAX_EXP): Remove
29048         (MIN_EXP): Define.
29049         (ulp): Use MIN_EXP - MANT_DIG.
29050         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
29052 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
29054         * po/be.po: Revert last change.
29055         * po/zh_CN.po: Likewise.
29056         * po/header.pot: Likewise.
29058 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
29060         * Makefile ($(common-objpfx)linkobj/libc.so): Define
29061         link-libc-deps to empty as target-specific variable.
29062         * Makerules (link-libc-args): New variable.
29063         (libc-for-link): Likewise.
29064         (link-libc-deps): Likewise.
29065         (lib%.so): Depend on $(link-libc-deps).  Link with
29066         $(link-libc-args).
29067         (build-module): Link with $(link-libc-args).
29068         (build-module-asneeded): Likewise.
29069         (build-module-helper-objlist): Filter out $(link-libc-deps) from
29070         list of objects.
29071         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
29072         target-specific variable.
29073         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
29074         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
29075         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
29076         libc.
29077         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
29078         libc and ld.so.
29079         ($(objpfx)libpcprofile.so): Likewise.
29080         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
29081         libc_nonshared.a.
29082         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
29083         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
29084         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
29085         $(link-libc-deps).
29086         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
29087         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
29088         * login/Makefile ($(objpfx)libutil.so): Likewise.
29089         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
29090         * math/Makefile ($(objpfx)libm.so): Likewise.
29091         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
29092         $(objpfx)libnsl.so): Define libc-for-link as target-specific
29093         variable instead of depending directly on libc.
29094         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
29095         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
29096         $(link-libc-deps).
29097         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
29098         libc.
29099         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
29100         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
29101         ($(objpfx)libanl.so): Likewise.
29102         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
29103         ld.so.
29104         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
29105         $(link-libc-deps).
29106         * sysdeps/i386/fpu/Makefile: Remove file.
29107         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
29108         ($(objpfx)libm.so): Remove dependency on ld.so.
29110 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
29112         [BZ # 15553]
29113         * nis/yp_xdr.c (XDRMAXNAME): Define.
29114         (XDRMAXRECORD): Define.
29115         (xdr_domainname): Use XDRMAXNAME.
29116         (xdr_mapname): Likewise.
29117         (xdr_peername): Likewise.
29118         (xdr_keydat): Use XDRMAXRECORD.
29119         (xdr_valdat): Likewise.
29121 2013-05-30  Jeff Law  <law@redhat.com>
29123         [BZ #14256]
29124         * manual/errno.texi (ESTALE): Update to account for more than
29125         just NFS file systems.
29126         * sysdeps/gnu/errlist.c: Regenerated.
29128 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29130         [BZ #15465]
29131         * elf/Makefile (tests): Add tst-null-argv.
29132         (modules-names):  Add tst-null-argv-lib.
29133         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
29134         (tst-null-argv-ENV): Set environment for tst-null-argv.
29135         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
29136         (RTLD_PROGNAME): New macro.
29137         * elf/tst-null-argv.c: New test case.
29138         * elf/tst-null-argv-lib.c: Library for test case.
29139         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
29140         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
29141         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
29142         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
29143         * elf/dl-init.c (call_init): Likewise.
29144         (_dl_init): Likewise.
29145         * elf/dl-load.c (print_search_path): Likewise.
29146         (_dl_map_object): Likewise.
29147         * elf/dl-lookup.c (do_lookup_x): Likewise.
29148         (add_dependency): Likewise.
29149         (_dl_lookup_symbol_x): Likewise.
29150         (_dl_debug_bindings): Likewise.
29151         * elf/dl-open.c (_dl_show_scope): Likewise.
29152         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29153         * elf/dl-version.c (match_symbol): Likewise.
29154         (_dl_check_map_versions): Likewise.
29155         * elf/rtld.c (dl_main): Likewise.
29156         (print_unresolved): Use RTLD_PROGNAME.
29157         (print_missing_version): Likewise.
29158         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
29159         (elf_machine_rela): Likewise.
29160         * sysdeps/powerpc/powerpc32/dl-machine.c
29161         (__process_machine_rela): Likewise.
29162         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29163         Likewise.
29164         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29165         Likewise.
29166         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29167         Likewise.
29168         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29169         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
29170         Likewise.
29171         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
29172         Likewise.
29173         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29175 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
29177         * po/be.po: Add descriptive title.
29178         * po/zh_CN.po: Likewise.
29179         * po/header.pot: Likewise.
29181 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
29183         * locale/programs/locarchive.c (create_archive): Inlucde fname in
29184         error message.
29185         (enlarge_archive): Likewise.
29187 2013-05-28  Ben North  <ben@redfrontdoor.org>
29189         * manual/arith.texi (frexp): It is the magnitude of the return
29190         value which lies in [0.5, 1), not the return value itself.
29192 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29196 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
29198         * stdio-common/bug26.c (main): Correct fscanf template.
29200         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
29201         declare _dl_skip_args.
29203         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
29204         Don't declare.
29206         * manual/platform.texi: Add missing @end deftypefun.
29208 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
29210         [BZ #15529]
29211         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
29212         bit of mantissa of 2^16382.
29213         * math/libm-test.inc (hypot_test_data): Add more tests.
29215         * math/libm-test.inc: Add drem and pow10 to list of tested
29216         functions.
29217         (pow10_test): New function.
29218         (drem_test): Likewise.
29219         (drem_test_tonearest): Likewise.
29220         (drem_test_towardzero): Likewise.
29221         (drem_test_downward): Likewise.
29222         (drem_test_upward): Likewise.
29223         (main): Call the new functions.
29225         * math/libm-test.inc (finite_test_data): Remove.
29226         (finite_test): Run tests from isfinite_test_data.
29227         (gamma_test_data): Remove.
29228         (gamma_test): Run tests from lgamma_test_data.
29229         * sysdeps/i386/fpu/libm-test-ulps: Update.
29230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29232 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29234         * manual/platform.texi: Add PowerPC PPR function set documentation.
29235         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
29236         implementation.
29238 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
29240         * math/libm-test.inc (MAX_EXP): Define.
29241         (ULPDIFF): Define.
29242         (ulp): New function.
29243         (check_float_internal): Use ULPDIFF.
29244         (cpow_test): Disable failing test.
29245         (check_ulp): Test ulp() implemetnation.
29246         (main): Call check_ulp before starting tests.
29248 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
29250         * math/gen-libm-test.pl (generate_testfile): Do not handle
29251         START_DATA and END_DATA.
29252         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
29253         END_DATA.
29254         (acos_tonearest_test_data): Likewise.
29255         (acos_towardzero_test_data): Likewise.
29256         (acos_downward_test_data): Likewise.
29257         (acos_upward_test_data): Likewise.
29258         (acosh_test_data): Likewise.
29259         (asin_test_data): Likewise.
29260         (asin_tonearest_test_data): Likewise.
29261         (asin_towardzero_test_data): Likewise.
29262         (asin_downward_test_data): Likewise.
29263         (asin_upward_test_data): Likewise.
29264         (asinh_test_data): Likewise.
29265         (atan_test_data): Likewise.
29266         (atanh_test_data): Likewise.
29267         (atan2_test_data): Likewise.
29268         (cabs_test_data): Likewise.
29269         (cacos_test_data): Likewise.
29270         (cacosh_test_data): Likewise.
29271         (carg_test_data): Likewise.
29272         (casin_test_data): Likewise.
29273         (casinh_test_data): Likewise.
29274         (catan_test_data): Likewise.
29275         (catanh_test_data): Likewise.
29276         (cbrt_test_data): Likewise.
29277         (ccos_test_data): Likewise.
29278         (ccosh_test_data): Likewise.
29279         (ceil_test_data): Likewise.
29280         (cexp_test_data): Likewise.
29281         (cimag_test_data): Likewise.
29282         (clog_test_data): Likewise.
29283         (clog10_test_data): Likewise.
29284         (conj_test_data): Likewise.
29285         (copysign_test_data): Likewise.
29286         (cos_test_data): Likewise.
29287         (cos_tonearest_test_data): Likewise.
29288         (cos_towardzero_test_data): Likewise.
29289         (cos_downward_test_data): Likewise.
29290         (cos_upward_test_data): Likewise.
29291         (cosh_test_data): Likewise.
29292         (cosh_tonearest_test_data): Likewise.
29293         (cosh_towardzero_test_data): Likewise.
29294         (cosh_downward_test_data): Likewise.
29295         (cosh_upward_test_data): Likewise.
29296         (cpow_test_data): Likewise.
29297         (cproj_test_data): Likewise.
29298         (creal_test_data): Likewise.
29299         (csin_test_data): Likewise.
29300         (csinh_test_data): Likewise.
29301         (csqrt_test_data): Likewise.
29302         (ctan_test_data): Likewise.
29303         (ctan_tonearest_test_data): Likewise.
29304         (ctan_towardzero_test_data): Likewise.
29305         (ctan_downward_test_data): Likewise.
29306         (ctan_upward_test_data): Likewise.
29307         (ctanh_test_data): Likewise.
29308         (ctanh_tonearest_test_data): Likewise.
29309         (ctanh_towardzero_test_data): Likewise.
29310         (ctanh_downward_test_data): Likewise.
29311         (ctanh_upward_test_data): Likewise.
29312         (erf_test_data): Likewise.
29313         (erfc_test_data): Likewise.
29314         (exp_test_data): Likewise.
29315         (exp_tonearest_test_data): Likewise.
29316         (exp_towardzero_test_data): Likewise.
29317         (exp_downward_test_data): Likewise.
29318         (exp_upward_test_data): Likewise.
29319         (exp10_test_data): Likewise.
29320         (exp2_test_data): Likewise.
29321         (expm1_test_data): Likewise.
29322         (fabs_test_data): Likewise.
29323         (fdim_test_data): Likewise.
29324         (finite_test_data): Likewise.
29325         (floor_test_data): Likewise.
29326         (fma_test_data): Likewise.
29327         (fma_towardzero_test_data): Likewise.
29328         (fma_downward_test_data): Likewise.
29329         (fma_upward_test_data): Likewise.
29330         (fmax_test_data): Likewise.
29331         (fmin_test_data): Likewise.
29332         (fmod_test_data): Likewise.
29333         (fpclassify_test_data): Likewise.
29334         (frexp_test_data): Likewise.
29335         (gamma_test_data): Likewise.
29336         (hypot_test_data): Likewise.
29337         (ilogb_test_data): Likewise.
29338         (isfinite_test_data): Likewise.
29339         (isgreater_test_data): Likewise.
29340         (isgreaterequal_test_data): Likewise.
29341         (isinf_test_data): Likewise.
29342         (isless_test_data): Likewise.
29343         (islessequal_test_data): Likewise.
29344         (islessgreater_test_data): Likewise.
29345         (isnan_test_data): Likewise.
29346         (isnormal_test_data): Likewise.
29347         (issignaling_test_data): Likewise.
29348         (isunordered_test_data): Likewise.
29349         (j0_test_data): Likewise.
29350         (j1_test_data): Likewise.
29351         (jn_test_data): Likewise.
29352         (ldexp_test_data): Likewise.
29353         (lgamma_test_data): Likewise.
29354         (lrint_test_data): Likewise.
29355         (lrint_tonearest_test_data): Likewise.
29356         (lrint_towardzero_test_data): Likewise.
29357         (lrint_downward_test_data): Likewise.
29358         (lrint_upward_test_data): Likewise.
29359         (llrint_test_data): Likewise.
29360         (llrint_tonearest_test_data): Likewise.
29361         (llrint_towardzero_test_data): Likewise.
29362         (llrint_downward_test_data): Likewise.
29363         (llrint_upward_test_data): Likewise.
29364         (log_test_data): Likewise.
29365         (log10_test_data): Likewise.
29366         (log1p_test_data): Likewise.
29367         (log2_test_data): Likewise.
29368         (logb_test_data): Likewise.
29369         (logb_downward_test_data): Likewise.
29370         (lround_test_data): Likewise.
29371         (llround_test_data): Likewise.
29372         (modf_test_data): Likewise.
29373         (nearbyint_test_data): Likewise.
29374         (nextafter_test_data): Likewise.
29375         (nexttoward_test_data): Likewise.
29376         (pow_test_data): Likewise.
29377         (pow_tonearest_test_data): Likewise.
29378         (pow_towardzero_test_data): Likewise.
29379         (pow_downward_test_data): Likewise.
29380         (pow_upward_test_data): Likewise.
29381         (remainder_test_data): Likewise.
29382         (remainder_tonearest_test_data): Likewise.
29383         (remainder_towardzero_test_data): Likewise.
29384         (remainder_downward_test_data): Likewise.
29385         (remainder_upward_test_data): Likewise.
29386         (remquo_test_data): Likewise.
29387         (rint_test_data): Likewise.
29388         (rint_tonearest_test_data): Likewise.
29389         (rint_towardzero_test_data): Likewise.
29390         (rint_downward_test_data): Likewise.
29391         (rint_upward_test_data): Likewise.
29392         (round_test_data): Likewise.
29393         (scalb_test_data): Likewise.
29394         (scalbn_test_data): Likewise.
29395         (scalbln_test_data): Likewise.
29396         (signbit_test_data): Likewise.
29397         (sin_test_data): Likewise.
29398         (sin_tonearest_test_data): Likewise.
29399         (sin_towardzero_test_data): Likewise.
29400         (sin_downward_test_data): Likewise.
29401         (sin_upward_test_data): Likewise.
29402         (sincos_test_data): Likewise.
29403         (sinh_test_data): Likewise.
29404         (sinh_tonearest_test_data): Likewise.
29405         (sinh_towardzero_test_data): Likewise.
29406         (sinh_downward_test_data): Likewise.
29407         (sinh_upward_test_data): Likewise.
29408         (sqrt_test_data): Likewise.
29409         (tan_test_data): Likewise.
29410         (tan_tonearest_test_data): Likewise.
29411         (tan_towardzero_test_data): Likewise.
29412         (tan_downward_test_data): Likewise.
29413         (tan_upward_test_data): Likewise.
29414         (tanh_test_data): Likewise.
29415         (tgamma_test_data): Likewise.
29416         (trunc_test_data): Likewise.
29417         (y0_test_data): Likewise.
29418         (y1_test_data): Likewise.
29419         (yn_test_data): Likewise.
29420         (significand_test_data): Likewise.
29422         * math/gen-libm-test.pl (@functions): Remove variable.
29423         (generate_testfile): Don't handle START and END lines.
29424         * math/libm-test.inc (START): New macro.
29425         (END): Likewise.
29426         (END_COMPLEX): Likewise.
29427         (acos_test): Use END macro without arguments.
29428         (acos_test_tonearest): Likewise.
29429         (acos_test_towardzero): Likewise.
29430         (acos_test_downward): Likewise.
29431         (acos_test_upward): Likewise.
29432         (acosh_test): Likewise.
29433         (asin_test): Likewise.
29434         (asin_test_tonearest): Likewise.
29435         (asin_test_towardzero): Likewise.
29436         (asin_test_downward): Likewise.
29437         (asin_test_upward): Likewise.
29438         (asinh_test): Likewise.
29439         (atan_test): Likewise.
29440         (atanh_test): Likewise.
29441         (atan2_test): Likewise.
29442         (cabs_test): Likewise.
29443         (cacos_test): Use END_COMPLEX macro without arguments.
29444         (cacosh_test): Likewise.
29445         (carg_test): Use END macro without arguments.
29446         (casin_test): Use END_COMPLEX macro without arguments.
29447         (casinh_test): Likewise.
29448         (catan_test): Likewise.
29449         (catanh_test): Likewise.
29450         (cbrt_test): Use END macro without arguments.
29451         (ccos_test): Use END_COMPLEX macro without arguments.
29452         (ccosh_test): Likewise.
29453         (ceil_test): Use END macro without arguments.
29454         (cexp_test): Use END_COMPLEX macro without arguments.
29455         (cimag_test): Use END macro without arguments.
29456         (clog_test): Use END_COMPLEX macro without arguments.
29457         (clog10_test): Likewise.
29458         (conj_test): Likewise.
29459         (copysign_test): Use END macro without arguments.
29460         (cos_test): Likewise.
29461         (cos_test_tonearest): Likewise.
29462         (cos_test_towardzero): Likewise.
29463         (cos_test_downward): Likewise.
29464         (cos_test_upward): Likewise.
29465         (cosh_test): Likewise.
29466         (cosh_test_tonearest): Likewise.
29467         (cosh_test_towardzero): Likewise.
29468         (cosh_test_downward): Likewise.
29469         (cosh_test_upward): Likewise.
29470         (cpow_test): Use END_COMPLEX macro without arguments.
29471         (cproj_test): Likewise.
29472         (creal_test): Use END macro without arguments.
29473         (csin_test): Use END_COMPLEX macro without arguments.
29474         (csinh_test): Likewise.
29475         (csqrt_test): Likewise.
29476         (ctan_test): Likewise.
29477         (ctan_test_tonearest): Likewise.
29478         (ctan_test_towardzero): Likewise.
29479         (ctan_test_downward): Likewise.
29480         (ctan_test_upward): Likewise.
29481         (ctanh_test): Likewise.
29482         (ctanh_test_tonearest): Likewise.
29483         (ctanh_test_towardzero): Likewise.
29484         (ctanh_test_downward): Likewise.
29485         (ctanh_test_upward): Likewise.
29486         (erf_test): Use END macro without arguments.
29487         (erfc_test): Likewise.
29488         (exp_test): Likewise.
29489         (exp_test_tonearest): Likewise.
29490         (exp_test_towardzero): Likewise.
29491         (exp_test_downward): Likewise.
29492         (exp_test_upward): Likewise.
29493         (exp10_test): Likewise.
29494         (exp2_test): Likewise.
29495         (expm1_test): Likewise.
29496         (fabs_test): Likewise.
29497         (fdim_test): Likewise.
29498         (finite_test): Likewise.
29499         (floor_test): Likewise.
29500         (fma_test): Likewise.
29501         (fma_test_towardzero): Likewise.
29502         (fma_test_downward): Likewise.
29503         (fma_test_upward): Likewise.
29504         (fmax_test): Likewise.
29505         (fmin_test): Likewise.
29506         (fmod_test): Likewise.
29507         (fpclassify_test): Likewise.
29508         (frexp_test): Likewise.
29509         (gamma_test): Likewise.
29510         (hypot_test): Likewise.
29511         (ilogb_test): Likewise.
29512         (isfinite_test): Likewise.
29513         (isgreater_test): Likewise.
29514         (isgreaterequal_test): Likewise.
29515         (isinf_test): Likewise.
29516         (isless_test): Likewise.
29517         (islessequal_test): Likewise.
29518         (islessgreater_test): Likewise.
29519         (isnan_test): Likewise.
29520         (isnormal_test): Likewise.
29521         (issignaling_test): Likewise.
29522         (isunordered_test): Likewise.
29523         (j0_test): Likewise.
29524         (j1_test): Likewise.
29525         (jn_test): Likewise.
29526         (ldexp_test): Likewise.
29527         (lgamma_test): Likewise.
29528         (lrint_test): Likewise.
29529         (lrint_test_tonearest): Likewise.
29530         (lrint_test_towardzero): Likewise.
29531         (lrint_test_downward): Likewise.
29532         (lrint_test_upward): Likewise.
29533         (llrint_test): Likewise.
29534         (llrint_test_tonearest): Likewise.
29535         (llrint_test_towardzero): Likewise.
29536         (llrint_test_downward): Likewise.
29537         (llrint_test_upward): Likewise.
29538         (log_test): Likewise.
29539         (log10_test): Likewise.
29540         (log1p_test): Likewise.
29541         (log2_test): Likewise.
29542         (logb_test): Likewise.
29543         (logb_test_downward): Likewise.
29544         (lround_test): Likewise.
29545         (llround_test): Likewise.
29546         (modf_test): Likewise.
29547         (nearbyint_test): Likewise.
29548         (nextafter_test): Likewise.
29549         (nexttoward_test): Likewise.
29550         (pow_test): Likewise.
29551         (pow_test_tonearest): Likewise.
29552         (pow_test_towardzero): Likewise.
29553         (pow_test_downward): Likewise.
29554         (pow_test_upward): Likewise.
29555         (remainder_test): Likewise.
29556         (remainder_test_tonearest): Likewise.
29557         (remainder_test_towardzero): Likewise.
29558         (remainder_test_downward): Likewise.
29559         (remainder_test_upward): Likewise.
29560         (remquo_test): Likewise.
29561         (rint_test): Likewise.
29562         (rint_test_tonearest): Likewise.
29563         (rint_test_towardzero): Likewise.
29564         (rint_test_downward): Likewise.
29565         (rint_test_upward): Likewise.
29566         (round_test): Likewise.
29567         (scalb_test): Likewise.
29568         (scalbn_test): Likewise.
29569         (scalbln_test): Likewise.
29570         (signbit_test): Likewise.
29571         (sin_test): Likewise.
29572         (sin_test_tonearest): Likewise.
29573         (sin_test_towardzero): Likewise.
29574         (sin_test_downward): Likewise.
29575         (sin_test_upward): Likewise.
29576         (sincos_test): Likewise.
29577         (sinh_test): Likewise.
29578         (sinh_test_tonearest): Likewise.
29579         (sinh_test_towardzero): Likewise.
29580         (sinh_test_downward): Likewise.
29581         (sinh_test_upward): Likewise.
29582         (sqrt_test): Likewise.
29583         (tan_test): Likewise.
29584         (tan_test_tonearest): Likewise.
29585         (tan_test_towardzero): Likewise.
29586         (tan_test_downward): Likewise.
29587         (tan_test_upward): Likewise.
29588         (tanh_test): Likewise.
29589         (tgamma_test): Likewise.
29590         (trunc_test): Likewise.
29591         (y0_test): Likewise.
29592         (y1_test): Likewise.
29593         (yn_test): Likewise.
29594         (significand_test): Likewise.
29596 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
29598         [BZ #15381]
29599         * libio/genops.c (_IO_no_init): Initialize wide struct info.
29601 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
29603         [BZ #14894]
29604         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
29605         __ppc_mdoio and __ppc_mdoom.
29606         * manual/platform.texi: Document new functions __ppc_yield,
29607         __ppc_mdoio and __ppc_mdoom.
29609 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
29611         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
29612         (main): Mention "tls" pseudo-hwcap is legacy.
29613         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
29615 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
29617         * math/gen-libm-test.pl (parse_args): Output only string of
29618         arguments as text for test name, not full call or descriptions of
29619         tests for extra outputs.
29620         (generate_testfile): Do not pass function name to parse_args.
29621         Generate this_func variable from START.
29622         * math/libm-test.inc (struct test_f_f_data): Rename test_name
29623         field to arg_str.
29624         (struct test_ff_f_data): Likewise.
29625         (test_ff_f_data_nexttoward): Likewise.
29626         (struct test_fi_f_data): Likewise.
29627         (struct test_fl_f_data): Likewise.
29628         (struct test_if_f_data): Likewise.
29629         (struct test_fff_f_data): Likewise.
29630         (struct test_c_f_data): Likewise.
29631         (struct test_f_f1_data): Likewise.  Remove field extra_name.
29632         (struct test_fF_f1_data): Likewise.
29633         (struct test_ffI_f1_data): Likewise.
29634         (struct test_c_c_data): Rename test_name field to arg_str.
29635         (struct test_cc_c_data): Likewise.
29636         (struct test_f_i_data): Likewise.
29637         (struct test_ff_i_data): Likewise.
29638         (struct test_f_l_data): Likewise.
29639         (struct test_f_L_data): Likewise.
29640         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
29641         and extra2_name.
29642         (COMMON_TEST_SETUP): New macro.
29643         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
29644         (COMMON_TEST_CLEANUP): Likewise.
29645         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
29646         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
29647         macros.
29648         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
29649         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
29650         macros.
29651         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
29652         (RUN_TEST_fff_f): Take argument string.  Call new setup and
29653         cleanup macros.
29654         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
29655         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
29656         macros.
29657         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
29658         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
29659         macros.
29660         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
29661         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
29662         cleanup macros.
29663         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
29664         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
29665         cleanup macros.
29666         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
29667         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
29668         cleanup macros.
29669         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
29670         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
29671         macros.
29672         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
29673         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
29674         macros.
29675         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
29676         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
29677         macros.
29678         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
29679         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
29680         cleanup macros.
29681         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
29682         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
29683         cleanup macros.
29684         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
29685         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
29686         macros.
29687         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
29688         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
29689         cleanup macros.
29690         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
29691         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
29692         macros.
29693         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
29694         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
29695         macros.
29696         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
29697         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
29698         cleanup macros.
29699         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
29701 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
29703         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
29704         to _sifields.sigfault.
29705         (si_addr_lsb): Define new macro.
29706         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29707         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29708         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
29710 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
29712         [BZ #15441]
29713         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
29714         returns -1.
29715         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
29716         null return -1.
29717         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
29718         loading the domain.
29720 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
29722         * math/gen-libm-test.pl (parse_args): Do not include expected
29723         result in test name.
29724         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
29725         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29726         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29727         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29728         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29731 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29733         * benchtests/Makefile: Sort function entries.
29735         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
29736         tanh, asinh, acosh, atanh.
29737         * benchtests/acos-inputs: New file.
29738         * benchtests/acosh-inputs: New file.
29739         * benchtests/asin-inputs: New file.
29740         * benchtests/asinh-inputs: New file.
29741         * benchtests/atanh-inputs: New file.
29742         * benchtests/cosh-inputs: New file.
29743         * benchtests/log-inputs: New file.
29744         * benchtests/sinh-inputs: New file.
29745         * benchtests/tanh-inputs: New file.
29747 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
29749         [BZ #15339]
29750         * posix/tst-getaddrinfo4.c: New test.
29751         * posix/Makefile (tests): Add it.
29753 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29755         [BZ #15339]
29756         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
29757         when no services were used.
29758         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
29759         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
29761 2013-05-21  Andreas Schwab  <schwab@suse.de>
29763         [BZ #15014]
29764         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
29765         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
29766         successful.
29767         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
29768         redundant variable declarations and reallocation of buffer when
29769         parsing as IPv6 address.  Always set NSS status when called from
29770         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
29771         buffer too small.  Correct computation of needed size.
29772         * nss/Makefile (tests): Add test-digits-dots.
29773         * nss/test-digits-dots.c: New test.
29775 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29777         * benchtests/Makefile: Remove instructions for adding
29778         benchmark tests.
29779         * benchtests/README: New file to explain how to execute and
29780         enhance the benchmark tests.
29782 2013-05-21  Andreas Schwab  <schwab@suse.de>
29784         [BZ #15493]
29785         * setjmp/Makefile (tests): Add tst-sigsetjmp.
29786         * setjmp/tst-sigsetjmp.c: New test.
29788 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
29790         * sysdeps/x86_64/memset.S (memset): New implementation.
29791         (__bzero): Likewise.
29792         (__memset_tail): New function.
29794 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
29796         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
29797         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
29798         __memcpy_sse2_unaligned ifunc selection.
29799         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29800         Add memcpy-sse2-unaligned.S.
29801         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29802         Add: __memcpy_sse2_unaligned.
29804 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
29806         [BZ #15490]
29807         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29808         math_force_eval before restoring floating-point envrionment.
29809         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
29810         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29811         Likewise.
29812         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
29813         <math_private.h>.
29814         (__nearbyintl): Use math_force_eval before restoring
29815         floating-point environment.
29816         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
29818         * math/gen-libm-test.pl (special_functions): Remove.
29819         (parse_args): Don't handle TEST_extra.  Handle functions with no
29820         return value.
29821         * math/libm-test.inc (struct test_sincos_data): Replace with
29822         struct test_fFF_11_data.
29823         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
29824         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
29825         (sincos_test_data): Change element type to struct
29826         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
29827         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
29828         RUN_TEST_LOOP_sincos.
29829         * math/README.libm-test: Don't mention special handling of
29830         individual functions.
29831         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
29832         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29833         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29834         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29835         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29838         * math/gen-libm-test.pl (get_variable): Remove function.
29839         (parse_args): Don't show pointer parameters to call in test
29840         names.  Use "extra output N" in test names for extra outputs
29841         rather than naming variables.
29843 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
29845         [BZ #15488]
29846         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
29847         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
29848         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
29849         double tests.
29850         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
29851         disable.
29852         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
29853         check_long_double.
29855         * math/gen-libm-test.pl (@tests): Remove variable.
29856         ($count): Likewise.
29857         (new_test): Remove function.
29858         (show_exceptions): New function.
29859         (special_functions): Use show_exceptions instead of new_test.
29860         (parse_args): Likewise.
29861         (generate_testfile): Pass only function name in generated call to
29862         print_max_error or print_complex_max_error.
29863         (get_ulps): Do not handle complex tests specially.
29864         (output_test): Rename to ...
29865         (get_all_ulps_for_test): ... this.  Return a string rather than
29866         printing to a file.  Require ulps to be present.
29867         (output_ulps): Generate arrays rather than #defines.
29868         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
29869         (struct ulp_data): New type.
29870         (BUILD_COMPLEX_ULP): Remove macro.
29871         (compare_ulp_data): New function.
29872         (find_ulps): Likewise.
29873         (find_test_ulps): Likewise.
29874         (find_function_ulps): Likewise.
29875         (find_complex_function_ulps): Likewise.
29876         (print_max_error): Determine allowed ulps using
29877         find_function_ulps.
29878         (print_complex_max_error): Determine allowed ulps using
29879         find_complex_function_ulps.
29880         (check_float_internal): Determine max ulps using find_test_ulps.
29881         (check_float): Do not take max_ulp parameter.  Update call to
29882         check_float_internal.
29883         (check_complex): Likewise.
29884         (check_int): Do not take max_ulp parameter.
29885         (check_long): Likewise.
29886         (check_bool): Likewise.
29887         (check_longlong): Likewise.
29888         (struct test_f_f_data): Remove max_ulp field.
29889         (struct test_ff_f_data): Likewise.
29890         (struct test_ff_f_data_nexttoward): Likewise.
29891         (struct test_fi_f_data): Likewise.
29892         (struct test_fl_f_data): Likewise.
29893         (struct test_if_f_data): Likewise.
29894         (struct test_fff_f_data): Likewise.
29895         (struct test_c_f_data): Likewise.
29896         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
29897         (struct test_fF_f1_data): Likewise.
29898         (struct test_ffI_f1_data): Likewise.
29899         (struct test_c_c_data): Remove max_ulp field.
29900         (struct test_cc_c_data): Likewise.
29901         (struct test_f_i_data): Likewise.
29902         (struct test_ff_i_data): Likewise.
29903         (struct test_f_l_data): Likewise.
29904         (struct test_f_L_data): Likewise.
29905         (struct test_sincos_data): Likewise.
29906         (RUN_TEST_f_f): Do not handle ulps.
29907         (RUN_TEST_LOOP_f_f): Likewise.
29908         (RUN_TEST_2_f): Likewise.
29909         (RUN_TEST_LOOP_2_f): Likewise.
29910         (RUN_TEST_fff_f): Likewise.
29911         (RUN_TEST_LOOP_fff_f): Likewise.
29912         (RUN_TEST_c_f): Likewise.
29913         (RUN_TEST_LOOP_c_f): Likewise.
29914         (RUN_TEST_f_f1): Likewise.
29915         (RUN_TEST_LOOP_f_f1): Likewise.
29916         (RUN_TEST_fF_f1): Likewise.
29917         (RUN_TEST_LOOP_fF_f1): Likewise.
29918         (RUN_TEST_fI_f1): Likewise.
29919         (RUN_TEST_LOOP_fI_f1): Likewise.
29920         (RUN_TEST_ffI_f1): Likewise.
29921         (RUN_TEST_LOOP_ffI_f1): Likewise.
29922         (RUN_TEST_c_c): Likewise.
29923         (RUN_TEST_LOOP_c_c): Likewise.
29924         (RUN_TEST_cc_c): Likewise.
29925         (RUN_TEST_LOOP_cc_c): Likewise.
29926         (RUN_TEST_f_i): Likewise.
29927         (RUN_TEST_LOOP_f_i): Likewise.
29928         (RUN_TEST_f_i_tg): Likewise.
29929         (RUN_TEST_LOOP_f_i_tg): Likewise.
29930         (RUN_TEST_ff_i_tg): Likewise.
29931         (RUN_TEST_LOOP_ff_i_tg): Likewise.
29932         (RUN_TEST_f_b): Likewise.
29933         (RUN_TEST_LOOP_f_b): Likewise.
29934         (RUN_TEST_f_b_tg): Likewise.
29935         (RUN_TEST_LOOP_f_b_tg): Likewise.
29936         (RUN_TEST_f_l): Likewise.
29937         (RUN_TEST_LOOP_f_l): Likewise.
29938         (RUN_TEST_f_L): Likewise.
29939         (RUN_TEST_LOOP_f_L): Likewise.
29940         (RUN_TEST_sincos): Likewise.
29941         (RUN_TEST_LOOP_sincos): Likewise.
29943 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
29945         [BZ #15480]
29946         [BZ #15485]
29947         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
29948         main case of finite arguments, set rounding mode to FE_TONEAREST
29949         and discard exceptions.
29950         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
29951         exceptions.
29952         (remainder_tonearest_test_data): New variable.
29953         (remainder_test_tonearest): New function.
29954         (remainder_towardzero_test_data): New variable.
29955         (remainder_test_towardzero): New function.
29956         (remainder_downward_test_data): New variable.
29957         (remainder_test_downward): New function.
29958         (remainder_upward_test_data): New variable.
29959         (remainder_test_upward): New function.
29960         (main): Call the new test functions.
29962         * math/libm-test.inc (struct test_f_f1_data): Remove field
29963         extra_init.
29964         (struct test_fF_f1_data): Likewise.
29965         (struct test_ffI_f1_data): Likewise.
29966         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
29967         based on value of EXTRA_EXPECTED.
29968         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
29969         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
29970         EXTRA_VAR based on value of EXTRA_EXPECTED.
29971         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
29972         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
29973         EXTRA_VAR based on value of EXTRA_EXPECTED.
29974         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
29975         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
29976         EXTRA_VAR based on value of EXTRA_EXPECTED.
29977         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
29978         * math/gen-libm-test.pl (parse_args): Don't output initializers
29979         for extra output values.
29981         * math/libm-test.inc (check_int): Expect result to be exactly
29982         equal to expected value and do not handle ulps.
29983         (check_long): Likewise.
29984         (check_longlong): Likewise.
29986         * math/libm-test.inc (ceil_test_data): Test for "inexact"
29987         exceptions.
29988         (cimag_test_data): Likewise.
29989         (conj_test_data): Likewise.
29990         (copysign_test_data): Likewise.
29991         (cproj_test_data): Likewise.
29992         (creal_test_data): Likewise.
29993         (fabs_test_data): Likewise.
29994         (fdim_test_data): Likewise.
29995         (finite_test_data): Likewise.
29996         (floor_test_data): Likewise.
29997         (fmax_test_data): Likewise.
29998         (fmin_test_data): Likewise.
29999         (fmod_test_data): Likewise.
30000         (fpclassify_test_data): Likewise.
30001         (frexp_test_data): Likewise.
30002         (ilogb_test_data): Likewise.
30003         (isfinite_test_data): Likewise.
30004         (isgreater_test_data): Likewise.
30005         (isgreaterequal_test_data): Likewise.
30006         (isinf_test_data): Likewise.
30007         (isless_test_data): Likewise.
30008         (islessequal_test_data): Likewise.
30009         (islessgreater_test_data): Likewise.
30010         (isnan_test_data): Likewise.
30011         (isnormal_test_data): Likewise.
30012         (issignaling_test_data): Likewise.
30013         (isunordered_test_data): Likewise.
30014         (ldexp_test_data): Likewise.
30015         (lrint_test_data): Likewise.
30016         (lrint_test_data) [TEST_FLOAT]: Disable one test.
30017         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
30018         (lrint_tonearest_test_data): Test for "inexact" exceptions.
30019         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30020         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
30021         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30022         test input.
30023         (lrint_towardzero_test_data): Test for "inexact" exceptions.
30024         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30025         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
30026         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
30027         that test input.
30028         (lrint_downward_test_data): Test for "inexact" exceptions.
30029         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30030         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
30031         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30032         test input.
30033         (lrint_upward_test_data): Test for "inexact" exceptions.
30034         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
30035         test input.
30036         (llrint_test_data): Test for "inexact" exceptions.
30037         (llrint_test_data) [TEST_FLOAT]: Disable one test.
30038         (llrint_tonearest_test_data): Test for "inexact" exceptions.
30039         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30040         (llrint_towardzero_test_data): Test for "inexact" exceptions.
30041         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30042         (llrint_downward_test_data): Test for "inexact" exceptions.
30043         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30044         (llrint_upward_test_data): Test for "inexact" exceptions.
30045         (logb_test_data): Likewise.
30046         (logb_downward_test_data): Likewise.
30047         (nextafter_test_data): Likewise.
30048         (nexttoward_test_data): Likewise.
30049         (remainder_test_data): Likewise.
30050         (remquo_test_data): Likewise.
30051         (scalbn_test_data): Likewise.
30052         (scalbln_test_data): Likewise.
30053         (signbit_test_data): Likewise.
30054         (sqrt_test_data): Likewise.
30055         (significand_test_data): Likewise.
30057 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30059         [BZ #15424]
30060         * benchtests/bench-modf.c (struct args): Mark arg0 as
30061         volatile.
30062         * scripts/bench.pl: Mark members of struct args as volatile.
30064 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30066         [BZ # 15497]
30067         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
30068         negative infinity on POWER6 or lower.
30069         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
30071 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
30073         [BZ #15442]
30074         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
30075         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
30076         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
30077         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
30078         (_FP_SETQNAN): New macro.
30079         (_FP_SETQNAN_SEMIRAW): Likewise.
30080         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
30081         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
30082         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
30083         (FP_EXTEND): Use _FP_FRAC_SNANP.
30084         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
30085         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
30086         into account.
30087         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30088         New macro.
30089         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30090         Likewise.
30092 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
30094         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
30095         with DIVIDE_BY_ZERO_EXCEPTION.
30096         (gamma_test_data): Likewise.
30097         (lgamma_test_data): Likewise.
30098         (log_test_data): Likewise.
30099         (log10_test_data): Likewise.
30100         (log2_test_data): Likewise.
30101         (tgamma_test_data): Likewise.
30103         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
30104         (acos_test_tonearest): Likewise.
30105         (acos_test_towardzero): Likewise.
30106         (acos_test_downward): Likewise.
30107         (acos_test_upward): Likewise.
30108         (acosh_test): Likewise.
30109         (asin_test): Likewise.
30110         (asin_test_tonearest): Likewise.
30111         (asin_test_towardzero): Likewise.
30112         (asin_test_downward): Likewise.
30113         (asin_test_upward): Likewise.
30114         (asinh_test): Likewise.
30115         (atan_test): Likewise.
30116         (atanh_test): Likewise.
30117         (atan2_test): Likewise.
30118         (cabs_test): Likewise.
30119         (cacos_test): Likewise.
30120         (cacosh_test): Likewise.
30121         (casin_test): Likewise.
30122         (casinh_test): Likewise.
30123         (catan_test): Likewise.
30124         (catanh_test): Likewise.
30125         (cbrt_test): Likewise.
30126         (ccos_test): Likewise.
30127         (ccosh_test): Likewise.
30128         (cexp_test): Likewise.
30129         (clog_test): Likewise.
30130         (clog10_test): Likewise.
30131         (cos_test): Likewise.
30132         (cos_test_tonearest): Likewise.
30133         (cos_test_towardzero): Likewise.
30134         (cos_test_downward): Likewise.
30135         (cos_test_upward): Likewise.
30136         (cosh_test): Likewise.
30137         (cosh_test_tonearest): Likewise.
30138         (cosh_test_towardzero): Likewise.
30139         (cosh_test_downward): Likewise.
30140         (cosh_test_upward): Likewise.
30141         (cpow_test): Likewise.
30142         (csin_test): Likewise.
30143         (csinh_test): Likewise.
30144         (csqrt_test): Likewise.
30145         (ctan_test): Likewise.
30146         (ctan_test_tonearest): Likewise.
30147         (ctan_test_towardzero): Likewise.
30148         (ctan_test_downward): Likewise.
30149         (ctan_test_upward): Likewise.
30150         (ctanh_test): Likewise.
30151         (ctanh_test_tonearest): Likewise.
30152         (ctanh_test_towardzero): Likewise.
30153         (ctanh_test_downward): Likewise.
30154         (ctanh_test_upward): Likewise.
30155         (erf_test): Likewise.
30156         (erfc_test): Likewise.
30157         (exp_test): Likewise.
30158         (exp_test_tonearest): Likewise.
30159         (exp_test_towardzero): Likewise.
30160         (exp_test_downward): Likewise.
30161         (exp_test_upward): Likewise.
30162         (exp10_test): Likewise.
30163         (exp2_test): Likewise.
30164         (expm1_test): Likewise.
30165         (fmod_test): Likewise.
30166         (gamma_test): Likewise.
30167         (hypot_test): Likewise.
30168         (j0_test): Likewise.
30169         (j1_test): Likewise.
30170         (jn_test): Likewise.
30171         (lgamma_test): Likewise.
30172         (log_test): Likewise.
30173         (log10_test): Likewise.
30174         (log1p_test): Likewise.
30175         (log2_test): Likewise.
30176         (logb_test_downward): Likewise.
30177         (pow_test): Likewise.
30178         (pow_test_tonearest): Likewise.
30179         (pow_test_towardzero): Likewise.
30180         (pow_test_downward): Likewise.
30181         (pow_test_upward): Likewise.
30182         (remainder_test): Likewise.
30183         (remquo_test): Likewise.
30184         (sin_test): Likewise.
30185         (sin_test_tonearest): Likewise.
30186         (sin_test_towardzero): Likewise.
30187         (sin_test_downward): Likewise.
30188         (sin_test_upward): Likewise.
30189         (sincos_test): Likewise.
30190         (sinh_test): Likewise.
30191         (sinh_test_tonearest): Likewise.
30192         (sinh_test_towardzero): Likewise.
30193         (sinh_test_downward): Likewise.
30194         (sinh_test_upward): Likewise.
30195         (sqrt_test): Likewise.
30196         (tan_test): Likewise.
30197         (tan_test_tonearest): Likewise.
30198         (tan_test_towardzero): Likewise.
30199         (tan_test_downward): Likewise.
30200         (tan_test_upward): Likewise.
30201         (tanh_test): Likewise.
30202         (tgamma_test): Likewise.
30203         (y0_test): Likewise.
30204         (y1_test): Likewise.
30205         (yn_test): Likewise.
30207         * math/gen-libm-test.pl (adjust_arg): Remove function.
30208         (special_function): Remove argument $in_func.  Only handle
30209         generating output for tables of tests, not inside functions.
30210         (parse_args): Likewise.
30211         (generate_testfile): Remove variable $in_func.  Update call to
30212         parse_args.
30213         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
30214         (MINUS_ZERO_INIT): Rename macro to minus_zero.
30215         (PLUS_INFTY_INIT): Rename macro to plus_infty.
30216         (MINUS_INFTY_INIT): Rename macro to minus_infty.
30217         (QNAN_VALUE_INIT): Rename macro to qnan_value.
30218         (MAX_VALUE_INIT): Rename macro to max_value.
30219         (MIN_VALUE_INIT): Rename macro to min_value.
30220         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
30221         (plus_zero): Remove variable.
30222         (minus_zero): Likewise.
30223         (plus_infty): Likewise.
30224         (minus_infty): Likewise.
30225         (qnan_value): Likewise.
30226         (max_value): Likewise.
30227         (min_value): Likewise.
30228         (min_subnorm_value): Likewise.
30230 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30232         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
30233         uint64_t or uint32_t usage.
30234         * crypt/sha256-block.c: Likewise.
30235         * crypt/sha256-crypt.c: Likewise.
30236         * crypt/sha256.c: Likewise.
30237         * crypt/sha512-block.c: Likewise.
30238         * crypt/sha512-crypt.c: Likewise.
30239         * crypt/sha512.c: Likewise.
30240         * debug/backtrace-tst.c: Likewise.
30241         * debug/pcprofiledump.c: Likewise.
30242         * elf/cache.c: Likewise.
30243         * elf/dl-cache.c: Likewise.
30244         * elf/dl-misc.c: Likewise.
30245         * elf/dl-profile.c: Likewise.
30246         * elf/dl-support.c: Likewise.
30247         * elf/ldconfig.c: Likewise.
30248         * elf/sprof.c: Likewise.
30249         * iconv/dummy-repertoire.c: Likewise.
30250         * iconv/iconv_charmap.c: Likewise.
30251         * iconv/skeleton.c: Likewise.
30252         * iconvdata/8bit-generic.c: Likewise.
30253         * iconvdata/cp737.h: Likewise.
30254         * iconvdata/cp775.h: Likewise.
30255         * iconvdata/ibm1008.h: Likewise.
30256         * iconvdata/ibm1025.h: Likewise.
30257         * iconvdata/ibm1046.h: Likewise.
30258         * iconvdata/ibm1097.h: Likewise.
30259         * iconvdata/ibm1112.h: Likewise.
30260         * iconvdata/ibm1122.h: Likewise.
30261         * iconvdata/ibm1123.h: Likewise.
30262         * iconvdata/ibm1124.h: Likewise.
30263         * iconvdata/ibm1129.h: Likewise.
30264         * iconvdata/ibm1130.h: Likewise.
30265         * iconvdata/ibm1132.h: Likewise.
30266         * iconvdata/ibm1133.h: Likewise.
30267         * iconvdata/ibm1137.h: Likewise.
30268         * iconvdata/ibm1140.h: Likewise.
30269         * iconvdata/ibm1141.h: Likewise.
30270         * iconvdata/ibm1142.h: Likewise.
30271         * iconvdata/ibm1143.h: Likewise.
30272         * iconvdata/ibm1144.h: Likewise.
30273         * iconvdata/ibm1145.h: Likewise.
30274         * iconvdata/ibm1146.h: Likewise.
30275         * iconvdata/ibm1147.h: Likewise.
30276         * iconvdata/ibm1148.h: Likewise.
30277         * iconvdata/ibm1149.h: Likewise.
30278         * iconvdata/ibm1153.h: Likewise.
30279         * iconvdata/ibm1154.h: Likewise.
30280         * iconvdata/ibm1155.h: Likewise.
30281         * iconvdata/ibm1156.h: Likewise.
30282         * iconvdata/ibm1157.h: Likewise.
30283         * iconvdata/ibm1158.h: Likewise.
30284         * iconvdata/ibm1160.h: Likewise.
30285         * iconvdata/ibm1161.h: Likewise.
30286         * iconvdata/ibm1162.h: Likewise.
30287         * iconvdata/ibm1163.h: Likewise.
30288         * iconvdata/ibm1164.h: Likewise.
30289         * iconvdata/ibm1166.h: Likewise.
30290         * iconvdata/ibm1167.h: Likewise.
30291         * iconvdata/ibm12712.h: Likewise.
30292         * iconvdata/ibm1390.h: Likewise.
30293         * iconvdata/ibm1399.h: Likewise.
30294         * iconvdata/ibm16804.h: Likewise.
30295         * iconvdata/ibm4517.h: Likewise.
30296         * iconvdata/ibm4899.h: Likewise.
30297         * iconvdata/ibm4909.h: Likewise.
30298         * iconvdata/ibm4971.h: Likewise.
30299         * iconvdata/ibm5347.h: Likewise.
30300         * iconvdata/ibm803.h: Likewise.
30301         * iconvdata/ibm856.h: Likewise.
30302         * iconvdata/ibm901.h: Likewise.
30303         * iconvdata/ibm902.h: Likewise.
30304         * iconvdata/ibm9030.h: Likewise.
30305         * iconvdata/ibm9066.h: Likewise.
30306         * iconvdata/ibm921.h: Likewise.
30307         * iconvdata/ibm922.h: Likewise.
30308         * iconvdata/ibm9448.h: Likewise.
30309         * iconvdata/isiri-3342.h: Likewise.
30310         * iconvdata/jis0201.h: Likewise.
30311         * include/link.h: Likewise.
30312         * include/netdb.h: Likewise.
30313         * inet/check_native.c: Likewise.
30314         * inet/check_pf.c: Likewise.
30315         * inet/getipv4sourcefilter.c: Likewise.
30316         * inet/getnameinfo.c: Likewise.
30317         * inet/getsourcefilter.c: Likewise.
30318         * inet/htonl.c: Likewise.
30319         * inet/setipv4sourcefilter.c: Likewise.
30320         * inet/setsourcefilter.c: Likewise.
30321         * inet/test-inet6_opt.c: Likewise.
30322         * inet/tst-network.c: Likewise.
30323         * locale/C-collate.c: Likewise.
30324         * locale/C-ctype.c: Likewise.
30325         * locale/C-time.c: Likewise.
30326         * locale/C-translit.h: Likewise.
30327         * locale/loadarchive.c: Likewise.
30328         * locale/programs/3level.h: Likewise.
30329         * locale/programs/charmap.c: Likewise.
30330         * locale/programs/charmap.h: Likewise.
30331         * locale/programs/ld-address.c: Likewise.
30332         * locale/programs/ld-collate.c: Likewise.
30333         * locale/programs/ld-ctype.c: Likewise.
30334         * locale/programs/ld-identification.c: Likewise.
30335         * locale/programs/ld-measurement.c: Likewise.
30336         * locale/programs/ld-messages.c: Likewise.
30337         * locale/programs/ld-monetary.c: Likewise.
30338         * locale/programs/ld-name.c: Likewise.
30339         * locale/programs/ld-numeric.c: Likewise.
30340         * locale/programs/ld-paper.c: Likewise.
30341         * locale/programs/ld-telephone.c: Likewise.
30342         * locale/programs/ld-time.c: Likewise.
30343         * locale/programs/linereader.c: Likewise.
30344         * locale/programs/locale.c: Likewise.
30345         * locale/programs/locarchive.c: Likewise.
30346         * locale/programs/locfile.h: Likewise.
30347         * locale/programs/repertoire.c: Likewise.
30348         * locale/programs/simple-hash.c: Likewise.
30349         * locale/programs/simple-hash.h: Likewise.
30350         * malloc/memusage.c: Likewise.
30351         * malloc/memusagestat.c: Likewise.
30352         * nis/nis_defaults.c: Likewise.
30353         * nis/nis_hash.c: Likewise.
30354         * nis/nis_print.c: Likewise.
30355         * nis/nis_xdr.c: Likewise.
30356         * nscd/connections.c: Likewise.
30357         * nscd/hstcache.c: Likewise.
30358         * nscd/nscd_gethst_r.c: Likewise.
30359         * nscd/nscd_getserv_r.c: Likewise.
30360         * nscd/nscd_helper.c: Likewise.
30361         * nscd/servicescache.c: Likewise.
30362         * nss/makedb.c: Likewise.
30363         * nss/nss_db/db-XXX.c: Likewise.
30364         * nss/nss_db/db-initgroups.c: Likewise.
30365         * nss/nss_db/db-netgrp.c: Likewise.
30366         * nss/nss_files/files-network.c: Likewise.
30367         * nss/nss_files/files-parse.c: Likewise.
30368         * posix/bug-regex5.c: Likewise.
30369         * posix/fnmatch_loop.c: Likewise.
30370         * posix/regcomp.c: Likewise.
30371         * posix/regexec.c: Likewise.
30372         * posix/tst-rfc3484-2.c: Likewise.
30373         * posix/tst-rfc3484-3.c: Likewise.
30374         * posix/tst-rfc3484.c: Likewise.
30375         * resolv/nss_dns/dns-canon.c: Likewise.
30376         * resolv/nss_dns/dns-network.c: Likewise.
30377         * resolv/res_init.c: Likewise.
30378         * resolv/res_mkquery.c: Likewise.
30379         * resolv/tst-aton.c: Likewise.
30380         * stdlib/cxa_atexit.c: Likewise.
30381         * stdlib/cxa_finalize.c: Likewise.
30382         * stdlib/gen-fpioconst.c: Likewise.
30383         * stdlib/strtol_l.c: Likewise.
30384         * string/tst-endian.c: Likewise.
30385         * sunrpc/auth_des.c: Likewise.
30386         * sunrpc/clnt_udp.c: Likewise.
30387         * sunrpc/rtime.c: Likewise.
30388         * sunrpc/svcauth_des.c: Likewise.
30389         * sunrpc/xdr.c: Likewise.
30390         * sunrpc/xdr_intXX_t.c: Likewise.
30391         * sunrpc/xdr_rec.c: Likewise.
30392         * sysdeps/generic/ldconfig.h: Likewise.
30393         * sysdeps/generic/ldsodefs.h: Likewise.
30394         * sysdeps/generic/memusage.h: Likewise.
30395         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30396         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
30397         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
30398         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30399         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30400         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30401         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30402         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30403         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30404         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30405         * sysdeps/posix/getaddrinfo.c: Likewise.
30406         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30407         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30408         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30409         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30410         * sysdeps/powerpc/test-gettimebase.c: Likewise.
30411         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30412         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
30413         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
30414         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30415         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
30416         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30417         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30418         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
30419         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
30420         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
30421         * sysdeps/x86_64/dl-tls.h: Likewise.
30422         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
30423         * time/alt_digit.c: Likewise.
30424         * time/era.c: Likewise.
30425         * wcsmbs/tst-c16c32-1.c: Likewise.
30427 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
30429         * math/libm-test.inc (struct test_sincos_data): New type.
30430         (RUN_TEST_LOOP_sincos): New macro.
30431         (sincos_test_data): New variable.
30432         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
30434 2013-05-16  Richard Henderson  <rth@redhat.com>
30436         * math/atest-exp2.c (LIMB64): New macro.
30437         (CONSTSZ): New macro.
30438         (mp_exp1, mp_exp_m1, mp_log2): New variables.
30439         (hexdig): Move ...
30440         (print_mpn_fp): ... to function scope.
30441         (read_mpn_hex): Remove.
30442         (get_log2): Remove.
30443         (exp2_mpn): Use mp_log2.
30444         (main): Use mp_exp1.
30446 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
30448         * math/libm-test.inc: Remove comment about not testing "inexact"
30449         exceptions.
30450         (INEXACT_EXCEPTION): New macro.
30451         (NO_INEXACT_EXCEPTION): Likewise.
30452         (INVALID_EXCEPTION_OK): Update value.
30453         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30454         (OVERFLOW_EXCEPTION_OK): Likewise.
30455         (UNDERFLOW_EXCEPTION_OK): Likewise.
30456         (IGNORE_ZERO_INF_SIGN): Likewise.
30457         (ERRNO_UNCHANGED): Likewise.
30458         (ERRNO_EDOM): Likewise.
30459         (ERRNO_ERANGE): Likewise.
30460         (test_exceptions): Handle testing "inexact" exceptions.
30461         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
30462         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
30463         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
30464         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
30465         INEXACT_EXCEPTION.
30466         (rint_towardzero_test_data): Likewise.
30467         (rint_downward_test_data): Likewise.
30468         (rint_upward_test_data): Likewise.
30470         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
30471         with OVERFLOW_EXCEPTION.
30472         (exp10_test_data): Likewise.
30473         (exp2_test_data): Likewise.
30474         (expm1_test_data): Likewise.
30475         (lgamma_test_data): Likewise.
30476         (pow_test_data): Likewise.
30477         (tgamma_test_data): Likewise.
30478         (yn_test_data): Remove duplicate test of overflow.
30480         * math/libm-test.inc (struct test_cc_c_data): New type.
30481         (RUN_TEST_LOOP_cc_c): New macro.
30482         (cpow_test_data): New variable.
30483         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
30485         * math/libm-test.inc (struct test_f_L_data): New type.
30486         (RUN_TEST_LOOP_f_L): New macro.
30487         (llrint_test_data): New variable.
30488         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
30489         (llrint_tonearest_test_data): New variable.
30490         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
30491         (llrint_towardzero_test_data): New variable.
30492         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
30493         (llrint_downward_test_data): New variable.
30494         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
30495         (llrint_upward_test_data): New variable.
30496         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
30497         (llround_test_data): New variable.
30498         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
30500 2013-05-13  Peter Collingbourne  <pcc@google.com>
30502         * math/atest-exp2.c (get_log2): Remove const attribute.
30504 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
30506         * math/libm-test.inc (struct test_f_l_data): New type.
30507         (RUN_TEST_LOOP_f_l): New macro.
30508         (lrint_test_data): New variable.
30509         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
30510         (lrint_tonearest_test_data): New variable.
30511         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
30512         (lrint_towardzero_test_data): New variable.
30513         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
30514         (lrint_downward_test_data): New variable.
30515         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
30516         (lrint_upward_test_data): New variable.
30517         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
30518         (lround_test_data): New variable.
30519         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
30521 2013-05-15  Peter Collingbourne  <pcc@google.com>
30523         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
30524         (EXTRACT_WORDS64) Use where appropriate.
30525         (INSERT_WORDS64) Likewise.
30527         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
30528         constraints with x constraints.
30529         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
30531         * malloc/obstack.c (_obstack_compat): Add initializer.
30533 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
30535         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
30536         si_trapno and add si_addr_lsb to _sifields.sigfault.
30537         (si_trapno): Remove macro.
30538         (si_addr_lsb): Define new macro.
30539         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30541 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
30543         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
30544         instead of TEST_f_l.
30545         (llrint_test_tonearest): Likewise.
30546         (llrint_test_towardzero): Likewise.
30547         (llrint_test_downward): Likewise.
30548         (llrint_test_upward): Likewise.
30549         (llround_test): Likewise.
30551         * math/libm-test.inc (struct test_f_i_data): Add comment.
30552         (RUN_TEST_LOOP_f_b): New macro.
30553         (RUN_TEST_LOOP_f_b_tg): Likewise.
30554         (finite_test_data): New variable.
30555         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
30556         (isfinite_test_data): New variable.
30557         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30558         (isinf_test_data): New variable.
30559         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30560         (isnan_test_data): New variable.
30561         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30562         (isnormal_test_data): New variable.
30563         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30564         (issignaling_test_data): New variable.
30565         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30566         (signbit_test_data): New variable.
30567         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30569         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
30570         with INVALID_EXCEPTION.
30571         (acosh_test_data): Likewise.
30572         (asin_test_data): Likewise.
30573         (atanh_test_data): Likewise.
30574         (fmod_test_data): Likewise.
30575         (log_test_data): Likewise.
30576         (log10_test_data): Likewise.
30577         (log2_test_data): Likewise.
30578         (pow_test_data): Likewise.
30579         (sqrt_test_data): Likewise.
30580         (y0_test_data): Likewise.
30581         (y1_test_data): Likewise.
30582         (yn_test_data): Likewise.
30584         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
30585         function contents.
30587         * math/libm-test.inc (struct test_ff_i_data): New type.
30588         (RUN_TEST_LOOP_ff_i_tg): New macro.
30589         (isgreater_test_data): New variable.
30590         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30591         (isgreaterequal_test_data): New variable.
30592         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30593         (isless_test_data): New variable.
30594         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30595         (islessequal_test_data): New variable.
30596         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30597         (islessgreater_test_data): New variable.
30598         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30599         (isunordered_test_data): New variable.
30600         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30602 2013-05-14  David S. Miller  <davem@davemloft.net>
30604         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30606 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
30608         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
30610         * math/libm-test.inc (struct test_fF_f1_data): Change type of
30611         extra_test to int.
30612         (struct test_f_i_data): Change type of max_ulp to int.
30614         * math/libm-test.inc (test_ffI_f1_data): New type.
30615         (RUN_TEST_LOOP_ffI_f1): New macro.
30616         (remquo_test_data): New variable.
30617         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
30619         * setjmp/tst-setjmp-fp.c: New file.
30620         * setjmp/Makefile (tests): Add tst-setjmp-fp.
30621         (link-libm): New variable.
30622         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
30624         * math/libm-test.inc (struct test_f_i_data): New type.
30625         (RUN_TEST_LOOP_f_i): New macro.
30626         (RUN_TEST_LOOP_f_i_tg): Likewise.
30627         (fpclassify_test_data): New variable.
30628         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
30629         (ilogb_test_data): New variable.
30630         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
30632         * math/libm-test.inc (scalbln_test): Correct function name in END
30633         call.
30635         * math/libm-test.inc (struct test_f_f1_data): Add comment.
30636         (RUN_TEST_LOOP_fI_f1): New macro.
30637         (frexp_test_data): New variable.
30638         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
30640         * math/libm-test.inc (struct test_fF_f1_data): New type.
30641         (RUN_TEST_LOOP_fF_f1): New macro.
30642         (modf_test_data): New variable.
30643         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
30645         * math/libm-test.inc (struct test_f_f1_data): New type.
30646         (RUN_TEST_LOOP_f_f1): New macro.
30647         (gamma_test_data): New variable.
30648         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
30649         (lgamma_test_data): New variable.
30650         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
30652 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
30654         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
30655         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
30656         (main): Comment "tls" pseudo-hwcap.
30658 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
30660         * math/libm-test.inc (struct test_fl_f_data): New type.
30661         (RUN_TEST_LOOP_fl_f): New variable.
30662         (scalbln_test_data): New variable.
30663         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
30665         * math/libm-test.inc (struct test_fi_f_data): New type.
30666         (RUN_TEST_LOOP_fi_f): New macro.
30667         (ldexp_test_data): New variable.
30668         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
30669         (scalbn_test_data): New variable.
30670         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
30672         * math/libm-test.inc (struct test_c_f_data): New type.
30673         (RUN_TEST_LOOP_c_f): New macro.
30674         (cabs_test_data): New variable.
30675         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
30676         (carg_test_data): New variable.
30677         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
30678         (cimag_test_data): New variable.
30679         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
30680         (creal_test_data): New variable.
30681         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
30683         * math/libm-test.inc (struct test_if_f_data): New type.
30684         (RUN_TEST_LOOP_if_f): New macro.
30685         (jn_test_data): New variable.
30686         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
30687         (yn_test_data): New variable.
30688         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
30690         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
30692 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30694         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
30695         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
30697 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30699         * benchtests/Makefile (CPPFLAGS-nonlib): Add
30700         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
30701         (bench-deps): Add bench-timing.h.
30702         * benchtests-bench-skeleton.c: Include bench-timing.h.
30703         (main): Use TIMING_* macros instead of clock_gettime.
30704         * benchtests/bench-timing.h: New file.
30706         [BZ #14582]
30707         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
30708         Renamed from _LIB_VERSION.
30709         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
30711 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
30713         * math/libm-test.inc (struct test_fff_f_data): New type.
30714         (RUN_TEST_LOOP_fff_f): New macro.
30715         (fma_test_data): New variable.
30716         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
30717         (fma_towardzero_test_data): New variable.
30718         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
30719         (fma_downward_test_data): New variable.
30720         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
30721         (fma_upward_test_data): New variable.
30722         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
30724         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
30725         (struct test_c_c_data): New type.
30726         (RUN_TEST_LOOP_c_c): New macro.
30727         (cacos_test_data): New variable.
30728         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
30729         (cacosh_test_data): New variable.
30730         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
30731         (casin_test_data): New variable.
30732         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
30733         (casinh_test_data): New variable.
30734         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
30735         (catan_test_data): New variable.
30736         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
30737         (catanh_test_data): New variable.
30738         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
30739         (ccos_test_data): New variable.
30740         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
30741         (ccosh_test_data): New variable.
30742         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
30743         (cexp_test_data): New variable.
30744         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
30745         (clog_test_data): New variable.
30746         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
30747         (clog10_test_data): New variable.
30748         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
30749         (conj_test_data): New variable.
30750         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
30751         (cproj_test_data): New variable.
30752         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
30753         (csin_test_data): New variable.
30754         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
30755         (csinh_test_data): New variable.
30756         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
30757         (csqrt_test_data): New variable.
30758         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
30759         (ctan_test_data): New variable.
30760         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
30761         (ctan_tonearest_test_data): New variable.
30762         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
30763         (ctan_towardzero_test_data): New variable.
30764         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
30765         (ctan_downward_test_data): New variable.
30766         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
30767         (ctan_upward_test_data): New variable.
30768         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
30769         (ctanh_test_data): New variable.
30770         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
30771         (ctanh_tonearest_test_data): New variable.
30772         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
30773         (ctanh_towardzero_test_data): New variable.
30774         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
30775         (ctanh_downward_test_data): New variable.
30776         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
30777         (ctanh_upward_test_data): New variable.
30778         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
30779         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
30780         of BUILD_COMPLEX.
30782         * math/libm-test.inc (struct test_ff_f_data): New type.
30783         (struct test_ff_f_data_nexttoward): Likewise.
30784         (RUN_TEST_LOOP_2_f): New macro.
30785         (RUN_TEST_LOOP_ff_f): Likewise.
30786         (atan2_test_data): New variable.
30787         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
30788         (copysign_test_data): New variable.
30789         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
30790         (fdim_test_data): New variable.
30791         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
30792         (fmax_test_data): New variable.
30793         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
30794         (fmin_test_data): New variable.
30795         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
30796         (fmod_test_data): New variable.
30797         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
30798         (hypot_test_data): New variable.
30799         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
30800         (nextafter_test_data): New variable.
30801         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
30802         (nexttoward_test_data): New variable.
30803         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
30804         (pow_test_data): New variable.
30805         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
30806         (pow_tonearest_test_data): New variable.
30807         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
30808         (pow_towardzero_test_data): New variable.
30809         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
30810         (pow_downward_test_data): New variable.
30811         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
30812         (pow_upward_test_data): New variable.
30813         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
30814         (remainder_test_data): New variable.
30815         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
30816         (scalb_test_data): New variable.
30817         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
30818         * sysdeps/i386/fpu/libm-test-ulps: Update.
30820 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
30822         * math/libm-test.inc (fma_test): Use max_value instead of local
30823         variable fltmax.
30824         (nextafter_test): Likewise.
30826         * math/libm-test.inc (acos_towardzero_test_data): New variable.
30827         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30828         (acos_downward_test_data): New variable.
30829         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30830         (acos_upward_test_data): New variable.
30831         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30832         (acosh_test_data): New variable.
30833         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
30834         (asin_test_data): New variable.
30835         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
30836         (asin_tonearest_test_data): New variable.
30837         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30838         (asin_towardzero_test_data): New variable.
30839         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30840         (asin_downward_test_data): New variable.
30841         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30842         (asin_upward_test_data): New variable.
30843         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30844         (asinh_test_data): New variable.
30845         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
30846         (atan_test_data): New variable.
30847         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
30848         (atanh_test_data): New variable.
30849         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
30850         (cbrt_test_data): New variable.
30851         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
30852         (ceil_test_data): New variable.
30853         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
30854         (cos_test_data): New variable.
30855         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
30856         (cos_tonearest_test_data): New variable.
30857         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30858         (cos_towardzero_test_data): New variable.
30859         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30860         (cos_downward_test_data): New variable.
30861         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30862         (cos_upward_test_data): New variable.
30863         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30864         (cosh_test_data): New variable.
30865         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
30866         (cosh_tonearest_test_data): New variable.
30867         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30868         (cosh_towardzero_test_data): New variable.
30869         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30870         (cosh_downward_test_data): New variable.
30871         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30872         (cosh_upward_test_data): New variable.
30873         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30874         (erf_test_data): New variable.
30875         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
30876         (erfc_test_data): New variable.
30877         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
30878         (exp_test_data): New variable.
30879         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
30880         (exp_tonearest_test_data): New variable.
30881         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30882         (exp_towardzero_test_data): New variable.
30883         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30884         (exp_downward_test_data): New variable.
30885         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30886         (exp_upward_test_data): New variable.
30887         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30888         (exp10_test_data): New variable.
30889         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
30890         (exp2_test_data): New variable.
30891         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
30892         (expm1_test_data): New variable.
30893         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
30894         (fabs_test_data): New variable.
30895         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
30896         (floor_test_data): New variable.
30897         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
30898         (j0_test_data): New variable.
30899         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
30900         (j1_test_data): New variable.
30901         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
30902         (log_test_data): New variable.
30903         (log_test): Run tests with RUN_TEST_LOOP_f_f.
30904         (log10_test_data): New variable.
30905         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
30906         (log1p_test_data): New variable.
30907         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
30908         (log2_test_data): New variable.
30909         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
30910         (logb_test_data): New variable.
30911         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
30912         (logb_downward_test_data): New variable.
30913         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30914         (nearbyint_test_data): New variable.
30915         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
30916         (rint_test_data): New variable.
30917         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
30918         (rint_tonearest_test_data): New variable.
30919         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30920         (rint_towardzero_test_data): New variable.
30921         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30922         (rint_downward_test_data): New variable.
30923         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30924         (rint_upward_test_data): New variable.
30925         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30926         (round_test_data): New variable.
30927         (round_test): Run tests with RUN_TEST_LOOP_f_f.
30928         (sin_test_data): New variable.
30929         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
30930         (sin_tonearest_test_data): New variable.
30931         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30932         (sin_towardzero_test_data): New variable.
30933         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30934         (sin_downward_test_data): New variable.
30935         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30936         (sin_upward_test_data): New variable.
30937         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30938         (sinh_test_data): New variable.
30939         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
30940         (sinh_tonearest_test_data): New variable.
30941         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30942         (sinh_towardzero_test_data): New variable.
30943         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30944         (sinh_downward_test_data): New variable.
30945         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30946         (sinh_upward_test_data): New variable.
30947         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30948         (sqrt_test_data): New variable.
30949         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
30950         (tan_test_data): New variable.
30951         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
30952         (tan_tonearest_test_data): New variable.
30953         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30954         (tan_towardzero_test_data): New variable.
30955         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30956         (tan_downward_test_data): New variable.
30957         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30958         (tan_upward_test_data): New variable.
30959         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30960         (tanh_test_data): New variable.
30961         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
30962         (tgamma_test_data): New variable.
30963         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
30964         (trunc_test_data): New variable.
30965         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
30966         (y0_test_data): New variable.
30967         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
30968         (y1_test_data): New variable.
30969         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
30970         (significand_test_data): New variable.
30971         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
30973 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
30975         [BZ #12387]
30976         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
30978 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30980         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
30982 2013-05-10  Andreas Jaeger  <aj@suse.de>
30984         [BZ #15448]
30985         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
30986         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
30988 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
30990         * math/gen-libm-test.pl (adjust_arg): New function.
30991         (special_functions): Handle generating output in both functions
30992         and arrays.
30993         (parse_args): Likewise.
30994         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
30995         $in_func argument to parse_args.
30996         * math/libm-test.inc (struct test_f_f_data): New type.
30997         (IF_ROUND_INIT_): New macro.
30998         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
30999         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31000         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31001         (IF_ROUND_INIT_FE_UPWARD): Likewise.
31002         (ROUND_RESTORE_): Likewise.
31003         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
31004         (ROUND_RESTORE_FE_TONEAREST): Likewise.
31005         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
31006         (ROUND_RESTORE_FE_UPWARD): Likewise.
31007         (RUN_TEST_LOOP_f_f): New macro.
31008         (acos_test_data): New variable.
31009         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
31010         (acos_tonearest_test_data): New variable.
31011         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31013 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31015         * benchtests/bench-skeleton.c (startup): Fix coding style.
31017 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
31019         [BZ #6809]
31020         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
31021         negative infinity argument.
31022         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
31023         negative infinity argument.
31024         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
31025         negative infinity argument.
31026         * math/libm-test.inc (tgamma_test): Expect errno to be set for
31027         domain errors.
31029 2013-05-10  Florian Weimer  <fweimer@redhat.com>
31031         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
31032         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
31033         * iconv/iconv_prog.c (main): Likewise.
31034         * locale/programs/charmap-dir.c (charmap_readdir)
31035         (fopen_uncompressed): Likewise.
31036         * locale/programs/locfile.c (siblings_uncached)
31037         (write_locale_data): Use lstat64 instead of lstat.
31038         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
31039         stat.
31041 2013-05-10  Andreas Jaeger  <aj@suse.de>
31043         [BZ #15395]
31044         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
31045         localization.
31046         Include <locale.h>.
31048 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
31050         * elf/dl-close.c (_dl_close_worker): Add comments.
31052 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
31054         [BZ #15359]
31055         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
31056         high part of pi/2.
31057         (__ieee754_rem_pio2l): Update comments.
31059         [BZ #15429]
31060         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
31061         high part of pi/2.
31062         (__ieee754_rem_pio2l): Update comments.
31064         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
31065         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
31067         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
31068         M_PI_4l.
31070         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
31071         (M_PI_34_LOG10El): Likewise.
31072         (M_PI2_LOG10El): Likewise.
31073         (M_PI4_LOG10El): Likewise.
31074         (M_PI_LOG10El): Likewise.
31076 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31080 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
31082         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
31083         (MINUS_ZERO_INIT): Likewise.
31084         (PLUS_INFTY_INIT): Likewise.
31085         (MINUS_INFTY_INIT): Likewise.
31086         (QNAN_VALUE_INIT): Likewise.
31087         (MAX_VALUE_INIT): Likewise.
31088         (MIN_VALUE_INIT): Likewise.
31089         (MIN_SUBNORM_VALUE_INIT): Likewise.
31090         (plus_zero): Initialize with PLUS_ZERO_INIT.
31091         (minus_zero): Initialize with MINUS_ZERO_INIT.
31092         (plus_infty): Initialize with PLUS_INFTY_INIT.
31093         (minus_infty): Initialize with MINUS_INFTY_INIT.
31094         (qnan_value): Initialize with QNAN_VALUE_INIT.
31095         (max_value): Initialize with MAX_VALUE_INIT.
31096         (min_value): Initialize with MIN_VALUE_INIT.
31097         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
31099         * math/libm-test.inc (RUN_TEST_if_f): New macro.
31100         (jn_test): Use TEST_if_f instead of TEST_ff_f.
31101         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
31102         (yn_test): Use TEST_if_f instead of TEST_ff_f.
31104         * math/libm-test.inc (RUN_TEST_f_f): New macro.
31105         (RUN_TEST_2_f): Likewise.
31106         (RUN_TEST_ff_f): Likewise.
31107         (RUN_TEST_fi_f): Likewise.
31108         (RUN_TEST_fl_f): Likewise.
31109         (RUN_TEST_fff_f): Likewise.
31110         (RUN_TEST_c_f): Likewise.
31111         (RUN_TEST_f_f1): Likewise.
31112         (RUN_TEST_fF_f1): Likewise.
31113         (RUN_TEST_fI_f1): Likewise.
31114         (RUN_TEST_ffI_f1): Likewise.
31115         (RUN_TEST_c_c): Likewise.
31116         (RUN_TEST_cc_c): Likewise.
31117         (RUN_TEST_f_i): Likewise.
31118         (RUN_TEST_f_i_tg): Likewise.
31119         (RUN_TEST_ff_i_tg): Likewise.
31120         (RUN_TEST_f_b): Likewise.
31121         (RUN_TEST_f_b_tg): Likewise.
31122         (RUN_TEST_f_l): Likewise.
31123         (RUN_TEST_f_L): Likewise.
31124         (RUN_TEST_sincos): Likewise.
31125         * math/gen-libm-test.pl (new_test): Take new argument to indicate
31126         whether to show exceptions.  Do not include ");\n" in return
31127         value.
31128         (special_functions): Output call to RUN_TEST_sincos instead of
31129         check_float calls.  Update calls to new_test.
31130         (parse_args): Output call to single RUN_TEST_* macro instead of
31131         check_* calls and other assignments.  Update calls to new_test.
31133         [BZ #2546]
31134         [BZ #2560]
31135         [BZ #5159]
31136         [BZ #15426]
31137         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
31138         input to result for tgamma overflow.
31139         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
31140         (gamma_coeff): New variable.
31141         (NCOEFF): New macro.
31142         (gamma_positive): New function.
31143         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
31144         underflow here.  Use gamma_positive instead of exp (lgamma) for
31145         other arguments.
31146         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
31147         (gamma_coeff): New variable.
31148         (NCOEFF): New macro.
31149         (gammaf_positive): New function.
31150         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
31151         underflow here.  Use gamma_positive instead of exp (lgamma) for
31152         other arguments.
31153         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
31154         (gamma_coeff): New variable.
31155         (NCOEFF): New macro.
31156         (gammal_positive): New function.
31157         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
31158         underflow here.  Use gamma_positive instead of exp (lgamma) for
31159         other arguments.
31160         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
31161         (gamma_coeff): New variable.
31162         (NCOEFF): New macro.
31163         (gammal_positive): New function.
31164         (__ieee754_gammal_r): Handle positive infinity, overflow and
31165         underflow here.  Handle NaN the same as positive infinity.  Remove
31166         check x < 0xffffffff for negative integers.  Use gamma_positive
31167         instead of exp (lgamma) for other arguments.
31168         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
31169         (gamma_coeff): New variable.
31170         (NCOEFF): New macro.
31171         (gammal_positive): New function.
31172         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
31173         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
31174         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
31175         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
31176         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
31177         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
31178         * sysdeps/generic/math_private.h (__gamma_productf): New
31179         prototype.
31180         (__gamma_product): Likewise.
31181         (__gamma_productl): Likewise.
31182         * math/Makefile (libm-calls): Add gamma_product.
31183         * math/libm-test.inc (tgamma_test): Add more tests.
31184         * sysdeps/i386/fpu/libm-test-ulps: Update.
31185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31187 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
31189         * benchtests/bench-skeleton.c (main): Preheat CPU.
31191 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
31193         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
31195 2013-05-07  Roland McGrath  <roland@hack.frob.com>
31197         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
31198         and _dl_skip_args_internal.
31200 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
31202         * manual/message.texi (Message Translation): Talk about users.
31203         Message to key mapping impacts design.
31205 2013-05-06  Roland McGrath  <roland@hack.frob.com>
31207         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
31209         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
31211         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
31212         * sysdeps/wordsize-64/glob64.c: ... here.
31214         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
31215         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
31216         New macros.
31218         * debug/getlogin_r_chk.c: Moved to ...
31219         * login/getlogin_r_chk.c: ... here.
31220         * debug/Makefile (routines): Move getlogin_r_chk to ...
31221         * login/Makefile (routines): ... here.
31222         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
31223         * login/Versions (libc: GLIBC_2.4): ... here.
31225         * io/poll.c (__poll): Renamed from poll.
31226         Add libc_hidden_def.
31227         (poll): Define as weak alias.
31229         * debug/ptsname_r_chk.c: Moved to ...
31230         * login/ptsname_r_chk.c: ... here.
31231         * debug/Makefile (routines): Move ptsname_r_chk to ...
31232         * login/Makefile (routines): ... here.
31233         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
31234         * login/Versions (libc: GLIBC_2.4): ... here.
31236         * posix/getlogin.c: Moved to ...
31237         * login/getlogin.c: ... here.
31238         * posix/getlogin_r.c: Moved to ...
31239         * login/getlogin_r.c: ... here.
31240         * posix/getlogin_r.c: Moved to ...
31241         * login/getlogin_r.c: ... here.
31242         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
31243         * login/Makefile (routines): ... here.
31244         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
31245         * login/Versions (libc: GLIBC_2.0): ... here.
31247         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
31248         (setrlimit): Define as weak alias.
31250         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
31251         Call __ names for open, ftruncate, and close.
31252         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
31253         (truncate): Define as weak alias.
31255 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
31257         * math/gen-libm-test.pl (parse_args): Initialize x before each
31258         test of frexp, modf and remquo.
31260         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
31261         test signgam value.
31263 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31265         [BZ #15418]
31266         [BZ #15419]
31267         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
31268         internal tests.
31269         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31271 2013-05-06  Roland McGrath  <roland@hack.frob.com>
31273         * elf/dl-writev.h: New file.
31274         * elf/dl-misc.c: Include it.
31275         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
31276         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
31278 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
31280         * math/libm-test.inc (noXFails): Remove variable.
31281         (noXPasses): Likewise.
31282         (BUILD_COMPLEX_INT): Remove macro.
31283         (print_screen): Remove xfail argument.
31284         (print_screen_max_error): Likewise.
31285         (update_stats): Likewise.
31286         (print_max_error): Likewise.  Update calls to other affected
31287         functions.
31288         (print_complex_max_error): Likewise.
31289         (test_single_exception): Update calls to print_screen.
31290         (test_single_errno): Likewise.
31291         (check_float_internal): Remove xfail argument.  Update calls to
31292         other affected functions.
31293         (check_float): Likewise.
31294         (check_complex): Likewise.
31295         (check_int): Likewise.
31296         (check_long): Likewise.
31297         (check_bool): Likewise.
31298         (check_longlong): Likewise.
31299         (main): Don't print noXFails and noXPasses.
31300         * math/gen-libm-test.pl (top level): Don't mention expected
31301         failure handling in comment.
31302         (new_test): Don't handle expected failures.
31303         (parse_args): Don't mention expected failure handling in comment.
31304         (generate_testfile): Don't handle expected failures.
31305         (parse_ulps): Likewise.
31306         (print_ulps_file): Likewise.
31307         (get_failure): Remove function.
31308         (output_test): Don't handle expected failures.
31309         * make/README.libm-test: Don't mention expected failure handling.
31311         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
31312         (minus_zero): Likewise.
31313         (plus_infty): Likewise.
31314         (minus_infty): Likewise.
31315         (qnan_value): Likewise.
31316         (max_value): Likewise.
31317         (min_value): Likewise.
31318         (min_subnorm_value): Likewise.
31319         (initialize): Do not initialize those variables dynamically.
31321 2013-05-03  Roland McGrath  <roland@hack.frob.com>
31323         * io/open.c (__open_2): Moved to ...
31324         * io/open_2.c: ... this new file.
31325         * io/open64.c (__open64_2): Moved to ...
31326         * io/open64_2.c: ... this new file.
31327         * io/openat.c (__openat_2): Moved to ...
31328         * io/openat_2.c: ... this new file.
31329         * io/openat64.c (__openat64_2): Moved to ...
31330         * io/openat64_2.c: ... this new file.
31331         * io/Makefile (routines): Add them.
31332         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
31333         * sysdeps/unix/sysv/linux/open_2.c: File removed.
31334         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
31335         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
31336         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
31337         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
31338         (__openat64): Add hidden_ver.
31339         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
31340         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
31342         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
31343         Separately conditionalize setting of GLRO(dl_sysinfo) so
31344         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
31345         as well, but the actual setting is only under [NEED_DL_SYSINFO].
31347 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31349         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
31350         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
31351         definition.
31352         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
31353         * sysdeps/unix/sysv/linux/powerpc/init-first.c
31354         (_libc_vdso_platform_setup): Add __vdso_time initialization.
31355         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
31356         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
31358 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
31360         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
31361         test signgam value.
31363         * math/libm-test.inc (hypot_test): Do not use
31364         IGNORE_ZERO_INF_SIGN.
31366 2013-05-03  Andreas Jaeger  <aj@suse.de>
31368         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
31369         Linux 3.9.
31370         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
31371         (PF_MAX): Adjust for VSOCK change.
31373 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31377 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
31379         [BZ #15264]
31380         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
31381         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
31382         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
31384 2013-05-02  David S. Miller  <davem@davemloft.net>
31386         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31388 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
31390         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
31392 2013-05-01  Roland McGrath  <roland@hack.frob.com>
31394         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
31396 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
31398         [BZ #14952]
31399         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
31400         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31401         Use __attribute__ ((__gnu_inline__)).
31402         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31403         Don't use __attribute__ ((__gnu_inline__)).
31405 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
31407         [BZ #15423]
31408         * math/s_catan.c (__catan): Handle small real or imaginary part of
31409         input specially to avoid spurious underflow.
31410         * math/s_catanf.c (__catanf): Likewise.
31411         * math/s_catanh.c (__catanh): Likewise.
31412         * math/s_catanhf.c (__catanhf): Likewise.
31413         * math/s_catanhl.c (__catanhl): Likewise.
31414         * math/s_catanl.c (__catanl): Likewise.
31415         * math/libm-test.inc (catan_test): Add more tests.
31416         (catanh_test): Likewise.
31417         * sysdeps/i386/fpu/libm-test-ulps: Update.
31418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31420 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31424 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
31426         [BZ #15416]
31427         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
31428         accurately for denominator in atan2.
31429         * math/s_catanf.c (__catanf): Likewise.
31430         * math/s_catanh.c (__catanh): Likewise.
31431         * math/s_catanhf.c (__catanhf): Likewise.
31432         * math/s_catanhl.c (__catanhl): Likewise.
31433         * math/s_catanl.c (__catanl): Likewise.
31434         * math/libm-test.inc (catan_test): Add more tests.
31435         (catanh_test): Likewise.
31436         * sysdeps/i386/fpu/libm-test-ulps: Update.
31437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31439 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31441         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
31443         * benchtests/Makefile (bench): Remove slow benchmarks.
31444         * benchtests/atan-inputs: Add slow benchmark inputs.
31445         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
31446         (BENCH_FUNC): Accept variant offset.
31447         (VARIANT): Define.
31448         * benchtests/bench-skeleton.c (main): Run benchmark for each
31449         variant.
31450         * benchtests/cos-inputs: Add slow benchmark inputs.
31451         * benchtests/exp-inputs: Likewise.
31452         * benchtests/pow-inputs: Likewise.
31453         * benchtests/sin-inputs: Likewise.
31454         * benchtests/slowatan-inputs: Remove.
31455         * benchtests/slowatan.c: Remove.
31456         * benchtests/slowcos-inputs: Remove.
31457         * benchtests/slowcos.c: Remove.
31458         * benchtests/slowexp-inputs: Remove.
31459         * benchtests/slowexp.c: Remove.
31460         * benchtests/slowpow-inputs: Remove.
31461         * benchtests/slowpow.c: Remove.
31462         * benchtests/slowsin-inputs: Remove.
31463         * benchtests/slowsin.c: Remove.
31464         * benchtests/slowtan-inputs: Remove.
31465         * benchtests/slowtan.c: Remove.
31466         * benchtests/tan-inputs: Add slow benchmark inputs.
31467         * scripts/bench.pl: Parse comments and directives.
31469         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
31470         in CPPFLAGS.
31471         ($(objpfx)bench-%.c): Remove *-ITER.
31472         * benchtests/bench-modf.c: Remove definition of ITER.
31473         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
31474         (main): Loop for DURATION seconds instead of fixed number of
31475         iterations.
31476         * scripts/bench.pl: Don't expect iterations in parameters.
31478 2013-04-29  Roland McGrath  <roland@hack.frob.com>
31480         * io/fchdir.c (__fchdir): Renamed from fchdir.
31481         (fchdir): Define as weak alias.
31483 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
31485         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
31486         (ERRNO_EDOM): Likewise.
31487         (ERRNO_ERANGE): Likewise.
31488         (noErrnoTests): New variable.
31489         (init_max_error): Set errno to 0.
31490         (test_single_errno): New function.
31491         (test_errno): Likewise.
31492         (check_float_internal): Call test_errno.  Set errno to 0.
31493         (check_complex): Refer to errno tests in comment.
31494         (check_int): Call test_errno.  Set errno to 0.
31495         (check_long): Likewise.
31496         (check_bool): Likewise.
31497         (check_longlong): Likewise.
31498         (cos_test): Use ERRNO_* flags for errno tests instead of
31499         check_int.
31500         (expm1_test): Likewise.
31501         (fmod_test): Likewise.
31502         (ilogb_test): Likewise.
31503         (lgamma_test): Likewise.
31504         (pow_test): Likewise.
31505         (remainder_test): Likewise.
31506         (sin_test): Likewise.
31507         (tan_test): Likewise.
31508         (yn_test): Likewise.
31509         (initialize): Set errno to 0.
31510         (main): Print number of errno tests.
31511         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
31513 2013-04-29  Andreas Jaeger  <aj@suse.de>
31515         [BZ #15084]
31516         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
31517         and RES_USEVC.
31519         [BZ #15085]
31520         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
31521         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
31522         unimplemented.
31524         [BZ #15380]
31525         * stdlib/random.c (__initstate): Return NULL if
31526         __initstate fails.
31528         [BZ #15086]
31529         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
31530         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
31531         RES_SNGLKUPREOP.
31533 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31537 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
31539         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
31540         of individual tests.
31541         (casin_test): Likewise.
31542         (casinh_test): Likewise.
31544 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
31546         [BZ #15409]
31547         * math/s_catan.c (__catan): Handle arguments with large real or
31548         imaginary part separately without squaring.
31549         * math/s_catanf.c (__catanf): Likewise.
31550         * math/s_catanh.c (__catanh): Likewise.
31551         * math/s_catanhf.c (__catanhf): Likewise.
31552         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31553         and redefine.
31554         (__catanhl): Handle arguments with large real or imaginary part
31555         separately without squaring.
31556         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31557         and redefine.
31558         (__catanl): Handle arguments with large real or imaginary part
31559         separately without squaring.
31560         * math/libm-test.inc (catan_test): Add more tests.
31561         (catanh_test): Likewise.
31562         * sysdeps/i386/fpu/libm-test-ulps: Update.
31563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31565 2013-04-27  Andreas Jaeger  <aj@suse.de>
31567         [BZ #15007]
31568         * stdlib/stdlib.h: Update guards for qecvt.
31569         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
31570         <stdlib.h>.
31572 2013-04-27  Allan McRae  <allan@archlinux.org>
31574         * sysdeps/i386/fpu/libm-test-ulps: Update.
31576 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
31578         [BZ #15406]
31579         * math/s_catan.c: Include <float.h>.
31580         (__catan): Ensure underflow exception occurs for underflowed
31581         result.
31582         * math/s_catanf.c: Include <float.h>.
31583         (__catanf): Ensure underflow exception occurs for underflowed
31584         result.
31585         * math/s_catanh.c: Include <float.h>.
31586         (__catanh): Ensure underflow exception occurs for underflowed
31587         result.
31588         * math/s_catanhf.c: Include <float.h>.
31589         (__catanhf): Ensure underflow exception occurs for underflowed
31590         result.
31591         * math/s_catanhl.c: Include <float.h>.
31592         (__catanhl): Ensure underflow exception occurs for underflowed
31593         result.
31594         * math/s_catanl.c: Include <float.h>.
31595         (__catanl): Ensure underflow exception occurs for underflowed
31596         result.
31597         * math/libm-test.inc (catan_test): Add more tests.
31598         (catanh_test): Likewise.
31600         [BZ #15405]
31601         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
31602         underflowed result.
31603         * math/s_ccoshf.c (__ccoshf): Likewise.
31604         * math/s_ccoshl.c (__ccoshl): Likewise.
31605         * math/s_csin.c (__csin): Likewise.
31606         * math/s_csinf.c (__csinf): Likewise.
31607         * math/s_csinh.c (__csinh): Likewise.
31608         * math/s_csinhf.c (__csinhf): Likewise.
31609         * math/s_csinhl.c (__csinhl): Likewise.
31610         * math/s_csinl.c (__csinl): Likewise.
31611         * math/libm-test.inc (ccos_test): Add more tests.
31612         (ccosh_test): Likewise.
31613         (csin_test): Likewise.
31614         (csinh_test): Likewise.
31616 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31618         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
31619         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
31620         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
31621         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
31622         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
31623         powerpc/power5+/fpu folders.
31624         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
31627 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
31629         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31631 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
31633         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
31634         additions to variable.
31635         [$(config-machine) = x86_64] (modules-names): Likewise.
31636         ($(objpfx)tst-audit3): Remove dependency.
31637         ($(objpfx)tst-audit3.out): Likewise.
31638         ($(objpfx)tst-audit4): Likewise.
31639         ($(objpfx)tst-audit4.out): Likewise.
31640         ($(objpfx)tst-audit5): Likewise.
31641         ($(objpfx)tst-audit5.out): Likewise.
31642         ($(objpfx)tst-audit6): Likewise.
31643         ($(objpfx)tst-audit6.out): Likewise.
31644         ($(objpfx)tst-audit7): Likewise.
31645         ($(objpfx)tst-audit7.out): Likewise.
31646         (tst-audit3-ENV): Remove variable.
31647         (tst-audit4-ENV): Likewise.
31648         (tst-audit5-ENV): Likewise.
31649         (tst-audit6-ENV): Likewise.
31650         (tst-audit7-ENV): Likewise.
31651         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
31652         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
31653         addition to variable.
31654         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
31655         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
31656         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
31657         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
31658         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
31659         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
31660         tst-audit3, tst-audit4 and tst-audit5.
31661         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
31662         tst-audit6 and tst-audit7.
31663         [$(subdir) = elf] (modules-names): Add audit modules for those
31664         tests.
31665         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
31666         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
31667         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
31668         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
31669         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
31670         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
31671         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
31672         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
31673         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
31674         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
31675         [$(subdir) = elf] (tst-audit3-ENV): New variable.
31676         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
31677         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
31678         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
31679         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
31680         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
31681         Likewise.
31682         [$(subdir) = elf && $(config-cflags-avx) = yes]
31683         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
31684         [$(subdir) = elf && $(config-cflags-avx) = yes]
31685         (CFLAGS-tst-auditmod4a.c): Likewise.
31686         [$(subdir) = elf && $(config-cflags-avx) = yes]
31687         (CFLAGS-tst-auditmod4b.c): Likewise.
31688         [$(subdir) = elf && $(config-cflags-avx) = yes]
31689         (CFLAGS-tst-auditmod6b.c): Likewise.
31690         [$(subdir) = elf && $(config-cflags-avx) = yes]
31691         (CFLAGS-tst-auditmod6c.c): Likewise.
31692         [$(subdir) = elf && $(config-cflags-avx) = yes]
31693         (CFLAGS-tst-auditmod7b.c): Likewise.
31694         * elf/tst-audit3.c: Move to ...
31695         * sysdeps/x86_64/tst-audit3.c: ... here.
31696         * elf/tst-audit4.c: Move to ...
31697         * sysdeps/x86_64/tst-audit4.c: ... here.
31698         * elf/tst-audit5.c: Move to ...
31699         * sysdeps/x86_64/tst-audit5.c: ... here.
31700         * elf/tst-audit6.c: Move to ...
31701         * sysdeps/x86_64/tst-audit6.c: ... here.
31702         * elf/tst-audit7.c: Move to ...
31703         * sysdeps/x86_64/tst-audit7.c: ... here.
31704         * elf/tst-auditmod3a.c: Move to ...
31705         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
31706         * elf/tst-auditmod3b.c: Move to ...
31707         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
31708         * elf/tst-auditmod4a.c: Move to ...
31709         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
31710         * elf/tst-auditmod4b.c: Move to ...
31711         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
31712         * elf/tst-auditmod5a.c: Move to ...
31713         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
31714         * elf/tst-auditmod5b.c: Move to ...
31715         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
31716         * elf/tst-auditmod6a.c: Move to ...
31717         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
31718         * elf/tst-auditmod6b.c: Move to ...
31719         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
31720         * elf/tst-auditmod6c.c: Move to ...
31721         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
31722         * elf/tst-auditmod7a.c: Move to ...
31723         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
31724         * elf/tst-auditmod7b.c: Move to ...
31725         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
31727 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
31729         [BZ #15366]
31730         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
31731         define unconditionally.
31732         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
31733         define unconditionally.
31734         (INT8_C, INT16_C, etc.): Likewise.
31736 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
31738         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
31739         __ehdr_start with hidden visibility.
31741         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
31743 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
31745         * math/libm-test.inc (cos_test): Use accurate hex constants.
31746         (sincost_test): Likewise.
31748 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
31750         * math/libm-test.inc (catan_test): Add more tests.
31751         (catanh_test): Likewise.
31753         * math/s_catanf.c (__catanf): Use suffixed floating-point
31754         constants.
31755         * math/s_catanhf.c (__catanhf): Likewise.
31756         * math/s_catanhl.c (__catanhl): Likewise.
31757         * math/s_catanl.c (__catanl): Likewise.
31759         [BZ #15394]
31760         * math/s_catan.c (__catan): Calculate imaginary part of result
31761         with log1p not log unless computing log of number close to 0.
31762         * math/s_catanf.c (__catanf): Likewise.
31763         * math/s_catanl.c (__catanl): Likewise.
31764         * math/s_catanh.c (__catanh): Calculate real part of result with
31765         log1p not log unless computing log of number close to 0.
31766         * math/s_catanhf.c (__catanhf): Likewise.
31767         * math/s_catanhl.c (__catanhl): Likewise.
31768         * math/libm-test.inc (catan_test): Add more tests.
31769         (catanh_test): Likewise.
31770         * sysdeps/i386/fpu/libm-test-ulps: Update.
31771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31773 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31775         * benchtests/Makefile: Mention files in which fast and slow
31776         paths of math functions are implemented.
31778 2013-04-23  Roland McGrath  <roland@hack.frob.com>
31780         * sysdeps/posix/timespec_get.c: New file.
31782 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31784         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
31785         POWER.
31786         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
31787         for POWER.
31788         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
31789         powerpc/power5/fpu folders.
31790         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
31791         * benchtests/Makefile: Add modf testcase.
31792         * benchtests/bench-modf.c: New file: Benchmark test for mo
31794 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31796         [BZ #14888]
31797         * time/Makefile (tests): Add tst-strptime-whitespace.
31798         * time/strptime_l.c (get_number): Use ISSPACE.
31799         (__strptime_internal): Likewise.
31800         * time/tst-strptime-whitespace.c: New test case.
31802 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
31804         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
31805         member.
31806         (_nss_files_init): Set it here.
31808 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
31810         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
31811         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
31812         unsigned.
31814 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
31816         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
31818 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31820         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
31821         size just once.
31823 2013-04-21  David S. Miller  <davem@davemloft.net>
31825         * po/ru.po: Update Russion translation from translation project.
31827 2013-04-17  Adam Conrad  <adconrad@0c3.net>
31829         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
31830         and setfsgid.
31832 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
31834         * configure.in: Remove i386 configure warning. Remove i386 case.
31835         * configure: Regenerate.
31836         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
31837         Add example to error message.
31838         * sysdeps/i386/configure: Regenerate.
31840 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31842         * benchtests/Makefile (bench): Add cos, tan, slowcos and
31843         slowtan.
31844         * benchtests/cos-inputs: New file.
31845         * benchtests/slowcos-inputs: New file.
31846         * benchtests/slowcos.c: New file.
31847         * benchtests/slowtan-inputs: New file.
31848         * benchtests/slowtan.c: New file.
31849         * benchtests/tan-inputs: New file.
31851 2013-04-16  Roland McGrath  <roland@hack.frob.com>
31853         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
31854         considered kosher.
31856 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31858         * benchtests/Makefile: Include cppflags-iterator.mk to add
31859         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
31861         * Makefile.in (bench-clean): New target.
31862         * benchtests/Makefile (bench-clean): Likewise.
31864 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
31866         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
31868 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
31870         * stdio-common/tstdiomisc.c: Fix coding-style violation.
31872 2013-04-15  Andreas Schwab  <schwab@suse.de>
31874         * nscd/grpcache.c (cache_addgr): Properly check for short write.
31875         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31876         * nscd/pwdcache.c (cache_addpw): Likewise.
31877         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
31878         more than recsize.
31880 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31882         * benchtests/Makefile (bench): Write all output to
31883         bench-out.tmp together.
31885 2013-04-15  Andreas Schwab  <schwab@suse.de>
31887         * nscd/nscd.c (main): Don't fork again after closing files.
31889 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31891         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
31893         * benchtests/Rules (bench-deps): Collect dependencies into a
31894         single variable.  Add Makefile to dependencies.
31895         ($(objpfx)bench-%.c): Depend on bench-deps.
31897 2013-04-12  Roland McGrath  <roland@hack.frob.com>
31898             Xavier Roche  <roche+kml2@exalead.com>
31900         [BZ #15361]
31901         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
31902         just that it's a file descriptor.
31903         * manual/llio.texi (Synchronizing AIO Operations): Update description
31904         for EBADF error from aio_fsync.
31906 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31908         * Rules (bench): Move target definition...
31909         * benchtests/Makefile: ... here.
31911 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
31913         * math/libm-test.inc (cos_test): Fix PI/2 test.
31914         (sincos_test): Likewise.
31915         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
31916         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
31918 2013-04-11  Andreas Schwab  <schwab@suse.de>
31920         [BZ #13988]
31921         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
31922         accept exponent character only when digits were seen.
31923         * stdio-common/Makefile (tests): Add bug26.
31924         * stdio-common/bug26.c: New file.
31926         [BZ #14293]
31927         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
31928         non-freeable.
31930 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31932         * Makeconfig (rtld-prefix): Define built linker prefix.
31933         * Rules (run-bench): Use it.
31934         * math/Makefile (run-regen-ulps): Likewise.
31936         * Rules (bench): Remove eval.
31938 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31939             Roland McGrath  <roland@hack.frob.com>
31940             Ondrej Bilka  <neleai@seznam.cz>
31942         [BZ #15346]
31943         * time/getdate.c: Include ctype.h and alloca.h.
31944         (__getdate_r): Trim leading and trailing spaces of input.
31945         * time/tst-getdate.c (tests): Add tests with leading and
31946         trailing spaces.
31948 2013-04-08  Roland McGrath  <roland@hack.frob.com>
31950         [BZ #14280]
31951         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
31952         when computing value.
31954 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31956         * math/README.libm-test (How can I generate "libm-test-ulps"?):
31957         Use testrun.sh to run libm tests.
31959         [BZ #15309]
31960         * elf/dl-open.c (dl_open_worker): memset all of seen array.
31962 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
31964         [BZ #15264]
31965         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
31967 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31969         * Makefile.in (regen-ulps): New target.
31970         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
31971         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
31972         [ifneq (no,$(PERL)] (regen-ulps): New target.
31973         [ifeq (no,$(PERL)] (regen-ulps): New target.
31974         * math/libm-test.inc (ulps_file_name): Define.
31975         (output_dir): New variable.
31976         (options): Add "output-dir" option.
31977         (parse_opt): Handle 'o' case.
31978         (main): If output_dir is non-NULL use it as a prefix
31979         otherwise use "".
31980         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
31982 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31984         [BZ #10060, #10062]
31985         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
31986         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
31987         fail configure if __sync_val_compare_and_swap is not inlined.
31988         * sysdeps/i386/configure: Regenerate.
31989         * configure.in: Build for i686 when configured for i386.
31990         * configure: Regenerate.
31991         * README: Remove i386 reference.
31993 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31995         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
31996         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31998 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
32000         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
32001         (lmsnanval): New variables.
32002         (F): Add conversion tests.
32003         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
32004         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
32006         * stdio-common/tstdiomisc.c (F): Properly collect individual
32007         tests' results.
32009         [BZ #14686, #15336]
32010         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
32011         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
32012         Instead, use input NaN values or generate a qNaN by arithmetic
32013         operation.  Also fix bugs to comply with the standard.
32014         * math/libm-test.inc (remainder_test): Add more tests.
32016         [BZ #15335, #15342]
32017         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
32018         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
32019         input NaN values or generate a qNaN by arithmetic operation.
32021         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
32022         unreachable code.
32024         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
32025         definitions.
32027 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
32029         [BZ #14478]
32030         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
32031         underflowed result.
32032         * math/s_cexpf.c (__cexpf): Likewise.
32033         * math/s_cexpl.c (__cexpl): Likewise.
32034         * math/libm-test.inc (cexp_test): Add more tests.
32036 2013-04-03  Andreas Schwab  <schwab@suse.de>
32038         [BZ #15330]
32039         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
32040         order arrays from heap if bigger than alloca cutoff.
32042 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
32044         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
32045         (SNAN_TESTS_double): Refer to GCC PR56831.
32046         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
32047         GCC PR56828.
32049 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32051         * Rules (bench): Move bench.out after the run is complete.
32053         * Rules (bench): Echo currently running benchmark.
32055         * benchtests/Makefile (bench): Add atan and slowatan.
32056         * benchtests/atan-inputs: New file.
32057         * benchtests/slowatan-inputs: New file.
32058         * benchtests/slowatan.c: New file.
32060         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
32061         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
32062         its value.
32064         [BZ #15305]
32065         * sysdeps/unix/sysv/linux/kernel-features.h
32066         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
32067         __ASSUME_XFS_RESTRICTED_CHOWN.
32068         * sysdeps/unix/sysv/linux/pathconf.c
32069         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32070         Save and restore errno.
32072 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
32074         [BZ #15327]
32075         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
32076         arguments using __kernel_casinh.
32077         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
32078         arguments using __kernel_casinhf.
32079         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
32080         arguments using __kernel_casinhl.
32081         * math/libm-test.inc (cacosh_test): Add more tests.
32082         * sysdeps/i386/fpu/libm-test-ulps: Update.
32083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32085 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32087         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
32088         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
32090         * bench/Makefile (bench): Add sin and slowsin.
32091         * benchtests/sin-inputs: New file.
32092         * benchtests/slowsin-inputs: New file.
32093         * benchtests/slowsin.c: New file.
32095         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
32096         (bench): Add slowexp and slowpow.
32097         (exp-ITER): Increase iterations.
32098         (pow-ITER): Likewise.
32099         * benchtests/exp-inputs: Change input.
32100         * benchtests/pow-inputs: Likewise.
32101         * benchtests/slowexp-inputs: New file.
32102         * benchtests/slowexp.c: New file.
32103         * benchtests/slowpow-inputs: New file.
32104         * benchtests/slowpow.c: New file.
32106 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32108         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
32109         instructions.
32110         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32111         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
32112         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32113         * benchtests/Makefile: Add rint benchtest.
32114         * benchtests/rint-inputs: Input for rint benchtest.
32116 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
32118         * Versions.def (libm): Add GLIBC_2.18.
32119         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
32120         hidden libm prototypes.
32121         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
32122         * math/Makefile (libm-calls): Add s_issignaling.
32123         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
32124         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
32125         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
32126         declaration.
32127         * math/math.h [__USE_GNU] (issignaling): New macro.
32128         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
32129         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
32130         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
32131         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
32132         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
32133         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
32134         * manual/arith.texi (issignaling): New section.
32135         * manual/libm-err-tab.pl (@all_functions): Update comment.
32136         * math/gen-libm-test.pl (parse_args): Apply special handling for
32137         issignaling.
32138         * math/libm-test.inc (print_float, issignaling_test): New
32139         functions.
32140         (check_float_internal): Add issignaling checks.
32141         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
32142         default definition.
32143         * sysdeps/powerpc/math-tests.h: New file.
32144         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
32145         tests.
32146         * math/test-snan.c (TEST_FUNC): Likewise.
32148 2013-03-30  David S. Miller  <davem@davemloft.net>
32150         * po/de.po: Update from translation team.
32152 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
32154         [BZ #10357]
32155         * math/k_casinh.c (__kernel_casinh): Handle arguments with
32156         imaginary part less than 1.0 and real part less than 0.5
32157         specially.
32158         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32159         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32160         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
32161         (cacos_test): Add more tests.
32162         (casin_test): Likewise.
32163         (casinh_test): Likewise.
32164         * sysdeps/i386/fpu/libm-test-ulps: Update.
32165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32167 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32169         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
32170         ONE with its value.
32172         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
32173         (__pow_mp): Replace ONE and MONE with their values.
32174         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32175         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
32176         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32177         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
32178         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32179         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32181         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
32183         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
32184         (__pow_mp): Replace ZERO and MZERO with their values.
32185         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32186         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32187         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32188         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32189         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32190         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
32191         (__sqr): Likewise.
32193         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
32195         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
32197 2013-03-28  Roland McGrath  <roland@hack.frob.com>
32199         * include/stdlib.h [!SHARED] (__call_tls_dtors):
32200         Declare with __attribute__ ((weak)).
32201         * stdlib/exit.c (__libc_atexit) [!SHARED]:
32202         Call __call_tls_dtors only if it's not NULL.
32204 2013-03-28  Roland McGrath  <roland@hack.frob.com>
32206         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
32207         didn't do it already, then set _dl_phdr and _dl_phnum based on the
32208         magic __ehdr_start linker symbol if it's defined.
32209         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
32210         them up here if it was already done.
32212         * elf/dl-support.c (_dl_phdr): Make pointer to const.
32213         (_dl_aux_init): Use const in cast when setting it.
32214         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
32215         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
32216         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
32218         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
32219         Declare them here.
32220         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
32221         * csu/libc-tls.c: Nor here.
32222         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
32224         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
32225         (__libc_message): Never call vsyslog.
32227 2013-03-28  Alan Modra  <amodra@gmail.com>
32229         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
32230         Define as empty.
32231         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
32232         Likewise.
32234 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32236         [BZ #15214]
32237         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
32238         underflow.
32239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32241 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32243         [BZ #15304]
32244         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32245         Don't add gid passed as argument.
32247         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
32249 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
32251         [BZ #15307]
32252         * math/k_casinh.c (__kernel_casinh): Handle arguments with
32253         imaginary part between 1.0 and 1.5 and real part less than 0.5
32254         specially.
32255         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32256         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32257         * math/libm-test.inc (cacos_test): Add more tests.
32258         (casin_test): Likewise.
32259         (casinh_test): Likewise.
32260         * sysdeps/i386/fpu/libm-test-ulps: Update.
32261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32263 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32265         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
32266         constants.
32267         (norm): Likewise.
32268         (denorm): Likewise.
32269         (__dbl_mp): Likewise.
32270         (add_magnitudes): Likewise.
32271         (sub_magnitudes): Likewise.
32272         (__add): Likewise.
32273         (__sub): Likewise.
32274         (__mul): Likewise.
32275         (__sqr): Likewise.
32276         (__inv): Likewise.
32277         (__dvd): Likewise.
32279         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
32280         commented code.
32281         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
32282         (__dubcos): Likewise.
32283         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
32284         (__ieee754_acos): Likewise.
32285         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32286         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
32287         (__exp1): Likewise.
32288         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32289         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32290         (log1): Likewise.
32291         (my_log2): Likewise.
32292         (checkint): Likewise.
32293         * sysdeps/ieee754/dbl-64/e_remainder.c
32294         (__ieee754_remainder): Likewise.
32295         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32296         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
32297         (bsloww): Likewise.
32298         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32300         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32301         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
32302         MANTISSA_STORE_T to store computations on mantissa.  Use
32303         macros for rounding and division.
32304         (denorm): Likewise.
32305         (__dbl_mp): Likewise.
32306         (add_magnitudes): Likewise.
32307         (sub_magnitudes): Likewise.
32308         (__mul): Likewise.
32309         (__sqr): Likewise.
32310         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
32311         powers of two in terms of TWOPOW macro.
32312         (mp_no): Make type of mantissa as MANTISSA_T.
32313         [!RADIXI]: Define RADIXI.
32314         [!TWO52]: Define TWO52.
32315         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32317 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32319         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
32320         llroundl symbol when building for PPC32.
32322 2013-03-24  Mark H Weaver  <mhw@netris.org>
32324         * manual/arith.texi (Normalization Functions): Fix prototypes for
32325         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
32327 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32329         [BZ #13889]
32330         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
32331         high value to check if expl overflow.
32332         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
32333         to check for underflow and overflow.
32334         * math/libm-test.inc: Add exp test.
32336 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
32338         [BZ #11120]
32339         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
32340         with NOT_IN_libc.
32342 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32344         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
32345         symbol.
32347 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
32349         * math/gen-libm-test.pl (parse_args, special_functions): Properly
32350         wrap blocks consisting of several statements.
32352         * sysdeps/generic/math-tests.h: New file.
32353         * sysdeps/i386/fpu/math-tests.h: Likewise.
32354         * math/test-snan.c: Include it.
32355         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
32357 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
32359         [BZ #15285]
32360         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
32361         (__ieee754_j0l): Do not improve calculations using cos of twice
32362         input for inputs above LDBL_MAX / 2.0L.
32363         (__ieee754_y0l): Likewise.
32364         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
32365         (__ieee754_j1l): Do not improve calculations using cos of twice
32366         input for inputs above LDBL_MAX / 2.0L.
32367         (__ieee754_y1l): Likewise.
32368         * math/libm-test.inc (j0_test): Add another test.
32369         (j1_test): Likewise.
32370         (y0_test): Likewise.
32371         (y1_test): Likewise.
32372         * sysdeps/i386/fpu/libm-test-ulps: Update.
32374 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32376         * Rules ($(objpfx)bench-%.c): Include code from a C source
32377         file.
32379 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
32381         [BZ #15287]
32382         * math/k_casinh.c (__kernel_casinh): Handle arguments with
32383         imaginary part 1.0 and real part less than 0.5 specially.
32384         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32385         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32386         * math/libm-test.inc (cacos_test): Add more tests.
32387         (casin_test): Likewise.
32388         (casinh_test): Likewise.
32389         * sysdeps/i386/fpu/libm-test-ulps: Update.
32390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32392 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32394         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
32395         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
32397 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
32399         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
32400         * config.make.in (config-cflags-sse4): Remove variable.
32401         (config-cflags-avx): Likewise.
32402         (config-cflags-sse2avx): Likewise.
32403         (config-cflags-novzeroupper): Likewise.
32404         (config-asflags-i686): Likewise.
32405         (have-mfma4): Likewise.
32406         (have-as-vis3): Likewise.
32407         (MIG): Likewise.
32408         * configure.in (MIG): Do not AC_SUBST.
32409         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
32410         (libc_cv_cc_sse4): Do not AC_SUBST.
32411         (libc_cv_cc_avx): Likewise.
32412         (libc_cv_cc_sse2avx): Likewise.
32413         (libc_cv_cc_novzeroupper): Likewise.
32414         (libc_cv_cc_fma4): Likewise.
32415         (libc_cv_as_i686): Likewise.
32416         (libc_cv_sparc_as_vis3): Likewise.
32417         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
32418         LIBC_CONFIG_VAR.
32419         (config-asflags-i686): Likewise.
32420         (config-cflags-avx): Likewise.
32421         (config-cflags-sse2avx): Likewise.
32422         (have-mfma4): Likewise.
32423         (config-cflags-novzeroupper): Likewise.
32424         * sysdeps/mach/configure.in (MIG): Likewise.
32425         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
32426         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
32427         LIBC_CONFIG_VAR.
32428         (config-cflags-avx): Likewise.
32429         (config-cflags-sse2avx): Likewise.
32430         (have-mfma4): Likewise.
32431         (config-cflags-novzeroupper): Likewise.
32432         * configure: Regenerated.
32433         * sysdeps/i386/configure: Likewise.
32434         * sysdeps/mach/configure: Likewise.
32435         * sysdeps/sparc/configure: Likewise.
32436         * sysdeps/x86_64/configure: Likewise.
32438 2013-03-20  Roland McGrath  <roland@hack.frob.com>
32440         [BZ #14812]
32441         * locale/programs/localedef.c (options): Put N_ translation marker
32442         on argument names, not just descriptions.
32444 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32446         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
32448 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
32450         [BZ #14176]
32451         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
32453 2013-03-19  Roland McGrath  <roland@hack.frob.com>
32455         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
32456         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
32457         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
32458         [!BEFORE_ABORT] (before_abort): New function.
32459         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
32460         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
32461         (writev_for_fatal): New function.
32462         (WRITEV_FOR_FATAL): New macro; call that.
32463         (backtrace_and_maps): New function.
32464         (BEFORE_ABORT): New macro; call that.
32465         (struct str_list): Type removed.
32466         (__libc_message, __libc_fatal): Functions removed.
32467         Include <sysdeps/posix/libc_fatal.c> instead.
32469 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
32471         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
32472         constants.
32473         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
32474         double constants.
32476 2013-03-19  Andreas Schwab  <schwab@suse.de>
32478         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
32479         * sysdeps/gnu/configure: Regenerate.
32481         * configure.in: Substitute libc_cv_rtlddir.
32482         * configure: Regenerate.
32483         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
32484         * Makeconfig (rtlddir, inst_rtlddir): New variables.
32485         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
32486         * elf/Makefile (install-others, CFLAGS-interp.c)
32487         (ldso_install, common-ldd-rewrite): Likewise.
32488         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
32489         $(inst_slibdir)/$(rtld-installed-name).
32490         * scripts/rellns-sh: Add -p option.
32491         * Makerules (make-shlib-link): Use rellns-sh to get relative name
32492         for source.
32494 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32496         * manual/nptl.texi: Renamed to ...
32497         * manual/threads.texi: ... this.
32498         * manual/Makefile (chapters): Update.
32500 2013-03-18  Roland McGrath  <roland@hack.frob.com>
32502         [BZ #14812]
32503         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
32504         on argument names, not just descriptions.
32505         * malloc/memusagestat.c (options): Likewise.
32506         * nss/getent.c (options): Likewise.
32508 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
32510         [BZ #14812]
32511         * iconv/iconv_prog.c (options): Put N_ translation marker
32512         on argument names, not just descriptions.
32513         * iconv/iconvconfig.c (options): Likewise.
32515 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
32517         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
32518         implementation which is faster on all x86_64 architectures.
32519         Tested on AMD, Intel Nehalem, SNB, IVB.
32520         * sysdeps/x86_64/strnlen.S: Likewise.
32522         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32523         Remove all multiarch strlen and strnlen versions.
32524         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
32525         Remove strlen and strnlen related parts.
32527         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
32528         Inline strlen part.
32529         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32531         * sysdeps/x86_64/multiarch/strlen.S: Remove.
32532         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
32533         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
32534         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
32535         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32536         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
32538 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
32540         * manual/memory.texi (Malloc Tunable Parameters):
32541         Sort parameters alphabetically. Add comments for missing entries.
32543 2013-03-17  David S. Miller  <davem@davemloft.net>
32545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32547 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
32549         [BZ #15283]
32550         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
32551         for arguments at most half maximum finite value.
32552         * math/libm-test.inc (j0_test): Add more tests.
32553         (j1_test): Likewise.
32554         (y0_test): Likewise.
32555         (y1_test): Likewise.
32556         * sysdeps/i386/fpu/libm-test-ulps: Update.
32557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32559         [BZ #14155]
32560         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
32561         1 / x and functions P and Q for arguments above 0x1p256L.
32562         (__ieee754_y0l): Likewise.
32563         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
32564         (__ieee754_y1l): Likewise.
32565         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
32566         (j1_test): Likewise.
32567         (y0_test): Likewise.
32568         (y1_test): Likewise.
32570 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
32572         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
32573         variable.
32575 2013-03-15  Roland McGrath  <roland@hack.frob.com>
32577         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
32578         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
32579         zero since it's initialized to EXEC_PAGESIZE.
32581         * sysdeps/unix/sysv/linux/ldsodefs.h
32582         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
32583         * sysdeps/generic/ldsodefs.h: ... here.
32585 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
32587         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
32589         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
32590         math/test-snan.c.
32591         * math/test-snan.c: Renamed from
32592         sysdeps/powerpc/fpu/test-powerpc-snan.c.
32593         * math/Makefile (tests): Add test-snan.
32594         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
32595         test-powerpc-snan.
32597         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
32598         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
32599         functions.
32600         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
32601         __builtin_nan family of functions.
32602         * math/libm-test.inc (initialize): Initialize qnan_value with
32603         __builtin_nan family of functions.
32604         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
32605         Remove variables.
32606         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
32607         Remove functions.
32608         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
32609         storage class.  Initialize qNaN_var and sNaN_var with
32610         __builtin_nan and __builtin_nans families of functions,
32611         respectively.
32613         * math/libm-test.inc (acosh_test): Also test with qNaN input.
32614         (sqrt_test): Remove duplicate test with qNaN input.
32615         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
32616         (round_test, signbit_test, significand_test): Note missing +/-Inf
32617         as well as qNaN tests.
32619         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
32620         qNaN_var.  Fix a few strings, too.
32621         * math/libm-test.inc (nan_value): Rename to qnan_value.
32622         * math/gen-libm-test.pl (%beautify): Adjust to that.
32623         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
32624         * math/test-misc.c (main): Likewise.
32625         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
32626         to __qnan_bytes, and __qnan_union, respectively.
32627         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
32628         Likewise.
32629         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
32630         and lqnanval, respectively.
32631         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
32632         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
32633         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
32634         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
32636         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
32637         * math/test-misc.c (main) [__x86_64__]: Enable test for long
32638         doubles.
32640         * math/test-misc.c (main): Fix copy'n'pastos.
32641         * misc/tst-efgcvt.c (special): Likewise.
32643         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
32644         Remove declarations.
32646 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32648         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
32649         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
32650         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
32651         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
32653 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32655         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
32656         macro to return vdso values correctly in IFUNC implementations.
32657         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
32658         Optimization by using IFUNC.
32660 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32661             Richard Henderson  <rth@redhat.com>
32662             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32664         * Makefile.in (bench): New target.
32665         * NEWS: Mention the benchmark framework.
32666         * Rules (bench): Likewise.
32667         (binaries-bench): Generate binaries for functions to
32668         benchmark.
32669         * benchtests/Makefile: New makefile for benchmark tests.
32670         * benchtests/bench-skeleton.c: New skeleton file for benchmark
32671         programs.
32672         * benchtests/exp-inputs: New input file for EXP function.
32673         * benchtests/pow-inputs: New input file for POW function.
32674         * scripts/bench.pl: New script to generate source files for
32675         benchmark programs.
32677 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32679         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32680         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
32681         computations on mantissa.  Use macros for rounding and
32682         division.
32683         (denorm): Likewise.
32684         (__dbl_mp): Likewise.
32685         (add_magnitudes): Likewise.
32686         (sub_magnitudes): Likewise.
32687         (__mul): Likewise.
32688         (__sqr): Likewise.
32689         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
32690         powers of two in terms of TWOPOW macro.
32691         (mp_no): Make type of mantissa as MANTISSA_T.
32692         [!RADIXI]: Define RADIXI.
32693         [!TWO52]: Define TWO52.
32694         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32696         * manual/nptl.texi (cindex): Modify threads to pthreads.
32698 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
32700         * sysdeps/x86_64/preconfigure: Regenerated.
32702 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
32704         [BZ #14155]
32705         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
32706         0x1p28 and above.
32707         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
32708         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
32709         0x1p28 and above.
32710         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
32711         * math/libm-test.inc (j0_test): Do not allow one spurious
32712         underflow exception.
32713         (y1_test): Likewise.
32715 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32717         * manual/Makefile (chapters): Add nptl.
32718         * manual/debug.texi (Debugging Support): Add link to Threads
32719         chapter.
32720         * manual/nptl.texi: New file.
32722         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
32724 2013-03-14  Petr Baudis  <pasky@ucw.cz>
32726         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
32727         for non-NULL pointer before the memory validity test. Pointed
32728         out by Holger Brunck <holger.brunck@keymile.com>.
32730 2013-03-13  Andreas Schwab  <schwab@suse.de>
32732         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
32733         instead of .os.
32735 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
32737         * timezone/zic.c: Update from tzcode 2013b.
32739 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
32741         * manual/install.texi (Configuring and compiling):
32742         Mention i686 and i586.
32743         * INSTALL: Regenerate.
32745 2013-03-12  Roland McGrath  <roland@hack.frob.com>
32747         * sysdeps/init_array/elf-init.c: New file.
32748         * csu/elf-init.c
32749         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
32750         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
32752         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
32753         __gmon_start__ as global, but as static with a .preinit_array pointer.
32754         * sysdeps/init_array/gmon-start.c: New file.  Use that.
32755         * sysdeps/init_array/crti.S: New file, empty except for comments.
32756         * sysdeps/init_array/crtn.S: Likewise.
32758 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
32760         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
32761         definining bcopy.
32762         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32763         Remove Prefer_SSE_for_memop.
32764         * sysdeps/x86_64/multiarch/init-arch.h: Remove
32765         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
32766         HAS_PREFER_SSE_FOR_MEMOP.
32767         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
32768         memset-x86-64.
32769         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32770         Remove bzero, memset ifunc support.
32771         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
32772         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
32773         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32774         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32776 2013-03-11  Andreas Schwab  <schwab@suse.de>
32778         [BZ #15234]
32779         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
32780         by SHLIB_COMPAT.
32781         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
32782         (GLIBC_2.16): Remove pthread_atfork.
32784 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32786         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
32787         (ptestcases.h): Likewise.
32789 2013-03-08  Roland McGrath  <roland@hack.frob.com>
32791         * Makeconfig ($(common-objpfx)config.status): Depend on
32792         sysdeps/*/preconfigure{,.in} too.
32794 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
32796         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
32797         (__free_hook): Use void * instead of __malloc_ptr_t.
32798         (__malloc_hook): Likewise.
32799         (__realloc_hook): Likewise.
32800         (__memalign_hook): Likewise.
32801         (__after_morecore_hook): Likewise.
32802         * malloc/arena.c (save_malloc_hook): Likewise.
32803         (save_free_hook): Likewise.
32804         * malloc/hooks.c (malloc_hook_ini): Likewise.
32805         (realloc_hook_ini): Likewise.
32806         (memalign_hook_ini): Likewise.
32807         * malloc/malloc.c (malloc_hook_ini): Likewise.
32808         (realloc_hook_ini): Likewise.
32809         (memalign_hook_ini): Likewise.
32810         (__free_hook): Likewise.
32811         (__malloc_hook): Likewise.
32812         (__realloc_hook): Likewise.
32813         (__memalign_hook): Likewise.
32814         (__libc_malloc): Likewise.
32815         (__libc_free): Likewise.
32816         (__libc_realloc): Likewise.
32817         (__libc_memalign): Likewise.
32818         (__libc_valloc): Likewise.
32819         (__libc_pvalloc): Likewise.
32820         (__libc_calloc): Likewise.
32821         (__posix_memalign): Likewise.
32822         * malloc/morecore.c (__sbrk): Likewise.
32823         (__default_morecore): Likewise.
32825         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
32827         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
32828         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
32829         __malloc_ptrdiff_t.
32831         * malloc/malloc.h (__malloc_size_t): Remove macro.
32832         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
32833         __malloc_size_t.
32834         (old_memalign_hook): Likewise.
32835         (old_realloc_hook): Likewise.
32836         (struct hdr): Likewise.
32837         (flood): Likewise.
32838         (mallochook): Likewise.
32839         (memalignhook): Likewise.
32840         (reallochook): Likewise.
32841         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
32842         (tr_old_realloc_hook): Likewise.
32843         (tr_old_memalign_hook): Likewise.
32844         (tr_mallochook): Likewise.
32845         (tr_reallochook): Likewise.
32846         (tr_memalignhook): Likewise.
32848 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32850         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
32851         default_ldbl_pack and using as default implementation.
32852         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
32853         implementation.
32854         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
32855         redundant definition.
32856         (ldbl_insert_mantissa): Likewise.
32857         (ldbl_canonicalize): Likewise.
32858         (ldbl_nearbyint): Likewise.
32859         (ldbl_pack): Rename to ldbl_pack_ppc.
32860         (ldbl_unpack): Rename to ldbl_unpack_ppc.
32861         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
32862         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
32864 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32866         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
32867         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
32868         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
32869         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
32870         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
32871         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
32872         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
32873         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
32875 2013-03-07  Andreas Jaeger  <aj@suse.de>
32877         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32878         bits/mman-linux.h.
32880 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
32882         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
32883         Include mpa.h and declare __MPEXP.
32884         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
32885         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
32886         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
32887         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
32888         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
32889         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
32890         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
32892         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
32893         (__slowpow): Use long double EXPL and LOGL functions to
32894         compute POW.
32895         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
32896         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
32897         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
32898         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
32899         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
32900         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
32902         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
32903         intermediate variable to calculate exponent.
32904         (__sqr): Likewise.
32905         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32906         Likewise.
32907         (__sqr): Likewise.
32909         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
32910         [!NO__SQR]: Define __sqr.
32911         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
32912         and NO__SQR.  Remove all code except __mul and __sqr.  Include
32913         sysdeps/ieee754/dbl-64/mpa.c.
32914         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32916         [BZ #12723]
32917         * posix/Makefile (tests): Add tst-pathconf.
32918         * posix/tst-pathconf.c: New test case.
32919         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
32920         _PC_PIPE_BUF.
32921         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
32923 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
32925         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
32927 2013-03-06  Andreas Jaeger  <aj@suse.de>
32929         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
32930         definition via __MAP_ANONYMOUS.
32932         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
32933         it's not part of Linux headers.
32935         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
32936         (MAP_HUGE_MASK): Define.
32938         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32939         Define.
32940         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32941         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32942         Define.
32943         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32944         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32945         Define.
32946         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32947         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
32948         Define.
32949         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32951         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
32952         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
32953         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
32954         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
32955         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
32956         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
32958         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32959         Handle f2fs.
32961         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32962         Handle f2fs and efivarfs.
32964         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
32965         f2fs.
32967         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
32968         (EFIVARFS_MAGIC): Add.
32969         (F2FS_LINK_MAX): Add.
32971 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32973         * stdio-common/vfprintf.c: Replace __builtin_expect with
32974         __glibc_unlikely.
32976 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
32978         [BZ #13550]
32979         * sysdeps/generic/bp-sym.h: Remove file.
32980         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
32981         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
32982         <bp-sym.h> and <bp-asm.h>.
32983         (__longjmp): Don't use BP_SYM.
32984         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
32985         and <bp-asm.h>.
32986         (memcpy): Don't use BP_SYM.
32987         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
32988         <bp-sym.h> and <bp-asm.h>.
32989         (memcpy): Don't use BP_SYM.
32990         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
32991         <bp-asm.h>.
32992         (memcpy): Don't use BP_SYM.
32993         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
32994         <bp-asm.h>.
32995         (memset): Don't use BP_SYM.
32996         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32997         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32998         (__bzero): Don't use BP_SYM.
32999         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33000         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33001         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
33002         <bp-sym.h> and <bp-asm.h>.
33003         (memcmp): Don't use BP_SYM.  Remove comment about bounded
33004         pointers.
33005         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
33006         <bp-sym.h> and <bp-asm.h>.
33007         (memcpy): Don't use BP_SYM.
33008         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
33009         <bp-sym.h> and <bp-asm.h>.
33010         (memset): Don't use BP_SYM.
33011         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33012         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33013         (__bzero): Don't use BP_SYM.
33014         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33015         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33016         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
33017         <bp-sym.h> and <bp-asm.h>.
33018         (strncmp): Don't use BP_SYM.  Remove comment about bounded
33019         pointers.
33020         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
33021         <bp-sym.h> and <bp-asm.h>.
33022         (memcpy): Don't use BP_SYM.
33023         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
33024         <bp-sym.h> and <bp-asm.h>.
33025         (memset): Don't use BP_SYM.
33026         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33027         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33028         (__bzero): Don't use BP_SYM.
33029         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33030         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33031         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
33032         <bp-sym.h> and <bp-asm.h>.
33033         (__memchr): Don't use BP_SYM.
33034         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
33035         <bp-sym.h> and <bp-asm.h>.
33036         (memcmp): Don't use BP_SYM.  Remove comment about bounded
33037         pointers.
33038         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
33039         <bp-sym.h> and <bp-asm.h>.
33040         (memcpy): Don't use BP_SYM.
33041         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
33042         <bp-sym.h> and <bp-asm.h>.
33043         (__mempcpy): Don't use BP_SYM.
33044         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
33045         <bp-sym.h> and <bp-asm.h>.
33046         (__memrchr): Don't use BP_SYM.
33047         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
33048         <bp-sym.h> and <bp-asm.h>.
33049         (memset): Don't use BP_SYM.
33050         (__bzero): Likewise.
33051         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
33052         <bp-sym.h> and <bp-asm.h>.
33053         (__rawmemchr): Don't use BP_SYM.
33054         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
33055         <bp-sym.h> and <bp-asm.h>.
33056         (__STRCMP): Don't use BP_SYM.
33057         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
33058         <bp-sym.h> and <bp-asm.h>.
33059         (strchr): Don't use BP_SYM.
33060         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
33061         <bp-sym.h> and <bp-asm.h>.
33062         (__strchrnul): Don't use BP_SYM.
33063         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
33064         <bp-sym.h> and <bp-asm.h>.
33065         (strlen): Don't use BP_SYM.
33066         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
33067         <bp-sym.h> and <bp-asm.h>.
33068         (strncmp): Don't use BP_SYM.  Remove comment about bounded
33069         pointers.
33070         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
33071         <bp-sym.h> and <bp-asm.h>.
33072         (__strnlen): Don't use BP_SYM.
33073         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
33074         <bp-sym.h> and <bp-asm.h>.
33075         (__GI__setjmp): Don't use BP_SYM.
33076         (_setjmp): Likewise.
33077         (__sigsetjmp): Likewise.
33078         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
33079         (L(start_addresses)): Don't use BP_SYM.
33080         (_start): Likewise.
33081         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
33082         <bp-asm.h>.
33083         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
33084         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
33085         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33086         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33087         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
33088         <bp-asm.h>.
33089         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
33090         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
33091         about bounded pointers.
33092         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33093         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33094         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
33095         <bp-asm.h>.
33096         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
33097         about bounded pointers.  Remove GKM FIXME comments.
33098         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33099         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
33100         <bp-asm.h>.
33101         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
33102         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
33103         Remove GKM FIXME comments.
33104         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33105         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33106         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
33107         <bp-asm.h>.
33108         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
33109         about bounded pointers.  Remove GKM FIXME comment.
33110         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
33111         and <bp-asm.h>.
33112         (strncmp): Don't use BP_SYM.  Remove comment about bounded
33113         pointers.
33114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
33115         <bp-sym.h> and <bp-asm.h>.
33116         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
33118         <bp-sym.h> and <bp-asm.h>.
33119         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
33120         comment.
33122 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33124         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
33125         call free(NULL).
33127 2013-03-05  David S. Miller  <davem@davemloft.net>
33129         * po/es.po: Update from translation team.
33131 2013-03-05  Andreas Jaeger  <aj@suse.de>
33133         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
33134         <bits/mman-linux.h>.
33135         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33136         is fine.
33137         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
33138         <bits/mman-linux.h> to end of file.
33139         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33140         is fine.
33141         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
33142         <bits/mman-linux.h> to end of file.
33143         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33144         is fine.
33145         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
33146         <bits/mman-linux.h> to end of file.
33148         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
33149         (MCL_CURRENT, MCL_FUTURE): Define here.
33151 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33153         [BZ #15232]
33154         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
33155         attribute_hidden.
33156         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33158 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33160         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
33161         fourth parameter needed for rt_sigprocmask syscall.
33162         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33163         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33164         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
33165         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33166         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33167         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
33169 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
33171         [BZ #13550]
33172         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
33173         comment about bounded pointers.
33174         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
33175         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
33177 2013-03-04  Andreas Jaeger  <aj@suse.de>
33179         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
33180         common definitions.
33182         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
33183         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
33184         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
33185         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33186         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33187         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33189 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33191         [BZ #15055]
33192         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33193         __ieee754_sqrl instead of __sqrl.
33195 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
33197         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
33198         * sysdeps/powerpc/fpu_control.h: ... here.
33199         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
33200         * sysdeps/powerpc/bits/fenvinline.h: ... here.
33201         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
33202         * sysdeps/powerpc/bits/mathinline.h: ... here.
33204 2013-03-01  Roland McGrath  <roland@hack.frob.com>
33206         * elf/dl-hwcaps.c (_dl_important_hwcaps):
33207         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
33208         to just [NEED_DL_SYSINFO_DSO].
33209         * elf/dl-support.c: Likewise.
33210         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33211         * elf/rtld.c (dl_main): Likewise.
33212         * elf/setup-vdso.h (setup_vdso): Likewise.
33213         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
33214         * sysdeps/unix/sysv/linux/dl-sysdep.c
33215         (_dl_discover_osversion): Likewise.
33217 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
33219         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
33220         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33222 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33224         * NEWS: Mention libm performance improvements and non-x86 PI
33225         futex support.
33227         * csu/libc-start.c (__pthread_initialize_minimal): Change
33228         function arguments.
33229         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33231 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
33233         [BZ #13550]
33234         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
33235         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
33236         <bp-sym.h> and <bp-asm.h>.
33237         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33238         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
33239         and <bp-asm.h>.
33240         (memcpy): Don't use BP_SYM.
33241         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
33242         <bp-asm.h>.
33243         (__mpn_add_n): Don't use BP_SYM.
33244         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
33245         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
33246         and <bp-asm.h>.
33247         (__mpn_addmul_1): Don't use BP_SYM.
33248         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33249         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
33250         <bp-sym.h>.
33251         (_setjmp): Don't use BP_SYM.
33252         (__novmx_setjmp): Likewise.
33253         (__GI__setjmp): Likewise.
33254         (__vmx_setjmp): Likewise.
33255         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
33256         <bp-sym.h>.
33257         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
33258         (__bzero): Don't use BP_SYM.
33259         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33260         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33261         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
33262         <bp-sym.h> and <bp-asm.h>.
33263         (memcpy): Don't use BP_SYM.
33264         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
33265         <bp-sym.h> and <bp-asm.h>.
33266         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33267         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
33268         <bp-sym.h> and <bp-asm.h>.
33269         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33270         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
33271         <bp-asm.h>.
33272         (__mpn_lshift): Don't use BP_SYM.
33273         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33274         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
33275         <bp-asm.h>.
33276         (memset): Don't use BP_SYM.
33277         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33278         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33279         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
33280         <bp-asm.h>.
33281         (__mpn_mul_1): Don't use BP_SYM.
33282         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33283         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
33284         <bp-sym.h> and <bp-asm.h>.
33285         (memcmp): Don't use BP_SYM.
33286         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
33287         <bp-sym.h> and <bp-asm.h>.
33288         (memcpy): Don't use BP_SYM.
33289         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
33290         <bp-sym.h> and <bp-asm.h>.
33291         (memset): Don't use BP_SYM.
33292         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
33293         <bp-sym.h> and <bp-asm.h>.
33294         (strncmp): Don't use BP_SYM.
33295         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
33296         <bp-sym.h> and <bp-asm.h>.
33297         (memcpy): Don't use BP_SYM.
33298         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
33299         <bp-sym.h> and <bp-asm.h>.
33300         (memset): Don't use BP_SYM.
33301         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
33302         <bp-sym.h> and <bp-asm.h>.
33303         (__memchr): Don't use BP_SYM.
33304         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
33305         <bp-sym.h> and <bp-asm.h>.
33306         (memcmp): Don't use BP_SYM.
33307         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
33308         <bp-sym.h> and <bp-asm.h>.
33309         (memcpy): Don't use BP_SYM.
33310         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
33311         <bp-sym.h> and <bp-asm.h>.
33312         (__mempcpy): Don't use BP_SYM.
33313         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
33314         <bp-sym.h> and <bp-asm.h>.
33315         (__memrchr): Don't use BP_SYM.
33316         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
33317         <bp-sym.h> and <bp-asm.h>.
33318         (memset): Don't use BP_SYM.
33319         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
33320         <bp-sym.h> and <bp-asm.h>.
33321         (__rawmemchr): Don't use BP_SYM.
33322         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
33323         <bp-sym.h> and <bp-asm.h>.
33324         (__STRCMP): Don't use BP_SYM.
33325         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
33326         <bp-sym.h> and <bp-asm.h>.
33327         (strchr): Don't use BP_SYM.
33328         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
33329         <bp-sym.h> and <bp-asm.h>.
33330         (__strchrnul): Don't use BP_SYM.
33331         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
33332         <bp-sym.h> and <bp-asm.h>.
33333         (strlen): Don't use BP_SYM.
33334         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
33335         <bp-sym.h> and <bp-asm.h>.
33336         (strncmp): Don't use BP_SYM.
33337         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
33338         <bp-sym.h> and <bp-asm.h>.
33339         (__strnlen): Don't use BP_SYM.
33340         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
33341         <bp-asm.h>.
33342         (__mpn_rshift): Don't use BP_SYM.
33343         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33344         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
33345         <bp-sym.h> and <bp-asm.h>.
33346         (__sigsetjmp): Don't use BP_SYM.
33347         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
33348         (L(start_addresses)): Don't use BP_SYM.
33349         (_start): Likewise.
33350         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
33351         <bp-asm.h>.
33352         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
33353         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33354         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33355         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
33356         <bp-asm.h>.
33357         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
33358         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33359         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33360         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
33361         <bp-asm.h>.
33362         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
33363         comments.
33364         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33365         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
33366         <bp-asm.h>.
33367         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
33368         FIXME comments.
33369         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33370         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33371         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
33372         <bp-asm.h>.
33373         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
33374         comment.
33375         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
33376         and <bp-asm.h>.
33377         (strncmp): Don't use BP_SYM,
33378         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
33379         <bp-asm.h>.
33380         (__mpn_sub_n): Don't use BP_SYM.
33381         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33382         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
33383         and <bp-asm.h>.
33384         (__mpn_submul_1): Don't use BP_SYM.
33385         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
33387         <bp-sym.h> and <bp-asm.h>.
33388         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
33390         <bp-sym.h> and <bp-asm.h>.
33391         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
33392         comment.
33394 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33396         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
33397         Use ZK to minimize writes to Z.
33398         (sub_magnitudes): Simplify code a bit.
33399         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
33400         Use ZK to minimize writes to Z.
33401         (sub_magnitudes): Simplify code a bit.
33403 2013-02-27  Roland McGrath  <roland@hack.frob.com>
33405         * csu/gmon-start.c: Add special exception to license text.
33407 2013-02-27  Richard Henderson  <rth@redhat.com>
33409         * scripts/config.guess: Update from config.git.
33410         * scripts/config.sub: Likewise.
33412 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33414         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
33416         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
33418         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
33420         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
33422         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
33424 2013-02-26  Roland McGrath  <roland@hack.frob.com>
33426         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
33427         [$(build-shared = yes].
33429 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33431         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
33432         (__mul): Reduce iterations for calculating mantissa.
33434         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
33435         MPTWO.
33436         (__mpranred): Likewise.
33438         [BZ #15160]
33439         * malloc/memusagestat.c (main): Draw graphs for heap and stack
33440         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
33442 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
33444         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
33445         Define __attribute__.
33447 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33449         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
33450         unused.
33451         * posix/regex_internal.h (__attribute): Remove.
33452         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
33453         (re_string_context_at): Likewise.
33454         (bitset_not): Use __attribute__ and mark function as possibly
33455         unused.
33456         (bitset_merge): Likewise.
33457         (bitset_mask): Likewise.
33458         (re_string_char_size_at): Likewise.
33459         (re_string_wchar_at): Likewise.
33460         (re_string_elem_size_at): Likewise.
33462 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33464         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
33465         code.
33466         (cc32): Likewise.
33468         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
33469         (__acr): Likewise.
33470         (__cpy): Likewise.
33471         (norm): Likewise.
33472         (denorm): Likewise.
33473         (__dbl_mp): Likewise.
33474         (add_magnitudes): Likewise.
33475         (sub_magnitudes): Likewise.
33476         (__mul): Likewise.
33477         (__inv): Likewise.
33479         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
33480         style.
33482         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
33483         style.
33485         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
33486         code.
33488         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
33489         up changes with default code.
33490         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
33491         Likewise.
33493 2013-02-24  Allan McRae  <allan@archlinux.org>
33495         * manual/socket.texi (The Internet Namespace): Order menu items
33496         to match that in the file.
33498         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
33499         node listing of the info page menu.
33501 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
33503         [BZ #13550]
33504         * sysdeps/i386/bp-asm.h: Remove file.
33505         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
33506         (PARMS): Do not use macros from bp-asm.h.
33507         (S1): Likewise.
33508         (S2): Likewise.
33509         (SIZE): Likewise.
33510         (__mpn_add_n): Do not use BP_SYM
33511         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
33512         "bp-asm.h".
33513         (PARMS): Do not use macros from bp-asm.h.
33514         (S1): Likewise.
33515         (SIZE): Likewise.
33516         (__mpn_addmul_1): Do not use BP_SYM
33517         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
33518         "bp-asm.h".
33519         (PARMS): Do not use macros from bp-asm.h.
33520         (SIGMSK): Likewise.
33521         (_setjmp): Likewise.  Do not use BP_SYM.
33522         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
33523         "bp-asm.h".
33524         (PARMS): Do not use macros from bp-asm.h.
33525         (SIGMSK): Likewise.
33526         (setjmp): Likewise.  Do not use BP_SYM.
33527         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
33528         "bp-asm.h".
33529         (PARMS): Do not use macros from bp-asm.h.
33530         (__frexp): Do not use BP_SYM.
33531         (frexp): Likewise.
33532         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
33533         "bp-asm.h".
33534         (PARMS): Do not use macros from bp-asm.h.
33535         (__frexpf): Do not use BP_SYM.
33536         (frexpf): Likewise.
33537         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
33538         "bp-asm.h".
33539         (PARMS): Do not use macros from bp-asm.h.
33540         (__frexpl): Do not use BP_SYM.
33541         (frexpl): Likewise.
33542         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
33543         "bp-asm.h".
33544         (PARMS): Do not use macros from bp-asm.h.
33545         (__remquo): Do not use BP_SYM.
33546         (remquo): Likewise.
33547         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
33548         "bp-asm.h".
33549         (PARMS): Do not use macros from bp-asm.h.
33550         (__remquof): Do not use BP_SYM.
33551         (remquof): Likewise.
33552         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
33553         "bp-asm.h".
33554         (PARMS): Do not use macros from bp-asm.h.
33555         (__remquol): Do not use BP_SYM.
33556         (remquol): Likewise.
33557         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
33558         "bp-asm.h".
33559         (PARMS): Do not use macros from bp-asm.h.
33560         (DEST): Likewise.
33561         (SRC): Likewise.
33562         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
33563         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
33564         "bp-asm.h".
33565         (PARMS): Do not use macros from bp-asm.h.
33566         (strlen): Do not use BP_SYM.
33567         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
33568         "bp-asm.h".
33569         (PARMS): Do not use macros from bp-asm.h.
33570         (S1): Likewise.
33571         (S2): Likewise.
33572         (SIZE): Likewise.
33573         (__mpn_add_n): Do not use BP_SYM.
33574         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
33575         "bp-asm.h".
33576         (PARMS): Do not use macros from bp-asm.h.
33577         (S1): Likewise.
33578         (SIZE): Likewise.
33579         (__mpn_addmul_1): Do not use BP_SYM.
33580         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
33581         weak_alias.
33582         (bzero): Likewise.
33583         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
33584         "bp-asm.h".
33585         (PARMS): Do not use macros from bp-asm.h.
33586         (S): Likewise.
33587         (SIZE): Likewise.
33588         (__mpn_lshift): Do not use BP_SYM.
33589         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
33590         "bp-asm.h".
33591         (PARMS): Do not use macros from bp-asm.h.
33592         (DEST): Likewise.
33593         (SRC): Likewise.
33594         (LEN): Likewise.
33595         (memcpy): Likewise.  Do not use BP_SYM.
33596         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
33597         libc_hidden_def and weak_alias.
33598         (mempcpy): Do not use BP_SYM in weak_alias.
33599         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
33600         "bp-asm.h".
33601         (PARMS): Do not use macros from bp-asm.h.
33602         (DEST): Likewise.
33603         (LEN): Likewise.
33604         [!BZERO_P] (CHR): Likewise.
33605         (memset): Likewise.  Do not use BP_SYM.
33606         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
33607         "bp-asm.h".
33608         (PARMS): Do not use macros from bp-asm.h.
33609         (S1): Likewise.
33610         (SIZE): Likewise.
33611         (__mpn_mul_1): Do not use BP_SYM.
33612         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
33613         "bp-asm.h".
33614         (PARMS): Do not use macros from bp-asm.h.
33615         (S): Likewise.
33616         (SIZE): Likewise.
33617         (__mpn_rshift): Do not use BP_SYM.
33618         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
33619         "bp-asm.h".
33620         (PARMS): Do not use macros from bp-asm.h.
33621         (STR): Likewise.
33622         (CHR): Likewise.
33623         (strchr): Likewise.  Do not use BP_SYM.
33624         (index): Do not use BP_SYM in weak_alias.
33625         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
33626         "bp-asm.h".
33627         (PARMS): Do not use macros from bp-asm.h.
33628         (DEST): Likewise.
33629         (SRC): Likewise.
33630         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
33631         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
33632         "bp-asm.h".
33633         (PARMS): Do not use macros from bp-asm.h.
33634         (strlen): Do not use BP_SYM.
33635         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
33636         "bp-asm.h".
33637         (PARMS): Do not use macros from bp-asm.h.
33638         (S1): Likewise.
33639         (S2): Likewise.
33640         (SIZE): Likewise.
33641         (__mpn_sub_n): Do not use BP_SYM.
33642         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
33643         "bp-asm.h".
33644         (PARMS): Do not use macros from bp-asm.h.
33645         (S1): Likewise.
33646         (SIZE): Likewise.
33647         (__mpn_submul_1): Do not use BP_SYM.
33648         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
33649         "bp-asm.h".
33650         (PARMS): Do not use macros from bp-asm.h.
33651         (S1): Likewise.
33652         (S2): Likewise.
33653         (SIZE): Likewise.
33654         (__mpn_add_n): Do not use BP_SYM.
33655         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
33656         weak_alias.
33657         (bzero): Likewise.
33658         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
33659         "bp-asm.h".
33660         (PARMS): Do not use macros from bp-asm.h.
33661         (BLK2): Likewise.
33662         (LEN): Likewise.
33663         (memcmp): Do not use BP_SYM.
33664         (bcmp): Do not use BP_SYM in weak_alias.
33665         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
33666         "bp-asm.h".
33667         (PARMS): Do not use macros from bp-asm.h.
33668         (DEST): Likewise.
33669         (SRC): Likewise.
33670         (LEN): Likewise.
33671         (memcpy): Likewise.  Do not use BP_SYM.
33672         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
33673         "bp-asm.h".
33674         (PARMS): Do not use macros from bp-asm.h.
33675         (DEST): Likewise.
33676         (SRC): Likewise.
33677         (LEN): Likewise.
33678         (memmove): Likewise.  Do not use BP_SYM.
33679         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
33680         "bp-asm.h".
33681         (PARMS): Do not use macros from bp-asm.h.
33682         (DEST): Likewise.
33683         (SRC): Likewise.
33684         (LEN): Likewise.
33685         (__mempcpy): Likewise.  Do not use BP_SYM.
33686         (mempcpy): Do not use BP_SYM in weak_alias.
33687         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
33688         "bp-asm.h".
33689         (PARMS): Do not use macros from bp-asm.h.
33690         (DEST): Likewise.
33691         (LEN): Likewise.
33692         [!BZERO_P] (CHR): Likewise.
33693         (memset): Likewise.  Do not use BP_SYM.
33694         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
33695         "bp-asm.h".
33696         (PARMS): Do not use macros from bp-asm.h.
33697         (STR2): Likewise.
33698         (strcmp): Do not use BP_SYM.
33699         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
33700         "bp-asm.h".
33701         (PARMS): Do not use macros from bp-asm.h.
33702         (STR): Likewise.
33703         (DELIM): Likewise.
33704         [USE_AS_STRTOK_R] (SAVE): Likewise.
33705         (FUNCTION): Likewise.  Do not use BP_SYM.
33706         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
33707         aliases.
33708         (strtok_r): Likewise.
33709         (__GI___strtok_r): Likewise.
33710         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
33711         (PARMS): Do not use macros from bp-asm.h.
33712         (S): Likewise.
33713         (SIZE): Likewise.
33714         (__mpn_lshift): Do not use BP_SYM.
33715         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
33716         (PARMS): Do not use macros from bp-asm.h.
33717         (STR): Likewise.
33718         (CHR): Likewise.
33719         (__memchr): Do not use BP_SYM.
33720         (memchr): Do not use BP_SYM in weak_alias.
33721         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
33722         (PARMS): Do not use macros from bp-asm.h.
33723         (BLK2): Likewise.
33724         (LEN): Likewise.
33725         (memcmp): Do not use BP_SYM.
33726         (bcmp): Do not use BP_SYM in weak_alias.
33727         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
33728         (PARMS): Do not use macros from bp-asm.h.
33729         (S1): Likewise.
33730         (SIZE): Likewise.
33731         (__mpn_mul_1): Do not use BP_SYM.
33732         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
33733         "bp-asm.h".
33734         (PARMS): Do not use macros from bp-asm.h.
33735         (STR): Likewise.
33736         (CHR): Likewise.
33737         (__rawmemchr): Do not use BP_SYM.
33738         (rawmemchr): Do not use BP_SYM in weak_alias.
33739         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
33740         (PARMS): Do not use macros from bp-asm.h.
33741         (S): Likewise.
33742         (SIZE): Likewise.
33743         (__mpn_rshift): Do not use BP_SYM.
33744         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
33745         (PARMS): Do not use macros from bp-asm.h.
33746         (SIGMSK): Likewise.
33747         (__sigsetjmp): Likewise.  Do not use BP_SYM.
33748         * sysdeps/i386/start.S: Do not include "bp-sym.h".
33749         (_start): Do not use BP_SYM.
33750         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
33751         (PARMS): Do not use macros from bp-asm.h.
33752         (DEST): Likewise.
33753         (SRC): Likewise.
33754         (__stpcpy): Likewise.  Do not use BP_SYM.
33755         (stpcpy): Do not use BP_SYM in weak_alias.
33756         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
33757         "bp-asm.h".
33758         (PARMS): Do not use macros from bp-asm.h.
33759         (DEST): Likewise.
33760         (SRC): Likewise.
33761         (LEN): Likewise.
33762         (__stpncpy): Likewise.  Do not use BP_SYM.
33763         (stpncpy): Do not use BP_SYM in weak_alias.
33764         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
33765         (PARMS): Do not use macros from bp-asm.h.
33766         (STR): Likewise.
33767         (CHR): Likewise.
33768         (strchr): Likewise.  Do not use BP_SYM.
33769         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
33770         "bp-asm.h".
33771         (PARMS): Do not use macros from bp-asm.h.
33772         (STR): Likewise.
33773         (CHR): Likewise.
33774         (__strchrnul): Likewise.  Do not use BP_SYM.
33775         (strchrnul): Do not use BP_SYM in weak_alias.
33776         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
33777         "bp-asm.h".
33778         (PARMS): Do not use macros from bp-asm.h.
33779         (STOP): Likewise.
33780         (strcspn): Do not use BP_SYM.
33781         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
33782         "bp-asm.h".
33783         (PARMS): Do not use macros from bp-asm.h.
33784         (STR): Likewise.
33785         (STOP): Likewise.
33786         (strpbrk): Likewise.  Do not use BP_SYM.
33787         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
33788         "bp-asm.h".
33789         (PARMS): Do not use macros from bp-asm.h.
33790         (STR): Likewise.
33791         (CHR): Likewise.
33792         (strrchr): Likewise.  Do not use BP_SYM.
33793         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
33794         (PARMS): Do not use macros from bp-asm.h.
33795         (SKIP): Likewise.
33796         (strspn): Do not use BP_SYM.
33797         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
33798         (PARMS): Do not use macros from bp-asm.h.
33799         (STR): Likewise.
33800         (DELIM): Likewise.
33801         (SAVE): Likewise.
33802         (FUNCTION): Likewise.  Do not use BP_SYM.
33803         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
33804         aliases.
33805         (strtok_r): Likewise.
33806         (__GI___strtok_r): Likewise.
33807         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
33808         (PARMS): Do not use macros from bp-asm.h.
33809         (S1): Likewise.
33810         (S2): Likewise.
33811         (SIZE): Likewise.
33812         (__mpn_sub_n): Do not use BP_SYM.
33813         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
33814         "bp-asm.h".
33815         (PARMS): Do not use macros from bp-asm.h.
33816         (S1): Likewise.
33817         (SIZE): Likewise.
33818         (__mpn_submul_1): Do not use BP_SYM.
33819         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
33820         <bp-sym.h>.
33821         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
33822         and <bp-asm.h>.
33823         (PARMS): Do not use macros from bp-asm.h.
33824         (FLAGS): Likewise.
33825         (PTID): Likewise.
33826         (TLS): Likewise.
33827         (CTID): Likewise.
33828         (__clone): Do not use BP_SYM.
33829         (clone): Do not use BP_SYM in weak_alias.
33830         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
33831         and <bp-asm.h>.
33832         (PARMS): Do not use macros from bp-asm.h.
33833         (LEN): Likewise.
33834         (__mmap64): Do not use BP_SYM.
33835         (mmap64): Do not use BP_SYM in weak_alias.
33836         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33837         <bp-sym.h> and <bp-asm.h>.
33838         (PARMS): Do not use macros from bp-asm.h.
33839         (__posix_fadvise64_l64): Do not use BP_SYM.
33840         * sysdeps/unix/sysv/linux/i386/semtimedop.S
33841         (PARMS): Do not use macros from bp-asm.h.
33842         (NSOPS): Likewise.
33843         (semtimedop): Do not use BP_SYM.
33844         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
33845         and <bp-asm.h>.
33847 2013-02-21  Allan McRae  <allan@archlinux.org>
33849         * manual/message.texi (Charset conversion in gettext):
33850         Move @end statement to beginning of line.
33852 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33854         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
33855         static.
33856         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33857         Likewise.
33859         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
33860         (denorm): Likewise.
33861         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
33862         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
33864 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33866         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
33867         tail-call to the resolved function if pltexit isn't needed.
33869 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33871         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
33872         or Y being zero as being unlikely.
33873         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33874         Likewise.
33876 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
33878         * manual/nss.texi (System Databases and Name Service Switch):
33879         Remove frobnicate @pxref.
33881 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
33883         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
33884         __attribute__ ((unused)) to __attribute__ ((__unused__)).
33886 2013-02-20  Petr Machata  <pmachata@redhat.com>
33888         * elf/elf.h (R_ARM_TARGET1): New macro.
33889         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
33890         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
33891         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
33892         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
33893         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
33894         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
33895         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
33896         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
33897         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
33898         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
33899         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
33900         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
33901         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
33902         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
33903         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
33904         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
33905         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
33906         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
33907         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
33908         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
33909         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
33910         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
33911         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
33912         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
33913         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
33914         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
33915         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
33916         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
33917         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
33918         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
33919         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
33920         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
33921         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
33922         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
33923         (R_ARM_THM_GOT_BREL12): Likewise.
33924         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
33925         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
33926         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
33927         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
33928         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
33929         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
33930         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
33931         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
33932         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
33934 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
33936         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
33937         __attribute_used__ to __attribute__ ((unused)).
33939 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33941         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
33942         powerpc mpa.c.
33943         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
33944         comment formatting.
33945         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
33947 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
33949         [BZ #13550]
33950         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
33951         Remove macro.
33952         (ENTER): Remove both macro definitions.
33953         (LEAVE): Likewise.
33954         (CHECK_BOUNDS_LOW): Likewise.
33955         (CHECK_BOUNDS_HIGH): Likewise.
33956         (CHECK_BOUNDS_BOTH): Likewise.
33957         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
33958         (RETURN_BOUNDED_POINTER): Likewise.
33959         (RETURN_NULL_BOUNDED_POINTER): Likewise.
33960         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
33961         (POP_ERRNO_LOCATION_RETURN): Likewise.
33962         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
33963         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33964         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
33965         macros.
33966         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33967         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
33968         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
33969         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
33970         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
33971         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
33972         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
33973         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
33974         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
33975         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
33976         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
33977         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
33978         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33979         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
33980         removed macros.
33981         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33982         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
33983         macros.
33984         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33985         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
33986         * sysdeps/i386/i586/memset.S (memset): Likewise.
33987         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
33988         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33989         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
33990         macros.
33991         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33992         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
33993         Change uses of L(2) to L(out).
33994         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
33995         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
33996         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
33997         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33998         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
33999         removed macros.
34000         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34001         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
34002         macros.
34003         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34004         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
34005         (RETURN): Do not use macro LEAVE.
34006         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
34007         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
34008         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
34009         * sysdeps/i386/i686/memset.S (memset): Likewise.
34010         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
34011         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
34012         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34013         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
34014         Likewise.
34015         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34016         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
34017         L(1_2) and L(1_3) into L(1).
34018         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34019         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
34020         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34021         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
34022         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34023         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
34024         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
34025         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34026         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
34027         macros.
34028         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
34029         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34030         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
34031         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
34032         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
34033         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34034         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
34035         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
34036         * sysdeps/i386/strcspn.S (strcspn): Likewise.
34037         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
34038         * sysdeps/i386/strrchr.S (strrchr): Likewise.
34039         * sysdeps/i386/strspn.S (strspn): Likewise.
34040         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
34041         conditional code.
34042         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34043         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
34044         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34045         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
34046         L(1_3) into L(1_1).
34047         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
34048         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34049         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
34050         macros.
34051         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34053 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
34055         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
34056         macro.
34058 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34060         * math/atest-exp.c (exp_mpn): Remove ROUND.
34061         * math/atest-exp2.c (exp_mpn): Likewise.
34062         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
34064         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
34065         * stdlib/tst-tls-atexit-lib.c: Likewise.
34066         * stdlib/tst-tls-atexit.c: Likewise.
34068 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
34070         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
34071         and __attribute_alloc_size__.
34073 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
34075         * include/programs/xmalloc.h: Change __attribute_alloc_size to
34076         __attribute_alloc_size__.
34077         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
34078         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
34080 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
34082         * include/programs/xmalloc.h: New file.
34083         * catgets/gencat.c: Include it.
34084         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
34085         * elf/pldd.c: Likewise.
34086         * iconv/iconv_charmap.c: Likewise.
34087         * iconv/iconvconfig.c: Likewise.
34088         * iconv/strtab.c: Likewise.
34089         * locale/programs/locale.c: Likewise.
34090         * locale/programs/localedef.h: Likewise.
34091         * locale/programs/simple-hash.c: Likewise.
34092         * nscd/nscd.h: Likewise.
34093         * nss/makedb.c: Likewise.
34094         * sysdeps/generic/ldconfig.h: Likewise.
34096 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34098         * Versions.def: Add GLIBC_2.18.
34099         * include/link.h (struct link_map): New member l_tls_dtor_count.
34100         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
34101         (__call_tls_dtors): Likewise.
34102         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
34103         __cxa_thread_atexit_impl.
34104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34105         Likewise.
34106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34107         Likewise.
34108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34109         Likewise.
34110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34111         Likewise.
34112         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34113         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
34114         Likewise.
34115         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
34116         Likewise.
34117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34119         Likewise.
34120         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
34121         (tests): Add test case tst-tls-atexit.
34122         (modules-names): Add shared library for tst-tls-atexit.
34123         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
34124         (GLIBC_PRIVATE): Add __call_tls_dtors.
34125         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
34126         for libstdc++.
34127         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
34128         * stdlib/tst-tls-atexit.c: New test case.
34129         * stdlib/tst-tls-atexit-lib.c: New test case.
34131         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
34133         * elf/Versions (ld): Add _dl_find_dso_for_object.
34134         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
34135         * elf/dl-open.c (_dl_find_dso_for_object): New function.
34136         (dl_open_worker): Use _dl_find_dso_for_object.
34137         * elf/dl-sym.c (do_sym): Likewise.
34138         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
34140 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34142         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
34143         Syntactic changes only.
34144         (_dl_runtime_profile): Do a tail-call to the resolved function.
34146 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
34148         [BZ #13550]
34149         * sysdeps/x86_64/bp-asm.h: Remove file.
34150         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
34151         <bp-sym.h> and <bp-asm.h>.
34152         (__clone): Do not use BP_SYM.
34153         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
34154         <bp-sym.h> and <bp-asm.h>.
34155         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34156         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
34157         "bp-asm.h".
34158         (_setjmp): Do not use BP_SYM.
34159         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
34160         "bp-asm.h".
34161         (setjmp): Do not use BP_SYM.
34162         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
34163         libc_hidden_def.
34164         (mempcpy): Do not use BP_SYM in weak_alias.
34165         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
34166         "bp-asm.h".
34167         (strchr): Do not use BP_SYM.
34168         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
34169         "bp-asm.h".
34170         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
34171         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
34172         (_start): Do not use BP_SYM.
34173         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
34174         "bp-asm.h".
34175         (strcat): Do not use BP_SYM.
34176         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
34177         "bp-asm.h".
34178         (STRCMP): Do not use BP_SYM.
34179         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
34180         "bp-asm.h".
34181         (STRCPY): Do not use BP_SYM.
34182         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
34183         "bp-asm.h".
34184         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
34185         "bp-asm.h".
34186         (FUNCTION): Do not use BP_SYM.
34187         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
34188         weak_alias.
34189         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
34191 2013-02-17  Andreas Jaeger  <aj@suse.de>
34193         * time/Versions: Sort entries.
34194         * string/Versions: Likewise.
34195         * resolv/Versions: Likewise.
34196         * posix/Versions: Likewise.
34197         * iconv/Versions: Likewise.
34198         * elf/Versions: Likewise.
34199         * wcsmbs/Versions: Likewise.
34201 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34203         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
34204         loop termination condition.
34206         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
34207         variable to calculate EZ.
34208         (__sqr): Likewise.
34210         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
34211         the lower precision input.
34213 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
34215         [BZ #13550]
34216         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
34217         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
34218         (run-via-rtld-prefix): Do not handle %-bp tests.
34219         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
34220         (all-object-suffixes): Remove .ob.
34221         (bppfx): Remove variable.
34222         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
34223         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
34224         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
34225         [$(build-bounded) = yes] (libtype.ob): Likewise.
34226         * Makerules (elide-routines.ob): Remove variable.
34227         (do-tests-clean): Do not handle *-bp.out.
34228         (common-mostlyclean): Do not handle *-bp and *-bp.out.
34229         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
34230         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
34231         (tests): Do not include $(tests-bp.out).
34232         (xtests): Do not include $(xtests-bp.out).
34233         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
34234         [$(build-bounded) = yes] ($(addprefix
34235         $(objpfx),$(binaries-bounded))): Remove rule.
34236         ($(objpfx)%-bp.out): Remove rule.
34237         * config.make.in (build-bounded): Remove variable.
34238         * crypt/Makefile [$(build-bounded) = yes]
34239         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
34240         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
34241         append to variable.
34242         [$(build-bounded) = yes] (install-lib): Likewise.
34243         [$(build-bounded) = yes] (generated): Likewise.
34244         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
34245         Remove rule.
34246         * intl/Makefile [$(build-bounded) = yes]
34247         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
34248         * math/Makefile [$(build-bounded) = yes]
34249         ($(tests:%=$(objpfx)%-bp): Likewise.
34250         * misc/Makefile [$(build-bounded) = yes]
34251         ($(objpfx)tst-tsearch-bp): Likewise.
34252         * nptl/Makeconfig (bounded-thread-library): Remove variable.
34253         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
34254         Remove dependency.
34255         * string/Makefile (o-objects.ob): Remove variable.
34256         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
34257         (CFLAGS-.ob): Remove variable.
34258         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
34259         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
34260         both definitions of variable.
34261         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
34262         (ASFLAGS-.ob): Remove variable.
34264 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
34266         [BZ #13550]
34267         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
34268         Remove __BOUNDED_POINTERS__ from condition.
34269         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
34270         * string/bits/string2.h [!__NO_STRING_INLINES &&
34271         !__BOUNDED_POINTERS__]: Likewise.
34272         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
34273         Likewise.
34274         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
34275         Remove conditional code.
34276         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
34277         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
34278         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
34279         condition.
34281         [BZ #13550]
34282         * csu/libc-start.c: Do not include <bp-sym.h>.
34283         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
34284         * elf/dl-open.c: Do not include <bp-sym.h>.
34285         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
34286         * math/fegetenv.c: Do not include <bp-sym.h>.
34287         (fegetenv): Do not use BP_SYM in versioned symbols.
34288         * nptl/sysdeps/pthread/bits/libc-lockP.h
34289         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
34290         <bp-sym.h>.
34291         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34292         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
34293         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34294         (__pthread_mutex_destroy): Likewise.
34295         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34296         (__pthread_mutex_lock): Likewise.
34297         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34298         (__pthread_mutex_trylock): Likewise.
34299         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34300         (__pthread_mutex_unlock): Likewise.
34301         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34302         (__pthread_mutexattr_init): Likewise.
34303         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34304         (__pthread_mutexattr_destroy): Likewise.
34305         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34306         (__pthread_mutexattr_settype): Likewise.
34307         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34308         (__pthread_rwlock_init): Likewise.
34309         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34310         (__pthread_rwlock_destroy): Likewise.
34311         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34312         (__pthread_rwlock_rdlock): Likewise.
34313         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34314         (__pthread_rwlock_tryrdlock): Likewise.
34315         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34316         (__pthread_rwlock_wrlock): Likewise.
34317         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34318         (__pthread_rwlock_trywrlock): Likewise.
34319         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34320         (__pthread_rwlock_unlock): Likewise.
34321         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34322         (__pthread_key_create): Likewise.
34323         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34324         (__pthread_setspecific): Likewise.
34325         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34326         (__pthread_getspecific): Likewise.
34327         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
34328         Likewise.
34329         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34330         (_pthread_cleanup_push_defer): Likewise.
34331         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34332         (_pthread_cleanup_pop_restore): Likewise.
34333         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34334         (pthread_setcancelstate): Likewise.
34335         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
34336         <bp-sym.h>.
34337         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
34338         (memchr): Do not use BP_SYM in weak_alias.
34339         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
34340         (fegetenv): Do not use BP_SYM in versioned symbols.
34341         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
34342         (fesetenv): Do not use BP_SYM in versioned symbols.
34343         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34344         (feupdateenv): Do not use BP_SYM in versioned symbols.
34345         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34346         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34347         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
34348         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
34349         (open64): Do not use BP_SYM in weak_alias.
34350         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
34351         (fegetenv): Do not use BP_SYM in versioned symbols.
34352         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
34353         (fesetenv): Do not use BP_SYM in versioned symbols.
34354         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34355         (feupdateenv): Do not use BP_SYM in versioned symbols.
34356         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
34357         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
34358         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
34359         (feraiseexcept): Do not use BP_SYM in versioned symbols.
34360         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34361         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34362         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
34363         <bp-sym.h>.
34364         (__libc_start_main): Do not use BP_SYM.
34366 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34368         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
34369         redundant return line.
34370         (norm): Likewise.
34371         (denorm): Likewise.
34372         (dbl_mp): Likewise.
34373         (sub_magnitudes): Likewise.
34374         (__add): Likewise.
34375         (__sub): Likewise.
34376         (__mul): Likewise.
34377         (__inv): Likewise.
34378         (__dvd): Likewise.
34379         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
34380         (norm): Likewise.
34381         (denorm): Likewise.
34382         (dbl_mp): Likewise.
34383         (sub_magnitudes): Likewise.
34384         (__add): Likewise.
34385         (__sub): Likewise.
34386         (__mul): Likewise.
34387         (__inv): Likewise.
34388         (__dvd): Likewise.
34390         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
34391         instead of __mul.
34392         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34393         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
34394         (cc32): Likewise.
34396         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
34397         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
34398         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
34399         of __mul for squares.
34400         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
34401         function
34402         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
34403         Likewise.
34404         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
34405         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34407 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
34409         [BZ #13550]
34410         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
34411         code.
34412         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
34413         prototype or function definition.  Rename ubp_* variables and
34414         parameters.  Remove argv definitions conditional on
34415         [__BOUNDED_POINTERS__].
34416         * debug/backtrace.c (__backtrace): Do not use __unbounded.
34417         * elf/dl-runtime.c (_dl_fixup): Likewise.
34418         * include/set-hooks.h (RUN_HOOK): Likewise.
34419         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
34420         definition.
34421         * string/strcpy.c (strcpy): Do not use __unbounded.
34422         * sysdeps/generic/frame.h (struct layout): Likewise.
34423         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
34424         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
34425         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
34426         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
34427         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
34428         (__backtrace): Likewise.
34429         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
34430         use __ptrvalue.
34431         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
34432         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34433         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
34434         Likewise.
34435         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
34436         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
34437         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
34438         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
34439         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
34440         Do not use __unbounded.
34441         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
34442         Rename __unboundedrlimits parameter to rlimits in prototype.
34443         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
34444         Do not use __unbounded.
34445         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
34446         not use __ptrvalue.
34447         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
34448         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
34449         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
34450         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
34451         __ptrvalue or __unbounded.
34452         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
34453         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
34454         use __unbounded.
34455         (__new_msgctl): Do not use __ptrvalue.
34456         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
34457         __unbounded.
34458         (__libc_msgrcv): Do not use __ptrvalue.
34459         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
34460         startup_info): Do not use __unbounded.
34461         (__libc_start_main): Likewise.  Rename ubp_* variables and
34462         parameters.  Remove argv definitions conditional on
34463         [__BOUNDED_POINTERS__].
34464         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
34465         __ptrvalue.
34466         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
34467         use __unbounded.
34468         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
34469         or __ptrvalue.
34470         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
34471         use __unbounded.
34472         (__new_shmctl): Do not use __ptrvalue.
34473         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
34474         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
34475         Likewise.
34476         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
34477         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
34478         (__libc_sigaction): Likewise.
34479         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
34480         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
34481         Likewise.
34482         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
34484 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
34486         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
34488         * string/mempcpy.c: Implement by calling memcpy.
34490 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34492         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
34494         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
34495         evaluation.
34497         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
34498         values in the mantissa.
34500         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
34501         minimize writes to Z.
34502         (sub_magnitudes): Simplify code a bit.
34504 2013-02-12  Roland McGrath  <roland@hack.frob.com>
34506         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
34507         from the message.  The linker prefixes all warnings with that already.
34509 2013-02-12  Andreas Schwab  <schwab@suse.de>
34511         [BZ #15078]
34512         * posix/regexec.c (extend_buffers): Add parameter min_len.
34513         (check_matching): Pass minimum needed length.
34514         (clean_state_log_if_needed): Likewise.
34515         (get_subexp): Likewise.
34516         * posix/Makefile (tests): Add bug-regex34.
34517         (bug-regex34-ENV): Define.
34518         * posix/bug-regex34.c: New file.
34520         [BZ #11561]
34521         * posix/regcomp.c (parse_bracket_exp): When looking up collating
34522         elements compare against the byte sequence of it, not its name.
34523         * posix/Makefile (tests): Add bug-regex35.
34524         (bug-regex35-ENV): Define.
34525         * posix/bug-regex35.c: New file.
34527 2013-02-11  Tom de Vries  <tom@codesourcery.com>
34529         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
34530         comment.
34531         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
34532         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
34533         (CHECK_EOL): Add undef.
34535 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
34537         * bits/stdlib-bsearch.h: New file.
34538         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
34539         * stdlib/stdlib.h: Likewise.
34541 2013-02-11  Roland McGrath  <roland@hack.frob.com>
34543         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
34544         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
34545         declaration.
34546         * manual/search.texi (Array Search Function): Add missing const in
34547         lfind prototype.
34548         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
34549         declaration to use rlim_t.
34550         (Basic Scheduling Functions): Remove erroneous const from
34551         sched_getparam prototype.  Remove erroneous * from
34552         sched_get_priority_max and sched_get_priority_min prototypes.
34553         (Resource Usage): Fix summary @comment on vtimes to refer to
34554         sys/vtimes.h rather than vtimes.h.
34555         Add missing *s in vtimes prototype.
34556         (Limits on Resources): Fix ulimit prototype to return long int.
34557         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
34558         prototypes to use long int rather than double.
34559         (BSD Random): Fix initstate and setstate to use char *, not void *.
34560         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
34561         prototype to make second argument 'struct aiocb64 *const[]'.
34562         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
34563         (Status of AIO Operations): Remove erroneous const in aio_return and
34564         aio_return64 prototypes.
34565         (Synchronizing I/O): Fix sync prototype to return void.
34566         * manual/startup.texi (Suboptions): Remove an erroneous const in
34567         getsubopt prototype.
34568         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
34569         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
34570         use size_t rather than int.
34571         (Scanning All Users): Likewise for getpwent_r.
34572         (Setting Groups): Add missing const to setgroups prototype.
34573         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
34574         * manual/socket.texi (Host Names): Fix gethostbyaddr and
34575         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
34576         'const void *' rather than 'const char *'.
34577         (Host Address Functions): Likewise for inet_ntop.
34578         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
34579         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
34580         ssize_t for return value.
34581         (Sending Data): Likewise for send, sendto, sendmsg.
34582         (Socket Option Functions): Add a missing const in setsockopt prototype.
34583         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
34584         use wchar_t for the argument.
34585         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
34586         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
34587         take no arguments.
34588         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
34589         double/float/long double for second argument.
34590         Fix return types of significand, significandf, significandl.
34591         * manual/filesys.texi (Setting Permissions): Use mode_t for second
34592         argument in fchmod prototype.
34593         (File Owner): Use uid_t and gid_t in fchown prototype.
34594         (File Times): Add const to utimes, futimes, and lutimes prototypes.
34595         (Making Special Files): Use mode_t and dev_t in mknod prototype.
34596         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
34597         use 'const struct dirent **' as argument types to CMP function pointer
34598         argument.
34599         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
34600         (File Times): Fix summary magic @comment for struct utimbuf and utime
34601         to refer to utime.h, not time.h.
34602         * manual/string.texi (Argz Functions): Add missing const in
34603         argz_extract and argz_next prototypes.
34604         (Finding Tokens in a String): Likewise for basename.
34605         (String/Array Comparison): Fix typo in wcscasecmp prototype.
34606         (Copying and Concatenation): Fix typo in wmemmove prototype.
34607         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
34608         (Signal Stack): Remove erroneous const in sigstack prototype.
34609         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
34610         prototype.
34611         (Simple Calendar Time): Likewise for stime.
34612         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
34613         prototype.
34614         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
34615         say sys/sysctl.h instead.
34616         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
34617         and vsyslog prototypes.
34619 2013-02-11  Tom de Vries  <tom@codesourcery.com>
34621         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
34622         Remove.
34624 2013-02-11  Roland McGrath  <roland@hack.frob.com>
34626         * misc/sys/mman.h: Fix typo in mremap comment.
34628 2013-02-08  Roland McGrath  <roland@hack.frob.com>
34630         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
34631         the '\0' terminator.
34633 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
34635         [BZ #13550]
34636         * debug/segfault.c: Don't include <bp-checks.h>.
34637         * sysdeps/generic/bp-checks.h: Remove file.
34638         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
34639         (__GETDENTS): Don't use CHECK_N.
34640         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
34641         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
34642         (__getgroups): Don't use CHECK_N.
34643         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
34644         (setgroups): Don't use CHECK_N.
34645         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
34646         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
34647         (__libc_msgrcv): Don't use CHECK_N.
34648         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
34649         (__libc_msgsnd): Don't use CHECK_N.
34650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
34651         <bp-checks.h>.
34652         (__libc_pread): Don't use CHECK_N.
34653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
34654         include <bp-checks.h>.
34655         (__libc_pread64): Don't use CHECK_N.
34656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
34657         include <bp-checks.h>.
34658         (__libc_pwrite): Don't use CHECK_N.
34659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
34660         include <bp-checks.h>.
34661         (__libc_pwrite64): Don't use CHECK_N.
34662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
34663         <bp-checks.h>.
34664         (__libc_pread): Don't use CHECK_N.
34665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
34666         include <bp-checks.h>.
34667         (__libc_pread64): Don't use CHECK_N.
34668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
34669         include <bp-checks.h>.
34670         (__libc_pwrite): Don't use CHECK_N.
34671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
34672         include <bp-checks.h>.
34673         (__libc_pwrite64): Don't use CHECK_N.
34674         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
34675         (do_pread): Don't use CHECK_N.
34676         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
34677         (do_pread64): Don't use CHECK_N.
34678         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
34679         (do_pwrite): Don't use CHECK_N.
34680         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
34681         (do_pwrite64): Don't use CHECK_N.
34682         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
34683         (__libc_readv): Don't use CHECK_N.
34684         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
34685         (semop): Don't use CHECK_N.
34686         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
34687         <bp-checks.h>.
34688         (semtimedop): Don't use CHECK_N.
34689         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
34690         (__libc_pread): Don't use CHECK_N.
34691         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
34692         <bp-checks.h>.
34693         (__libc_pread64): Don't use CHECK_N.
34694         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
34695         <bp-checks.h>.
34696         (__libc_pwrite): Don't use CHECK_N.
34697         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
34698         <bp-checks.h>.
34699         (__libc_pwrite64): Don't use CHECK_N.
34700         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
34701         <bp-checks.h>.
34702         (__libc_msgrcv): Don't use CHECK_N.
34703         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
34704         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
34705         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
34706         (__libc_writev): Don't use CHECK_N.
34708 2013-02-08  Roland McGrath  <roland@hack.frob.com>
34710         * string/strcpy.c: Removed unused variable.
34712         * Makeconfig (+sysdep-includes): Define with := rather than =.
34713         Use an existing include/ subdir of each sysdeps dir before it.
34715 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
34717         * nscd/connection.c (register_traced_file): Comment function.
34718         [HAVE_INOTIFY] (union __inev): Define.
34719         [HAVE_INOTIFY] (inotify_check_files): New function.
34720         [HAVE_INOTIFY] (clear_db_cache): Likewise.
34721         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
34722         clear_db_cache.
34723         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
34725 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
34727         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
34728         loaded if not already and that a failure is permanent.
34730 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
34732         [BZ #15006]
34733         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
34734         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
34736 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
34738         [BZ #13550]
34739         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
34740         (CHECK_1_NULL_OK): Likewise.
34741         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
34742         (__fxstat): Do not use CHECK_1.
34743         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
34744         <bp-checks.h>.
34745         (___fxstat64): Do not use CHECK_1.
34746         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34747         <bp-checks.h>.
34748         (__fxstatat): Do not use CHECK_1.
34749         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34750         <bp-checks.h>.
34751         (__fxstatat64): Do not use CHECK_1.
34752         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
34753         <bp-checks.h>.
34754         (__fxstat): Do not use CHECK_1.
34755         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34756         <bp-checks.h>.
34757         (__fxstatat): Do not use CHECK_1.
34758         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34759         <bp-checks.h>.
34760         (__getresgid): Do not use CHECK_1.
34761         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34762         <bp-checks.h>.
34763         (__getresuid): Do not use CHECK_1.
34764         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
34765         <bp-checks.h>.
34766         (__lxstat): Do not use CHECK_1.
34767         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34768         <bp-checks.h>.
34769         (__old_msgctl): Do not use CHECK_1.
34770         (__new_msgctl): Likewise.
34771         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
34772         <bp-checks.h>.
34773         (__new_setrlimit): Do not use CHECK_1.
34774         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34775         <bp-checks.h>.
34776         (__old_shmctl): Do not use CHECK_1.
34777         (__new_shmctl): Likewise.
34778         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
34779         <bp-checks.h>.
34780         (__xstat): Do not use CHECK_1.
34781         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
34782         (__lxstat): Do not use CHECK_1.
34783         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
34784         <bp-checks.h>.
34785         (___lxstat64): Do not use CHECK_1.
34786         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
34787         (__old_msgctl): Do not use CHECK_1.
34788         (__new_msgctl): Likewise.
34789         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
34790         <bp-checks.h>.
34791         (__gettimeofday): Do not use CHECK_1.
34792         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
34793         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
34794         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
34795         <bp-checks.h>.
34796         (__gettimeofday): Do not use CHECK_1.
34797         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
34798         (__old_shmctl): Do not use CHECK_1_NULL_OK.
34799         (__new_shmctl): Do not use CHECK_1.
34800         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
34801         <bp-checks.h>.
34802         (do_sigtimedwait): Do not use CHECK_1.
34803         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
34804         <bp-checks.h>.
34805         (do_sigwaitinfo): Do not use CHECK_1.
34806         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
34807         <bp-checks.h>.
34808         (msgctl): Do not use CHECK_1.
34809         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
34810         <bp-checks.h>.
34811         (shmctl): Do not use CHECK_1.
34812         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
34813         (ustat): Do not use CHECK_1.
34814         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
34815         <bp-checks.h>.
34816         (__fxstat): Do not use CHECK_1.
34817         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34818         <bp-checks.h>.
34819         (__fxstatat): Do not use CHECK_1.
34820         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
34821         <bp-checks.h>.
34822         (__lxstat): Do not use CHECK_1.
34823         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
34824         <bp-checks.h>.
34825         (__xstat): Do not use CHECK_1.
34826         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
34827         (__xstat): Do not use CHECK_1.
34828         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
34829         (___xstat64): Do not use CHECK_1.
34831         [BZ #13550]
34832         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
34833         definitions.
34834         (CHECK_BOUNDS_HIGH): Likewise.
34835         * string/strcpy.c: Do not include <bp-checks.h>.
34836         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
34838 2013-02-07  Roland McGrath  <roland@hack.frob.com>
34840         * nscd/nscd-client.h (__nscd_drop_map_ref):
34841         Add __attribute__ ((unused)).
34842         * nis/nss-nisplus.h (niserr2nss): Likewise.
34844         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
34845         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
34847         * csu/libc-tls.c (init_static_tls, init_slotinfo):
34848         Remove inline keyword.
34849         * include/rounding-mode.h (round_away): Likewise.
34850         * libio/wfileops.c (adjust_wide_data): Likewise.
34851         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
34852         (__m128i_strloadu_tolower): Likewise.
34853         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
34854         (__m128i_strloadu_tolower): Likewise.
34855         * time/mktime.c (ydhms_diff): Likewise.
34856         * locale/elem-hash.h (elem_hash): Likewise.
34857         * locale/setlocale.c (setdata): Likewise.
34858         * posix/regex_internal.h (re_string_char_size_at): Likewise.
34859         (re_string_wchar_at): Likewise.
34860         (bitset_not, bitset_merge, bitset_mask): Likewise.
34861         [!(__GNUC__ > 3)] (inline): Remove macro.
34862         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
34863         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
34864         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
34865         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
34866         * string/memcmp.c (memcmp_bytes): Likewise.
34867         * locale/programs/locarchive.c (compute_hashval): Likewise.
34868         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
34869         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
34870         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
34871         * nss/getent.c (print_rpc, print_protocols): Likewise.
34872         (print_passwd, print_group, print_aliases): Likewise.
34873         * nis/nss-nisplus.h (niserr2nss): Likewise.
34874         * nscd/connections.c (restart_p): Likewise.
34875         Change return type to bool.
34877 2013-02-05  Roland McGrath  <roland@hack.frob.com>
34879         * Makeconfig (all-Depend-files): Add existing
34880         $(sorted-subdirs:=/Depend) files.
34881         (all-subdirs): Remove nss.
34882         * sysdeps/unix/inet/Subdirs: Add it here instead.
34883         * hesiod/Depend: New file.
34885         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
34886         instead of calling alloca.
34888         * io/lseek.c (__lseek): Rename to __libc_lseek.
34889         Define __lseek as an alias.
34891         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
34893 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
34895         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
34896         else clause and remove check for non-standard endianness.
34898 2013-02-04  David S. Miller  <davem@davemloft.net>
34900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34902 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
34904         [BZ #13550]
34905         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
34906         (__ubp_memchr): Remove prototype.
34907         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
34908         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
34909         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
34910         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
34911         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
34912         Remove alias.
34913         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
34914         (__ubp_memchr): Likewise.
34915         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
34916         (__ubp_memchr): Likewise.
34917         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
34918         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
34919         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
34920         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
34921         CHECK_STRING.
34922         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
34923         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
34924         (__getcwd): Do not use CHECK_STRING.
34925         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34926         <bp-checks.h>.
34927         (__real_chown): Do not use CHECK_STRING.
34928         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
34929         <bp-checks.h>.
34930         (fchownat): Do not use CHECK_STRING.
34931         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
34932         CHECK_STRING.
34933         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34934         <bp-checks.h>.
34935         (__lchown): Do not use CHECK_STRING.
34936         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
34937         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
34938         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
34939         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
34940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34941         include <bp-checks.h>.
34942         (truncate64): Do not use CHECK_STRING.
34943         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34944         <bp-checks.h>.
34945         (__real_chown): Do not use CHECK_STRING.
34946         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34947         <bp-checks.h>.
34948         (__lchown): Do not use CHECK_STRING.
34949         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34950         <bp-checks.h>.
34951         (__chown): Do not use CHECK_STRING.
34952         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
34953         <bp-checks.h>.
34954         (truncate64): Do not use CHECK_STRING.
34955         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
34956         Likewise.
34957         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
34958         (__xmknod): Do not use CHECK_STRING.
34959         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34960         <bp-checks.h>.
34961         (__xmknodat): Do not use CHECK_STRING.
34962         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
34963         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
34965 2013-02-04  Andreas Schwab  <schwab@suse.de>
34967         [BZ #14142]
34968         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
34969         * include/netdb.h: Likewise for h_errno.
34970         * elf/tst-stackguard1.c: Include <tls.h>.
34972 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
34974         * elf/link.h (struct link_map): Extend the l_addr comment.
34975         * include/link.h (struct link_map): Likewise.
34977 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
34979         [BZ #13550]
34980         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
34981         (BOUNDED_1): Remove macro.
34982         * debug/backtrace.c: Don't include <bp-checks.h>.
34983         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
34984         (__backtrace): Likewise.
34985         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
34986         <bp-checks.h>.
34987         (__backtrace): Don't use BOUNDED_1.
34988         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
34989         <bp-checks.h>.
34990         (__backtrace): Don't use BOUNDED_1.
34991         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
34992         (__backtrace): Don't use BOUNDED_1.
34993         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
34994         (shmat): Don't use BOUNDED_N.
34996 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
34998         [BZ #13550]
34999         * sysdeps/generic/bp-start.h: Remove file.
35000         * csu/libc-start.c: Don't include <bp-start.h>.
35001         (LIBC_START_MAIN): Set up __environ directly instead of using
35002         INIT_ARGV_and_ENVIRON.
35003         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
35004         <bp-start.h>.
35006         [BZ #13550]
35007         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
35008         definitions.
35009         (CHECK_FCNTL): Likewise.
35010         (CHECK_N_PAGES): Likewise.
35012         [BZ #13550]
35013         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
35014         definitions.
35015         (CHECK_SIGSET_NULL_OK): Likewise.
35016         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
35017         <bp-checks.h>.
35018         (sigpending): Don't use CHECK_SIGSET.
35019         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
35020         <bp-checks.h>.
35021         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35022         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
35023         <bp-checks.h>.
35024         (do_sigsuspend): Don't use CHECK_SIGSET.
35025         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
35026         use CHECK_SIGSET.
35027         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
35028         (do_sigwait): Don't use CHECK_SIGSET.
35029         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
35030         use CHECK_SIGSET.
35031         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
35032         include <bp-checks.h>.
35033         (sigpending): Don't use CHECK_SIGSET.
35034         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
35035         include <bp-checks.h>.
35036         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35037         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
35038         <bp-checks.h>.
35039         (sigpending): Don't use CHECK_SIGSET.
35040         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
35041         <bp-checks.h>.
35042         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35044         [BZ #13550]
35045         * sysdeps/generic/bp-semctl.h: Remove file.
35046         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
35047         <bp-checks.h> and <bp-semctl.h>.
35048         (__old_semctl): Don't use CHECK_SEMCTL.
35049         (__new_semctl): Likewise.
35050         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
35051         and <bp-semctl.h>.
35052         (__old_semctl): Don't use CHECK_SEMCTL.
35053         (__new_semctl): Likewise.
35054         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
35055         <bp-checks.h> and <bp-semctl.h>.
35056         (__old_semctl): Don't use CHECK_SEMCTL.
35057         (__new_semctl): Likewise.
35058         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
35059         <bp-checks.h> and <bp-semctl.h>.
35060         (semctl): Don't use CHECK_SEMCTL.
35062         [BZ #13550]
35063         * Makerules (elide-bp-thunks): Remove variable.
35064         (elide-routines.oS): Don't use $(elide-bp-thunks).
35065         (elide-routines.os): Likewise.
35066         (elide-routines.o): Likewise.
35067         (elide-routines.op): Likewise.
35068         (elide-routines.og): Likewise.
35069         (objects): Don't use $(bp-thunks).
35070         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
35071         include.
35072         (common-generated): Do not add s-proto-bp.d.
35073         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
35074         (int): Likewise.
35075         (typ): Likewise.
35076         Do not generate makefile rules for bounded-pointer thunks.
35077         * sysdeps/generic/bp-thunks.h: Remove file.
35078         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
35079         * sysdeps/unix/s-proto-bp.S: Likewise.
35081         [BZ #15062]
35082         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
35083         parts of result separately when argument is not close to line from
35084         -i to i and one part of argument is small.
35085         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35086         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35087         * math/libm-test.inc (cacos_test): Add more tests.
35088         (casin_test): Likewise.
35089         (casinh_test): Likewise.
35090         * sysdeps/i386/fpu/libm-test-ulps: Update.
35091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35093 2013-01-31  David S. Miller  <davem@davemloft.net>
35095         * po/de.po: Update from translation team.
35097 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
35099         * time/tzfile.c: Include stdint.h for SIZE_MAX.
35101 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
35103         * configure.in (_AC_PROG_CC_C89): New definition.
35104         * configure: Regenerate.
35106         * configure.in (AC_PROG_CPP): New definition.
35107         * configure: Regenerate.
35109 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
35111         * debug/tst-backtrace.h: New file.
35112         * debug/tst-backtrace2.c: Include tst-backtrace.h.
35113         (ret): Remove variable.
35114         (x): Likewise.
35115         (FAIL): Remove macro.
35116         (NO_INLINE): Likewise.
35117         (fn1): Use match function instead of strstr.
35118         * debug/tst-backtrace3.c: Include tst-backtrace.h.
35119         (ret): Remove variable.
35120         (x): Likewise.
35121         (FAIL): Remove macro.
35122         (NO_INLINE): Likewise.
35123         (fn): Use match function instead of strstr.
35124         * debug/tst-backtrace4.c: Include tst-backtrace.h.
35125         (ret): Remove variable.
35126         (x): Likewise.
35127         (FAIL): Remove macro.
35128         (NO_INLINE): Likewise.
35129         (handle_signal): Use match function instead of strstr.
35130         * debug/tst-backtrace5.c: Include tst-backtrace.h.
35131         (ret): Remove variable.
35132         (x): Likewise.
35133         (FAIL): Remove macro.
35134         (NO_INLINE): Likewise.
35135         (handle_signal): Use match function instead of strstr.
35137 2013-01-23  Roland McGrath  <roland@hack.frob.com>
35139         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
35141 2013-01-23  David S. Miller  <davem@davemloft.net>
35143         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
35144         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
35145         argument of CAS if possible.
35146         * sysdeps/sparc/sparc64/bits/atomic.h
35147         (__arch_compare_and_exchange_val_32_acq): Likewise.
35148         (__arch_compare_and_exchange_val_64_acq): Likewise.
35150 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
35152         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
35153         * sysdeps/posix/ulimit.c: ... this.
35154         Include <limits.h>.
35155         * sysdeps/unix/bsd/ulimit.c: Remove file.
35157 2013-01-23  Adam Conrad  <adconrad@0c3.net>
35159         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
35160         (LDFLAGS-tst-array5): Likewise.
35162 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
35164         [BZ #15036]
35165         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
35166         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
35167         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
35168         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
35170 2013-01-21  David S. Miller  <davem@davemloft.net>
35172         * sysdeps/sparc/backtrace.c: New file.
35173         * sysdeps/sparc/sparc32/backtrace.h: New file.
35174         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
35175         * sysdeps/sparc/sparc64/backtrace.h: New file.
35176         * sysdeps/sparc/sparc64/backtrace.c: Delete.
35177         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
35178         -funwind-tables.
35180 2013-01-21  Andreas Schwab  <schwab@suse.de>
35182         [BZ #15020]
35183         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
35184         closed its stdout.
35186 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
35188         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
35189         "mpa2.h".
35190         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35192 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
35193             Mark Mitchell  <mark@codesourcery.com>
35194             Tom de Vries  <tom@codesourcery.com>
35195             Paul Pluzhnikov  <ppluzhnikov@google.com>
35197         * debug/tst-backtrace2.c: New file.
35198         * debug/tst-backtrace3.c: Likewise.
35199         * debug/tst-backtrace4.c: Likewise.
35200         * debug/tst-backtrace5.c: Likewise.
35201         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
35202         (CFLAGS-tst-backtrace3.c): Likewise.
35203         (CFLAGS-tst-backtrace4.c): Likewise.
35204         (CFLAGS-tst-backtrace5.c): Likewise.
35205         (LDFLAGS-tst-backtrace2): Likewise.
35206         (LDFLAGS-tst-backtrace3): Likewise.
35207         (LDFLAGS-tst-backtrace4): Likewise.
35208         (LDFLAGS-tst-backtrace5): Likewise.
35209         (tests): Add new tests tst-backtrace2, tst-backtrace3,
35210         tst-backtrace4 and tst-backtrace5.
35212 2013-01-18  Anton Blanchard  <anton@samba.org>
35213             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35215         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
35216         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
35217         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
35218         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
35219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35220         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
35221         "+r" and remove output regs list as redundant.  Add explicit inline
35222         asm to specify register of return val to work around compiler codegen
35223         bug.  Remove (int) cast on return value.  Add return type parameter to
35224         use in macro so that this macro does not truncate return value for
35225         64-bit values.
35226         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
35227         pass to INTERNAL_VSYSCALL_NCS.
35228         (INLINE_VSYSCALL): Add 'long int' as return type to
35229         INTERNAL_VSYSCALL_NCS macro invocation.
35230         (INTERNAL_VSYSCALL): Add 'long int' as return type to
35231         INTERNAL_VSYSCALL_NCS macro invocation.
35232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35234 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35236         [BZ #14496]
35237         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
35238         Fix application of SIMD FP exception mask.
35240         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
35241         mp_no from a power of two.
35242         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
35243         __mpexp_twomm1.  Use __pow_mp.
35245         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
35246         multiplication.
35248 2013-01-17  David S. Miller  <davem@davemloft.net>
35250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35252 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
35254         [BZ #15023]
35255         * include/complex.h: Condition contents on [!_COMPLEX_H].
35256         (__kernel_casinhf): New prototype.
35257         (__kernel_casinh): Likewise.
35258         (__kernel_casinhl): Likewise.
35259         * math/Makefile (libm_calls): Add k_casinh.
35260         * math/k_casinh.c: New file.
35261         * math/k_casinhf.c: Likewise.
35262         * math/k_casinhl.c: Likewise.
35263         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
35264         finite nonzero arguments.
35265         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
35266         finite nonzero arguments.
35267         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
35268         finite nonzero arguments.
35269         * math/s_casinh.c: Do not include <float.h>.
35270         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
35271         * math/s_casinhf.c: Do not include <float.h>.
35272         (__casinhf): Move code for finite nonzero arguments to
35273         k_casinhf.c.
35274         * math/s_casinhl.c: Do not include <float.h>.
35275         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
35276         redefine.
35277         (__casinhl): Move code for finite nonzero arguments to
35278         k_casinhl.c.
35279         * math/libm-test.inc (cacos_test): Add more tests.
35280         * sysdeps/i386/fpu/libm-test-ulps: Update.
35281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35283 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
35285         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
35286         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
35287         [!HAVE_MREMAP]: Remove [defined linux] case.
35288         * malloc/arena.c: Do not include <malloc-sysdep.h>.
35290 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35292         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
35294 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
35296         * elf/elf.h (R_386_SIZE32): New relocation.
35297         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
35298         R_386_SIZE32.
35299         (elf_machine_rela): Likewise.
35300         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35301         R_X86_64_SIZE64 and R_X86_64_SIZE32.
35303 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
35305         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
35306         (FP_FAST_FMA): Do not define.
35307         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
35308         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
35309         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
35310         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
35311         !_SOFT_FLOAT]: Likewise.
35312         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
35313         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
35314         value.
35315         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
35316         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
35317         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
35318         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
35319         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
35320         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
35321         file.
35323 2013-01-16  Andreas Schwab  <schwab@suse.de>
35325         [BZ #14327]
35326         * include/stdlib.h (__mktemp): Add declaration.
35327         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
35328         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
35330 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35332         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
35333         definitions.
35334         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35335         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
35336         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
35337         definitions here.
35338         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
35339         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
35340         definitions.
35341         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
35342         and ONE.
35343         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
35344         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
35345         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
35346         definitions.
35347         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
35348         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
35349         definitions.
35350         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35352         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
35354 2013-01-15  David S. Miller  <davem@davemloft.net>
35356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35357         trunc{,f} to libm-sysdep_routes.
35358         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
35360         file.
35361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
35362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
35363         file.
35364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
35365         file.
35366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
35367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
35368         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
35369         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
35370         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
35371         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
35372         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
35373         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
35375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35376         nearbyint{,f} to libm-sysdep_routes.
35377         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
35379         New file.
35380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
35381         file.
35382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
35383         New file.
35384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
35385         file.
35386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
35387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
35388         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
35389         file.
35390         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
35391         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
35392         file.
35393         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
35394         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
35395         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
35397         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35398         libc_feholdexcept and libc_fesetenv.
35400 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
35402         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
35404 2013-01-14  David S. Miller  <davem@davemloft.net>
35406         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
35407         (SPARC_ASM_VIS2_IFUNC): Likewise.
35408         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
35409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
35410         use of 'siam' instruction.
35411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
35412         Likewise.
35413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
35414         Likewise.
35415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
35416         Likewise.
35417         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
35418         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
35419         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
35420         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
35421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
35422         file.
35423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
35424         file.
35425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
35426         file.
35427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
35428         file.
35429         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
35430         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
35431         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
35432         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
35433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
35434         new VIS2 routines.
35435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35438         Likewise.
35439         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35440         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35441         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35442         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
35444         routines to libm-sysdep_routines.
35445         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35448         fdim/fdimf to libm-sysdep_routines.
35449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
35450         file.
35451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
35452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
35453         file.
35454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
35455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
35456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
35457         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
35458         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
35459         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
35460         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
35462 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35464         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
35465         to optimize copies.
35467         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
35468         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35469         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35471         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
35472         local variable MPTWO.
35473         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35474         Likewise.
35476 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
35478         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
35479         GLOB_NOESCAPE.
35481 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
35483         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
35485 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
35487         * manual/pattern.texi (glob_t): Document gl_flags.
35488         (glob64_t): Likewise.
35490 2013-01-11  David S. Miller  <davem@davemloft.net>
35492         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
35493         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
35494         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
35495         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
35496         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
35497         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
35498         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
35499         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
35500         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
35501         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
35502         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
35503         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
35504         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
35506         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
35507         sparc V9 rather than using V8 code.
35508         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35509         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35511         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35512         Move to...
35513         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
35514         Here.
35516 2013-01-11  Roland McGrath  <roland@hack.frob.com>
35518         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
35519         not in the main loop.
35520         * configure: Regenerated.
35522 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
35524         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
35525         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
35526         to just #else.
35527         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
35528         [!__GLIBC_HAVE_LONG_LONG] case.
35529         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
35530         condition to just #else.
35531         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
35532         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
35533         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
35534         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
35535         unconditional.
35536         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
35537         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35538         #elif condition to just #else.
35539         * sysdeps/unix/sysv/linux/sys/sysmacros.h
35540         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
35541         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35542         #elif condition to just #else.
35544 2013-01-11  Steve Ellcey  <sellcey@mips.com>
35546         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
35547         (EF_MIPS_ARCH_64): Fix value.
35548         (EF_MIPS_ARCH_32R2): New.
35549         (EF_MIPS_ARCH_64R2): New.
35551 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
35553         * Makeconfig (+link-pie-before-libc): New.
35554         (+link-pie-after-libc): Likewise.
35555         (+link-pie-tests): Likewise.
35556         (+link-pie): Rewritten.
35557         (link-before-libc): Remove $(config-LDFLAGS).
35558         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
35559         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
35560         (config-LDFLAGS): Renamed to ...
35561         (rtld-LDFLAGS): This.
35562         (rtld-tests-LDFLAGS): New macro.
35563         (link-libc-rpath-link): Likewise.
35564         (link-libc-tests-rpath-link): Likewise.
35565         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
35566         (link-libc): Prepand $(link-libc-rpath-link).
35567         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
35568         (test-program-prefix): New macro.
35569         (test-via-rtld-prefix): Likewise.
35570         (test-program-cmd): Likewise.
35571         (host-test-program-cmd): Likewise.
35572         * Makefile ($(common-objpfx)testrun.sh): Replace
35573         $(run-program-prefix) with $(test-program-prefix).
35574         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
35575         $(rtld-LDFLAGS).
35576         ($(common-objpfx)shlib.lds): Likewise.
35577         (build-module-helper): Likewise.
35578         ($(common-objpfx)format.lds): Likewise.
35579         * Rules (binaries-pie-tests): New.
35580         (binaries-pie-notests): Likewise.
35581         (binaries-pie): Rewritten.
35582         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
35583         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
35584         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
35585         (make-test-out): Replace $(host-built-program-cmd) with
35586         $(host-test-program-cmd).
35587         * config.make.in (build-hardcoded-path-in-tests): New variable.
35588         * configure.in (--enable-hardcoded-path-in-tests): New configure
35589         option.
35590         (hardcoded_path_in_tests): New AC_SUBST.
35591         * configure: Regenerated.
35592         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
35593         $(built-program-cmd) with $(test-program-cmd).
35594         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
35595         (test_program_cmd): This.
35596         * elf/Makefile ($(objpfx)order.out): Run test with
35597         $(test-program-prefix).
35598         ($(objpfx)order2.out): Likewise.
35599         ($(objpfx)tst-initorder.out): Likewise.
35600         ($(objpfx)tst-initorder2.out): Likewise.
35601         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
35602         $(test-program-cmd).
35603         ($(objpfx)tst-array1-static.out): Likewise.
35604         ($(objpfx)tst-array2.out): Likewise.
35605         ($(objpfx)tst-array3.out): Likewise.
35606         ($(objpfx)tst-array4.out): Likewise.
35607         ($(objpfx)tst-array5.out): Likewise.
35608         ($(objpfx)tst-array5-static.out): Likewise.
35609         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
35610         $(test-program-cmd).
35611         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
35612         $(run-program-prefix) with $(test-program-prefix).
35613         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
35614         (test_program_prefix): This.
35615         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
35616         $(run-program-prefix) with $(test-program-prefix).
35617         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
35618         (test_program_prefix): This.
35619         * iconvdata/tst-tables.sh: Likewise.
35620         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
35621         $(run-program-prefix) with $(test-program-prefix).
35622         ($(objpfx)tst-translit.out): Likewise.
35623         ($(objpfx)tst-gettext2.out): Likewise.
35624         ($(objpfx)tst-gettext4.out): Likewise.
35625         ($(objpfx)tst-gettext6.out): Likewise.
35626         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
35627         (test_program_prefix): This.
35628         * intl/tst-gettext2.sh: Likewise.
35629         * intl/tst-gettext4.sh  Likewise.
35630         * intl/tst-gettext6.sh: Likewise.
35631         * intl/tst-translit.sh: Likewise.
35632         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
35633         with $(test-program-cmd).
35634         * libio/Makefile ($(objpfx)test-freopen.out): Replace
35635         $(run-program-prefix) with $(test-program-prefix).
35636         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
35637         (test_program_prefix): This.
35638         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
35639         $(run-program-prefix) with $(test-program-prefix).
35640         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
35641         (test_program_prefix): This.
35642         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
35643         * posix/Makefile ($(objpfx)globtest.out): Replace
35644         $(run-via-rtld-prefix) and $(test-wrapper) with
35645         $(test-program-prefix) and $(test-via-rtld-prefix).
35646         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
35647         $(test-program-prefix).
35648         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
35649         $(host-test-program-cmd).
35650         (tst-spawn-ARGS): Likewise.
35651         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
35652         $(test-program-prefix).
35653         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
35654         (test_via_rtld_prefix): This.
35655         (test_wrapper): Renamed to ...
35656         (test_program_prefix): This.
35657         (run_program_prefix): Replaced by test_program_prefix.
35658         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
35659         (test_program_prefix): This.
35660         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
35661         with $(host-test-program-cmd).
35662         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
35663         $(run-program-prefix) with $(test-program-prefix).
35664         ($(objpfx)tst-printf.out): Likewise.
35665         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
35666         $(test-program-cmd).
35667         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
35668         (test_program_prefix): This.
35669         * stdio-common/tst-unbputc.sh: Likewise.
35670         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
35671         $(run-program-prefix) with $(test-program-prefix).
35672         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
35673         (test_program_prefix): This.
35674         * string/Makefile ($(objpfx)tst-svc.out):  Replace
35675         $(built-program-cmd) with $(test-program-cmd).
35677 2013-01-11  Andreas Jaeger  <aj@suse.de>
35679         [BZ #15003]
35680         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
35681         value. Sync with Linux 3.7.
35683 2013-01-10  David S. Miller  <davem@davemloft.net>
35685         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
35686         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35687         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35689 2013-01-10  Roland McGrath  <roland@hack.frob.com>
35691         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
35692         never set.
35693         * configure: Regenerated.
35695 2013-01-10  David S. Miller  <davem@davemloft.net>
35697         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
35698         sparc V9 rather than using V8 code.
35699         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35700         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35702 2013-01-10  Roland McGrath  <roland@hack.frob.com>
35704         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
35705         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
35706         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
35707         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
35708         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
35709         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
35710         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
35711         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
35712         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
35713         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
35714         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
35715         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
35716         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
35717         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
35718         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
35719         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
35720         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
35721         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
35722         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
35723         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
35724         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
35725         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
35726         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
35727         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
35728         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
35729         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
35730         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
35732 2013-01-10  David S. Miller  <davem@davemloft.net>
35734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35736 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
35738         * posix/Makefile (tests-static): New variable.
35739         (tests): Add $(tests-static).
35740         (tst-exec-static-ARGS): New variable.
35741         (tst-spawn-static-ARGS): Likewise.
35742         * posix/tst-exec-static.c: New file.
35743         * posix/tst-spawn-static.c: Likewise.
35744         * posix/tst-exec.c: Support run directly.
35745         * posix/tst-spawn.c: Likewise.
35747 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
35749         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
35750         long.
35751         * math/bits/mathcalls.h (llrint): Likewise.
35752         (llround): Likewise.
35753         * stdlib/stdlib.h (struct drand48_data): Likewise.
35754         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
35755         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
35756         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
35757         Likewise.
35758         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
35759         Likewise.
35760         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
35761         (elf_greg_t): Likewise.
35762         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
35763         (__jmp_buf): Likewise.
35764         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
35765         definitions.
35766         (llrint): Likewise, for all definitions.
35767         (llrintl): Likewise.
35769         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
35770         Remove [__GNUC__] condition.
35771         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
35772         condition to just [__USE_ISOC99].
35773         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
35775 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
35777         [BZ #14200]
35778         * sysdeps/unix/sysv/linux/x86/bits/environments.h
35779         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
35780         defined.
35781         (_POSIX_V6_ILP32_OFF32): Likewise.
35782         (_XBS5_ILP32_OFF32): Likewise.
35783         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
35784         (__ILP32_OFFBIG_LDFLAGS): Likewise.
35786 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35788         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
35790         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
35791         doubles __mpexp_twomm1.  Adjust usage.
35792         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
35793         Remove.
35795 2013-01-10  Andreas Schwab  <schwab@suse.de>
35797         [BZ #14964]
35798         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
35799         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
35801 2013-01-09  David S. Miller  <davem@davemloft.net>
35803         [BZ #15003]
35804         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
35805         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
35806         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
35807         (TCP_FASTOPEN): Define.
35808         (tcp_repair_opt): New structure.
35809         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
35810         enum values.
35811         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
35812         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
35813         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
35814         (tcp_cookie_transactions): New structure.
35816 2013-01-09  Anton Blanchard  <anton@samba.org>
35818         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
35819         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
35820         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
35821         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
35823 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
35825         * include/features.h (__USE_ANSI): Remove.
35827 2013-01-09  Roland McGrath  <roland@hack.frob.com>
35829         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
35831         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
35833 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
35835         * sysdeps/s390/fpu/libm-test-ulps: Update.
35837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35839         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
35840         (__acr): Likewise.
35841         (__cpy): Likewise.
35842         (norm): Likewise.
35843         (denorm): Likewise.
35844         (__mp_dbl): Likewise.
35845         (__dbl_mp): Likewise.
35846         (add_magnitudes): Likewise.
35847         (sub_magnitudes): Likewise.
35848         (__add): Likewise.
35849         (__sub): Likewise.
35850         (__mul): Likewise.
35851         (__inv): Likewise.
35852         (__dvd): Likewise.
35853         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
35854         (__acr): Likewise.
35855         (__cpy): Likewise.
35856         (norm): Likewise.
35857         (denorm): Likewise.
35858         (__mp_dbl): Likewise.
35859         (__dbl_mp): Likewise.
35860         (add_magnitudes): Likewise.
35861         (sub_magnitudes): Likewise.
35862         (__add): Likewise.
35863         (__sub): Likewise.
35864         (__mul): Likewise.
35865         (__inv): Likewise.
35866         (__dvd): Likewise.
35867         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
35868         (__acr): Likewise.
35869         (__cpy): Likewise.
35870         (norm): Likewise.
35871         (denorm): Likewise.
35872         (__mp_dbl): Likewise.
35873         (__dbl_mp): Likewise.
35874         (add_magnitudes): Likewise.
35875         (sub_magnitudes): Likewise.
35876         (__add): Likewise.
35877         (__sub): Likewise.
35878         (__mul): Likewise.
35879         (__inv): Likewise.
35880         (__dvd): Likewise.
35882 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
35884         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
35885         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
35886         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
35887         2 && __USE_EXTERN_INLINES]: Likewise.
35889 2013-01-08  Andreas Jaeger  <aj@suse.de>
35891         [BZ# 14985]
35892         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
35893         Remove.
35894         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
35895         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
35897 2013-01-07  Anton Blanchard  <anton@samba.org>
35899         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
35900         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35901         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
35902         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35903         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
35904         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35905         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
35906         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
35907         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35908         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35909         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35910         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35911         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35912         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35913         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
35914         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35915         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35916         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35917         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
35918         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
35919         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
35920         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
35921         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35922         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
35923         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
35924         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
35925         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35926         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35927         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
35928         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35929         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
35930         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35931         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35932         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35933         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35934         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35935         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35936         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35937         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
35938         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35939         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
35940         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35941         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35943 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
35945         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
35946         (__MALLOC_PMT): Likewise.
35947         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
35948         [__GNUC__], only on [_LIBC].
35949         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
35950         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
35951         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
35952         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
35953         forward declaration.
35954         (realloc_hook_ini): Likewise.
35955         (memalign_hook_ini): Likewise.
35956         (__libc_memalign): Do not use __MALLOC_PMT in variable
35957         declaration.
35958         (__libc_valloc): Likewise.
35959         (__libc_pvalloc): Likewise.
35960         (__libc_calloc): Likewise.
35961         (__posix_memalign): Likewise.
35963         [BZ #14996]
35964         * math/s_casinh.c: Include <float.h>.
35965         (__casinh): Do not do computation with squaring and square root
35966         for large arguments.
35967         * math/s_casinhf.c: Include <float.h>.
35968         (__casinhf): Do not do computation with squaring and square root
35969         for large arguments.
35970         * math/s_casinhl.c: Include <float.h>.
35971         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
35972         (__casinhl): Do not do computation with squaring and square root
35973         for large arguments.
35974         * math/libm-test.inc (casin_test): Add more tests.
35975         (casinh_test): Likewise.
35976         * sysdeps/i386/fpu/libm-test-ulps: Update.
35977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35979 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
35981         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
35982         (__x86_64_raw_data_cache_size): Likewise.
35983         (__x86_64_data_cache_size_half): Likewise.
35984         (__x86_64_raw_data_cache_size_half): Likewise.
35985         (__x86_64_shared_cache_size): Likewise.
35986         (__x86_64_raw_shared_cache_size): Likewise.
35987         (__x86_64_shared_cache_size_half): Likewise.
35988         (__x86_64_raw_shared_cache_size_half): Likewise.
35989         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
35990         to ...
35991         (__x86_data_cache_size): This.
35992         (__x86_64_raw_data_cache_size): Renamed to ...
35993         (__x86_raw_data_cache_size): This.
35994         (__x86_64_data_cache_size_half): Renamed to ...
35995         (__x86_data_cache_size_half): This.
35996         (__x86_64_raw_data_cache_size_half): Renamed to ...
35997         (__x86_raw_data_cache_size_half): This.
35998         (__x86_64_shared_cache_size): Renamed to ...
35999         (__x86_shared_cache_size): This.
36000         (__x86_64_raw_shared_cache_size): Renamed to ...
36001         (__x86_raw_shared_cache_size): This.
36002         (__x86_64_shared_cache_size_half): Renamed to ...
36003         (__x86_shared_cache_size_half): This.
36004         (__x86_64_raw_shared_cache_size_half): Renamed to ...
36005         (__x86_raw_shared_cache_size_half): This.
36006         * sysdeps/x86_64/memcpy.S: Updated.
36007         * sysdeps/x86_64/memset.S: Likewise.
36008         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36009         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36010         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36012 2013-01-04  David S. Miller  <davem@davemloft.net>
36014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36016 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
36018         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
36019         1 to avoid redefinition warning.
36020         (__USE_GNU): Don't define.
36021         (init_signaling_nan): Protoize.
36023         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36025 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36027         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
36028         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
36029         (__cpymn): Likewise.
36030         (norm): Remove commented code.
36031         (denorm): Likewise.
36032         (__mp_dbl): Likewise.
36033         (__inv): Likewise.
36034         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
36035         (__cpymn): Likewise.
36036         (norm): Remove commented code.
36037         (denorm): Likewise.
36038         (__mp_dbl): Likewise.
36039         (__inv): Likewise.
36041         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
36042         mp_no value for 1.0 and 2.0.
36043         (norm): Use RADIXI instead of radixi.d.
36044         (denorm): Likewise.
36045         (__mul): Use 0.0 instead of zero.d.
36046         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
36047         mp_no value for 1.0 and 2.0.
36048         (norm): Use RADIXI instead of radixi.d.
36049         (denorm): Likewise.
36050         (__mul): Use 0.0 instead of zero.d.
36052 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
36054         [BZ #14994]
36055         * math/s_casinh.c (__casinh): Reduce finite argument to first
36056         quadrant then set signs of results at the end.
36057         * math/s_casinhf.c (__casinhf): Likewise.
36058         * math/s_casinhl.c (__casinhl): Likewise.
36059         * math/libm-test.inc (casin_test): Add more tests.
36060         (casinh_test): Likewise.
36061         * sysdeps/i386/fpu/libm-test-ulps: Update.
36062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36064 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36066         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
36068         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
36070         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
36071         declarations.
36072         (denorm): Likewise.
36073         (__mp_dbl): Likewise.
36074         (__inv): Likewise.
36076         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
36077         and adjust the header comment.
36079         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
36080         variable name from declaration.
36082 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
36084         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36085         Initialize COMMON_CPUID_INDEX_7 element.
36086         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
36087         (CPUID_RTM): Likewise.
36088         (HAS_RTM): Likewise.
36089         (COMMON_CPUID_INDEX_7): New enum.
36091 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
36093         [BZ #14981]
36094         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
36095         size is zero, record memory as freed.
36097 2013-01-03  Andreas Jaeger  <aj@suse.de>
36099         * po/ia.po: Add new Interlingua translation.
36101 2012-01-03  Allan McRae  <allan@archlinux.org>
36103         * locale/programs/localedef.c: Fix description of '--posix' flag.
36105 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
36107         * NEWS: Update dates in second copyright notice.
36108         * README: Update copyright dates in example.
36109         * manual/libc.texinfo: Update copyright dates.
36110         * scripts/test-installation.pl: Update copyright date in --version
36111         output.
36113         * hurd/ctty-input.c: Fix copyright notice formatting.
36114         * hurd/ctty-output.c: Likewise.
36115         * hurd/dtable.c: Likewise.
36116         * hurd/hurd-raise.c: Likewise.
36117         * hurd/hurdprio.c: Likewise.
36118         * hurd/msgportdemux.c: Likewise.
36119         * misc/sys/file.h: Likewise.
36120         * misc/sys/ioctl.h: Likewise.
36121         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36122         * sysdeps/mach/hurd/chdir.c: Likewise.
36123         * sysdeps/mach/hurd/fchdir.c: Likewise.
36124         * sysdeps/mach/hurd/rename.c: Likewise.
36125         * sysdeps/mach/hurd/rmdir.c: Likewise.
36126         * sysdeps/mach/hurd/seekdir.c: Likewise.
36127         * sysdeps/mach/hurd/setsid.c: Likewise.
36128         * sysdeps/posix/wait3.c: Likewise.
36130         * All files with FSF copyright notices: Update copyright dates
36131         using scripts/update-copyrights.
36132         * intl/plural.c: Regenerated.
36133         * locale/programs/charmap-kw.h: Likewise.
36134         * locale/programs/locfile-kw.h: Likewise.
36136 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36138         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
36139         four values.
36141         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
36142         calculation loop and add branch prediction.
36144         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
36145         check access beyond bounds of m1np.
36147         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36148         MPTWO.
36149         (__inv): Remove local variable MPTWO to use the global
36150         constant.
36151         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
36152         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36153         variable MPTWO.
36154         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
36155         MP3HALFS static const.
36157 2013-01-01  David S. Miller  <davem@davemloft.net>
36159         * po/ca.po: Update from translation team.
36161 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
36163         * scripts/update-copyrights: New file.
36164         * Makeconfig: Reformat copyright notice.
36165         * ctype/ctype.h: Likewise.
36166         * debug/swprintf_chk.c: Likewise.
36167         * elf/dl-cache.c: Likewise.
36168         * elf/dl-debug.c: Likewise.
36169         * elf/dl-object.c: Likewise.
36170         * grp/initgroups.c: Likewise.
36171         * hurd/Makefile: Likewise.
36172         * hurd/hurd/signal.h: Likewise.
36173         * hurd/hurdfault.c: Likewise.
36174         * hurd/hurdioctl.c: Likewise.
36175         * hurd/hurdlookup.c: Likewise.
36176         * hurd/intr-msg.c: Likewise.
36177         * iconv/gconv_open.c: Likewise.
36178         * libio/swprintf.c: Likewise.
36179         * locale/lc-ctype.c: Likewise.
36180         * locale/nl_langinfo.c: Likewise.
36181         * mach/Machrules: Likewise.
36182         * mach/Makefile: Likewise.
36183         * malloc/obstack.h: Likewise.
36184         * manual/Makefile: Likewise.
36185         * manual/tsort.awk: Likewise.
36186         * misc/bits/stab.def: Likewise.
36187         * nis/nis_print_group_entry.c: Likewise.
36188         * nis/nis_table.c: Likewise.
36189         * nis/nss_compat/compat-pwd.c: Likewise.
36190         * nis/nss_compat/compat-spwd.c: Likewise.
36191         * po/Makefile: Likewise.
36192         * posix/fnmatch.c: Likewise.
36193         * posix/regex.h: Likewise.
36194         * resolv/Makefile: Likewise.
36195         * resolv/nss_dns/dns-network.c: Likewise.
36196         * resolv/res_hconf.c: Likewise.
36197         * scripts/gen-sorted.awk: Likewise.
36198         * soft-fp/soft-fp.h: Likewise.
36199         * stdio-common/printf.h: Likewise.
36200         * stdlib/monetary.h: Likewise.
36201         * stdlib/random.c: Likewise.
36202         * stdlib/random_r.c: Likewise.
36203         * sysdeps/generic/Makefile: Likewise.
36204         * sysdeps/gnu/Makefile: Likewise.
36205         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36206         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36207         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36208         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36209         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36210         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36211         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36212         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36213         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36214         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36215         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36216         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36217         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36218         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36219         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
36220         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36221         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36222         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36223         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36224         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36225         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36226         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36227         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36228         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
36229         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
36230         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36231         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
36232         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
36233         * sysdeps/mach/hurd/errnos.awk: Likewise.
36234         * sysdeps/mach/hurd/fork.c: Likewise.
36235         * sysdeps/mach/hurd/getcwd.c: Likewise.
36236         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
36237         * sysdeps/mach/hurd/mmap.c: Likewise.
36238         * sysdeps/mach/hurd/utimes.c: Likewise.
36239         * sysdeps/mach/hurd/xmknod.c: Likewise.
36240         * sysdeps/posix/profil.c: Likewise.
36241         * sysdeps/posix/readdir_r.c: Likewise.
36242         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36243         * sysdeps/powerpc/bits/setjmp.h: Likewise.
36244         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
36245         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36246         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36247         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36248         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36249         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36250         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36251         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36252         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36253         * sysdeps/pthread/lio_listio.c: Likewise.
36254         * sysdeps/sparc/dl-procinfo.h: Likewise.
36255         * sysdeps/unix/i386/sysdep.S: Likewise.
36256         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
36257         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
36258         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
36259         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
36260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36261         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
36262         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
36263         * sysdeps/unix/sysv/linux/speed.c: Likewise.
36264         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
36265         * sysdeps/wordsize-32/divdi3.c: Likewise.
36266         * time/sys/time.h: Likewise.
36267         * wcsmbs/Makefile: Likewise.
36269 2013-01-01  David S. Miller  <davem@davemloft.net>
36271         * po/fr.po: Update from translation team.
36273         * catgets/gencat.c: Update copyright year.
36274         * csu/version.c: Likewise.
36275         * debug/catchsegv.sh: Likewise.
36276         * debug/pcprofiledump.c: Likewise.
36277         * debug/xtrace.sh: Likewise.
36278         * elf/ldconfig.c: Likewise.
36279         * elf/ldd.bash.in: Likewise.
36280         * elf/pldd.c: Likewise.
36281         * elf/sotruss.ksh: Likewise.
36282         * elf/sprof.c: Likewise.
36283         * iconv/iconv_prog.c: Likewise.
36284         * iconv/iconvconfig.c: Likewise.
36285         * locale/programs/locale.c: Likewise.
36286         * locale/programs/localedef.c: Likewise.
36287         * login/programs/pt_chown.c: Likewise.
36288         * malloc/memusage.sh: Likewise.
36289         * malloc/memusagestat.c: Likewise.
36290         * malloc/mtrace.pl: Likewise.
36291         * nscd/nscd.c: Likewise.
36292         * nss/getent.c: Likewise.
36293         * nss/makedb.c: Likewise.
36294         * posix/getconf.c: Likewise.
36296 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36298         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
36299         numbers.
36301 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
36303         * math/bits/mathcalls.h (modf): Use __nonnull.
36305 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36307         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
36308         (split): Use macro CN instead of the bare value.
36309         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
36310         could be used.
36311         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
36312         instead of the bare value.
36313         (power1): Likewise.
36315 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36317         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
36318         __ATAN_TWOM.
36319         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36321         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
36322         their values.
36323         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36324         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36325         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
36326         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36328 2012-12-28  Andreas Jaeger  <aj@suse.de>
36330         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
36331         values are from Linux 3.7.
36333         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
36334         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
36336 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36338         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
36339         TRUE case.
36341         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
36342         (norm): Likewise.
36343         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
36344         variables with preprocessor constants.
36345         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36346         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36347         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36349 2012-12-27  Bruno Haible  <bruno@clisp.org>
36351         [BZ #14317]
36352         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
36353         only if needed.
36355 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36357         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
36358         and use variable directly.
36359         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
36361         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36362         MPONE.
36363         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
36364         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36365         variable MPONE.
36366         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36367         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36368         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
36369         include directive.  Remove local variable MPONE.
36370         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
36371         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
36372         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36374 2012-12-25  David S. Miller  <davem@davemloft.net>
36376         * version.h (RELEASE): Set to "development".
36377         (VERSION): Set to "2.17.90".
36378         * NEWS: Add 2.18 section.
36380 2012-12-21  David S. Miller  <davem@davemloft.net>
36382         * po/hr.po: Update from translation team.
36384 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36386         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
36388 2012-12-19  Steve Ellcey  <sellcey@mips.com>
36390         * NEWS:  Mention new memcpy for MIPS.
36392 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36394         * manual/contrib.texi (Contributors): Spelling correction.
36396 2012-12-15  David S. Miller  <davem@davemloft.net>
36398         * po/ru.po: Update from translation team.
36400 2012-12-13  David S. Miller  <davem@davemloft.net>
36402         * NEWS: Mention IFUNC testsuite enhancements.
36404         * po/pl.po: Update from translation team.
36405         * po/bg.po: Likewise.
36407         * manual/contrib.texi (Contributors): Update entries for Hongjiu
36408         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
36410 2012-12-11  David S. Miller  <davem@davemloft.net>
36412         * po/sv.po: Update from translation team.
36414         * po/vi.po: Update from translation team.
36416         * po/cs.po: Update from translation team.
36418         * po/de.po: Update from translation team.
36419         * po/eo.po: Likewise.
36420         * po/nl.po: Likewise.
36422 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36424         [BZ #14246]
36425         * manual/argp.texi (Argp Helper Functions): Move node to follow
36426         Argp Parsing State.
36428         [BZ #14872]
36429         * manual/conf.texi (Limits on File System Capacity): Mention if
36430         terminating null is included in the max size.
36432 2012-12-10  Andreas Jaeger  <aj@suse.de>
36434         * po/cs.po: Update from translation team.
36436 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36438         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
36439         void pointer and cast to uintptr_t.
36440         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
36441         path.
36442         * sysdeps/s390/s390-64/memcpy.S: Likewise.
36443         * sysdeps/s390/s390-64/memset.S: Likewise.
36445 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
36447         [BZ #14833]
36448         * menual/message.texi (Message Translation): Fix typos.
36449         (Helper programs for gettext): Likewise.
36451 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
36453         [BZ #14898]
36454         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
36455         Change to -1.
36457 2012-12-07  David S. Miller  <davem@davemloft.net>
36459         * po/libc.pot: Update.
36461 2012-12-07  Richard Henderson  <rth@redhat.com>
36463         [BZ #10114]
36464         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
36465         normal/normal case to before the switch.
36466         (_FP_DIV): Likewise.
36468 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
36469             Mike Frysinger  <vapier@gentoo.org>
36471         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
36472         check for __NR_fadvise64_64.
36474 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
36476         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
36477         0, not just to plain "0" as a statement.
36478         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
36479         with cw.
36481 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
36483         * NEWS: Use sourceware.org in Bugzilla URL.
36485 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36488         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
36490         * stdio-common/tst-put-error.c (do_test): Add newline to the
36491         padded test to ensure flush.
36493 2012-12-05  Jeff Law  <law@redhat.com>
36495         * sunrpc/etc.rpc (fedfs_admin): Add entry.
36497 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
36499         * README: Don't refer to ports add-on as distributed separately.
36500         Mention AArch64 in list of systems supported in the ports add-on.
36502         * LICENSES: Add more non-FSF copyright and license notices.
36504         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
36505         ((unused)).
36507         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
36509         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
36510         10000 as width of padded output.
36512 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
36514         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
36516         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
36517         variable LX with __attribute__ ((unused)).
36518         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36519         Likewise.
36520         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
36521         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36522         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
36523         with __attribute__ ((unused)).
36525 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
36527         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
36529 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
36531         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
36532         (CFLAGS-nldbl-acos.c): New variable.
36533         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
36534         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
36535         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
36536         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
36537         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
36538         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
36539         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
36540         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
36541         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
36542         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
36543         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
36544         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
36545         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
36546         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
36547         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
36548         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
36549         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
36550         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
36551         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
36552         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
36553         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
36554         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
36555         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
36556         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
36557         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
36558         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
36559         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
36560         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
36561         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
36562         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
36563         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
36564         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
36565         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
36566         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
36567         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
36568         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
36569         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
36570         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
36571         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
36572         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
36573         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
36574         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
36575         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
36576         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
36577         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
36578         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
36579         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
36580         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
36581         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
36582         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
36583         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
36584         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
36585         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
36586         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
36587         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
36588         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
36589         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
36590         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
36591         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
36592         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
36593         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
36594         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
36595         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
36596         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
36597         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
36598         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
36599         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
36600         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
36601         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
36602         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
36603         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
36604         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
36605         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
36606         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
36607         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
36608         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
36609         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
36610         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
36611         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
36612         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
36613         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
36614         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
36615         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
36616         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
36617         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
36618         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
36619         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
36620         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
36621         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
36622         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
36623         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
36624         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
36625         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
36626         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
36627         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
36628         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
36629         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
36631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36632         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
36634         [BZ #14914]
36635         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
36636         whole low double instead of just low 47 bits when splitting values
36637         into two parts.
36639 2012-12-03  Allan McRae  <allan@archlinux.org>
36641         * manual/stdio.texi (Predefined Printf Handlers): Remove
36642         @hsep and @vsep usage.
36644 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
36646         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
36647         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
36649 2012-12-03  Jeff Law  <law@redhat.com>
36651         * time/sys/time.h (settimeofday): Do not mark TV argument
36652         as __nonnull.
36654 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
36656         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
36657         when currently writing and seek to current position when not.
36658         * libio/Makefile (tests): Remove bug-fclose1.
36659         * libio/bug-fclose1.c: Delete.
36661 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
36663         * manual/arith.texi (feenableexcept): Fix typo.
36664         (fedisableexcept): Likewise.
36666 2012-11-30  Roland McGrath  <roland@hack.frob.com>
36668         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
36669         second, differently-typed declaration, rather than a cast.
36671 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36673         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
36674         * include/rpc/svc.h: ... here.
36676 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
36678         [BZ #13013]
36679         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
36680         depending n and resplen2 to catch cases where answer
36681         equals answerp2.
36683 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
36685         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
36686         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
36688 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
36690         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
36692 2012-11-29  Roland McGrath  <roland@hack.frob.com>
36694         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
36696 2012-11-28  Jeff Law  <law@redhat.com>
36698         [BZ #13761]
36699         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
36700         dataset_temporary.  Track alloca usage into alloca_used.
36701         If dataset is large allocate and release it via malloc/free.
36703 2012-06-04  Florian Weimer  <fweimer@redhat.com>
36705         [BZ #14197]
36706         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
36708 2012-11-28  David S. Miller  <davem@davemloft.net>
36710         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36712 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
36714         [BZ #14803]
36715         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
36716         of pi/2 rounded to nearest to 64 bits.
36717         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
36718         nearest to 64 bits.
36719         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
36720         bits.
36722 2012-11-28  Jeff Law <law@redhat.com>
36723             Martin Osvald <mosvald@redhat.com>
36725         [BZ #14889]
36726         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
36727         * sunrpc/svc.c: Include time.h.
36728         (__svc_accept_failed): New function.
36729         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
36730         any reason other than EINTR, call __svc_accept_failed.
36731         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
36732         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
36734 2012-11-28  Andreas Schwab  <schwab@suse.de>
36736         * scripts/abilist.awk: Also handle indirect functions in .opd
36737         section.
36739 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
36741         [BZ #13881]
36742         * sysdeps/x86/fpu/powl_helper.c: New file.
36743         * sysdeps/x86/fpu/Makefile: Likewise.
36744         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
36745         (p3): New object.
36746         (__ieee754_powl): Use __powl_helper for finite arguments except
36747         integer exponents below 8.
36748         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
36749         (p3): New object.
36750         (__ieee754_powl): Use __powl_helper for finite arguments except
36751         integer exponents below 8.
36752         * math/libm-test.inc (pow_test): Add more tests and enable some
36753         previously disabled tests.
36754         * sysdeps/i386/fpu/libm-test-ulps: Update.
36755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36757 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36758             Carlos O'Donell  <carlos_odonell@mentor.com>
36760         * nss/makedb.c (is_prime): Assert that input is odd and greater
36761         than 4.  Note that fact in a comment too.
36762         (next_prime): Add 4 to input.
36764 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36766         [BZ #11741]
36767         * libio/Makefile (tests): Add test case tst-fwrite-error.
36768         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
36769         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
36770         * libio/tst-fwrite-error.c: New test case.
36772 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
36774         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
36775         before casting to void *.
36776         * include/libc-internal.h (__pointer_type): New macro.
36777         (__integer_if_pointer_type_sub): Likewise.
36778         (__integer_if_pointer_type): Likewise.
36779         (cast_to_integer): Likewise.
36780         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
36781         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
36782         before casting to atomic64_t.
36783         (atomic_exchange_acq): Likewise.
36784         (__arch_exchange_and_add_body): Likewise.
36785         (__arch_add_body): Likewise.
36786         (atomic_add_negative): Likewise.
36787         (atomic_add_zero): Likewise.
36789 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
36791         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
36792         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
36793         (add_fdes): Likewise.
36794         (linear_search_fdes): Likewise.
36795         (binary_search_unencoded_fdes): Likewise.
36797 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
36799         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
36801 2012-11-24  Adam Conrad  <adconrad@0c3.net>
36803         * configure.in: Autodetect C++ header directories.
36804         * configure: Regenerated.
36806 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
36808         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
36810 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
36812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36814 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
36816         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
36817         LDBL_MANT_DIG == 106]: Disable some tests.
36818         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
36819         Likewise.
36820         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
36821         Likewise.
36823         [BZ #14871]
36824         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
36825         input for small inputs.  Return +/- pi/2 for large inputs.
36826         * math/libm-test.inc (atan_test): Add more tests.
36828         * sysdeps/generic/unwind-dw2-fde-glibc.c
36829         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
36830         __attribute__ ((unused)).
36832         [BZ #14645]
36833         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
36834         x * y if x and y are nonzero and z is zero.
36836         [BZ #14811]
36837         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
36838         nonzero exponents with absolute value below 0x1p-117 to +/-
36839         0x1p-117.
36841         [BZ #14869]
36842         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
36843         up arguments below 2**-450, not just those below 2**-500.
36844         * math/libm-test.inc (hypot_test): Add another test.
36846         [BZ #14868]
36847         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
36848         Return a+b for ratio over 2**120, not 2**60.
36849         * math/libm-test.inc (hypot_test): Add another test.
36851         * math/libm-test.inc (clog_test): Use
36852         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
36853         (clog10_test): Likewise.
36855         [BZ #6778]
36856         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
36858 2012-11-22  Andreas Schwab  <schwab@suse.de>
36860         * sysdeps/i386/fpu/libm-test-ulps: Update.
36862 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
36864         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
36865         printf output with newline.
36867 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
36869         [BZ #14865]
36870         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
36871         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
36872         -z nodlopen, -z initfirst and -z execstack support.
36873         * configure: Regenerated.
36875         * elf/elf.h (DF_1_NODIRECT): New macro.
36876         (DF_1_IGNMULDEF): Likewise.
36877         (DF_1_NOKSYMS): Likewise.
36878         (DF_1_NOHDR): Likewise.
36879         (DF_1_EDITED): Likewise.
36880         (DF_1_NORELOC): Likewise.
36881         (DF_1_SYMINTPOSE): Likewise.
36882         (DF_1_GLOBAUDIT): Likewise.
36883         (DF_1_SINGLETON): Likewise.
36884         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
36885         DT_1_SUPPORTED_MASK bits.
36886         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
36888 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
36890         * sysdeps/unix/make-syscalls.sh: Document prefixes.
36892 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
36894         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
36895         macro.
36897         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
36898         (sendmmsg): Move declarations...
36899         * socket/sys/socket.h: ... here.
36900         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
36901         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
36902         include it from...
36903         * socket/recvmmsg.c: ... this new file.
36904         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
36905         (sendmmsg): Rename to __sendmmsg, create weak alias and make
36906         definition of __sendmmsg hidden.
36907         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36908         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
36909         Move ENOSYS stub into and include it from...
36910         * socket/sendmmsg.c: ... this new file.
36911         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
36912         (sysdep_routines): Move recvmmsg and sendmmsg...
36913         * socket/Makefile (routines): ... here.
36914         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
36915         (GLIBC_PRIVATE): Add __sendmmsg.
36916         * include/sys/socket.h (__sendmmsg): Add declarations.
36917         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
36918         sendmmsg.
36920 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
36922         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
36923         variable I1 with __attribute__ ((unused)).
36924         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36926 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
36928         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
36929         DUMMY variables with __attribute__ ((unused)).
36931         * bits/byteswap.h: Include <bits/types.h>.
36932         (__bswap_64): Use __uint64_t instead of unsigned long long int.
36934 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
36936         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
36937         string_t.  Do not manually set errno.
36938         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
36939         length with __strnlen.  Make sure to both set errno and return it on
36940         failure.
36942 2012-11-19  David S. Miller  <davem@davemloft.net>
36944         With help from Joseph Myers.
36945         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
36946         very large arguments properly.
36947         * math/libm-test.inc (atan_test): New tests.
36948         (atan2_test): New tests.
36949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36950         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36952 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
36954         [BZ #14856]
36955         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
36956         Define to 3.
36958         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
36959         [POSIX] (EADDRNOTAVAIL): Likewise.
36960         [POSIX] (EAFNOSUPPORT): Likewise.
36961         [POSIX] (EALREADY): Likewise.
36962         [POSIX] (ECONNABORTED): Likewise.
36963         [POSIX] (ECONNREFUSED): Likewise.
36964         [POSIX] (ECONNRESET): Likewise.
36965         [POSIX] (EDESTADDRREQ): Likewise.
36966         [POSIX] (EDQUOT): Likewise.
36967         [POSIX] (EHOSTUNREACH): Likewise.
36968         [POSIX] (EIDRM): Likewise.
36969         [POSIX] (EISCONN): Likewise.
36970         [POSIX] (ELOOP): Likewise.
36971         [POSIX] (EMULTIHOP): Likewise.
36972         [POSIX] (ENETDOWN): Likewise.
36973         [POSIX] (ENETUNREACH): Likewise.
36974         [POSIX] (ENOBUFS): Likewise.
36975         [POSIX] (ENODATA): Likewise.
36976         [POSIX] (ENOLINK): Likewise.
36977         [POSIX] (ENOMSG): Likewise.
36978         [POSIX] (ENOPROTOOPT): Likewise.
36979         [POSIX] (ENOSR): Likewise.
36980         [POSIX] (ENOSTR): Likewise.
36981         [POSIX] (ENOTCONN): Likewise.
36982         [POSIX] (ENOTSOCK): Likewise.
36983         [POSIX] (EOPNOTSUPP): Likewise.
36984         [POSIX] (EOVERFLOW): Likewise.
36985         [POSIX] (EPROTO): Likewise.
36986         [POSIX] (EPROTONOSUPPORT): Likewise.
36987         [POSIX] (EPROTOTYPE): Likewise.
36988         [POSIX] (ESTALE): Likewise.
36989         [POSIX] (ETIME): Likewise.
36990         [POSIX] (ETXTBSY): Likewise.
36991         [POSIX] (EWOULDBLOCK): Likewise.
36992         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
36993         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
36994         [POSIX] (SEEK_CUR): Likewise.
36995         [POSIX] (SEEK_END): Likewise.
36996         [POSIX || UNIX98] (mode_t): Do not require.
36997         [POSIX] (off_t): Likewise.
36998         [POSIX] (pid_t): Likewise.
36999         [POSIX] (sys/stat.h): Do not allow header.
37000         [POSIX] (unistd.h): Likewise.
37001         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
37002         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
37003         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
37004         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
37005         require.
37006         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
37007         sigevent): Specify elements.
37008         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
37009         entry.
37010         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
37011         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
37013         * conform/data/cpio.h-data [POSIX]: Disable whole file.
37014         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
37015         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
37016         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
37017         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
37018         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
37019         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
37020         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
37021         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
37022         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
37023         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
37024         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
37025         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
37026         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
37027         Likewise.
37028         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
37029         Likewise.
37030         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
37031         Likewise.
37032         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
37033         Likewise.
37034         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
37035         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
37036         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
37037         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
37038         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
37039         Specify lower bound on value.
37040         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
37041         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
37042         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
37043         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
37044         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
37045         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
37046         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
37047         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
37048         value.
37049         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
37050         as optional.
37051         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
37052         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
37053         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
37054         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
37055         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
37056         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
37057         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
37058         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
37059         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
37060         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
37061         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
37062         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
37063         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
37064         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
37065         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
37066         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
37067         entry.
37068         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
37069         optional.
37070         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
37071         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
37072         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
37073         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
37074         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
37075         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
37076         Likewise.
37077         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
37078         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
37079         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
37080         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
37081         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
37082         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
37083         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
37084         as optional.
37085         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
37086         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
37087         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
37088         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
37089         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
37090         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
37091         specify as optional.
37092         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
37093         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
37094         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
37095         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
37096         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
37097         [XPG3] (NL_LANGMAX): Likewise.
37098         [POSIX || XPG3] (NL_MSGMAX): Likewise.
37099         [POSIX || XPG3] (NL_NMAX): Likewise.
37100         [POSIX || XPG3] (NL_SETMAX): Likewise.
37101         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
37102         [XPG3] (NZERO): Likewise.
37103         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
37104         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
37105         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
37106         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
37107         (REG_ERANGE): Expect.
37108         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
37109         optional-constant.
37110         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
37111         Use (void) in prototype.
37112         [POSIX] (*_t): Allow.
37113         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
37114         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
37115         (WRDE_BADVAL): Expect.
37117         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
37118         expect.
37119         [XPG3 || XPG4] (O_RSYNC): Likewise.
37120         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
37121         Likewise.
37122         [XPG3 || XPG4] (pthread_sigmask): Likewise.
37123         [XPG3 || XPG4] (sigqueue): Likewise.
37124         [XPG3 || XPG4] (sigtimedwait): Likewise.
37125         [XPG3 || XPG4] (sigwaitinfo): Likewise.
37126         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
37127         [XPG3 || XPG4] (vsnprintf): Likewise.
37128         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
37129         Likewise.
37130         [XPG3 || XPG4] (blksize_t): Likewise.
37131         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
37132         Likewise.
37133         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
37134         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37135         [XPG3 || XPG4] (struct itimerspec): Likewise.
37136         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
37137         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
37138         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
37139         [XPG3 || XPG4] (clockid_t): Likewise.
37140         [XPG3 || XPG4] (timer_t): Likewise.
37141         [XPG3 || XPG4] (clock_getres): Likewise.
37142         [XPG3 || XPG4] (clock_gettime): Likewise.
37143         [XPG3 || XPG4] (clock_settime): Likewise.
37144         [XPG3 || XPG4] (nanosleep): Likewise.
37145         [XPG3 || XPG4] (timer_create): Likewise.
37146         [XPG3 || XPG4] (timer_delete): Likewise.
37147         [XPG3 || XPG4] (timer_gettime): Likewise.
37148         [XPG3 || XPG4] (timer_getoverrun): Likewise.
37149         [XPG3 || XPG4] (timer_settime): Likewise.
37150         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
37151         [XPG3 || XPG4] (getlogin_r): Likewise.
37152         [XPG3 || XPG4] (pread): Likewise.
37153         [XPG3 || XPG4] (pthread_atfork): Likewise.
37154         [XPG3 || XPG4] (pwrite): Likewise.
37156         [BZ #14835]
37157         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
37158         <bits/siginfo.h>.
37160 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
37162         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
37163         finalizing MALLSTREAM.
37165         * sysdeps/mach/hurd/syncfs.c: New file.
37167 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37169         [BZ #14719]
37170         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
37171         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
37172         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
37173         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
37174         (_nss_dns_gethostbyname4_r): Likewise.
37175         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
37176         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
37178 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
37180         [BZ #13763]
37181         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
37183 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
37185         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
37186         * elf/cache.c (print_entry): Print ",AArch64" for
37187         FLAG_AARCH64_LIB64
37189         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
37190         * elf/cache.c (print_entry): Print ",hard-float" for
37191         FLAG_ARM_LIBHF.
37193 2012-11-18  David S. Miller  <davem@davemloft.net>
37195         With help from Joseph Myers.
37196         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
37197         cutoff to 2**-13.
37198         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
37199         cutoff to 2**-25.
37200         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
37201         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
37202         small.
37203         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
37204         * math/libm-test.inc (y0_test): New tests.
37205         (y1_test): New tests.
37206         * sysdeps/i386/fpu/libm-test-ulps: Update.
37207         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37210 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
37212         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
37213         64-bit targets.
37214         * configure: Regenerated.
37216 2012-11-17  David S. Miller  <davem@davemloft.net>
37218         [BZ #14811]
37219         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
37220         nonzero exponents with absolute value below 0x1p-128 to +/-
37221         0x1p-128.
37223 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
37225         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
37227         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
37229         * posix/getconf-speclist.c: New file.
37230         * posix/posix-envs.def: Likewise.
37231         * posix/confstr.c (START_ENV_GROUP): New macro.
37232         (END_ENV_GROUP): Likewise.
37233         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37234         (KNOWN_PRESENT_ENV_STRING): Likewise.
37235         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37236         (UNKNOWN_ENVIRONMENT): Likewise.
37237         (confstr): Include posix-envs.def instead of handling
37238         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
37239         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
37240         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
37241         (END_ENV_GROUP): Likewise.
37242         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37243         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37244         (UNKNOWN_ENVIRONMENT): Likewise.
37245         (__sysconf): Include posix-envs.def instead of handling associated
37246         cases directly here.
37247         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
37248         preprocessing getconf-speclist.c rather than running getconf or
37249         generating empty file.
37251 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
37253         * scripts/check-local-headers.sh: Ignore 'mach' headers.
37255 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
37257         [BZ #14672]
37258         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
37260 2012-11-16  David S. Miller  <davem@davemloft.net>
37262         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
37263         smaller than LDBL_EPSILON/2.0L, just return xm1.
37265 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
37267         * elf/tst-array1.c (init): Set constructor priority to 1000.
37268         (fini): Set destructor priority to 1000.
37269         * elf/tst-array2dep.c: Likewise.
37271 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37273         [BZ #11741]
37274         * libio/fileops.c (_IO_new_file_write): Correctly return error.
37275         (_IO_new_file_xsputn): Also return EOF if none of the input
37276         data was written when overflow failed.
37277         * libio/iopadn.c (_IO_padn): Likewise.
37278         * libio/iowpadn.c (_IO_wpadn): Likewise.
37279         * stdio-common/tst-put-error.c: Add copyright notice.
37280         (do_test): Add case for printing padded string.
37281         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
37282         _IO_padn returned error.
37283         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
37284         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
37285         return EOF.
37287 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37289         * libio/libioP.h: Add comment note that the references to C++
37290         bits are now obsolete.
37292 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37294         * math/libm-test.inc (check_complex): Use asprintf.
37296 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
37298         * debug/pcprofiledump.c (print_version): Update copyright year.
37299         * malloc/memusagestat.c (print_version): Likewise.
37301 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
37303         [BZ #14831]
37304         * elf/Makefile (tests): Add tst-audit8.
37305         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
37306         ($(objpfx)tst-audit8.out): New target.
37307         (tst-audit8-ENV): New variable.
37308         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
37309         audit if l_reloc_result is NULL.
37310         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
37311         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
37312         * elf/tst-audit8.c: New file.
37314 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37316         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
37317         * misc/Makefile (CFLAGS-select.c): Define.
37318         * posix/Makefile (CFLAGS-pause.c): Define.
37320 2012-11-13  David S. Miller  <davem@davemloft.net>
37322         * crypt/Makefile: Move test targets after toplevel Rules
37323         inclusion.  Grab any necessary sysdep routines when linking.
37324         * crypt/md5.c (md5_process_block): Remove define, we will always
37325         name it __md5_process_block.
37326         (md5_finish_ctx): Update md5_process_block call.
37327         (md5_stream): Likewise.
37328         (md5_process_bytes): Likewise.
37329         (md5_process_block): Rename to __md5_process_block and move to ...
37330         * crypt/md5-block.c: ... here.
37331         * crypt/sha256.c (sha256_process_block): Move to ...
37332         * crypt/sha256-block.c: ... here.
37333         * crypt/sha512.c (sha512_process_block): Move to ...
37334         * crypt/sha512-block.c: ... here.
37335         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
37336         path.
37337         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
37338         * sysdeps/sparc/sparc64/multiarch/Makefile
37339         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
37340         crypt subdir.
37341         (localedef-aux): Add md5 crypto assembler when in locale subdir.
37342         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
37343         multiarch changes.
37344         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
37345         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
37346         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
37347         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
37348         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
37349         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
37350         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
37351         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
37352         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
37353         file.
37354         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
37355         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
37356         file.
37357         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
37359 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
37361         * timezone/tzselect.ksh: Update from tzcode git revision
37362         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
37363         * timezone/zdump.c: Likewise.
37364         * timezone/zic.c: Likewise.
37365         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
37366         in TZVERSION setting, not $(PKGVERSION).
37367         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
37368         REPORT_BUGS_TO settings.
37370         [BZ #14838]
37371         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
37372         macro.
37374 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37376         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
37377         detection to immediately after _FP_ROUND().
37378         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
37379         bits are 0.
37381 2012-11-11  David S. Miller  <davem@davemloft.net>
37383         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
37384         inttypes.h
37385         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
37386         __close rather than their public counterparts.
37388 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
37390         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
37391         file.
37392         [UNIX98] (sem_timedwait): Do not expect.
37393         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
37394         [XPG4 || UNIX98] (sockatmark): Do not expect.
37395         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
37396         (clock_getcpuclockid): Do not expect.
37397         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
37398         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
37399         Do not expect.
37400         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
37401         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
37402         [UNIX98] (vwscanf): Likewise.
37403         [UNIX98] (vswscanf): Likewise.
37405 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
37407         * timezone/version.h: Remove file.
37408         * timezone/README: Do not refer to version.h.
37409         * timezone/Makefile ($(objpfx)zic.o): New dependency on
37410         $(objpfx)version.h.
37411         ($(objpfx)zdump.o): Likewise.
37412         ($(objpfx)version.h): New target.
37414         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
37415         2012i.
37416         * timezone/README: Don't mention modification to tzselect.ksh.
37417         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
37418         work on unmodified tzselect.ksh.  Substitute version numbers in
37419         tzselect.ksh.
37421         * Makefile (format-me): Remove.
37422         (INSTALL): Adjust indentation.  Use commands directly instead of
37423         using $(format-me).
37425         * aclocal.m4 (ACX_PKGVERSION): New macro.
37426         (ACX_BUGURL): Likewise.
37427         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
37428         (PKGVERSION): New AC_DEFINE_UNQUOTED.
37429         (REPORT_BUGS_TO): Likewise.
37430         * configure: Regenerated.
37431         * config.h.in (PKGVERSION): New macro.
37432         (REPORT_BUGS_TO): Likewise.
37433         * config.make.in (PKGVERSION): New variable.
37434         (PKGVERSION_TEXI): Likewise.
37435         (REPORT_BUGS_TO): Likewise.
37436         (REPORT_BUGS_TEXI): Likewise.
37437         * Makefile (format-me): Use -I$(common-objpfx)manual.
37438         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
37439         ($(common-objpfx)manual/%): New target.
37440         (manual/%): Remove target.
37441         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
37442         (print_version): Use PKGVERSION.
37443         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
37444         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
37445         and REPORT_BUGS_TO.
37446         ($(objpfx)xtrace): Likewise.
37447         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
37448         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
37449         (print_version): Use PKGVERSION.
37450         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
37451         (do_version): Use PKGVERSION.
37452         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
37453         REPORT_BUGS_TO.
37454         (common-ldd-rewrite): Likewise.
37455         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
37456         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
37457         (print_version): Use PKGVERSION.
37458         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
37459         * elf/pldd.c (argp_program_bug_address): Remove variable.
37460         (more_help): New function.
37461         (argp): Use more_help.
37462         (print_version): Use PKGVERSION.
37463         * elf/sln.c (main): Use PKGVERSION.
37464         (usage): Use REPORT_BUGS_TO.
37465         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
37466         (top level): Use PKGVERSION.
37467         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
37468         (print_version): Use PKGVERSION.
37469         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
37470         (print_version): Use PKGVERSION.
37471         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
37472         (print_version): Use PKGVERSION.
37473         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
37474         (print_version): Use PKGVERSION.
37475         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
37476         (print_version): Use PKGVERSION.
37477         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
37478         (print_version): Use PKGVERSION.
37479         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
37480         and BUGURL.
37481         ($(objpfx)memusage): Likewise.
37482         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
37483         (do_version): Use PKGVERSION.
37484         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
37485         (print_version): Use PKGVERSION.
37486         * malloc/mtrace.pl ($PACKAGE): Remove variable.
37487         ($PKGVERSION): New variable.
37488         ($REPORT_BUGS_TO): Likewise.
37489         (usage): Use $REPORT_BUGS_TO.
37490         (top level): Use $PKGVERSION.
37491         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
37492         ($(objpfx)pkgvers.texi): New rule.
37493         ($(objpfx)stamp-pkgvers): Likewise.
37494         * manual/install.texi: Include pkgvers.texi.
37495         (--with-pkgversion): Document new configure option.
37496         (--with-bugurl): Likewise.
37497         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
37498         than necessarily for this particular distribution.  Use
37499         REPORT_BUGS_TO for where to report bugs.
37500         * INSTALL: Regenerated.
37501         * manual/libc.texinfo: Include pkgvers.texi.
37502         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
37503         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
37504         (print_version): Use PKGVERSION.
37505         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
37506         (print_version): Use PKGVERSION.
37507         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
37508         (print_version): Use PKGVERSION.
37509         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
37510         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
37511         macro.
37512         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
37513         (print_version): Use PKGVERSION.
37514         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
37515         (print_version): Use PKGVERSION.
37516         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
37517         and PKGVERSION.
37519         * timezone/checktab.awk: Update from tzcode 2012i.
37520         * timezone/ialloc.c: Likewise.
37521         * timezone/private.h: Likewise.
37522         * timezone/scheck.c: Likewise.
37523         * timezone/tzfile.h: Likewise.
37524         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
37525         (TZVERSION): Hardcode tzcode version number.
37526         * timezone/zdump.c: Update from tzcode 2012i.
37527         * timezone/zic.c: Likewise.
37528         * timezone/version.h: New file.
37529         * timezone/README: Describe version.h.  Update upstream location.
37531         [BZ #14824]
37532         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
37533         (mktemp): Enable declaration.
37534         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
37535         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
37536         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
37537         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
37538         Likewise.
37539         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
37540         Likewise.
37541         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
37542         Likewise.
37543         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
37544         Likewise.
37545         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
37546         Likewise.
37547         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
37548         Likewise.
37550         [BZ #14821]
37551         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
37552         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
37553         for copies of such integer values.
37554         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37555         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37557 2012-11-09  Andreas Jaeger  <aj@suse.de>
37559         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
37560         definitions and declarations that are provided by
37561         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37563 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37565         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
37566         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
37567         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
37568         definition.
37570 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37572         * elf/elf.h: Update comment before AArch64 relocations.
37574 2012-11-07  David S. Miller  <davem@davemloft.net>
37576         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
37577         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37578         (__start_context): Declare.
37579         (__makecontext_ret): Delete.
37580         (__makecontext): Hook up __start_context instead of
37581         __makecontext_ret.
37582         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
37583         (sysdep_routines): Add __start_context when in stdlib.
37585 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
37587         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
37588         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
37589         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
37590         hardcoded "nm".
37591         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
37592         (READELF): New variable.  Use it instead of hardcoded "readelf".
37594 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
37596         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
37597         * sysdeps/x86/Makefile: Here.
37598         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
37599         * sysdeps/x86/tst-xmmymm.sh: This.
37601 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
37603         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
37604         expectations.
37605         [UNIX98] (pthread_barrier_t): Do not expect.
37606         [UNIX98] (pthread_barrierattr_t): Likewise.
37607         [UNIX98] (pthread_spinlock_t): Likewise.
37608         [UNIX98] (pthread_barrier_destroy): Likewise.
37609         [UNIX98] (pthread_barrier_init): Likewise.
37610         [UNIX98] (pthread_barrier_wait): Likewise.
37611         [UNIX98] (pthread_barrierattr_destroy): Likewise.
37612         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
37613         [UNIX98] (pthread_barrierattr_init): Likewise.
37614         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
37615         [UNIX98] (pthread_getcpuclockid): Likewise.
37616         [UNIX98] (pthread_mutex_timedlock): Likewise.
37617         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
37618         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
37619         [UNIX98] (pthread_sigmask): Likewise.
37620         [UNIX98] (pthread_spin_destroy): Likewise.
37621         [UNIX98] (pthread_spin_init): Likewise.
37622         [UNIX98] (pthread_spin_lock): Likewise.
37623         [UNIX98] (pthread_spin_trylock): Likewise.
37624         [UNIX98] (pthread_spin_unlock): Likewise.
37625         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
37626         Do not expect.
37627         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
37628         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
37629         [XPG3 || XPG4] (pthread_cond_t): Likewise.
37630         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
37631         [XPG3 || XPG4] (pthread_key_t): Likewise.
37632         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
37633         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
37634         [XPG3 || XPG4] (pthread_once_t): Likewise.
37635         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
37636         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
37637         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
37638         [XPG3 || XPG4] (pthread_t): Likewise.
37640         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
37641         not expect.
37642         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
37644         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
37645         Change function return type to int.
37647         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
37648         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
37649         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
37650         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
37651         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
37652         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
37653         [!POSIX] (posix_madvise): Likewise.
37654         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
37655         && !UNIX98].
37656         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
37657         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
37658         (mode_t): Likewise.
37659         (posix_mem_offset): Likewise.
37660         (posix_typed_mem_get_info): Likewise.
37661         (posix_typed_mem_open): Likewise.
37663         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
37664         Change condition to [XOPEN2K8].
37666         * conform/conformtest.pl: Preprocess allow-header data with -x c
37667         instead of from stdin.
37668         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
37669         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
37670         [C99-based standards] (cerfc): Likewise.
37671         [C99-based standards] (cexp2): Likewise.
37672         [C99-based standards] (cexpm1): Likewise.
37673         [C99-based standards] (clog10): Likewise.
37674         [C99-based standards] (clog1p): Likewise.
37675         [C99-based standards] (clog2): Likewise.
37676         [C99-based standards] (clgamma): Likewise.
37677         [C99-based standards] (ctgamma): Likewise.
37678         [C99-based standards] (cerff): Likewise.
37679         [C99-based standards] (cerfcf): Likewise.
37680         [C99-based standards] (cexp2f): Likewise.
37681         [C99-based standards] (cexpm1f): Likewise.
37682         [C99-based standards] (clog10f): Likewise.
37683         [C99-based standards] (clog1pf): Likewise.
37684         [C99-based standards] (clog2f): Likewise.
37685         [C99-based standards] (clgammaf): Likewise.
37686         [C99-based standards] (ctgammaf): Likewise.
37687         [C99-based standards] (cerfl): Likewise.
37688         [C99-based standards] (cerfcl): Likewise.
37689         [C99-based standards] (cexp2l): Likewise.
37690         [C99-based standards] (cexpm1l): Likewise.
37691         [C99-based standards] (clog10l): Likewise.
37692         [C99-based standards] (clog1pl): Likewise.
37693         [C99-based standards] (clog2l): Likewise.
37694         [C99-based standards] (clgammal): Likewise.
37695         [C99-based standards] (ctgammal): Likewise.
37696         * conform/data/inttypes.h-data [C99-based standards]: Include
37697         stdint.h-data.  Remove all expectations for stdint.h contents.
37698         [C99-based standards] (PRI*): Do not allow.
37699         [C99-based standards] (SCN*): Likewise.
37700         [C99-based standards] (*_t): Likewise.
37701         [C99-based-standards] (PRId8): Expect macro.
37702         [C99-based-standards] (PRIi8): Likewise.
37703         [C99-based-standards] (PRIo8): Likewise.
37704         [C99-based-standards] (PRIu8): Likewise.
37705         [C99-based-standards] (PRIx8): Likewise.
37706         [C99-based-standards] (PRIX8): Likewise.
37707         [C99-based-standards] (SCNd8): Likewise.
37708         [C99-based-standards] (SCNi8): Likewise.
37709         [C99-based-standards] (SCNo8): Likewise.
37710         [C99-based-standards] (SCNu8): Likewise.
37711         [C99-based-standards] (SCNx8): Likewise.
37712         [C99-based-standards] (PRIdLEAST8): Likewise.
37713         [C99-based-standards] (PRIiLEAST8): Likewise.
37714         [C99-based-standards] (PRIoLEAST8): Likewise.
37715         [C99-based-standards] (PRIuLEAST8): Likewise.
37716         [C99-based-standards] (PRIxLEAST8): Likewise.
37717         [C99-based-standards] (PRIXLEAST8): Likewise.
37718         [C99-based-standards] (SCNdLEAST8): Likewise.
37719         [C99-based-standards] (SCNiLEAST8): Likewise.
37720         [C99-based-standards] (SCNoLEAST8): Likewise.
37721         [C99-based-standards] (SCNuLEAST8): Likewise.
37722         [C99-based-standards] (SCNxLEAST8): Likewise.
37723         [C99-based-standards] (PRIdFAST8): Likewise.
37724         [C99-based-standards] (PRIiFAST8): Likewise.
37725         [C99-based-standards] (PRIoFAST8): Likewise.
37726         [C99-based-standards] (PRIuFAST8): Likewise.
37727         [C99-based-standards] (PRIxFAST8): Likewise.
37728         [C99-based-standards] (PRIXFAST8): Likewise.
37729         [C99-based-standards] (SCNdFAST8): Likewise.
37730         [C99-based-standards] (SCNiFAST8): Likewise.
37731         [C99-based-standards] (SCNoFAST8): Likewise.
37732         [C99-based-standards] (SCNuFAST8): Likewise.
37733         [C99-based-standards] (SCNxFAST8): Likewise.
37734         [C99-based-standards] (PRId16): Likewise.
37735         [C99-based-standards] (PRIi16): Likewise.
37736         [C99-based-standards] (PRIo16): Likewise.
37737         [C99-based-standards] (PRIu16): Likewise.
37738         [C99-based-standards] (PRIx16): Likewise.
37739         [C99-based-standards] (PRIX16): Likewise.
37740         [C99-based-standards] (SCNd16): Likewise.
37741         [C99-based-standards] (SCNi16): Likewise.
37742         [C99-based-standards] (SCNo16): Likewise.
37743         [C99-based-standards] (SCNu16): Likewise.
37744         [C99-based-standards] (SCNx16): Likewise.
37745         [C99-based-standards] (PRIdLEAST16): Likewise.
37746         [C99-based-standards] (PRIiLEAST16): Likewise.
37747         [C99-based-standards] (PRIoLEAST16): Likewise.
37748         [C99-based-standards] (PRIuLEAST16): Likewise.
37749         [C99-based-standards] (PRIxLEAST16): Likewise.
37750         [C99-based-standards] (PRIXLEAST16): Likewise.
37751         [C99-based-standards] (SCNdLEAST16): Likewise.
37752         [C99-based-standards] (SCNiLEAST16): Likewise.
37753         [C99-based-standards] (SCNoLEAST16): Likewise.
37754         [C99-based-standards] (SCNuLEAST16): Likewise.
37755         [C99-based-standards] (SCNxLEAST16): Likewise.
37756         [C99-based-standards] (PRIdFAST16): Likewise.
37757         [C99-based-standards] (PRIiFAST16): Likewise.
37758         [C99-based-standards] (PRIoFAST16): Likewise.
37759         [C99-based-standards] (PRIuFAST16): Likewise.
37760         [C99-based-standards] (PRIxFAST16): Likewise.
37761         [C99-based-standards] (PRIXFAST16): Likewise.
37762         [C99-based-standards] (SCNdFAST16): Likewise.
37763         [C99-based-standards] (SCNiFAST16): Likewise.
37764         [C99-based-standards] (SCNoFAST16): Likewise.
37765         [C99-based-standards] (SCNuFAST16): Likewise.
37766         [C99-based-standards] (SCNxFAST16): Likewise.
37767         [C99-based-standards] (PRId32): Likewise.
37768         [C99-based-standards] (PRIi32): Likewise.
37769         [C99-based-standards] (PRIo32): Likewise.
37770         [C99-based-standards] (PRIu32): Likewise.
37771         [C99-based-standards] (PRIx32): Likewise.
37772         [C99-based-standards] (PRIX32): Likewise.
37773         [C99-based-standards] (SCNd32): Likewise.
37774         [C99-based-standards] (SCNi32): Likewise.
37775         [C99-based-standards] (SCNo32): Likewise.
37776         [C99-based-standards] (SCNu32): Likewise.
37777         [C99-based-standards] (SCNx32): Likewise.
37778         [C99-based-standards] (PRIdLEAST32): Likewise.
37779         [C99-based-standards] (PRIiLEAST32): Likewise.
37780         [C99-based-standards] (PRIoLEAST32): Likewise.
37781         [C99-based-standards] (PRIuLEAST32): Likewise.
37782         [C99-based-standards] (PRIxLEAST32): Likewise.
37783         [C99-based-standards] (PRIXLEAST32): Likewise.
37784         [C99-based-standards] (SCNdLEAST32): Likewise.
37785         [C99-based-standards] (SCNiLEAST32): Likewise.
37786         [C99-based-standards] (SCNoLEAST32): Likewise.
37787         [C99-based-standards] (SCNuLEAST32): Likewise.
37788         [C99-based-standards] (SCNxLEAST32): Likewise.
37789         [C99-based-standards] (PRIdFAST32): Likewise.
37790         [C99-based-standards] (PRIiFAST32): Likewise.
37791         [C99-based-standards] (PRIoFAST32): Likewise.
37792         [C99-based-standards] (PRIuFAST32): Likewise.
37793         [C99-based-standards] (PRIxFAST32): Likewise.
37794         [C99-based-standards] (PRIXFAST32): Likewise.
37795         [C99-based-standards] (SCNdFAST32): Likewise.
37796         [C99-based-standards] (SCNiFAST32): Likewise.
37797         [C99-based-standards] (SCNoFAST32): Likewise.
37798         [C99-based-standards] (SCNuFAST32): Likewise.
37799         [C99-based-standards] (SCNxFAST32): Likewise.
37800         [C99-based-standards] (PRId64): Likewise.
37801         [C99-based-standards] (PRIi64): Likewise.
37802         [C99-based-standards] (PRIo64): Likewise.
37803         [C99-based-standards] (PRIu64): Likewise.
37804         [C99-based-standards] (PRIx64): Likewise.
37805         [C99-based-standards] (PRIX64): Likewise.
37806         [C99-based-standards] (SCNd64): Likewise.
37807         [C99-based-standards] (SCNi64): Likewise.
37808         [C99-based-standards] (SCNo64): Likewise.
37809         [C99-based-standards] (SCNu64): Likewise.
37810         [C99-based-standards] (SCNx64): Likewise.
37811         [C99-based-standards] (PRIdLEAST64): Likewise.
37812         [C99-based-standards] (PRIiLEAST64): Likewise.
37813         [C99-based-standards] (PRIoLEAST64): Likewise.
37814         [C99-based-standards] (PRIuLEAST64): Likewise.
37815         [C99-based-standards] (PRIxLEAST64): Likewise.
37816         [C99-based-standards] (PRIXLEAST64): Likewise.
37817         [C99-based-standards] (SCNdLEAST64): Likewise.
37818         [C99-based-standards] (SCNiLEAST64): Likewise.
37819         [C99-based-standards] (SCNoLEAST64): Likewise.
37820         [C99-based-standards] (SCNuLEAST64): Likewise.
37821         [C99-based-standards] (SCNxLEAST64): Likewise.
37822         [C99-based-standards] (PRIdFAST64): Likewise.
37823         [C99-based-standards] (PRIiFAST64): Likewise.
37824         [C99-based-standards] (PRIoFAST64): Likewise.
37825         [C99-based-standards] (PRIuFAST64): Likewise.
37826         [C99-based-standards] (PRIxFAST64): Likewise.
37827         [C99-based-standards] (PRIXFAST64): Likewise.
37828         [C99-based-standards] (SCNdFAST64): Likewise.
37829         [C99-based-standards] (SCNiFAST64): Likewise.
37830         [C99-based-standards] (SCNoFAST64): Likewise.
37831         [C99-based-standards] (SCNuFAST64): Likewise.
37832         [C99-based-standards] (SCNxFAST64): Likewise.
37833         [C99-based-standards] (PRIdMAX): Likewise.
37834         [C99-based-standards] (PRIiMAX): Likewise.
37835         [C99-based-standards] (PRIoMAX): Likewise.
37836         [C99-based-standards] (PRIuMAX): Likewise.
37837         [C99-based-standards] (PRIxMAX): Likewise.
37838         [C99-based-standards] (PRIXMAX): Likewise.
37839         [C99-based-standards] (SCNdMAX): Likewise.
37840         [C99-based-standards] (SCNiMAX): Likewise.
37841         [C99-based-standards] (SCNoMAX): Likewise.
37842         [C99-based-standards] (SCNuMAX): Likewise.
37843         [C99-based-standards] (SCNxMAX): Likewise.
37844         [C99-based-standards] (PRIdPTR): Likewise.
37845         [C99-based-standards] (PRIiPTR): Likewise.
37846         [C99-based-standards] (PRIoPTR): Likewise.
37847         [C99-based-standards] (PRIuPTR): Likewise.
37848         [C99-based-standards] (PRIxPTR): Likewise.
37849         [C99-based-standards] (PRIXPTR): Likewise.
37850         [C99-based-standards] (SCNdPTR): Likewise.
37851         [C99-based-standards] (SCNiPTR): Likewise.
37852         [C99-based-standards] (SCNoPTR): Likewise.
37853         [C99-based-standards] (SCNuPTR): Likewise.
37854         [C99-based-standards] (SCNxPTR): Likewise.
37855         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
37856         allow.
37857         * conform/data/stdint.h-data: Update comments to clarify
37858         requirements.
37859         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
37860         type.
37861         [C99-based standards] (INT8_MAX): Likewise.
37862         [C99-based standards] (INT16_MIN): Likewise.
37863         [C99-based standards] (INT16_MAX): Likewise.
37864         [C99-based standards] (INT32_MIN): Likewise.
37865         [C99-based standards] (INT32_MAX): Likewise.
37866         [C99-based standards] (INT64_MIN): Likewise.
37867         [C99-based standards] (INT64_MAX): Likewise.
37868         [C99-based standards] (UINT8_MAX): Likewise.
37869         [C99-based standards] (UINT16_MAX): Likewise.
37870         [C99-based standards] (UINT32_MAX): Likewise.
37871         [C99-based standards] (UINT64_MAX): Likewise.
37872         [C99-based standards] (INT_LEAST8_MIN): Likewise.
37873         [C99-based standards] (INT_LEAST8_MAX): Likewise.
37874         [C99-based standards] (INT_LEAST16_MIN): Likewise.
37875         [C99-based standards] (INT_LEAST16_MAX): Likewise.
37876         [C99-based standards] (INT_LEAST32_MIN): Likewise.
37877         [C99-based standards] (INT_LEAST32_MAX): Likewise.
37878         [C99-based standards] (INT_LEAST64_MIN): Likewise.
37879         [C99-based standards] (INT_LEAST64_MAX): Likewise.
37880         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
37881         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
37882         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
37883         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
37884         [C99-based standards] (INT_FAST8_MIN): Likewise.
37885         [C99-based standards] (INT_FAST8_MAX): Likewise.
37886         [C99-based standards] (INT_FAST16_MIN): Likewise.
37887         [C99-based standards] (INT_FAST16_MAX): Likewise.
37888         [C99-based standards] (INT_FAST32_MIN): Likewise.
37889         [C99-based standards] (INT_FAST32_MAX): Likewise.
37890         [C99-based standards] (INT_FAST64_MIN): Likewise.
37891         [C99-based standards] (INT_FAST64_MAX): Likewise.
37892         [C99-based standards] (UINT_FAST8_MAX): Likewise.
37893         [C99-based standards] (UINT_FAST16_MAX): Likewise.
37894         [C99-based standards] (UINT_FAST32_MAX): Likewise.
37895         [C99-based standards] (UINT_FAST64_MAX): Likewise.
37896         [C99-based standards] (INTPTR_MIN): Likewise.
37897         [C99-based standards] (INTPTR_MAX): Likewise.
37898         [C99-based standards] (UINTPTR_MAX): Likewise.
37899         [C99-based standards] (INTMAX_MIN): Likewise.
37900         [C99-based standards] (INTMAX_MAX): Likewise.
37901         [C99-based standards] (UINTMAX_MAX): Likewise.
37902         [C99-based standards] (PTRDIFF_MIN): Likewise.
37903         [C99-based standards] (PTRDIFF_MAX): Likewise.
37904         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
37905         [C99-based standards] (SIZE_MAX): Likewise.
37906         [C99-based standards] (WCHAR_MAX): Likewise.
37907         [C99-based standards] (WINT_MAX): Likewise.
37908         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
37909         constraint on value.
37910         [C99-based standards] (WCHAR_MIN): Likewise.
37911         [C99-based standards] (WINT_MIN): Likewise.
37912         [C99-based standards] (*_t): Allow.
37913         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
37914         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
37915         Include math.h-data and complex.h-data.  Remove all expectations
37916         of math.h and complex.h contents.
37917         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
37918         at end of line.
37919         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
37920         (struct tm): Expect tag.
37921         [C99-based-standards] (wcstof): Expect function.
37922         [C99-based-standards] (wcstold): Likewise.
37923         [C99-based-standards] (wcstoll): Likewise.
37924         [C99-based-standards] (wcstoull): Likewise.
37925         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
37926         macro-int-constant.  Specify type.
37927         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
37928         constraint on value.
37929         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
37930         Specify type.
37931         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
37932         Specify value.
37933         [ISO C standards]: Do not allow headers.
37934         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
37935         wcs[abcdefghijklmnopqrstuvwxyz]*.
37936         [ISO C standards] (*_t): Do not allow.
37937         * conform/data/wctype.h-data [C99-based standards] (iswblank):
37938         Expect function.
37939         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
37940         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
37941         Specify type.
37942         [ISO C standards]: Do not allow headers.
37943         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
37944         is[abcdefghijklmnopqrstuvwxyz]*.
37945         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
37946         to[abcdefghijklmnopqrstuvwxyz]*.
37947         [ISO C standards] (*_t): Do not allow.
37948         * conform/data/stdalign.h-data: New file.
37949         * conform/data/stdbool.h-data: Likewise.
37950         * conform/data/stdnoreturn.h-data: Likewise.
37952 2012-11-07  Roland McGrath  <roland@hack.frob.com>
37954         [BZ #14815]
37955         * manual/filesys.texi (Directory Entries): Typo fix.
37956         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
37958 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37960         * elf/elf.h (EM_AARCH64): New macro.
37961         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
37962         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
37963         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
37964         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
37965         (R_AARCH64_TLSDESC): Likewise.
37966         (NT_ARM_TLS): Likewise.
37967         (NT_ARM_HW_BREAK): Likewise.
37968         (NT_ARM_HW_WATCH): Likewise.
37970 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
37972         [BZ #14811]
37973         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
37974         (__ieee754_powl): Saturate nonzero exponents with absolute value
37975         below 0x1p-79 to +/- 0x1p-79.
37976         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
37977         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
37978         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
37979         nonzero exponents with absolute value below 0x1p-32 to +/-
37980         0x1p-32.
37981         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
37982         (__ieee754_powl): Saturate nonzero exponents with absolute value
37983         below 0x1p-79 to +/- 0x1p-79.
37984         * math/libm-test.inc (pow_test): Add more tests.
37986 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37988         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
37989         _dl_s390_cap_flags with kernel. Increase string length.
37990         (_dl_s390_platforms): Add z196 and zEC12.
37992 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
37994         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
37995         Change XOPEN21K to XOPEN2K.
37997 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
37999         * string/memmove.c: Use memcpy when possible.
38001 2012-11-06  Andreas Jaeger  <aj@suse.de>
38003         * po/eo.po: Update from translation team.
38005 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
38007         [BZ #14793]
38008         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
38009         exponent and small x and y exponents, scale x or y up.  Increase
38010         by 2 the exponent used in scaling up.
38011         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38012         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38013         * math/libm-test.inc (fma_test): Add more tests.
38014         (fma_test_towardzero): Likewise.
38015         (fma_test_downward): Likewise.
38016         (fma_test_upward): Likewise.
38018 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
38020         [BZ #14805]
38021         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
38022         fenv_t *.
38024         [BZ #14801]
38025         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
38026         namespace for names of struct fields.
38027         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
38028         fenv_t fields.
38029         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
38030         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
38032 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38034         [BZ #3665]
38035         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
38037 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
38039         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
38040         PTR_DEMANGLE.
38042         [BZ #5246]
38043         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
38044         PTR_DEMANGLE.
38046 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
38048         [BZ #14797]
38049         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
38050         definitely overflow as x * y not x * y + z.
38051         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38052         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38053         * math/libm-test.inc (fma_test): Add more tests.
38054         (fma_test_towardzero): Likewise.
38055         (fma_test_downward): Likewise.
38056         (fma_test_upward): Likewise.
38058 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
38060         [BZ #157]
38062         * include/stub-tag.h: Remove file.
38063         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
38064         '#include' of it.
38065         * manual/maint.texi (Porting): Don't reference it.
38066         * Makerules ($(objpfx)stubs): Likewise.
38067         * dirent/closedir.c: Don't include <stub-tag.h>.
38068         * dirent/dirfd.c: Likewise.
38069         * dirent/fdopendir.c: Likewise.
38070         * dirent/getdents.c: Likewise.
38071         * dirent/getdents64.c: Likewise.
38072         * dirent/opendir.c: Likewise.
38073         * dirent/readdir.c: Likewise.
38074         * dirent/readdir64.c: Likewise.
38075         * dirent/readdir64_r.c: Likewise.
38076         * dirent/readdir_r.c: Likewise.
38077         * dirent/rewinddir.c: Likewise.
38078         * dirent/seekdir.c: Likewise.
38079         * dirent/telldir.c: Likewise.
38080         * gmon/profil.c: Likewise.
38081         * grp/setgroups.c: Likewise.
38082         * inet/if_index.c: Likewise.
38083         * io/access.c: Likewise.
38084         * io/chdir.c: Likewise.
38085         * io/chmod.c: Likewise.
38086         * io/chown.c: Likewise.
38087         * io/close.c: Likewise.
38088         * io/dup.c: Likewise.
38089         * io/dup2.c: Likewise.
38090         * io/dup3.c: Likewise.
38091         * io/euidaccess.c: Likewise.
38092         * io/faccessat.c: Likewise.
38093         * io/fchdir.c: Likewise.
38094         * io/fchmod.c: Likewise.
38095         * io/fchmodat.c: Likewise.
38096         * io/fchown.c: Likewise.
38097         * io/fchownat.c: Likewise.
38098         * io/fcntl.c: Likewise.
38099         * io/flock.c: Likewise.
38100         * io/fstatfs.c: Likewise.
38101         * io/fstatfs64.c: Likewise.
38102         * io/fstatvfs.c: Likewise.
38103         * io/fstatvfs64.c: Likewise.
38104         * io/futimens.c: Likewise.
38105         * io/fxstat.c: Likewise.
38106         * io/fxstat64.c: Likewise.
38107         * io/fxstatat.c: Likewise.
38108         * io/fxstatat64.c: Likewise.
38109         * io/getcwd.c: Likewise.
38110         * io/isatty.c: Likewise.
38111         * io/lchmod.c: Likewise.
38112         * io/lchown.c: Likewise.
38113         * io/link.c: Likewise.
38114         * io/linkat.c: Likewise.
38115         * io/lseek.c: Likewise.
38116         * io/lseek64.c: Likewise.
38117         * io/lxstat64.c: Likewise.
38118         * io/mkdir.c: Likewise.
38119         * io/mkdirat.c: Likewise.
38120         * io/mkfifo.c: Likewise.
38121         * io/mkfifoat.c: Likewise.
38122         * io/open.c: Likewise.
38123         * io/open64.c: Likewise.
38124         * io/openat.c: Likewise.
38125         * io/openat64.c: Likewise.
38126         * io/pipe.c: Likewise.
38127         * io/pipe2.c: Likewise.
38128         * io/poll.c: Likewise.
38129         * io/posix_fadvise.c: Likewise.
38130         * io/posix_fadvise64.c: Likewise.
38131         * io/posix_fallocate.c: Likewise.
38132         * io/posix_fallocate64.c: Likewise.
38133         * io/read.c: Likewise.
38134         * io/readlink.c: Likewise.
38135         * io/readlinkat.c: Likewise.
38136         * io/rmdir.c: Likewise.
38137         * io/sendfile.c: Likewise.
38138         * io/sendfile64.c: Likewise.
38139         * io/statfs.c: Likewise.
38140         * io/statfs64.c: Likewise.
38141         * io/statvfs.c: Likewise.
38142         * io/statvfs64.c: Likewise.
38143         * io/symlink.c: Likewise.
38144         * io/symlinkat.c: Likewise.
38145         * io/ttyname.c: Likewise.
38146         * io/ttyname_r.c: Likewise.
38147         * io/umask.c: Likewise.
38148         * io/unlink.c: Likewise.
38149         * io/unlinkat.c: Likewise.
38150         * io/utime.c: Likewise.
38151         * io/utimensat.c: Likewise.
38152         * io/write.c: Likewise.
38153         * io/xmknod.c: Likewise.
38154         * io/xmknodat.c: Likewise.
38155         * io/xstat.c: Likewise.
38156         * io/xstat64.c: Likewise.
38157         * login/getpt.c: Likewise.
38158         * login/grantpt.c: Likewise.
38159         * login/unlockpt.c: Likewise.
38160         * math/e_acoshl.c: Likewise.
38161         * math/e_acosl.c: Likewise.
38162         * math/e_asinl.c: Likewise.
38163         * math/e_atan2l.c: Likewise.
38164         * math/e_atanhl.c: Likewise.
38165         * math/e_coshl.c: Likewise.
38166         * math/e_expl.c: Likewise.
38167         * math/e_fmodl.c: Likewise.
38168         * math/e_gammal_r.c: Likewise.
38169         * math/e_hypotl.c: Likewise.
38170         * math/e_j0l.c: Likewise.
38171         * math/e_j1l.c: Likewise.
38172         * math/e_jnl.c: Likewise.
38173         * math/e_lgammal_r.c: Likewise.
38174         * math/e_log10l.c: Likewise.
38175         * math/e_log2l.c: Likewise.
38176         * math/e_logl.c: Likewise.
38177         * math/e_powl.c: Likewise.
38178         * math/e_rem_pio2l.c: Likewise.
38179         * math/e_sinhl.c: Likewise.
38180         * math/e_sqrtl.c: Likewise.
38181         * math/fclrexcpt.c: Likewise.
38182         * math/fedisblxcpt.c: Likewise.
38183         * math/feenablxcpt.c: Likewise.
38184         * math/fegetenv.c: Likewise.
38185         * math/fegetexcept.c: Likewise.
38186         * math/fegetround.c: Likewise.
38187         * math/feholdexcpt.c: Likewise.
38188         * math/fesetenv.c: Likewise.
38189         * math/fesetround.c: Likewise.
38190         * math/feupdateenv.c: Likewise.
38191         * math/fgetexcptflg.c: Likewise.
38192         * math/fraiseexcpt.c: Likewise.
38193         * math/fsetexcptflg.c: Likewise.
38194         * math/ftestexcept.c: Likewise.
38195         * math/k_cosl.c: Likewise.
38196         * math/k_rem_pio2l.c: Likewise.
38197         * math/k_sinl.c: Likewise.
38198         * math/k_tanl.c: Likewise.
38199         * math/s_asinhl.c: Likewise.
38200         * math/s_atanl.c: Likewise.
38201         * math/s_cbrtl.c: Likewise.
38202         * math/s_erfl.c: Likewise.
38203         * math/s_expm1l.c: Likewise.
38204         * math/s_log1pl.c: Likewise.
38205         * math/s_tanhl.c: Likewise.
38206         * misc/acct.c: Likewise.
38207         * misc/brk.c: Likewise.
38208         * misc/chflags.c: Likewise.
38209         * misc/chroot.c: Likewise.
38210         * misc/fchflags.c: Likewise.
38211         * misc/fgetxattr.c: Likewise.
38212         * misc/flistxattr.c: Likewise.
38213         * misc/fremovexattr.c: Likewise.
38214         * misc/fsetxattr.c: Likewise.
38215         * misc/fsync.c: Likewise.
38216         * misc/ftruncate.c: Likewise.
38217         * misc/futimes.c: Likewise.
38218         * misc/futimesat.c: Likewise.
38219         * misc/getdomain.c: Likewise.
38220         * misc/getdtsz.c: Likewise.
38221         * misc/gethostid.c: Likewise.
38222         * misc/gethostname.c: Likewise.
38223         * misc/getloadavg.c: Likewise.
38224         * misc/getpagesize.c: Likewise.
38225         * misc/getsysstats.c: Likewise.
38226         * misc/getxattr.c: Likewise.
38227         * misc/gtty.c: Likewise.
38228         * misc/ioctl.c: Likewise.
38229         * misc/lgetxattr.c: Likewise.
38230         * misc/listxattr.c: Likewise.
38231         * misc/llistxattr.c: Likewise.
38232         * misc/lremovexattr.c: Likewise.
38233         * misc/lsetxattr.c: Likewise.
38234         * misc/lutimes.c: Likewise.
38235         * misc/madvise.c: Likewise.
38236         * misc/mincore.c: Likewise.
38237         * misc/mlock.c: Likewise.
38238         * misc/mlockall.c: Likewise.
38239         * misc/mmap.c: Likewise.
38240         * misc/mprotect.c: Likewise.
38241         * misc/msync.c: Likewise.
38242         * misc/munlock.c: Likewise.
38243         * misc/munlockall.c: Likewise.
38244         * misc/munmap.c: Likewise.
38245         * misc/preadv.c: Likewise.
38246         * misc/preadv64.c: Likewise.
38247         * misc/ptrace.c: Likewise.
38248         * misc/pwritev.c: Likewise.
38249         * misc/pwritev64.c: Likewise.
38250         * misc/readv.c: Likewise.
38251         * misc/reboot.c: Likewise.
38252         * misc/remap_file_pages.c: Likewise.
38253         * misc/removexattr.c: Likewise.
38254         * misc/revoke.c: Likewise.
38255         * misc/select.c: Likewise.
38256         * misc/setdomain.c: Likewise.
38257         * misc/setegid.c: Likewise.
38258         * misc/seteuid.c: Likewise.
38259         * misc/sethostid.c: Likewise.
38260         * misc/sethostname.c: Likewise.
38261         * misc/setregid.c: Likewise.
38262         * misc/setreuid.c: Likewise.
38263         * misc/setxattr.c: Likewise.
38264         * misc/sstk.c: Likewise.
38265         * misc/stty.c: Likewise.
38266         * misc/swapoff.c: Likewise.
38267         * misc/swapon.c: Likewise.
38268         * misc/sync.c: Likewise.
38269         * misc/syncfs.c: Likewise.
38270         * misc/syscall.c: Likewise.
38271         * misc/truncate.c: Likewise.
38272         * misc/ualarm.c: Likewise.
38273         * misc/usleep.c: Likewise.
38274         * misc/ustat.c: Likewise.
38275         * misc/utimes.c: Likewise.
38276         * misc/vhangup.c: Likewise.
38277         * misc/writev.c: Likewise.
38278         * posix/_exit.c: Likewise.
38279         * posix/alarm.c: Likewise.
38280         * posix/execve.c: Likewise.
38281         * posix/fexecve.c: Likewise.
38282         * posix/fork.c: Likewise.
38283         * posix/fpathconf.c: Likewise.
38284         * posix/getaddrinfo.c: Likewise.
38285         * posix/getegid.c: Likewise.
38286         * posix/geteuid.c: Likewise.
38287         * posix/getgid.c: Likewise.
38288         * posix/getgroups.c: Likewise.
38289         * posix/getlogin.c: Likewise.
38290         * posix/getlogin_r.c: Likewise.
38291         * posix/getpgid.c: Likewise.
38292         * posix/getpid.c: Likewise.
38293         * posix/getppid.c: Likewise.
38294         * posix/getresgid.c: Likewise.
38295         * posix/getresuid.c: Likewise.
38296         * posix/getsid.c: Likewise.
38297         * posix/getuid.c: Likewise.
38298         * posix/glob64.c: Likewise.
38299         * posix/nanosleep.c: Likewise.
38300         * posix/pathconf.c: Likewise.
38301         * posix/pause.c: Likewise.
38302         * posix/posix_madvise.c: Likewise.
38303         * posix/pread.c: Likewise.
38304         * posix/pread64.c: Likewise.
38305         * posix/pwrite.c: Likewise.
38306         * posix/pwrite64.c: Likewise.
38307         * posix/sched_getaffinity.c: Likewise.
38308         * posix/sched_getp.c: Likewise.
38309         * posix/sched_gets.c: Likewise.
38310         * posix/sched_primax.c: Likewise.
38311         * posix/sched_primin.c: Likewise.
38312         * posix/sched_rr_gi.c: Likewise.
38313         * posix/sched_setaffinity.c: Likewise.
38314         * posix/sched_setp.c: Likewise.
38315         * posix/sched_sets.c: Likewise.
38316         * posix/sched_yield.c: Likewise.
38317         * posix/setgid.c: Likewise.
38318         * posix/setlogin.c: Likewise.
38319         * posix/setpgid.c: Likewise.
38320         * posix/setresgid.c: Likewise.
38321         * posix/setresuid.c: Likewise.
38322         * posix/setsid.c: Likewise.
38323         * posix/setuid.c: Likewise.
38324         * posix/sleep.c: Likewise.
38325         * posix/spawni.c: Likewise.
38326         * posix/sysconf.c: Likewise.
38327         * posix/times.c: Likewise.
38328         * posix/wait.c: Likewise.
38329         * posix/wait3.c: Likewise.
38330         * posix/wait4.c: Likewise.
38331         * posix/waitpid.c: Likewise.
38332         * resolv/gai_sigqueue.c: Likewise.
38333         * resource/getpriority.c: Likewise.
38334         * resource/getrlimit.c: Likewise.
38335         * resource/getrusage.c: Likewise.
38336         * resource/nice.c: Likewise.
38337         * resource/setpriority.c: Likewise.
38338         * resource/setrlimit.c: Likewise.
38339         * resource/ulimit.c: Likewise.
38340         * rt/aio_cancel.c: Likewise.
38341         * rt/aio_fsync.c: Likewise.
38342         * rt/aio_read.c: Likewise.
38343         * rt/aio_sigqueue.c: Likewise.
38344         * rt/aio_suspend.c: Likewise.
38345         * rt/aio_write.c: Likewise.
38346         * rt/clock_getres.c: Likewise.
38347         * rt/clock_gettime.c: Likewise.
38348         * rt/clock_nanosleep.c: Likewise.
38349         * rt/clock_settime.c: Likewise.
38350         * rt/lio_listio.c: Likewise.
38351         * rt/mq_close.c: Likewise.
38352         * rt/mq_getattr.c: Likewise.
38353         * rt/mq_notify.c: Likewise.
38354         * rt/mq_open.c: Likewise.
38355         * rt/mq_receive.c: Likewise.
38356         * rt/mq_send.c: Likewise.
38357         * rt/mq_setattr.c: Likewise.
38358         * rt/mq_timedreceive.c: Likewise.
38359         * rt/mq_timedsend.c: Likewise.
38360         * rt/mq_unlink.c: Likewise.
38361         * rt/shm_open.c: Likewise.
38362         * rt/shm_unlink.c: Likewise.
38363         * rt/timer_create.c: Likewise.
38364         * rt/timer_delete.c: Likewise.
38365         * rt/timer_getoverr.c: Likewise.
38366         * rt/timer_gettime.c: Likewise.
38367         * rt/timer_settime.c: Likewise.
38368         * setjmp/__longjmp.c: Likewise.
38369         * setjmp/setjmp.c: Likewise.
38370         * signal/kill.c: Likewise.
38371         * signal/killpg.c: Likewise.
38372         * signal/raise.c: Likewise.
38373         * signal/sigaction.c: Likewise.
38374         * signal/sigaltstack.c: Likewise.
38375         * signal/sigblock.c: Likewise.
38376         * signal/sigignore.c: Likewise.
38377         * signal/sigintr.c: Likewise.
38378         * signal/signal.c: Likewise.
38379         * signal/sigpause.c: Likewise.
38380         * signal/sigpending.c: Likewise.
38381         * signal/sigqueue.c: Likewise.
38382         * signal/sigreturn.c: Likewise.
38383         * signal/sigset.c: Likewise.
38384         * signal/sigsetmask.c: Likewise.
38385         * signal/sigstack.c: Likewise.
38386         * signal/sigsuspend.c: Likewise.
38387         * signal/sigtimedwait.c: Likewise.
38388         * signal/sigvec.c: Likewise.
38389         * signal/sigwait.c: Likewise.
38390         * signal/sigwaitinfo.c: Likewise.
38391         * signal/sysv_signal.c: Likewise.
38392         * socket/accept.c: Likewise.
38393         * socket/accept4.c: Likewise.
38394         * socket/bind.c: Likewise.
38395         * socket/connect.c: Likewise.
38396         * socket/getpeername.c: Likewise.
38397         * socket/getsockname.c: Likewise.
38398         * socket/getsockopt.c: Likewise.
38399         * socket/isfdtype.c: Likewise.
38400         * socket/listen.c: Likewise.
38401         * socket/recv.c: Likewise.
38402         * socket/recvfrom.c: Likewise.
38403         * socket/recvmsg.c: Likewise.
38404         * socket/send.c: Likewise.
38405         * socket/sendmsg.c: Likewise.
38406         * socket/sendto.c: Likewise.
38407         * socket/setsockopt.c: Likewise.
38408         * socket/shutdown.c: Likewise.
38409         * socket/sockatmark.c: Likewise.
38410         * socket/socket.c: Likewise.
38411         * socket/socketpair.c: Likewise.
38412         * stdio-common/ctermid.c: Likewise.
38413         * stdio-common/cuserid.c: Likewise.
38414         * stdio-common/remove.c: Likewise.
38415         * stdio-common/rename.c: Likewise.
38416         * stdio-common/renameat.c: Likewise.
38417         * stdio-common/tempname.c: Likewise.
38418         * stdlib/getcontext.c: Likewise.
38419         * stdlib/makecontext.c: Likewise.
38420         * stdlib/setcontext.c: Likewise.
38421         * stdlib/swapcontext.c: Likewise.
38422         * stdlib/system.c: Likewise.
38423         * streams/fattach.c: Likewise.
38424         * streams/fdetach.c: Likewise.
38425         * streams/getmsg.c: Likewise.
38426         * streams/getpmsg.c: Likewise.
38427         * streams/putmsg.c: Likewise.
38428         * streams/putpmsg.c: Likewise.
38429         * sysdeps/unix/bsd/getpt.c: Likewise.
38430         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
38431         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
38432         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38434         Likewise.
38435         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
38436         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38437         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38438         * sysvipc/msgctl.c: Likewise.
38439         * sysvipc/msgget.c: Likewise.
38440         * sysvipc/msgrcv.c: Likewise.
38441         * sysvipc/msgsnd.c: Likewise.
38442         * sysvipc/semctl.c: Likewise.
38443         * sysvipc/semget.c: Likewise.
38444         * sysvipc/semop.c: Likewise.
38445         * sysvipc/semtimedop.c: Likewise.
38446         * sysvipc/shmat.c: Likewise.
38447         * sysvipc/shmctl.c: Likewise.
38448         * sysvipc/shmdt.c: Likewise.
38449         * sysvipc/shmget.c: Likewise.
38450         * termios/tcdrain.c: Likewise.
38451         * termios/tcflow.c: Likewise.
38452         * termios/tcflush.c: Likewise.
38453         * termios/tcgetattr.c: Likewise.
38454         * termios/tcgetpgrp.c: Likewise.
38455         * termios/tcsendbrk.c: Likewise.
38456         * termios/tcsetattr.c: Likewise.
38457         * termios/tcsetpgrp.c: Likewise.
38458         * time/adjtime.c: Likewise.
38459         * time/clock.c: Likewise.
38460         * time/getitimer.c: Likewise.
38461         * time/gettimeofday.c: Likewise.
38462         * time/setitimer.c: Likewise.
38463         * time/settimeofday.c: Likewise.
38464         * time/stime.c: Likewise.
38465         * time/time.c: Likewise.
38467 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
38469         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
38470         /usr/old/bin.
38472         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
38473         instead of spaces.
38474         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
38476 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
38478         [BZ #14796]
38479         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
38480         FE_TONEAREST before applying Dekker multiplication and Knuth
38481         addition.  Clear inexact exceptions and check for exact zero
38482         results afterwards.
38483         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38484         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38485         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38486         * math/libm-test.inc (fma_test): Add more tests.
38487         (fma_test_towardzero): Likewise.
38488         (fma_test_downward): Likewise.
38489         (fma_test_upward): Likewise.
38490         * sysdeps/generic/math_private.h (default_libc_fesetround): New
38491         function.
38492         (libc_fesetround): New macro.
38493         (libc_fesetroundf): Likewise.
38494         (libc_fesetroundl): Likewise.
38495         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
38496         function.
38497         (libc_fesetround_387): Likewise.
38498         (libc_fesetroundf): New macro.
38499         (libc_fesetround): Likewise.
38500         (libc_fesetroundl): Likewise.
38501         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
38502         function.
38503         (libc_fesetroundf): New macro.
38504         (libc_fesetround): Likewise.
38505         (libc_fesetroundl): Likewise.
38506         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
38507         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
38508         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
38509         libm_hidden_ver.
38510         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
38511         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
38512         libm_hidden_def.
38513         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
38514         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
38515         libm_hidden_ver.
38516         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
38517         libm_hidden_def.
38519         [BZ #3439]
38520         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
38521         integer constant usable in #if and use that to give value to enum
38522         constant.
38523         (FE_DIVBYZERO): Likewise.
38524         (FE_UNDERFLOW): Likewise.
38525         (FE_OVERFLOW): Likewise.
38526         (FE_INVALID): Likewise.
38527         (FE_INVALID_SNAN): Likewise.
38528         (FE_INVALID_ISI): Likewise.
38529         (FE_INVALID_IDI): Likewise.
38530         (FE_INVALID_ZDZ): Likewise.
38531         (FE_INVALID_IMZ): Likewise.
38532         (FE_INVALID_COMPARE): Likewise.
38533         (FE_INVALID_SOFTWARE): Likewise.
38534         (FE_INVALID_SQRT): Likewise.
38535         (FE_INVALID_INTEGER_CONVERSION): Likewise.
38536         (FE_TONEAREST): Likewise.
38537         (FE_TOWARDZERO): Likewise.
38538         (FE_UPWARD): Likewise.
38539         (FE_DOWNWARD): Likewise.
38540         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
38541         (FE_DIVBYZERO): Likewise.
38542         (FE_OVERFLOW): Likewise.
38543         (FE_UNDERFLOW): Likewise.
38544         (FE_INEXACT): Likewise.
38545         (FE_TONEAREST): Likewise.
38546         (FE_DOWNWARD): Likewise.
38547         (FE_UPWARD): Likewise.
38548         (FE_TOWARDZERO): Likewise.
38549         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
38550         (FE_UNDERFLOW): Likewise.
38551         (FE_OVERFLOW): Likewise.
38552         (FE_DIVBYZERO): Likewise.
38553         (FE_INVALID): Likewise.
38554         (FE_TONEAREST): Likewise.
38555         (FE_TOWARDZERO): Likewise.
38556         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
38557         (FE_OVERFLOW): Likewise.
38558         (FE_UNDERFLOW): Likewise.
38559         (FE_DIVBYZERO): Likewise.
38560         (FE_INEXACT): Likewise.
38561         (FE_TONEAREST): Likewise.
38562         (FE_TOWARDZERO): Likewise.
38563         (FE_UPWARD): Likewise.
38564         (FE_DOWNWARD): Likewise.
38565         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
38566         (FE_DIVBYZERO): Likewise.
38567         (FE_OVERFLOW): Likewise.
38568         (FE_UNDERFLOW): Likewise.
38569         (FE_INEXACT): Likewise.
38570         (FE_TONEAREST): Likewise.
38571         (FE_DOWNWARD): Likewise.
38572         (FE_UPWARD): Likewise.
38573         (FE_TOWARDZERO): Likewise.
38575 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
38577         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
38579 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
38581         * scripts/cross-test-ssh.sh (command): Use newlines to separate
38582         commands.  Quote $PWD.
38583         (blacklist_exports): Don't use remove_newlines.  Replace "declare
38584         -x" by "export".
38585         (remove_newlines): Remove.
38587 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
38589         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
38590         * stdlib/stdlib.h (atof): Moved to ...
38591         * include/bits/stdlib-float.h: Here.  New file.
38592         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
38593         * stdlib/bits/stdlib-float.h: New file.
38594         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
38595         -mno-sse -mno-mmx.
38596         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
38597         <xmmintrin.h>.
38599 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
38601         * conform/conformtest.pl (@headers): Add fenv.h.
38602         * conform/data/fenv.h-data: New file.
38603         * include/fenv.h [_ISOMAC]: Disable all contents of file except
38604         include of <math/fenv.h>.
38606         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
38607         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
38608         && !UNIX98].  Enables tests for XOPEN2K8.
38609         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
38610         POSIX2008]: Likewise.
38612         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
38613         (struct rusage): Do not expect type or its members.
38615         [BZ #3439]
38616         * math/math.h (FP_NAN): Define macro to integer constant usable in
38617         #if and use that to give value to enum constant.
38618         (FP_INFINITE): Likewise.
38619         (FP_ZERO): Likewise.
38620         (FP_SUBNORMAL): Likewise.
38621         (FP_NORMAL): Likewise.
38623 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
38625         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
38626         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
38627         arguments.
38629 2012-11-02  Roland McGrath  <roland@hack.frob.com>
38631         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
38632         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
38633         autoconf-time if not.
38634         * configure.in: Remove AC_PREREQ.
38636 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38638         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
38639         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
38640         of the internal implementation.
38642 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
38644         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
38645         except include of <misc/sys/syslog.h>.
38647 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
38649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
38650         function returns with a NULL context exit with zero.
38652 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38654         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
38656 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
38658         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
38659         (run_program_cmd): This.
38660         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
38661         (tst_langinfo): New variable.  Use it.
38663 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
38665         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
38666         floating point opcodes.
38668 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
38670         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
38671         variable.
38673         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
38675         * sysdeps/mach/hurd/powerpc: Remove directory.
38676         * sysdeps/mach/powerpc: Likewise.
38678 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
38680         * scripts/check-local-headers.sh: Ignore c++ headers.
38682 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
38684         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
38685         __libc_cleanup_region_start argument.
38687 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
38689         [BZ #14784]
38690         [BZ #14785]
38691         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
38692         x * y using scaling, not as x * y + z.
38693         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38694         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38695         * math/libm-test.inc (fma_test): Add more tests.
38696         (fma_test_towardzero): Likewise.
38697         (fma_test_downward): Likewise.
38698         (fma_test_upward): Likewise.
38700 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
38702         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
38704 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
38706         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
38707         New variable.
38709 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
38711         * rt/tst-shm.c (worker): Correct checking for mmap failure.
38713 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
38715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38716         Fix sort order.
38717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38718         Likewise.
38720 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38723         Fix the order of the list for glibc 2.17.
38724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38725         Likewise.
38727 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
38729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38731 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
38733         [BZ #14610]
38734         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
38735         for low part of x being zero before using __atanl (y).
38736         * math/libm-test.inc (atan2_test): Add another test.
38738         * manual/install.texi (Configuring and compiling): Document
38739         general use of test-wrapper and test-wrapper-env.
38740         * INSTALL: Regenerated.
38742         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
38743         (__fma): Do not extract and scale down low bits on after-rounding
38744         systems when result rounded to normal precision would have normal
38745         exponent.
38746         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
38747         (__fmal): Do not extract and scale down low bits on after-rounding
38748         systems when result rounded to normal precision would have normal
38749         exponent.
38750         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
38751         (__fmal): Do not extract and scale down low bits on after-rounding
38752         systems when result rounded to normal precision would have normal
38753         exponent.
38754         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
38755         macro.
38756         (fma_test): Add more tests.
38757         (fma_test_towardzero): Likewise.
38758         (fma_test_downward): Likewise.
38759         (fma_test_upward): Likewise.
38761 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
38763         * sysdeps/i386/tininess.h: Renamed to ...
38764         * sysdeps/x86/tininess.h: This.
38765         * sysdeps/x86_64/tininess.h: Removed.
38767 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
38769         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
38770         input.  Use $(build-program-cmd).
38771         ($(objpfx)tst-array1-static.out): Likewise.
38772         ($(objpfx)tst-array2.out): Likewise.
38773         ($(objpfx)tst-array3.out): Likewise.
38774         ($(objpfx)tst-array4.out): Likewise.
38775         ($(objpfx)tst-array5.out): Likewise.
38776         ($(objpfx)tst-array5-static.out): Likewise.
38778 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
38780         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
38781         if defined.
38783         * nss/nsswitch.h (nss_interface_function): Provide new
38784         macro for use with NSS functions.
38785         * grp/initgroups.c: Use new macro.
38786         * nss/getXXbyYY.c: Likewise.
38787         * nss/getXXbyYY_r.c: Likewise.
38788         * nss/getXXent.c: Likewise.
38789         * nss/getXXent_r.c: Likewise.
38790         * sysdeps/posix/getaddrinfo.c: Likewise.
38792 2012-10-30  Andreas Jaeger  <aj@suse.de>
38794         * po/ru.po: Update Russion translation from translation project.
38796 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
38798         [BZ #14152]
38799         [BZ #14783]
38800         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
38801         result and shift together with sticky bit instead of replicating
38802         round-to-nearest rounding.
38803         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38804         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38805         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
38806         missing underflow exceptions.
38807         (fma_test_towardzero): Add more tests.
38808         (fma_test_downward): Likewise.
38809         (fma_test_upward): Likewise.
38811         [BZ #14047]
38812         * sysdeps/generic/tininess.h: New file.
38813         * sysdeps/i386/tininess.h: Likewise.
38814         * sysdeps/sh/tininess.h: Likewise.
38815         * sysdeps/x86_64/tininess.h: Likewise.
38816         * stdlib/tst-strtod-underflow.c: Likewise.
38817         * stdlib/tst-tininess.c: Likewise.
38818         * stdlib/strtod_l.c: Include <tininess.h>.
38819         (round_and_return): Do not set errno for exact underflow cases.
38820         Force an underflow exception when setting errno for underflow.
38821         Determine underflow based on rounding to normal precision if
38822         TININESS_AFTER_ROUNDING.
38823         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
38824         ERANGE for exact underflow cases.
38825         * stdlib/Makefile (tests): Add tst-tininess and
38826         tst-strtod-underflow.
38827         ($(objpfx)tst-tininess): Use $(link-libm).
38828         ($(objpfx)tst-strtod-underflow): Likewise.
38830 2012-10-30  Andreas Jaeger  <aj@suse.de>
38832         [BZ#14767]
38833         * elf/Makefile (tests): Remove conditional for have-initfini-array
38834         since this is now always required and the variable does not exist
38835         anymore.
38836         (tests-static): Likewise.
38837         (modules-names): Likewise.
38839         * po/eo.po: Add Esperanto translation from translation project.
38841         * elf/tst-array1.c (fini_array): Make writeable so that it can be
38842         merged with constructor/destructor.
38843         (init_array): Likewise.
38844         * elf/tst-array2dep.c (fini_array): Likewise.
38845         (init_array): Likewise.
38847 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
38849         * manual/message.texi: Delete @cartouche tags.
38851 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
38853         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
38854         EOPNOTSUPP.
38855         * sysdeps/mach/hurd/fsync.c: Likewise.
38857         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
38858         [_POSIX_REALTIME_SIGNALS]: Change condition to
38859         [_POSIX_REALTIME_SIGNALS > 0].
38861 2012-10-27  Andreas Jaeger  <aj@suse.de>
38863         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
38864         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
38865         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
38866         [__WORDSIZE != 64]: Likewise.
38868 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
38870         *  iconvdata/tst-table.sh: Remove ${SHELL}.
38871         *  iconvdata/tst-tables.sh: Likewise.
38873 2012-10-25  David S. Miller  <davem@davemloft.net>
38875         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38876         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
38877         of strtoull.
38879         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
38880         ifunc-impl-list.c
38881         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38882         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
38883         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
38884         file.
38886 2012-10-25  Roland McGrath  <roland@hack.frob.com>
38888         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38889         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
38890         __getdirentries.
38892 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
38893             Jim Blandy  <jimb@codesourcery.com>
38895         * scripts/cross-test-ssh.sh: New file.
38896         * manual/install.texi (Configuring and compiling): Document use of
38897         cross-test-ssh.sh.
38898         * INSTALL: Regenerated.
38900 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
38902         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
38903         EOPNOTSUPP.
38905 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
38907         * Makeconfig (run-program-prefix): Fix comment.
38909 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
38910             Jim Blandy  <jimb@codesourcery.com>
38912         * Makeconfig (test-wrapper): New variable,
38913         (test-wrapper-env): Likewise.
38914         [$(cross-compiling) = yes && $(test-wrapper) != ""]
38915         (run-built-tests): Define to yes.
38916         (run-program-prefix): Use $(test-wrapper).
38917         (built-program-cmd): Likewise.
38918         * Rules (make-test-out): Use $(test-wrapper-env) and
38919         $(host-built-program-cmd).
38920         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
38921         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
38922         tst-pathopt.sh.
38923         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
38924         $(test-wrapper-env) to tst-rtld-load-self.sh.
38925         ($(objpfx)order2.out): Use $(test-wrapper).
38926         ($(objpfx)tst-initorder.out): Likewise.
38927         ($(objpfx)tst-initorder2.out): Likewise.
38928         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
38929         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
38930         (test_wrapper_env): New variable.  Use it to run ld.so.
38931         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
38932         Use it to run ld.so.
38933         (test_wrapper_env): Likewise.
38934         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
38935         $(test-wrapper) to run-iconv-test.sh.
38936         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
38937         (ICONV): Use $test_wrapper.
38938         * posix/Makefile ($(objpfx)globtest.out): Pass
38939         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
38940         globtest.sh, not $(run-program-prefix).
38941         * posix/globtest.sh (run_via_rtld_prefix): New variable.
38942         (test_wrapper): Likewise.
38943         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
38944         set together with run_via_rtld_prefix.
38945         (run_program_prefix): Define in terms of test_wrapper and
38946         run_via_rtld_prefix.
38948 2012-10-24  Roland McGrath  <roland@hack.frob.com>
38950         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
38951         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
38952         Targets removed.
38954         [BZ #14743]
38955         * include/time.h: Remove librt_hidden_proto (clock_gettime).
38956         Declare __clock_getres, __clock_gettime, __clock_settime,
38957         __clock_nanosleep, and __clock_getcpuclockid.
38958         * rt/clock_gettime.c: Define __clock_gettime as an alias.
38959         Remove librt_hidden_def (clock_gettime).
38960         * sysdeps/unix/clock_gettime.c: Likewise.
38961         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
38962         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38963         * rt/clock_getres.c: Define __clock_getres as an alias.
38964         * sysdeps/posix/clock_getres.c: Likewise.
38965         * rt/clock_settime.c: Define __clock_settime as an alias.
38966         * sysdeps/unix/clock_settime.c: Likewise.
38967         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
38968         * sysdeps/unix/clock_nanosleep.c: Likewise.
38969         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38970         * rt/clock-compat.c: New file.
38971         * rt/Makefile (librt-routines): Add clock-compat and move
38972         $(clock-routines) to ...
38973         (routines): ... here, new variable.
38974         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
38975         Don't add get_clockfreq here.
38976         * rt/Versions (libc: GLIBC_2.17): New version set.
38977         Add clock_* symbols here.
38978         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
38979         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
38980         (GLIBC_2.17): Add clock_* symbols.
38981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38983         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38985         Likewise.
38986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38987         Likewise.
38988         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38989         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38992         * NEWS: Mention the move.
38994         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38995         Use __open, __read, __close rather than their public counterparts.
38996         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38997         (__get_clockfreq_via_cpuinfo): Likewise.
38998         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
38999         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
39001         * config.h.in (HAVE_IFUNC): New #undef.
39002         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
39003         was successful.
39004         * configure: Regenerated.
39006 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
39008         * configure.in: Move READELF check to start of file.
39009         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
39010         libc_cv_asm_gnu_indirect_function in the process.
39011         * configure: Regenerated.
39013 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
39015         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
39016         send the output to /dev/null.
39017         (libc_cv_cc_with_libunwind): Likewise.
39018         (libc_cv_as_noexecstack): Likewise.
39019         * configure: Regenerate.
39021 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
39023         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
39025         * posix/globtest.sh (TMPDIR): Do not set.
39026         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
39027         (testout): Likewise.
39029 2012-10-24  Andreas Jaeger  <aj@suse.de>
39031         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
39032         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
39033         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
39034         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
39035         posix_fadvise64, posix_fallocate64.
39037         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
39038         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
39039         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
39040         Likewise.
39041         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
39042         Likewise.
39043         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
39045         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
39046         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
39047         <bits/fcntl-linux.h>.
39048         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
39050         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
39051         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
39052         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
39053         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
39054         [__WORDSIZE != 64]: Likewise.
39056 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
39058         * Makeconfig (run-built-tests): New variable.
39059         * Rules [$(cross-compiling) = yes]: Change condition to
39060         [$(run-built-tests) = no].
39061         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
39062         to [$(run-built-tests) = yes].
39063         * elf/Makefile [$(cross-compiling) = no]: Likewise
39064         * grp/Makefile [$(cross-compiling) = no]: Likewise.
39065         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
39066         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
39067         * intl/Makefile [$(cross-compiling) = no]: Likewise.
39068         * io/Makefile [$(cross-compiling) = no]: Likewise.
39069         * libio/Makefile [$(cross-compiling) = no]: Likewise.
39070         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
39071         * misc/Makefile [$(cross-compiling) = no]: Likewise.
39072         * posix/Makefile [$(cross-compiling) = no]: Likewise.
39073         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
39074         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
39075         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
39076         * string/Makefile [$(cross-compiling) = no]: Likewise.
39078         * posix/Makefile ($(objpfx)globtest.out): Pass
39079         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
39080         $(rtld-installed-name).
39081         * posix/globtest.sh (elf_objpfx): Remove variable.
39082         (rtld_installed_name): Likewise.
39083         (library_path): Likewise.
39084         (run_program_prefix): New variable.  Use for running globtest
39085         binary.
39087 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
39088             Joseph Myers  <joseph@codesourcery.com>
39090         * Makeconfig (host-built-program-cmd): New variable.
39091         * elf/Makefile (tst-stackguard1-ARGS): Use
39092         $(host-built-program-cmd).
39093         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
39094         (tst-spawn-ARGS): Likewise.
39095         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
39097 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
39098             Jim Blandy  <jimb@codesourcery.com>
39100         * Makeconfig (run-via-rtld-prefix): New variable.
39101         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
39102         (built-program-cmd): Likewise.
39104 2012-10-22  Andreas Jaeger  <aj@suse.de>
39106         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
39107         __O_RSYNC if it exists, otherwise to O_SYNC.
39109 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
39110             Joseph Myers  <joseph@codesourcery.com>
39112         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
39113         /dev/null.
39114         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
39115         from /dev/null
39116         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
39117         /dev/null.
39119 2012-10-22  Andreas Jaeger  <aj@suse.de>
39121         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
39122         Define always.
39123         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
39125         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39126         bits/fcntl-linux.h.
39128         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
39129         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
39131         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
39132         to __O_LARGEFILE.
39133         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
39134         to __O_LARGEFILE.
39136 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
39137             Joseph Myers  <joseph@codesourcery.com>
39139         * config.make.in (NM): New variable.
39141 2012-10-21  Andreas Jaeger  <aj@suse.de>
39143         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
39144         definitions and declarations that are provided by
39145         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39147 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
39149         [BZ #14683]
39150         * elf/Makefile (tests-static): Add tst-leaks1-static.
39151         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
39152         ($(objpfx)tst-leaks1-static): New rule.
39153         ($(objpfx)tst-leaks1-static-mem): Likewise.
39154         (tst-leaks1-static-ENV): New macro.
39155         * elf/dl-open.c (dl_open_worker): Check the main application
39156         only if SHARED is defined.
39157         * elf/tst-leaks1-static.c: New file.
39159 2012-10-20  Andreas Jaeger  <aj@suse.de>
39161         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
39162         generic values for Linux.
39163         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
39164         and declarations that are provided by <bits/fcntl-linux.h> and
39165         include <bits/fcntl-linux.h>.
39166         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39167         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39169 2012-10-20  Roland McGrath  <roland@hack.frob.com>
39171         * io/fcntl.h: Move include of <bits/types.h> to the top and
39172         include it unconditionally.
39174 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
39176         * wcsmbs/Makefile (tests-ifunc): New variable.
39177         (tests): Add $(tests-ifunc).
39178         * wcsmbs/test-wcschr-ifunc.c: New file.
39179         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39180         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39181         * wcsmbs/test-wcslen-ifunc.c: Likewise.
39182         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39183         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39185         * string/Makefile (tests-ifunc): New variable.
39186         (tests): Add $(tests-ifunc).
39187         * string/test-memccpy.c (TEST_NAME): New macro.
39188         * string/test-memchr.c (TEST_NAME): Likewise.
39189         * string/test-memcmp.c (TEST_NAME): Likewise.
39190         * string/test-memcpy.c (TEST_NAME): Likewise.
39191         * string/test-memmem.c (TEST_NAME): Likewise.
39192         * string/test-memmove.c (TEST_NAME): Likewise.
39193         * string/test-memset.c (TEST_NAME): Likewise.
39194         * string/test-rawmemchr.c (TEST_NAME): Likewise.
39195         * string/test-stpcpy.c (TEST_NAME): Likewise.
39196         * string/test-stpncpy.c (TEST_NAME): Likewise.
39197         * string/test-strcasecmp.c (TEST_NAME): Likewise.
39198         * string/test-strcasestr.c (TEST_NAME): Likewise.
39199         * string/test-strcat.c (TEST_NAME): Likewise.
39200         * string/test-strchr.c (TEST_NAME): Likewise.
39201         * string/test-strcmp.c(TEST_NAME): Likewise.
39202         * string/test-strcpy.c (TEST_NAME): Likewise.
39203         * string/test-strcspn.c (TEST_NAME): Likewise.
39204         * string/test-strlen.c (TEST_NAME): Likewise.
39205         * string/test-strncasecmp.c (TEST_NAME): Likewise.
39206         * string/test-strncmp.c (TEST_NAME): Likewise.
39207         * string/test-strncpy.c (TEST_NAME): Likewise.
39208         * string/test-strnlen.c (TEST_NAME): Likewise.
39209         * string/test-strpbrk.c (TEST_NAME): Likewise.
39210         * string/test-strrchr.c (TEST_NAME): Likewise.
39211         * string/test-strspn.c (TEST_NAME): Likewise.
39212         * string/test-strstr.c (TEST_NAME): Likewise.
39213         * string/test-bcopy-ifunc.c: New file.
39214         * string/test-bzero-ifunc.c: Likewise.
39215         * string/test-memccpy-ifunc.c: Likewise.
39216         * string/test-memchr-ifunc.c: Likewise.
39217         * string/test-memcmp-ifunc.c: Likewise.
39218         * string/test-memcpy-ifunc.c: Likewise.
39219         * string/test-memmem-ifunc.c: Likewise.
39220         * string/test-memmove-ifunc.c: Likewise.
39221         * string/test-mempcpy-ifunc.c: Likewise.
39222         * string/test-memset-ifunc.c: Likewise.
39223         * string/test-rawmemchr-ifunc.c: Likewise.
39224         * string/test-stpcpy-ifunc.c: Likewise.
39225         * string/test-stpncpy-ifunc.c: Likewise.
39226         * string/test-strcasecmp-ifunc.c: Likewise.
39227         * string/test-strcasestr-ifunc.c: Likewise.
39228         * string/test-strcat-ifunc.c: Likewise.
39229         * string/test-strchr-ifunc.c: Likewise.
39230         * string/test-strchrnul-ifunc.c: Likewise.
39231         * string/test-strcmp-ifunc.c: Likewise.
39232         * string/test-strcpy-ifunc.c: Likewise.
39233         * string/test-strcspn-ifunc.c: Likewise.
39234         * string/test-strlen-ifunc.c: Likewise.
39235         * string/test-strncasecmp-ifunc.c: Likewise.
39236         * string/test-strncat-ifunc.c: Likewise.
39237         * string/test-strncmp-ifunc.c: Likewise.
39238         * string/test-strncpy-ifunc.c: Likewise.
39239         * string/test-strnlen-ifunc.c: Likewise.
39240         * string/test-strpbrk-ifunc.c: Likewise.
39241         * string/test-strrchr-ifunc.c: Likewise.
39242         * string/test-strspn-ifunc.c: Likewise.
39243         * string/test-strstr-ifunc.c: Likewise.
39245         * debug/Makefile (tests-ifunc): New variable.
39246         (tests): Add $(tests-ifunc).
39247         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
39248         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
39249         * debug/test-stpcpy_chk-ifunc.c: New file.
39250         * debug/test-strcpy_chk-ifunc.c: Likewise.
39252 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39254         [BZ #13601]
39255         * elf/dl-load.c (open_verify): Retry read if the entire ELF
39256         header is not read in.
39258 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
39260         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
39261         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
39262         directly.  Pass built executable to script as
39263         $(built-program-cmd).
39264         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
39265         $testprogram without using LD_LIBRARY_PATH and $ldso.
39267         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
39268         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
39269         $(rtld-installed-name).
39270         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
39271         (rtld_installed_name): Likewise.
39272         (library_path): Likewise.
39273         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
39274         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
39275         $(run-program-prefix) to tst-tables.sh.
39276         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
39277         it to run tst-table-from and tst-table-to.
39278         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
39279         Pass it to tst-table.sh.
39280         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
39281         $(run-program-prefix) to tst-gettext.sh.
39282         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
39283         tst-translit.sh.
39284         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
39285         tst-gettext2.sh.
39286         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
39287         to run tst-gettext.
39288         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
39289         to run tst-gettext2.
39290         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
39291         to run tst-translit.
39292         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
39293         $(run-program-prefix) to tst-mtrace.sh.
39294         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
39295         to run tst-mtrace.
39296         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
39297         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
39298         $(rtld-installed-name).
39299         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
39300         (rtld_installed_name): Likewise.
39301         (run_program_prefix): New variable.  Use it to run wordexp-test.
39303         * Makeconfig (ARCH): Remove all definitions.
39304         (machine): Likewise.
39305         [ARCH]: Remove conditional code.
39306         [!objdir]: Give error.
39307         [!objdir] (objpfx): Remove.
39308         [!objdir] (common-objpfx): Likewise.
39309         [!objdir] (common-objdir): Likewise.
39310         * configure.in (config_makefile): Remove.  Hardcode Makefile in
39311         AC_CONFIG_FILES call.
39312         * configure: Regenerated.
39314         [BZ #13888]
39315         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
39316         or TMPDIR.
39317         (testout): Likewise.
39319         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
39320         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
39321         $(rtld-installed-name).
39322         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
39323         (rtld_installed_name): Likwise.
39324         (runit): Remove function.
39325         (run_getconf): New variable,  Use it for running getconf binary.
39327 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
39329         [BZ #14716]
39330         * string/test-memmem.c (check_result): New function.
39331         (do_one_test): Use it.
39332         (check1): New function.
39333         (test_main): Use it.
39335 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
39337         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
39339 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
39341         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
39342         (_G_LSEEK64): Likewise.
39343         (_G_MMAP64): Likewise.
39344         (_G_FSTAT64): Likewise.
39345         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
39346         (_G_LSEEK64): Likewise.
39347         (_G_MMAP64): Likewise.
39348         (_G_FSTAT64): Likewise.
39349         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
39350         unconditional.  Call __mmap64 directly.
39351         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
39352         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
39353         __lseek64 directly.
39354         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
39355         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
39356         __mmap64 directly.
39357         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
39358         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
39359         __lseek64 directly.
39360         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
39361         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
39362         __lseek64 directly.
39363         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
39364         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
39365         __lseek64 directly.
39366         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
39367         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
39368         __fxstat64 directly.
39369         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
39370         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
39371         unconditional.
39372         (freopen64) [!_G_OPEN64]: Remove conditional code.
39373         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
39374         unconditional.
39375         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
39376         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
39377         unconditional.
39378         (ftello64) [!_G_LSEEK64]: Remove conditional code.
39379         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
39380         unconditional.
39381         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39382         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
39383         unconditional.
39384         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
39385         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
39386         unconditional.
39387         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39388         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
39389         unconditional.
39390         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39391         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
39392         unconditional.
39393         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39395 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39397         [BZ #12140]
39398         * manual/memory.texi (Malloc Tunable Parameters): Add note
39399         about free list pointers overwriting some perturb bytes.
39400         Wording suggested by Roland McGrath.
39402 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
39404         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
39405         (lgamma_test): Likewise.
39406         (tgamma_test): Likewise.
39408 2012-10-16  Florian Weimer  <fweimer@redhat.com>
39410         [BZ #14700]
39411         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
39412         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
39414 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
39416         * NEWS: Mention BZ #14716.
39417         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
39418         when removing AVAILABLE1_USES_J macro.
39420 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
39422         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
39423         (__bswap_64): __uint64_t for unsigned 64-bit int.
39425 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
39427         * include/string.h (memmem): Declare libc hidden alias.
39428         * string/memmem.c (memmem): Define libc hidden alias.
39429         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
39430         __read, __close instead of open, read, close.
39432 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
39434         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
39435         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
39436         global and hidden.
39437         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
39438         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
39439         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
39440         Likewise.
39441         (__rawmemchr_sse2): Likewise.
39442         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
39443         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
39444         (__strchr_sse2): Likewise.
39445         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
39446         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
39447         (__strcasecmp_sse2): Likewise.
39448         (__strncasecmp_sse2): Likewise.
39449         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
39450         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
39451         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
39452         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
39453         (__strrchr_sse2): Likewise.
39454         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
39455         ifunc-impl-list.c.
39456         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
39457         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
39458         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
39459         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39460         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
39461         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
39462         * sysdeps/x86_64/multiarch/memset.S: Likewise.
39463         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39464         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
39465         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
39466         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
39467         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
39468         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
39469         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
39470         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
39471         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39472         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
39473         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
39474         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
39475         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
39476         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
39477         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
39478         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
39479         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39480         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
39481         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39482         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
39483         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39484         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
39485         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
39487         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
39488         global and hidden.
39489         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
39490         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
39491         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
39492         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
39493         Likewise.
39494         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
39495         Likewise.
39496         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
39497         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
39498         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
39499         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
39500         ifunc-impl-list.c.
39501         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39502         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39503         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39504         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39505         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39506         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39507         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39508         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39509         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39510         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39511         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39512         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39513         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39514         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
39515         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
39516         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39517         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
39518         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
39519         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39520         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39521         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39522         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39523         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39524         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39525         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39526         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
39527         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
39528         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
39529         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
39530         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39531         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
39532         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39533         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39534         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
39535         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39536         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39537         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39538         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39539         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39540         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39541         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
39543         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
39544         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
39545         * include/ifunc-impl-list.h: New file.
39546         * misc/ifunc-impl-list.c: Likewise.
39547         * misc/Makefile (routines): Add ifunc-impl-list.
39548         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
39549         * string/test-string.h: Include <ifunc-impl-list.h>.
39550         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
39551         TEST_NAME]: New variables.
39552         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
39553         are defined.
39554         (test_init): Call __libc_ifunc_impl_list to initialize
39555         func_list if TEST_IFUNC and TEST_NAME are defined.
39557         * string/Makefile (strop-tests): Add bcopy and bzero.
39558         * string/test-bcopy.c: New file.
39559         * string/test-bzero.c: Likewise.
39560         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
39561         defined.
39562         * string/test-memset.c: Support bzero test if TEST_BZERO is
39563         defined.
39564         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
39565         __libc_memmove.
39566         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
39567         __libc_memset.
39568         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
39569         of memset.
39571 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
39573         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
39574         * configure: Regenerated.
39576         * Makeconfig (+link-static-before-libc): Don't include
39577         $(link-static-libc).
39579         * libio/libio.h (_IO_pos_t): Remove.
39581 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
39583         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
39584         McGrath.
39586 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
39588         * crypt/crypt-entry.c: Include fips-private.h.
39589         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
39590         * crypt/md5c-test.c (main): Tolerate disabled MD5.
39591         * sysdeps/unix/sysv/linux/fips-private.h: New file.
39592         * sysdeps/generic/fips-private.h: New file, dummy fallback.
39594 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
39596         * crypt/crypt-private.h: Include stdbool.h.
39597         (_ufc_setup_salt_r): Return bool.
39598         * crypt/crypt-entry.c: Include errno.h.
39599         (__crypt_r): Return NULL with EINVAL for bad salt.
39600         * crypt/crypt_util.c (bad_for_salt): New.
39601         (_ufc_setup_salt_r): Check that salt is long enough and within
39602         the specified alphabet.
39603         * crypt/badsalttest.c: New file.
39604         * crypt/Makefile (tests): Add it.
39605         ($(objpfx)badsalttest): New.
39607 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
39609         * NEWS: Add entry for BZ #14602.
39611 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
39613         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
39614         type-generic.
39615         * math/libm-test.inc: Update comment listing what functions and
39616         macros are tested.
39617         (isgreater_test): New function.
39618         (isgreaterequal_test): Likewise.
39619         (isless_test): Likewise.
39620         (islessequal_test): Likewise.
39621         (islessgreater_test): Likewise.
39622         (isunordered_test): Likewise.
39623         (main): Call the new functions.
39625 2012-10-09  Roland McGrath  <roland@hack.frob.com>
39627         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
39628         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
39629         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
39630         * sysdeps/i386/configure: Regenerated.
39631         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
39632         * sysdeps/mach/configure: Regenerated.
39633         * sysdeps/mach/hurd/configure: Regenerated.
39634         * sysdeps/powerpc/configure: Regenerated.
39635         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39636         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39637         * sysdeps/s390/s390-32/configure: Regenerated.
39638         * sysdeps/s390/s390-64/configure: Regenerated.
39639         * sysdeps/sh/configure: Regenerated.
39640         * sysdeps/sparc/configure: Regenerated.
39641         * sysdeps/unix/sysv/linux/configure: Regenerated.
39642         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
39643         * sysdeps/x86_64/configure: Regenerated.
39645         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
39646         defined.  Don't check if MAP is NULL.
39648 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
39650         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
39651         (_G_stat64): Likewise.
39652         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
39653         (_G_stat64): Likewise.
39654         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
39655         instead of struct _G_stat64.
39656         * libio/fileops.c (mmap_remap_check): Likewise.
39657         (decide_maybe_mmap): Likewise.
39658         (_IO_new_file_seekoff): Likewise.
39659         (_IO_file_stat): Likewise.
39660         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
39661         _G_off64_t.
39662         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
39663         instead of struct _G_stat64.
39664         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
39666 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
39668         [BZ #14602]
39669         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39670         Replace with ...
39671         (CHECK_EOL): New macro.
39672         (two_way_short_needle): Check beginning of haystack for EOL.  Use
39673         CHECK_EOL.
39674         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39675         Replace with CHECK_EOL.
39676         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39677         Replace with CHECK_EOL.
39679 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
39681         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
39682         type-generic.
39683         * math/libm-test.inc: Update comment listing what functions and
39684         macros are tested.
39685         (finite_test): New function.
39686         (isinf_test): Likewise.
39687         (isnan_test): Likewise.
39688         (fpclassify_test): Test subnormal input.
39689         (isfinite_test): Likewise.
39690         (isnormal_test): Likewise.
39691         (main): Call the new functions.
39693 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
39695         [BZ #14660]
39696         * Makerules (%.dynsym): Force C locale when running
39697         $(OBJDUMP) --dynamic-syms.
39699 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
39701         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
39702         <stdint.h>.
39704 2012-10-06  David S. Miller  <davem@davemloft.net>
39706         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
39707         upper 32-bits of the length value in %o2 since we use branch-on-register
39708         tests which consider the entire 64-bit register.
39710 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
39712         * string/test-strstr.c (check2): Add a test for page boundary.
39714 2012-10-05  David S. Miller  <davem@davemloft.net>
39716         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
39717         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
39718         file.
39719         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39720         sysdep_routines.
39721         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
39722         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
39723         and bzero when HWCAP_SPARC_CRYPTO is present.
39725 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
39727         [BZ #14602]
39728         * string/test-strstr.c (check2): New function.
39729         (test_main): Call check2.
39731         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
39732         and bug-strchr1.
39733         * string/bug-strcasestr1.c (do_test): Moved to ...
39734         * string/test-strcasestr.c (check1): Here.  New function.
39735         (do_one_test): Break out result checking code into ...
39736         (check_result): This.  New function.
39737         (do_one_test): Call check_result.
39738         (test_main): Call check1.
39739         * string/bug-strchr1.c (do_test): Moved to ...
39740         * string/test-strchr.c (check1): Here.  New function.
39741         (do_one_test): Break out result checking code into ...
39742         (check_result): This.  New function.
39743         (do_one_test): Call check_result.
39744         (test_main): Call check1.
39745         * string/bug-strstr1.c (main): Moved to ...
39746         * string/test-strstr.c (check1): Here.  New function.
39747         (do_one_test): Break out result checking code into ...
39748         (check_result): This.  New function.
39749         (do_one_test): Call check_result.
39750         (test_main): Call check1.
39751         * string/bug-strcasestr1.c: Removed.
39752         * string/bug-strchr1.c: Likewise.
39753         * string/bug-strstr1.c: Likewise.
39755         * elf/Makefile (dl-routines): Add hwcaps.
39756         * elf/dl-support.c (_dl_important_hwcaps): Removed.
39757         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
39758         (_dl_important_hwcaps): Moved to ...
39759         * elf/dl-hwcaps.c: Here.  New file.
39760         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
39762         [BZ #14557]
39763         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
39764         if IS_IN_rtld isn't defined.
39766         * elf/dl-support.c (_dl_sysinfo_map): New.
39767         Include "get-dynamic-info.h" and "setup-vdso.h".
39768         (_dl_non_dynamic_init): Call setup_vdso.
39769         * elf/dynamic-link.h: Don't include <assert.h>.
39770         (elf_get_dynamic_info): Moved to ...
39771         * elf/get-dynamic-info.h: Here.  New file.
39772         * elf/dynamic-link.h: Include "get-dynamic-info.h".
39773         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
39774         * elf/setup-vdso.h: Here.  New file.
39775         * elf/rtld.c: Include "setup-vdso.h".
39776         (dl_main): Call setup_vdso.
39778 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
39780         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
39781         creal in comment listing functions tested.  List finite, isinf,
39782         isnan, isless, islessequal, isgreater, isgreaterequal,
39783         islessgreater, isunordered, lgamma_r and pow10 as functions and
39784         macros not tested.  Mention which functions not tested are aliases
39785         for other functions.  Fix typo.  Note that signs of NaNs are not
39786         tested.
39788         * scripts/config.guess: Update from config.git.
39789         * scripts/config.sub: Likewise.
39791 2012-10-04  Roland McGrath  <roland@hack.frob.com>
39793         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
39794         * misc/madvise.c (madvise): Renamed to __madvise.
39795         Make madvise a weak alias.
39796         * include/sys/mman.h: Declare __madvise.
39797         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
39798         * sysdeps/unix/syscalls.list
39799         (madvise): Make __madvise the strong name, and madvise a weak alias.
39800         * sysdeps/unix/sysv/linux/syscalls.list
39801         (madvise, mmap): Remove redundant entries.
39802         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
39803         * malloc/malloc.c (mtrim): Likewise.
39804         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
39806 2012-10-03  Roland McGrath  <roland@hack.frob.com>
39808         * sysdeps/mach/hurd/dl-cache.c: File removed.
39809         * config.h.in (USE_LDCONFIG): New #undef.
39810         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
39811         * configure: Regenerated.
39812         * elf/Makefile (dl-routines): Add dl-cache only under
39813         [$(use-ldconfig) = yes].
39814         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
39815         cache on [USE_LDCONFIG].
39816         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
39817         [USE_LDCONFIG].
39818         * elf/rtld.c (dl_main): Likewise.
39820 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
39822         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
39823         _SC_LEVEL4_CACHE_LINESIZE.
39825 2012-10-03  Roland McGrath  <roland@hack.frob.com>
39827         * sysdeps/unix/bsd/confstr.h: File removed.
39829 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
39831         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
39832         sys/sdt-config.h.
39834 2012-10-02  Roland McGrath  <roland@hack.frob.com>
39836         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
39837         Make 'mapoff' field ElfW(Off) rather than off_t.
39839 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
39841         * nscd/Makefile: Remove nscd-cflags and all its users.
39842         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
39843         (CFLAGS-nonlib): Add compiler flags for nscd modules.
39845         [BZ #10631]
39846         * malloc.c (malloc_printerr): Clarify error message.
39848 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
39850         [BZ #14648]
39851         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39852         Set bit_FMA_Usable if FMA is supported.
39853         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
39854         macro.
39855         (bit_FMA4_Usable): Updated.
39856         (index_FMA_Usable): New macro.
39857         (CPUID_FMA): Likewise
39858         (HAS_FMA): Defined with bit_FMA_Usable.
39860 2012-10-01  Roland McGrath  <roland@hack.frob.com>
39862         * bits/types.h (__swblk_t): Type removed.
39863         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
39864         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
39865         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39866         (__SWBLK_T_TYPE): Likewise.
39867         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39868         (__SWBLK_T_TYPE): Likewise.
39869         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39870         (__SWBLK_T_TYPE): Likewise.
39871         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39872         (__SWBLK_T_TYPE): Likewise.
39874 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
39875             Honza Horak <hhorak@redhat.com>
39877         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
39878         (xdr_mapname): Use YPMAXMAP as maxsize.
39879         (xdr_peername): Use YPMAXPEER as maxsize.
39880         (xdr_keydat): Use YPAXRECORD as maxsize.
39881         (xdr_valdat): Use YPMAXRECORD as maxsize.
39883 2012-10-01  Roland McGrath  <roland@hack.frob.com>
39885         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
39887         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
39888         * csu/init-first.c: ... here.
39889         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
39890         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
39891         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
39892         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
39893         * sysdeps/i386/init-first.c: File removed.
39894         * sysdeps/sh/init-first.c: File removed.
39896 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
39898         [BZ #14645]
39899         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
39900         if x * y might underflow to zero and z is zero.
39901         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39902         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39903         * math/libm-test.inc (min_subnorm_value): New variable.
39904         (fma_test): Add more tests.
39905         (fma_test_towardzero): Likewise.
39906         (fma_test_downward): Likewise
39907         (fma_test_upward): Likewise.
39908         (initialize): Set min_subnorm_value.
39910 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
39912         [BZ #14638]
39913         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
39914         0 + 0.
39915         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
39916         mode for addition resulting in exact zero.
39917         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
39918         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
39919         exact 0 + 0.
39920         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39921         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39922         * math/libm-test.inc (fma_test): Add more tests.
39923         (fma_test_towardzero): New function.
39924         (fma_test_downward): Likewise.
39925         (fma_test_upward): Likewise.
39926         (main): Call the new functions.
39928 2012-09-28  David S. Miller  <davem@davemloft.net>
39930         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
39932 2012-09-28  Roland McGrath  <roland@hack.frob.com>
39934         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
39935         instead of SIGALRM.
39937         * sysdeps/gnu/_G_config.h: Moved to ...
39938         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
39939         * sysdeps/mach/hurd/_G_config.h: Moved to ...
39940         * sysdeps/generic/_G_config.h: ... here.
39942         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
39944         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
39946         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
39947         Conditionalize target on [libnss_test1.so-version].
39949         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
39951         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
39952         (elfobjdir): Move out of conditionals.
39954         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
39955         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
39956         (__nss_lookup_function): Conditionalize label remove_from_tree on
39957         [!DO_STATIC_NSS || SHARED], matching its only use.
39959 2012-09-28  David S. Miller  <davem@davemloft.net>
39961         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
39962         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
39963         file.
39964         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39965         sysdep_routines.
39966         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
39967         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
39968         when HWCAP_SPARC_CRYPTO is present.
39970 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
39972         * io/tst-mknodat.c: Create a FIFO instead of a socket.
39974 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
39976         [BZ #6530]
39977         * stdio-common/vfprintf.c (process_string_arg): Revert
39978         2000-07-22 change.
39980 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
39982         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
39983         for testcase.
39984         * stdio-common/tst-sprintf.c: Include <locale.h>
39985         (main): Test sprintf's handling of incomplete multibyte
39986         characters.
39988 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
39990         * elf/dl-runtime.c (VERSYMIDX): Removed.
39991         * elf/dl-version.c (VERSYMIDX): Likewise.
39992         * elf/do-rel.h (VERSYMIDX): Likewise.
39993         (VALIDX): Likewise.
39994         * elf/dynamic-link.h (VERSYMIDX): Likewise.
39995         * elf/rtld.c (VALIDX): Likewise.
39996         (ADDRIDX): Likewise.
39997         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
39998         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
39999         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
40000         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
40001         (VALIDX): Likewise.
40002         (ADDRIDX): Likewise.
40004 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
40006         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
40008 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
40010         [BZ #11438]
40011         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
40012         to global scope.
40013         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
40014         addresses are in the same scope as 192.0.2/24.
40015         * posix/gai.conf: Document new scope table defaults.
40017 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40019         [BZ #5298]
40020         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
40021         for ftell.  Compute offsets from write pointers instead.
40022         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40024 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40026         [BZ #14543]
40027         * libio/Makefile (tests): New test case tst-fseek.
40028         * libio/tst-fseek.c: New test case to verify that fseek/ftell
40029         combination works in wide mode.
40030         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
40031         state when the external buffer state changes.
40033 2012-09-27  David S. Miller  <davem@davemloft.net>
40035         [BZ #14376]
40036         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
40037         pass reloc->r_addend in as the 'high' argument to
40038         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
40040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40042 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
40044         * rt/tst-aio2.c: Include <pthread.h>.
40045         * rt/tst-aio3.c: Likewise.
40047 2012-09-27  Steve Ellcey  <sellcey@mips.com>
40049         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
40051 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
40053         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
40054         contents on [SHARED].
40056 2012-09-26  Marek Polacek  <polacek@redhat.com>
40058         [BZ #14530]
40059         [BZ #13741]
40060         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
40061         for C++ and GCC <4.3 as well as for non GCC compilers.
40063 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
40065         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40067 2012-09-25  Roland McGrath  <roland@hack.frob.com>
40069         * Makefile.in (all, install): Declare with .PHONY.
40070         Reported by Michael Hope <michael.hope@linaro.org>.
40072 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40074         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
40075         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
40076         system header.
40077         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
40078         Likewise.
40079         (sydep_routines): Add the new and the internal functions.
40080         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
40081         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
40082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
40083         (GLIBC_2.17): Add the new function.
40084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40085         (GLIBC_2.17): Likewise.
40086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
40087         (GLIBC_2.17): Likewise.
40088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
40089         (GLIBC_2.17): Likewise.
40090         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
40092 2012-09-25  Alan Modra  <amodra@gmail.com>
40094         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
40095         Add release barrier before setting once_control to say
40096         initialisation is done.  Add hints on lwarx.  Use macro in
40097         place of isync.
40098         (clear_once_control): Add release barrier.
40100 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
40102         [BZ #13629]
40103         * math/s_clog.c (__clog): Handle more values close to |z| = 1
40104         specially.
40105         * math/s_clog10.c (__clog10): Likewise.
40106         * math/s_clog10f.c (__clog10f): Likewise.
40107         * math/s_clog10l.c (__clog10l): Likewise.
40108         * math/s_clogf.c (__clogf): Likewise.
40109         * math/s_clogl.c (__clogl): Likewise.
40110         * math/Makefile (libm-calls): Add x2y2m1.
40111         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
40112         (__x2y2m1): Likewise.
40113         (__x2y2m1l): Likewise.
40114         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
40115         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
40116         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
40117         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40118         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
40119         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
40120         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
40121         * sysdeps/i386/fpu/libm-test-ulps: Update.
40122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40124         [BZ #14621]
40125         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
40126         int as type of variable DEPTH.
40127         (glob): Use size_t instead of int as type of variables NEWCOUNT
40128         and OLD_PATHC.
40130 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40132         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40133         Add s_sincosf-sse2.
40134         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
40135         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
40136         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
40137         macros for using routine as __sincosf_ia32.
40138         Use macro for function declaration and weak_alias.
40139         * sysdeps/i386/fpu/libm-test-ulps: Update.
40141         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
40142         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40144         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
40145         subnormal argument.
40146         * math/s_cexpf.c (__cexpf): Likewise.
40147         * math/s_csinf.c (__csinf): Likewise.
40148         * math/s_csinhf.c (__csinhf): Likewise.
40149         * math/s_ctanf.c (__ctanf): Likewise.
40150         * math/s_ctanhf.c (__ctanhf): Likewise.
40151         * math/s_ccosh.c (__ccoshf): Likewise.
40152         * math/s_cexp.c (__cexpl): Likewise.
40153         * math/s_csin.c (__csin): Likewise.
40154         * math/s_csinh.c (__csinh): Likewise.
40155         * math/s_ctan.c (__ctan): Likewise.
40156         * math/s_ctanh.c (ctanh): Likewise.
40157         * math/s_ccoshl.c (__ccoshl): Likewise.
40158         * math/s_cexpl.c (__cexpl): Likewise.
40159         * math/s_csinl.c (__csinl): Likewise.
40160         * math/s_csinhl.c (__csinhl): Likewise.
40161         * math/s_ctanl.c (__ctanl): Likewise.
40162         * math/s_ctanhl.c (__ctanhl): Likewise.
40164 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
40166         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
40167         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
40168         (_IO_off_t): Define to __off_t, not _G_off_t.
40169         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
40170         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
40171         (_IO_wint_t): Define to wint_t, not _G_wint_t.
40172         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
40173         type of __dummy and __dummy2 fields.
40174         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
40175         (_G_ssize_t): Likewise.
40176         (_G_off_t): Likewise.
40177         (_G_pid_t): Likewise.
40178         (_G_uid_t): Likewise.
40179         (_G_wchar_t): Likewise.
40180         (_G_wint_t): Likewise.
40181         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
40182         (_G_ssize_t): Likewise.
40183         (_G_off_t): Likewise.
40184         (_G_pid_t): Likewise.
40185         (_G_uid_t): Likewise.
40186         (_G_wchar_t): Likewise.
40187         (_G_wint_t): Likewise.
40188         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
40189         (_G_ssize_t): Likewise.
40190         (_G_off_t): Likewise.
40191         (_G_pid_t): Likewise.
40192         (_G_uid_t): Likewise.
40193         (_G_wchar_t): Likewise.
40194         (_G_wint_t): Likewise.
40196 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40198         * malloc/arena.c: Include malloc-sysdep.h.
40199         (shrink_heap): Use check_may_shrink_heap to decide if madvise
40200         is sufficient to shrink the heap or an unmap is needed.
40201         * sysdeps/generic/malloc-sysdep.h: New file.  Define
40202         new function check_may_shrink_heap.
40203         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
40204         new function check_may_shrink_heap.
40206 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40208         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
40209         comments.
40211 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
40213         * catgets/test-gencat.sh: Add "set -e".
40214         * elf/tst-pathopt.sh: Likewise.
40215         * grp/tst_fgetgrent.sh: Likewise.
40216         * iconvdata/run-iconv-test.sh: Likewise.
40217         * intl/tst-gettext.sh: Likewise.
40218         * intl/tst-gettext2.sh: Likewise.
40219         * intl/tst-gettext4.sh: Likewise.
40220         * intl/tst-gettext6.sh: Likewise.
40221         * intl/tst-translit.sh: Likewise.
40222         * io/ftwtest-sh: Likewise.
40223         * libio/test-freopen.sh: Likewise.
40224         * malloc/tst-mtrace.sh: Likewise.
40225         * posix/globtest.sh: Likewise.
40226         * posix/tst-getconf.sh: Likewise.
40227         * posix/wordexp-tst.sh: Likewise.
40228         * stdio-common/tst-printf.sh: Likewise.
40229         * stdio-common/tst-unbputc.sh: Likewise.
40230         * stdlib/tst-fmtmsg.sh: Likewise.
40231         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40232         * catgets/Makefile: Do not specify -e option when running
40233         testsuite shell scripts.
40234         * elf/Makefile: Likewise.
40235         * grp/Makefile: Likewise.
40236         * iconvdata/Makefile: Likewise.
40237         * intl/Makefile: Likewise.
40238         * io/Makefile: Likewise.
40239         * libio/Makefile: Likewise.
40240         * malloc/Makefile: Likewise.
40241         * posix/Makefile: Likewise.
40242         * stdio-common/Makefile: Likewise.
40243         * stdlib/Makefile: Likewise.
40244         * sysdeps/x86_64/Makefile: Likewise.
40246         * io/ftwtest-sh: Add copyright header.
40247         * posix/globtest.sh: Likewise.
40248         * posix/tst-getconf.sh: Likewise.
40249         * posix/wordexp-tst.sh: Likewise.
40250         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40252 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
40254         [BZ #13679]
40255         * Makeconfig (+link): Defined as $(+link-static) if
40256         $(build-shared) isn't yes.
40257         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
40258         isn't yes.
40259         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
40261         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
40263         [BZ #14562]
40264         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
40265         new chunk size with MALLOC_ALIGN_MASK.
40267 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
40269         [BZ #5044]
40270         * stdio-common/printf_fphex.c: Include <stdbool.h> and
40271         <rounding-mode.h>.
40272         (__printf_fphex): Determine rounding using get_rounding_mode and
40273         round_away.
40274         * stdio-common/tst-printf-round.c (struct hex_test): New
40275         structure.
40276         (hex_tests): New variable.
40277         (test_hex_in_one_mode): New function.
40278         (do_test): Also run tests for hex float output.
40280 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
40282         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40283         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40284         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
40285         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40286         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40287         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
40288         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40289         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40291 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
40293         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
40294         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
40295         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
40296         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
40298 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
40300         [BZ #14579]
40301         * elf/rtld.c (dl_main): Limit the check for self loading to normal
40302         mode only.
40303         * elf/tst-rtld-load-self.sh: New test.
40304         * elf/Makefile: Run it.
40306 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
40308         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
40309         (tst-writev-ENV): Remove.
40310         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
40312 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
40314         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
40316 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
40318         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
40319         unconditional.
40320         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
40321         Likewise.
40322         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
40323         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
40324         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
40325         Likewise.
40327 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
40329         [BZ #14587]
40330         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
40331         * config.make.in (have-cpp-asm-debuginfo): Removed.
40332         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
40333         * configure: Regenerated.
40335 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
40337         [BZ #5044]
40338         * stdio-common/printf_fp.c: Include <stdbool.h> and
40339         <rounding-mode.h>.
40340         (___printf_fp): Determine rounding using get_rounding_mode and
40341         round_away.
40342         * stdio-common/tst-printf-round.c: New file.
40343         * stdio-common/Makefile (tests): Add tst-printf-round.
40344         (link-libm): New variable.
40345         ($(objpfx)tst-printf-round): Depend in $(link-libm).
40347 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
40349         [BZ #14576]
40350         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
40351         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
40352         Likewise.
40353         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
40354         Likewise.
40356 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
40358         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
40359         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40360         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40361         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40363 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
40365         [BZ #14518]
40366         * include/rounding-mode.h: New file.
40367         * sysdeps/generic/get-rounding-mode.h: Likewise.
40368         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
40369         * stdlib/strtod_l.c: Include <rounding-mode.h>.
40370         (MAX_VALUE): New macro.
40371         (MIN_VALUE): Likewise.
40372         (overflow_value): New function.
40373         (underflow_value): Likewise.
40374         (round_and_return): Use overflow_value and underflow_value to
40375         determine return values in overflow and underflow cases.  Use
40376         round_away to determine rounding depending on rounding mode.
40377         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
40378         determine return values in overflow and underflow cases.
40379         * stdlib/tst-strtod-round.c: Include <fenv.h>.
40380         (struct test_results): New structure.
40381         (struct test): Use struct test_results to store expected results
40382         for all rounding modes.
40383         (TEST): Include expected results for all rounding modes.
40384         (test_in_one_mode): New function.
40385         (do_test): Use test_in_one_mode to compute and check results.
40386         Check results for all rounding modes.
40387         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
40388         $(link-libm).
40390 2012-12-09  Allan McRae  <allan@archlinux.org>
40392         * sysdeps/i386/fpu/libm-test-ulps: Update
40394 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
40396         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
40397         (_G_int32_t): Likewise.
40398         (_G_uint16_t): Likewise.
40399         (_G_uint32_t): Likewise.
40400         (_G_HAVE_BOOL): Likewise.
40401         (_G_HAVE_ATEXIT): Likewise.
40402         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40403         (_G_HAVE_IO_FILE_OPEN): Likewise.
40404         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
40405         (_G_int32_t): Likewise.
40406         (_G_uint16_t): Likewise.
40407         (_G_uint32_t): Likewise.
40408         (_G_HAVE_BOOL): Likewise.
40409         (_G_HAVE_ATEXIT): Likewise.
40410         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40411         (_G_HAVE_IO_FILE_OPEN): Likewise.
40412         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
40413         (_G_int32_t): Likewise.
40414         (_G_uint16_t): Likewise.
40415         (_G_uint32_t): Likewise.
40416         (_G_HAVE_BOOL): Likewise.
40417         (_G_HAVE_ATEXIT): Likewise.
40418         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40419         (_G_HAVE_IO_FILE_OPEN): Likewise.
40421 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
40423         * csu/libc-tls.c: Update copyright years.
40425 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
40427         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
40428         [!_G_USING_THUNKS]: Remove conditional code.
40429         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
40430         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
40432         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
40433         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
40434         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40435         (_G_VTABLE_LABEL_PREFIX): Likewise.
40436         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40437         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40438         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40439         (_G_VTABLE_LABEL_PREFIX): Likewise.
40440         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
40441         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40442         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40443         (_G_VTABLE_LABEL_PREFIX): Likewise.
40444         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
40446 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
40448         * libio/Makefile: Include ../Makeconfig before tests.
40449         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
40450         only if $(build-shared) is yes.
40452         * iconv/gconv_db.c: Update copyright years.
40454 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40456         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
40457         unwind info if defined PIC. Fix special cases description.
40458         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
40460         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
40461         DP_HI_MASK entry.
40462         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
40464 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
40466         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
40468         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
40469         is NULL.
40471         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
40472         (LDLIBS-tst-chk4): This.
40473         (LDFLAGS-tst-chk5): Renamed to ...
40474         (LDLIBS-tst-chk5): This.
40475         (LDFLAGS-tst-chk6): Renamed to ...
40476         (LDLIBS-tst-chk6): This.
40477         (LDFLAGS-tst-lfschk4): Renamed to ...
40478         (LDLIBS-tst-lfschk4): This.
40479         (LDFLAGS-tst-lfschk5): Renamed to ...
40480         (LDLIBS-tst-lfschk5): This.
40481         (LDFLAGS-tst-lfschk6): Renamed to ...
40482         (LDLIBS-tst-lfschk6): This.
40484         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
40485         on $(common-objpfx)soversions.mk.
40487 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
40489         [BZ #10014]
40490         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
40491         example host name.
40493 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
40495         * malloc/arena.c (arena_get_retry): New function that gets
40496         another arena for the caller to try its request on.
40497         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
40498         current arena cannot fulfill the request.
40499         (__libc_memalign): Likewise.
40500         (__libc_memalign): Likewise.
40501         (__libc_pvalloc): Likewise.
40502         (__libc_calloc): Likewise.
40504 2012-09-05  John Tobey  <john.tobey@gmail.com>
40506         [BZ #13542]
40507         * manual/arith.texi (Operations on Complex): Fix description
40508         of carg branch cut.
40510 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
40512         [BZ #10014]
40513         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
40514         host name.
40516         [BZ #10038]
40517         * manual/memory.texi (Memory): Make order of menu items match
40518         order of sections.
40520 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
40522         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
40523         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
40524         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
40526 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
40528         * csu/libc-tls.c (static_dtv): Renamed to ...
40529         (_dl_static_dtv): This.  Make it global.
40530         (_dl_initial_dtv): Removed.
40531         (__libc_setup_tls): Updated.
40532         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
40533         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
40534         DL_INITIAL_DTV.
40536 2012-09-06  Petr Machata  <pmachata@redhat.com>
40538         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
40539         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
40540         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
40541         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
40543 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
40545         [BZ #14545]
40546         * csu/libc-tls.c (_dl_initial_dtv): New variable.
40547         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
40548         freeing dtv[-1].
40550 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
40552         [BZ #14544]
40553         * Makeconfig (link-static-before-libc): Replace $(+prector)
40554         with $(+prectorT).
40555         (link-static-after-libc): Replace $(+postctor) with
40556         $(+postctorT).
40557         (link-bounded): Replace $(+prector)/$(+postctor) with
40558         $(+prectorT)/$(+postctorT).
40559         (+prectorT): New macro.
40560         (+postctorT): Likewise.
40562 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
40564         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
40565         (round_str): Handle values above the maximum for IBM long double
40566         as inexact.
40567         * stdlib/tst-strtod-round.c (tests): Regenerated.
40569 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40571         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
40572         assembler flag.
40573         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
40574         zarch_nohighgprs around the zarch optimized routines.
40575         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
40576         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
40577         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
40578         for zarch.
40580 2012-09-05  David S. Miller  <davem@davemloft.net>
40582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40584         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
40585         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
40586         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
40587         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40588         entries.
40590 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40592         * malloc/arena.c: Fold copyright years.
40593         * malloc/mcheck.c, malloc/memusage.c: Likewise.
40595 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40597         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
40599 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40601         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
40603 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40605         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
40606         change internal state upon failure.
40608 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40610         * malloc/mcheck.c (mcheck_check_all): Fix typo.
40611         * malloc/memusage.c (mmap): Likewise.
40612         (mmap64, mremap): Likewise.  Adjust name in comment.
40614 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40616         * libio/fileops.c: Fix typos in comments.
40617         * libio/oldfileops.c: Likewise.
40618         * libio/wfileops.c: Likewise.
40620 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40622         [BZ #1349]
40623         * malloc/Makefile (tests): Add tst-malloc-usable test case.
40624         (tst-malloc-usable-ENV): Set environment for test case.
40625         * malloc/hooks.c (malloc_check_get_size): New function to get
40626         requested size.
40627         * malloc/malloc.c (musable): Use malloc_check_get_size.
40628         * malloc/tst-malloc-usable.c: New test case.
40630 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
40632         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
40634 2012-09-05  Allan McRae  <allan@archlinux.org>
40636         [BZ #13966]
40637         * configure.in (CXX_SYSINCLUDES): Use compiler output to
40638         determine header location.
40639         * configure: Regenerated.
40641 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
40643         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
40644         float format.
40645         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
40646         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
40647         format.
40648         (test): Regenerate.
40650 2012-09-04  David S. Miller  <davem@davemloft.net>
40652         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
40653         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
40654         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
40656 2012-09-04  Florian Weimer  <fweimer@redhat.com>
40658         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
40659         failures.
40661         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
40663 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
40665         [BZ #9914]
40666         * libio/iogetdelim.c: Include <limits.h>.
40667         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
40668         + len + 1 would overflow.
40670 2012-09-03  Andreas Jaeger  <aj@suse.de>
40672         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40673         * sysdeps/i386/fpu/libm-test-ulps: Update.
40675 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40677         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40678         Add s_sinf-sse2, s_conf-sse2.
40680         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
40681         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
40682         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
40683         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
40685         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
40686         for using routine as __sinf_ia32.
40687         Use macro for function declaration and weak_alias.
40688         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
40689         for using routine as __cosf_ia32.
40690         Use macro for function declaration and weak_alias.
40692         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
40693         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
40695         * sysdeps/x86_64/fpu/s_sinf.S: New file.
40696         * sysdeps/x86_64/fpu/s_cosf.S: New file.
40697         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40699         * math/libm-test.inc (cos_test): Add more test cases.
40700         (sin_test): Likewise.
40701         (sincos_test): Likewise.
40703 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40705         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40706         (IFUNC_RESOLVE): Make pointers to the specialized implementations
40707         hidden.
40708         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40710 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
40712         [BZ #14538]
40713         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
40714         first element of the GOT.
40715         (elf_machine_load_address): Return the difference between
40716         the runtime address of _DYNAMIC and elf_machine_dynamic ().
40718 2012-09-01  Allan McRae  <allan@archlinux.org>
40720         [BZ #13412]
40721         * configure.in (AWK): Require gawk version 3.0 or later.
40722         * configure: Regenerated.
40724 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
40726         * sysdeps/unix/sysv/linux/kernel-features.h
40727         (__ASSUME_POSIX_CPU_TIMERS): Remove.
40728         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40729         [__NR_clock_getres]: Make code unconditional.
40730         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
40731         (clock_getcpuclockid): Remove code left unreachable by removal of
40732         conditionals.
40733         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
40734         code unconditional.
40735         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
40736         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40737         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
40738         Make code unconditional.
40739         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
40740         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40741         * sysdeps/unix/sysv/linux/clock_settime.c
40742         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
40743         conditional code.
40744         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
40745         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40747 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
40749         [BZ #14476]
40750         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
40751         scripts/test-installation.pl.
40753         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
40754         and $ld_so_version if it is set.
40756 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40758         [BZ #14516]
40759         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
40760         failure if reading from procfs failed.
40761         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
40763 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
40765         * sysdeps/unix/sysv/linux/kernel-features.h
40766         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
40767         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
40768         Remove conditional code.
40769         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40770         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
40771         Remove conditional code.
40772         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40773         * sysdeps/unix/sysv/linux/i386/fxstat.c
40774         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40775         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40776         * sysdeps/unix/sysv/linux/i386/fxstatat.c
40777         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40778         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40779         * sysdeps/unix/sysv/linux/i386/lxstat.c
40780         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40781         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40782         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
40783         Remove conditional code.
40784         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40785         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
40786         Remove conditional code.
40787         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40788         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
40789         <kernel-features.h>.
40790         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
40791         Remove.
40792         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
40793         Remove conditional code.
40794         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40795         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
40796         Remove conditional.
40798 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
40800         [BZ #5400]
40801         * NEWS: Add fixed bug number.
40803 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
40805         [BZ #14519]
40806         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
40807         underflowing exponent in case of negative sign.
40808         * stdlib/tst-strtod-round-data: Add more tests.
40809         * stdlib/tst-strtod-round.c (tests): Regenerated.
40811         [BZ #3479]
40812         * stdlib/strtod_l.c (NDIG): Remove.
40813         (HEXNDIG): Likewise.
40814         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
40815         smallest representable value.
40816         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
40817         lie within an exact representation of 1/2 ulp of the result.
40818         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
40819         unconditionally.
40820         (TENS_P9_IDX): Define unconditionally.
40821         (TENS_P9_SIZE): Likewise.
40822         (TENS_P10_IDX): Likewise.
40823         (TENS_P10_SIZE): Likewise.
40824         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
40825         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
40826         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
40827         entries for 10^2^13 and 10^2^14.
40828         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
40829         (TENS_P13_IDX): Define.
40830         (TENS_P13_SIZE): Likewise.
40831         (TENS_P14_IDX): Likewise.
40832         (TENS_P14_SIZE): Likewise.
40833         (_fpioconst_pow10): Change array size to
40834         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
40835         unconditional.
40836         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
40837         1024]: Add entries for 10^2^13 and 10^2^14.
40838         [LAST_POW10 > _LAST_POW10]: Remove #error.
40839         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
40840         (_fpioconst_pow10): Change array size to
40841         FPIOCONST_POW10_ARRAY_SIZE.
40842         * stdlib/gen-fpioconst.c: New file.
40843         * stdlib/gen-tst-strtod-round.c: Likewise.
40844         * stdlib/tst-strtod-round-data: Likewise.
40845         * stdlib/tst-strtod-round.c: Likewise.
40846         * stdlib/Makefile (tests): Add tst-strtod-round.
40848         [BZ #14459]
40849         * stdlib/strtod_l.c: Include <stdint.h>.
40850         (NDEBUG): Do not define.
40851         (round_and_return): Change EXPONENT parameter to type intmax_t.
40852         Rearrange calculations to avoid internal overflow possibilities.
40853         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
40854         Rearrange calculations to avoid internal overflow possibilities.
40855         Assert that number fits inside MPNSIZE limbs.
40856         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
40857         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
40858         calculations and add assertions to avoid internal overflow
40859         possibilities.  Add casts to avoid signed/unsigned operations.
40860         * stdlib/tst-strtod-overflow.c: New file.
40861         * stdlib/Makefile (tests): Add tst-strtod-overflow.
40863 2012-08-25  Marek Polacek  <polacek@redhat.com>
40865         * time/time.h: Fix some typos in comments.
40867 2012-08-23  Roland McGrath  <roland@hack.frob.com>
40869         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
40870         * posix/tst-rfc3484-2.c: Likewise.
40871         * posix/tst-rfc3484-3.c: Likewise.
40873 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
40875         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
40876         (EF_ARM_ABI_FLOAT_HARD): Likewise.
40878 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
40880         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
40881         #include of fxstatat64.c.
40883 2012-08-22  Roland McGrath  <roland@hack.frob.com>
40885         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
40886         * shadow/getspent_r.c: Likewise.
40887         * shadow/getspnam.c: Likewise.
40888         * shadow/getspnam_r.c: Likewise.
40889         * gshadow/getsgent.c: Likewise.
40890         * gshadow/getsgent_r.c: Likewise.
40891         * gshadow/getsgnam.c: Likewise.
40892         * gshadow/getsgnam_r.c: Likewise.
40893         * inet/getnetbyad.c: Likewise.
40894         * inet/getnetbyad_r.c: Likewise.
40895         * inet/getnetbynm.c: Likewise.
40896         * inet/getnetbynm_r.c: Likewise.
40897         * inet/getnetent.c: Likewise.
40898         * inet/getnetent_r.c: Likewise.
40899         * inet/getproto.c: Likewise.
40900         * inet/getproto_r.c: Likewise.
40901         * inet/getprtent.c: Likewise.
40902         * inet/getprtent_r.c: Likewise.
40903         * inet/getprtname.c: Likewise.
40904         * inet/getprtname_r.c: Likewise.
40905         * inet/getrpcbyname.c: Likewise.
40906         * inet/getrpcbyname_r.c: Likewise.
40907         * inet/getrpcbynumber.c: Likewise.
40908         * inet/getrpcbynumber_r.c: Likewise.
40909         * inet/getrpcent.c: Likewise.
40910         * inet/getrpcent_r.c: Likewise.
40911         * inet/getaliasent.c: Likewise.
40912         * inet/getaliasent_r.c: Likewise.
40913         * inet/getaliasname.c: Likewise.
40914         * inet/getaliasname_r.c: Likewise.
40915         * nscd/getgrgid_r.c: Likewise.
40916         * nscd/getgrnam_r.c: Likewise.
40917         * nscd/gethstbyad_r.c: Likewise.
40918         * nscd/gethstbynm3_r.c: Likewise.
40919         * nscd/getpwnam_r.c: Likewise.
40920         * nscd/getpwuid_r.c: Likewise.
40921         * nscd/getsrvbynm_r.c: Likewise.
40922         * nscd/getsrvbypt_r.c: Likewise.
40923         * nscd/gai.c: Likewise.
40925         * configure.in (build_nscd): New substituted variable, set
40926         by --disable-build-nscd and defaults to $use_nscd.
40927         * configure: Regenerated.
40928         * config.make.in (build-nscd): New substituted variable.
40929         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
40930         Change conditional to require [$(build-nscd) = yes] as well.
40931         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
40933         [BZ# 13696]
40934         * configure.in (use_nscd): New substituted variable, set by
40935         --disable-nscd.  If enabled, define USE_NSCD.
40936         * configure: Regenerated.
40937         * config.h.in: Add USE_NSCD.
40938         * config.make.in (use-nscd): New substituted variable.
40939         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
40940         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
40941         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
40942         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
40943         (CFLAGS-getgrnam_r.c): Likewise.
40944         (CFLAGS-initgroups.c): Likewise.
40945         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
40946         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
40947         Variables removed.
40948         * inet/getnetgrent_r.c
40949         (nscd_setnetgrent): New function, broken out of ...
40950         (setnetgrent): ... here.  Call it.
40951         (innetgr): Conditionalize nscd bits on [USE_NSCD].
40952         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
40953         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
40954         * nscd/Makefile (routines, aux): Move definitions after include of
40955         Makeconfig.  Conditionalize on [$(use-nscd) != no].
40956         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
40957         Conditionalize on [USE_NSCD].
40958         (is_nscd, nscd_init_cb): Likewise.
40959         (nss_load_library): Conditionalize init callback on [USE_NSCD].
40960         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
40961         * nss/nss_db/db-init.c: Likewise.
40962         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
40963         [USE_NSCD].
40964         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
40965         (make_request): Use it.
40966         (cache_valid_p): New function.
40967         (__check_pf): Use it.
40968         * NEWS: Add item for --disable-nscd.
40970 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
40972         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
40973         to support sed >= 4.2.1-20-ga9bf076.
40974         * configure: Regenerated.
40976 2012-08-22  Roland McGrath  <roland@hack.frob.com>
40978         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
40979         Conditionalize whole body on [IREL].
40981 2012-08-22  Jeff Law <law@redhat.com>
40983         [BZ #14505]
40984         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
40985         if the family is PF_UNSPEC.
40987 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
40989         * Makerules (lib-version): Rename from V.
40990         (install-lib-nosubdir): Change V to lib-version.
40992 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
40994         [BZ #14252]
40995         * powerpc32/power6/wcschr.c: New file.
40996         * powerpc32/power6/wcscpy.c: New file.
40997         * powerpc32/power6/wcsrchr.c: New file.
40998         * powerpc64/power6/wcschr.c: New file.
40999         * powerpc64/power6/wcscpy.c: New file.
41000         * powerpc64/power6/wcsrchr.c: New file.
41002 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
41004         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
41005         (two_way_short_needle): Use it.
41006         * string/strstr.c (AVAILABLE1_USES_J): Define.
41007         * string/strcasestr.c: Likewise.
41009         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
41010         array references.
41011         * string/strcasestr.c (TOLOWER): Make side-effect safe.
41013         [BZ #11607]
41014         * NEWS: Add an entry.
41015         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
41016         define their defaults.
41017         (two_way_short_needle): Detect end-of-string on-the-fly.
41018         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
41019         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
41020         * string/bug-strcasestr1.c: New test.
41021         * string/Makefile: Run it.
41023 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
41025         [BZ #11607]
41026         * string/str-two-way.h (two_way_short_needle): Optimize matching of
41027         the first character.
41029 2012-08-21  Roland McGrath  <roland@hack.frob.com>
41031         * csu/elf-init.c (__libc_csu_irel): Function removed.
41032         * csu/libc-start.c (apply_irel): New function.
41033         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
41035 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
41037         * sysdeps/unix/sysv/linux/kernel-features.h
41038         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
41039         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
41040         <kernel-features.h>.
41041         [__NR_fadvise64_64]: Make code unconditional.
41042         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
41043         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41044         !__NR_fadvise64_64)]: Likewise.
41045         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41046         !__NR_fadvise64_64))]: Likewise.
41047         [__NR_fadvise64]: Make code unconditional.
41048         [!__NR_fadvise64]: Remove conditional code.
41049         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
41050         <kernel-features.h>.
41051         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41052         unconditional.
41053         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41054         conditional code.
41055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
41056         not include <kernel-features.h>.
41057         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41058         unconditional.
41059         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41060         conditional code.
41061         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
41062         include <kernel-features.h>.
41063         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41064         unconditional.
41065         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41066         conditional code.
41068 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41070         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
41071         slight instruction rearrangements per scrollpipe analysis.
41072         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41074 2012-08-20  Roland McGrath  <roland@hack.frob.com>
41076         * manual/syslog.texi (syslog; vsyslog, closelog):
41077         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
41078         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
41080         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
41081         DSOCAPS to match condition on defining it.
41083 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
41085         * sysdeps/unix/sysv/linux/kernel-features.h
41086         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
41087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
41088         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41089         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
41091         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41092         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
41094         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41095         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41097         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
41098         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
41100         * sysdeps/unix/sysv/linux/kernel-features.h
41101         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
41102         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
41103         unconditional.
41104         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41105         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
41106         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41107         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41108         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
41109         Make code unconditional.
41110         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41111         (__mmap64) [!__NR_mmap2]: Likewise.
41112         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
41113         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41114         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41115         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
41116         [__NR_mmap2]: Make code unconditional.
41117         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41118         (__mmap64) [!__NR_mmap2]: Likewise.
41120 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41122         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
41124 2012-08-18  Andreas Jaeger  <aj@suse.de>
41126         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
41128 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
41130         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
41131         * include/unistd.h (__have_sock_cloexec): Likewise.
41132         (__have_pipe2): Likewise.
41133         (__have_dup3): Likewise.
41135 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
41137         [BZ #9685]
41138         * include/unistd.h (__have_pipe2): Change define into an extern int.
41139         (__have_dup3): Likewise.
41140         * socket/have_sock_cloexec.c: Include fcntl.h.
41141         (__have_pipe2): New variable.
41142         (__have_dup3): Likewise.
41144 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
41146         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
41148 2012-08-17  Marek Polacek  <polacek@redhat.com>
41150         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
41151         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
41153 2012-08-17  Roland McGrath  <roland@hack.frob.com>
41155         * configure.in: Add AC_SUBST for sysheaders.
41156         * configure: Regenerated.
41157         * config.make.in (sysheaders): New substituted variable.
41159         * sysdeps/unix/mkfifo.c: Moved ...
41160         * sysdeps/posix/mkfifo.c: ... here.
41161         * sysdeps/unix/mkfifoat.c: Moved ...
41162         * sysdeps/posix/mkfifoat.c: ... here.
41164         * sysdeps/unix/utime.c: Moved ...
41165         * sysdeps/posix/utime.c: ... here.
41167         * sysdeps/unix/time.c: Moved ...
41168         * sysdeps/posix/time.c: ... here.
41169         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
41170         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
41172         * sysdeps/unix/nice.c: Moved ...
41173         * sysdeps/posix/nice.c: ... here.
41175         * sysdeps/unix/alarm.c: Moved ...
41176         * sysdeps/posix/alarm.c: ... here.
41178         * intl/Makefile ($(codeset_mo)): Depend on the input file.
41180 2012-08-17  Jeff Law <law@redhat.com>
41182         * intl/Makefile (codeset_mo): New variable.
41183         ($(codeset_mo)): New target.
41184         (tst-codeset.out): Depend on that.  Remove explicit rule.
41185         (tst-gettext3.out, tst-gettext5.out): Likewise.
41186         (LOCPATH-ENV, tst-codeset-ENV): New variables.
41187         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
41188         * intl/tst-codeset.sh: Remove.
41189         * intl/tst-gettext3.sh: Likewise.
41190         * intl/tst-gettext5.sh: Likewise.
41192 2012-08-17  Roland McGrath  <roland@hack.frob.com>
41194         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
41195         * sysdeps/unix/syscalls.list: ... here.
41197         * sysdeps/posix/getaddrinfo.c
41198         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
41199         (gaiconf_init, gaiconf_reload): Use them.
41200         [!_STATBUF_ST_NSEC]
41201         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
41202         Define using time_t rather than struct timespec.
41204         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
41205         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
41206         Macros removed.
41207         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
41208         [!NO_THREADS].
41209         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
41210         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
41211         Likewise.
41213         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
41214         __libc_cleanup_push argument.
41216         * bits/param.h: New file.
41217         * misc/sys/param.h: New file.
41218         * include/sys/param.h: New file.
41219         * misc/Makefile (headers): Add bits/param.h.
41220         * sysdeps/generic/sys/param.h: File removed.
41221         * sysdeps/unix/sysv/linux/bits/param.h: New file.
41222         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
41223         * sysdeps/mach/hurd/bits/param.h: New file.
41224         * sysdeps/mach/hurd/sys/param.h: File removed.
41226         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
41227         last change.
41229         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
41230         [_IO_MTSAFE_IO].
41231         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
41232         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
41233         New macros.
41235         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
41236         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
41237         rather than -D_IO_MTSAFE_IO conditionally.
41238         * stdio-common/Makefile (CPPFLAGS): Likewise.
41239         * wcsmbs/Makefile (CPPFLAGS): Likewise.
41240         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
41241         Use $(libio-mtsafe).
41242         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
41243         of -D_IO_MTSAFE_IO.
41244         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
41245         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
41246         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
41247         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
41248         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
41249         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
41250         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
41251         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
41252         (CFLAGS-fread_u_chk.c): Likewise.
41253         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
41254         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
41255         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
41256         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
41257         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
41258         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
41259         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
41260         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
41261         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
41263         * libio/Makefile: Test [$(libc-reentrant) = yes]
41264         instead of [$(filter %REENTRANT, $(defines)) nonempty].
41266         * Makeconfig
41267         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
41268         * sysdeps/pthread/configure: File removed.
41269         * sysdeps/pthread/Makeconfig: New file.
41270         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
41271         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
41273 2012-08-16  Gary Benson  <gbenson@redhat.com>
41275         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
41276         unmapping the first object in a namespace.
41278 2012-08-16  Roland McGrath  <roland@hack.frob.com>
41280         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
41281         (__internal_setnetgrent): ... this.  Add internal_function to
41282         definition.  Add libc_hidden_def.
41283         (setnetgrent): Update caller.
41284         (internal_endnetgrent): Renamed to ...
41285         (__internal_endnetgrent): ... this.  Add internal_function to
41286         definition.  Add libc_hidden_def.
41287         (endnetgrent): Update caller.
41288         (internal_getnetgrent_r): Renamed to ...
41289         (__internal_getnetgrent_r): ... this.  Add internal_function to
41290         definition.  Add libc_hidden_def.
41291         (__getnetgrent_r): Update caller.
41292         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
41294 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
41296         * stdlib/longlong.h: Update from GCC.
41298 2012-08-16  Roland McGrath  <roland@hack.frob.com>
41300         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
41301         on _QL, which is set by umul_ppmm but never used.
41302         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
41303         variables, which are set by GMP macros but never used.
41304         * stdio-common/_itowa.c (_itowa): Likewise.
41305         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
41306         * stdlib/mod_1.c (mpn_mod_1): Likewise.
41308 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
41310         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
41311         struct La_sh_regs is not constant.
41312         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
41313         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
41314         and struct La_sparc64_regs are not constant.
41316 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
41318         * sysdeps/unix/sysv/linux/kernel-features.h
41319         (__ASSUME_POSIX_TIMERS): Remove.
41320         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41321         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41322         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
41323         Make code unconditional.
41324         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41325         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
41326         Make code unconditional.
41327         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41328         * sysdeps/unix/sysv/linux/clock_nanosleep.c
41329         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
41330         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41331         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
41332         Make code unconditional.
41333         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41334         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
41335         (__libc_missing_posix_timers): Remove.
41337 2012-08-15  Roland McGrath  <roland@hack.frob.com>
41339         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
41340         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
41342         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
41344         * elf/dl-sym.c: Include <stdlib.h>.
41346         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
41347         constants, which avoids warnings in 32-bit builds.
41349         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
41350         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
41352         * misc/lseek.c: File moved to ...
41353         * io/lseek.c: ... here.
41355         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
41357         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
41358         shifting LEN more than 31 bits at once.
41360 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41362         [BZ #14195]
41363         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
41364         segmentation fault for a case of two empty input strings.
41365         * string/test-strncasecmp.c (check1): Renamed to...
41366         (bz12205): ...this.
41367         (bz14195): Add new testcase for two empty input strings and N > 0.
41368         (test_main): Call new testcase, adapt for renamed function.
41370 2012-08-15  Andreas Jaeger  <aj@suse.de>
41372         [BZ #14090]
41373         * crypt/md5test2.c: New test, based on test supplied by Serge
41374         Belyshev <belyshev@depni.sinp.msu.ru>.
41375         * crypt/Makefile (xtests): Add md5test-giant..
41376         * crypt/Makefile ($(objpfx)md5test-giant): Add.
41378 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
41380         [BZ #14090]
41381         * crypt/md5.c (md5_process_block): Don't assume the buffer
41382         length is less than 2**32.
41383         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
41384         length is less than 2**64.
41386 2012-08-15  Roland McGrath  <roland@hack.frob.com>
41388         * string/str-two-way.h: Include <sys/param.h>.
41389         (MAX): Macro removed.
41391         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
41392         Move #define and #undef of memmove to just before and after
41393         including <string.h>.
41395         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
41396         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
41397         and after including <string.h>.  Move declarations of
41398         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
41399         to before #include "string/memmove.c".
41401         * include/dirent.h: Declare __getdirentries.
41403         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
41404         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
41406 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
41408         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
41409         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
41410         * sysdeps/i386/configure: Regenerated.
41411         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
41412         STABS_CURRENT_FILE, and STABS_FUN.
41413         (END): Remove call to STABS_FUN_END.
41414         (STABS_CURRENT_FILE1): Delete.
41415         (STABS_CURRENT_FILE): Likewise.
41416         (STABS_FUN): Likewise.
41417         (STABS_FUN_END): Likewise.
41418         (STABS_FUN2): Likewise.
41419         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
41420         * sysdeps/x86_64/configure: Regenerated.
41422 2012-08-14  Roland McGrath  <roland@hack.frob.com>
41424         * elf/dl-open.c: Include <atomic.h>.
41425         * elf/dl-lookup.c: Likewise.
41427 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
41429         * sysdeps/unix/sysv/linux/kernel-features.h
41430         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
41431         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
41432         unconditionally.
41433         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
41434         unconditionally.
41435         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
41436         condition on __ASSUME_CLONE_THREAD_FLAGS.
41438 2012-08-14  Andreas Jaeger  <aj@suse.de>
41440         * sysdeps/i386/fpu/libm-test-ulps: Update.
41442 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
41444         * include/atomic.h (atomic_exchange_and_add): Split into ...
41445         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
41446         New atomic macros.
41448 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
41450         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41452 2012-08-13  Jeff Law <law@redhat.com>
41454         * manual/stdio.texi (snprintf): Clarify handling of the trailing
41455         null byte in the output string.
41457 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
41459         * sysdeps/unix/sysv/linux/kernel-features.h
41460         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
41461         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
41462         (__ASSUME_ARG_MAX_STACK_BASED): Define.
41463         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
41464         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
41465         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
41466         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
41468 2012-08-09  Jeff Law <law@redhat.com>
41470         [BZ #13939]
41471         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
41472         When avoid_arena is set, don't retry in the that arena.  Pick the
41473         next one, whatever it might be.
41474         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
41475         (arena_lock): Pass in new parameter to arena_get2.
41476         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
41477         arena_get2.
41478         (__libc_malloc): Unify retrying after main arena failure with
41479         __libc_memalign version.
41480         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
41482 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
41484         [BZ #14166]
41485         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
41486         to __redirect_strstr.
41487         (__strstr_sse42): Use typeof __redirect_strstr.
41488         (__strstr_ia32): Likewise.
41489         (__libc_strstr): New prototype.
41490         (strstr): Renamed to ...
41491         (__libc_strstr): This.
41492         (strstr): New strong alias of __libc_strstr.
41493         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41494         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
41495         __redirect_time.
41496         Include <time.h>.
41497         (__libc_time): New prototype.
41498         (time_ifunc): Replace time with __libc_time.
41499         (time): New strong alias and hidden definition of __libc_time.
41500         (__GI_time): Remove strong alias.
41501         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
41502         Include <stddef.h>.
41503         (memmove): Redefined to __redirect_memmove.
41504         (__memmove_sse2): Use typeof __redirect_memmove.
41505         (__memmove_ssse3): Likewise.
41506         (__memmove_ssse3_back): Likewise.
41507         (__libc_memmove): New prototype.
41508         (memmove): Renamed to ...
41509         (__libc_memmove): This.
41510         (memmove): New strong alias of __libc_memmove.
41512 2012-08-08  Mark Salter  <msalter@redhat.com>
41514         * elf/elf.h
41515         (R_MN10300_TLS_GD): Define.
41516         (R_MN10300_TLS_LD): Likewise.
41517         (R_MN10300_TLS_LDO): Likewise.
41518         (R_MN10300_TLS_GOTIE): Likewise.
41519         (R_MN10300_TLS_IE): Likewise.
41520         (R_MN10300_TLS_LE): Likewise.
41521         (R_MN10300_TLS_DTPMOD): Likewise.
41522         (R_MN10300_TLS_DTPOFF): Likewise.
41523         (R_MN10300_TLS_TPOFF): Likewise.
41524         (R_MN10300_SYM_DIFF): Likewise.
41525         (R_MN10300_ALIGN): Likewise.
41526         (R_MN10300_NUM): Update.
41528 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
41530         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
41531         Remove.
41533 2012-08-08  Roland McGrath  <roland@hack.frob.com>
41535         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
41537         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
41538         sysdeps/unix -> sysdeps/posix move.
41539         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
41541 2012-08-07      Allan McRae     <allan@archlinux.org>
41543         [BZ #14303]
41544         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
41545         (SUNOS_CPP): Likewise.
41546         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
41547         not found.
41548         (open_input): Call CPP using execvp.
41550 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
41552         * sysdeps/unix/sysv/linux/kernel-features.h
41553         (__ASSUME_PROT_GROWSUPDOWN): Remove.
41554         (__ASSUME_NO_CLONE_DETACHED): Likewise.
41555         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
41556         (__ASSUME_WAITID_SYSCALL): Likewise.
41557         * sysdeps/unix/sysv/linux/dl-execstack.c
41558         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
41559         code unconditional.
41560         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
41561         conditional code.
41562         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
41563         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
41564         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
41565         code.
41566         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
41567         unconditional.
41568         [__ASSUME_WAITID_SYSCALL]: Likewise.
41569         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
41571 2012-08-07  Roland McGrath  <roland@hack.frob.com>
41573         * sysdeps/unix/closedir.c: Renamed to ...
41574         * sysdeps/posix/closedir.c: ... here.
41575         * sysdeps/unix/dirfd.c: Renamed to ...
41576         * sysdeps/posix/dirfd.c: ... here.
41577         * sysdeps/unix/dirstream.h: Renamed to ...
41578         * sysdeps/posix/dirstream.h: ... here.
41579         * sysdeps/unix/fdopendir.c: Renamed to ...
41580         * sysdeps/posix/fdopendir.c: ... here.
41581         * sysdeps/unix/opendir.c: Renamed to ...
41582         * sysdeps/posix/opendir.c: ... here.
41583         * sysdeps/unix/readdir.c: Renamed to ...
41584         * sysdeps/posix/readdir.c: ... here.
41585         * sysdeps/unix/readdir_r.c: Renamed to ...
41586         * sysdeps/posix/readdir_r.c: ... here.
41587         * sysdeps/unix/rewinddir.c: Renamed to ...
41588         * sysdeps/posix/rewinddir.c: ... here.
41589         * sysdeps/unix/seekdir.c: Renamed to ...
41590         * sysdeps/posix/seekdir.c: ... here.
41591         * sysdeps/unix/telldir.c: Renamed to ...
41592         * sysdeps/posix/telldir.c: ... here.
41593         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
41594         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
41595         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
41596         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
41598         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
41599         * bits/fcntl.h: ... here.
41601         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
41602         not 0.
41603         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
41604         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
41605         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
41606         (struct flock): Move l_start, l_len to the beginning.
41607         Use __pid_t for l_pid.
41608         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
41609         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
41610         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
41611         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
41612         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
41613         [__USE_LARGEFILE64] (struct flock64): New type.
41614         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
41616         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
41617         * bits/dirent.h: ... here.
41619         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
41620         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
41622 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
41624         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41625         Change from 2.6.0 to 2.6.16.
41626         * sysdeps/unix/sysv/linux/configure: Regenerated.
41627         * sysdeps/unix/sysv/linux/kernel-features.h
41628         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
41629         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
41630         version.
41631         (__ASSUME_UTIMES): Likewise.
41632         (__ASSUME_CLONE_STOPPED): Remove.
41633         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
41634         architectures, not kernel version.
41635         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
41636         (__ASSUME_NO_CLONE_DETACHED): Likewise.
41637         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
41638         (__ASSUME_WAITID_SYSCALL): Likewise.
41639         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
41640         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
41641         * README: State 2.6.16 as minimum Linux kernel version.  Do not
41642         refer to older versions.
41644 2012-08-06  Roland McGrath  <roland@hack.frob.com>
41646         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
41647         Define alphasort64 as an alias.
41648         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
41649         Define versionsort64 as an alias.
41650         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
41651         Define scandir64 as an alias.
41652         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
41653         Define scandirat64 as an alias.
41654         * dirent/alphasort64.c (alphasort64):
41655         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
41656         * dirent/versionsort64.c: Likewise.
41657         * dirent/scandir64.c: Likewise.
41658         * dirent/scandirat64.c: Likewise.
41659         * sysdeps/wordsize-64/alphasort.c: File removed.
41660         * sysdeps/wordsize-64/alphasort64.c: File removed.
41661         * sysdeps/wordsize-64/scandir.c: File removed.
41662         * sysdeps/wordsize-64/scandir64.c: File removed.
41663         * sysdeps/wordsize-64/scandirat.c: File removed.
41664         * sysdeps/wordsize-64/scandirat64.c: File removed.
41665         * sysdeps/wordsize-64/versionsort.c: File removed.
41666         * sysdeps/wordsize-64/versionsort64.c: File removed.
41667         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
41668         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
41669         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
41670         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
41671         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
41672         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
41673         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
41674         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
41676         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
41677         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
41678         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
41679         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41680         [defined __arch64__ || defined __sparcv9]
41681         (__INO_T_MATCHES_INO64_T): New macro.
41682         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41683         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
41684         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
41685         * sysdeps/unix/sysv/linux/bits/dirent.h
41686         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
41687         (_DIRENT_MATCHES_DIRENT64): New macro.
41689         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
41690         Define lockf64 as an alias.
41691         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
41692         Define fseeko64 as an alias.
41693         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
41694         Define ftello64 as an alias.
41695         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
41696         Define _IO_fgetpos64 and fgetpos64 as aliases.
41697         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
41698         Define _IO_fsetpos64 and fsetpos64 as aliases.
41699         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
41700         Conditionalize body on this.
41701         * libio/fseeko64.c: Likewise.
41702         * libio/ftello64.c: Likewise.
41703         * libio/iofgetpos64.c: Likewise.
41704         * libio/iofsetpos64.c: Likewise.
41705         * sysdeps/wordsize-64/lockf.c: File removed.
41706         * sysdeps/wordsize-64/lockf64.c: File removed.
41707         * sysdeps/wordsize-64/fseeko.c: File removed.
41708         * sysdeps/wordsize-64/fseeko64.c: File removed.
41709         * sysdeps/wordsize-64/ftello.c: File removed.
41710         * sysdeps/wordsize-64/ftello64.c: File removed.
41711         * sysdeps/wordsize-64/iofgetpos.c: File removed.
41712         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
41713         * sysdeps/wordsize-64/iofsetpos.c: File removed.
41714         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
41715         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
41716         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
41717         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
41718         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
41719         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
41720         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
41721         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
41722         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
41723         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
41724         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
41726         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
41727         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
41728         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
41729         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41730         [defined __arch64__ || defined __sparcv9]
41731         (__OFF_T_MATCHES_OFF64_T): New macro.
41732         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41733         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
41734         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41735         (__OFF_T_MATCHES_OFF64_T): New macro.
41737 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
41739         * stdlib/secure-getenv.c (__secure_getenv): Replace
41740         GLIBC_2_16 with GLIBC_2_17.
41742 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
41744         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
41745         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41747 2012-08-03  David S. Miller  <davem@davemloft.net>
41749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41751 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
41753         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
41754         Remove.
41755         (__ASSUME_CORRECT_SI_PID): Likewise.
41756         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
41757         (__ASSUME_TMPFS_NAME): Likewise.
41758         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
41759         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
41760         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
41761         (HAVE_AUX_SECURE): Make definition unconditional.
41762         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
41763         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
41765 2012-08-03  Roland McGrath  <roland@hack.frob.com>
41767         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
41768         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
41769         * sysdeps/mach/hurd/eloop-threshold.h: New file.
41770         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41771         __eloop_threshold instead of SYMLOOP_MAX.
41773         * sysdeps/generic/eloop-threshold.h: New file.
41774         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
41775         of MAXSYMLINKS.
41776         * elf/chroot_canon.c (chroot_canon): Likewise.
41778 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
41780         [BZ #13717]
41781         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41782         Change to 2.6.0 everywhere.
41783         * sysdeps/unix/sysv/linux/configure: Regenerated.
41784         * sysdeps/unix/sysv/linux/kernel-features.h
41785         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
41786         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
41787         kernel versions.
41788         (__ASSUME_POSIX_TIMERS): Define unconditionally.
41789         (__ASSUME_FUTEX_REQUEUE): Remove.
41790         (__ASSUME_STATFS64): Define unconditionally.
41791         (__ASSUME_AT_SECURE): Likewise.
41792         (__ASSUME_CORRECT_SI_PID): Likewise.
41793         (__ASSUME_TGKILL): Define without depending on kernel version for
41794         i386.
41795         (__ASSUME_UTIMES): Likewise.
41796         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
41797         kernel version.
41798         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
41799         (__ASSUME_TMPFS_NAME): Likewise.
41800         * README: Update reference to Linux kernel versions.
41802 2012-08-02  Marek Polacek  <polacek@redhat.com>
41804         [BZ# 14150]
41805         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
41806         libc_cv_asm_type_prefix with %.
41807         * configure: Regenerated.
41808         * include/libc-symbols.h: Remove comment about
41809         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
41810         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
41811         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
41812         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
41813         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
41814         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
41815         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
41816         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
41817         * elf/tst-unique2mod1.c: Likewise.
41818         * elf/tst-unique1mod2.c: Likewise.
41819         * elf/tst-unique1mod1.c: Likewise.
41820         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
41821         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
41822         Replace ASM_TYPE_DIRECTIVE with .type.
41823         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41824         * sysdeps/i386/sysdep.h: Likewise.
41825         * sysdeps/x86_64/sysdep.h: Likewise.
41826         * sysdeps/sh/sysdep.h: Likewise.
41827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41828         Do not define ASM_TYPE_DIRECTIVE.
41829         * sysdeps/powerpc/sysdep.h: Likewise.
41830         * sysdeps/powerpc/powerpc32/sysdep.h:
41831         Replace ASM_TYPE_DIRECTIVE with .type.
41832         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41833         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41834         * sysdeps/i386/fpu/e_powf.S: Likewise.
41835         * sysdeps/i386/fpu/e_expl.S: Likewise.
41836         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41837         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41838         * sysdeps/i386/fpu/e_pow.S: Likewise.
41839         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41840         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41841         * sysdeps/i386/fpu/s_expm1.S: Likewise.
41842         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41843         * sysdeps/i386/fpu/e_log2.S: Likewise.
41844         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41845         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41846         * sysdeps/i386/fpu/e_powl.S: Likewise.
41847         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41848         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41849         * sysdeps/i386/fpu/e_logl.S: Likewise.
41850         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41851         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41852         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41853         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41854         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41855         * sysdeps/i386/fpu/e_log.S: Likewise.
41856         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41857         * sysdeps/i386/fpu/e_logf.S: Likewise.
41858         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41859         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41860         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41861         * sysdeps/i386/fpu/e_log10.S: Likewise.
41862         * sysdeps/i386/fpu/s_frexp.S: Likewise.
41863         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41864         * sysdeps/i386/fpu/s_asinh.S: Likewise.
41865         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41866         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41867         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
41868         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41869         * sysdeps/i386/i686/strtok.S: Likewise.
41870         * sysdeps/i386/i386-mcount.S: Likewise.
41871         * sysdeps/i386/strtok.S: Likewise.
41872         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
41873         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41874         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41875         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41876         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41877         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41878         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41879         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41880         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41881         * sysdeps/x86_64/_mcount.S: Likewise.
41882         * sysdeps/x86_64/strtok.S: Likewise.
41883         * sysdeps/sh/_mcount.S: Likewise.
41885 2012-08-01  Roland McGrath  <roland@hack.frob.com>
41887         * libio/iofopen.c: Include <fcntl.h>.
41888         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
41889         (_IO_fopen64, fopen64): Define as aliases.
41890         * libio/iofopen64.c: Include <fcntl.h>.
41891         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
41892         Conditionalize body on this.
41893         * sysdeps/wordsize-64/iofopen.c: File removed.
41894         * sysdeps/wordsize-64/iofopen64.c: File removed.
41896 2012-08-01  Marek Polacek  <polacek@redhat.com>
41898         * libc/Makeconfig: Use elf in place of binfmt-subdir.
41899         Use dlfcn directly instead of a variable.
41900         (binfmt-subdir): Do not define.
41901         (dlfcn): Likewise.
41903 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
41905         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
41906         Remove all definitions.
41907         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
41908         <kernel-features.h>.
41909         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
41910         (miss_F_GETOWN_EX): Remove all definitions.
41911         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
41912         macro definition.
41913         [!__ASSUME_FCNTL64]: Remove conditional code.
41914         [__ASSUME_FCNTL64]: Make code unconditional.
41915         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
41916         <kernel-features.h>.
41917         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
41918         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
41919         (lockf64) [__NR_fcntl64]: Make code unconditional.
41920         (lockf64) [__ASSUME_FCNTL64]: Likewise.
41922         * sysdeps/unix/sysv/linux/kernel-features.h
41923         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
41924         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
41925         Make code unconditional.
41926         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41927         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
41929         [__NR_vfork]: Make code unconditional.
41930         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41931         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
41933         [__NR_vfork]: Make code unconditional.
41934         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41935         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41937 2012-08-01  Roland McGrath  <roland@hack.frob.com>
41939         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
41940         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
41942         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41943         Define mkstemp64 as an alias.
41944         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41945         Define mkstemps64 as an alias.
41946         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41947         Define mkostemp64 as an alias.
41948         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41949         Define mkostemps64 as an alias.
41950         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
41951         Conditionalize body on this.
41952         * misc/mkostemp64.c: Likewise.
41953         * misc/mkostemps64.c: Likewise.
41954         * misc/mkstemps64.c: Likewise.
41955         * sysdeps/wordsize-64/mkstemp64.c: File removed.
41956         * sysdeps/wordsize-64/mkostemp64.c: File removed.
41957         * sysdeps/wordsize-64/mkostemp.c: File removed.
41958         * sysdeps/wordsize-64/mkstemp.c: File removed.
41959         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
41960         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
41961         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
41962         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
41964         [BZ #14138]
41965         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
41966         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
41967         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
41968         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
41970         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
41971         compat_symbol macros from <shlib-compat.h> rather than the underlying
41972         default_symbol_version and symbol_version macros, so that DEFAULT
41973         lines in shlib-versions are respected.
41974         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
41976 2012-08-01  Florian Weimer  <fweimer@redhat.com>
41978         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
41979         Declare with warn_unused_result.
41980         (setgid, setregid, setegid, setresgid): Likewise.
41981         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
41982         Likewise.
41983         * WUR-REPORT: Remove set*id functions.
41985 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
41987         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
41989 2012-07-31  Roland McGrath  <roland@hack.frob.com>
41991         [BZ #10191]
41992         * include/sys/socket.h (__libc_accept, __libc_accept4):
41993         Add attribute_hidden.
41994         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
41996         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
41997         use of PTR_MANGLE.
41998         * inet/getnetgrent_r.c (setup): Likewise.
42000         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
42002 2012-07-31  David S. Miller  <davem@davemloft.net>
42004         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42006 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
42008         [BZ #13629]
42009         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
42010         value between 1.0 and 2.0 and smaller part has absolute value less
42011         than 1.0.
42012         * math/s_clog10.c (__clog10): Likewise.
42013         * math/s_clog10f.c (__clog10f): Likewise.
42014         * math/s_clog10l.c (__clog10l): Likewise.
42015         * math/s_clogf.c (__clogf): Likewise.
42016         * math/s_clogl.c (__clogl): Likewise.
42017         * math/libm-test.inc (clog_test): Add more tests.
42018         (clog10_test): Likewise.
42019         * sysdeps/i386/fpu/libm-test-ulps: Update.
42020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42022 2012-07-31  Florian Weimer  <fweimer@redhat.com>
42024         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
42025         Exit with zero in case no suitable GID is found, and write a
42026         message to standard error.
42028 2012-07-30  Roland McGrath  <roland@hack.frob.com>
42030         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
42031         rather than to 1.
42032         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
42033         (MAXPATHLEN): Removed.
42034         (NOGROUP, NODEV): New macros.
42035         (setbit, clrbit, isset, isclr): New macros.
42036         (howmany, roundup, powerof2): New macros.
42037         (DEV_BSIZE): New macro.
42039         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
42040         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
42042         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
42043         definition on [!__NO_LONG_DOUBLE_MATH].
42045         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
42046         PTR_MANGLE and PTR_DEMANGLE.
42048         * socket/accept4.c (accept4): Rename to __libc_accept4.
42049         Define accept4 as a weak alias.
42051         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
42052         on [_DIRENT_HAVE_D_TYPE].
42053         * io/ftw.c (ftw_dir): Likewise.
42055         * io/xmknod.c (__xmknod): Don't check PATH for being null.
42057         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
42059         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
42060         Use the BSD numbers rather than the arbitrary ones we had.
42061         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
42062         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
42063         (SIGXCPU, SIGXFSZ): New macros.
42064         (_NSIG): Now 32.
42066         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
42067         initializer on [_LIBC_REENTRANT].
42069         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
42070         definitions inside [_POSIX_MAPPED_FILES].
42072         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
42074         * dirent/opendir.c: Include <fcntl.h>.
42076         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
42077         (__libc_getspecific): Likewise.
42078         (__libc_key_create): Likewise.
42080         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
42081         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
42082         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
42083         (tmpfile64): Define as alias.
42084         * sysdeps/wordsize-64/tmpfile.c: File removed.
42085         * sysdeps/wordsize-64/tmpfile64.c: File removed.
42086         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
42087         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
42089         * stdio-common/vfscanf.c: Include <stdbool.h>.
42090         * nss/makedb.c: Likewise.
42091         * stdio-common/_i18n_number.h: Likewise.
42092         * argp/argp-help.c: Likewise.
42093         * posix/wordexp.c: Likewise.
42094         * sysdeps/posix/spawni.c: Likewise.
42095         * nss/nss_files/files-initgroups.c: Likewise.
42096         * stdio-common/reg-modifier.c: Include <stdlib.h>.
42097         * nss/nss_files/files-initgroups.c: Likewise.
42098         * nss/nss_db/db-netgrp.c: Likewise.
42099         * nss/nss_db/db-initgroups.c: Likewise.
42100         * io/fchmodat.c: Include <sys/stat.h>.
42102         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
42103         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
42105         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
42106         [HAVE_MMAP].
42108         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
42109         Add multiple inclusion protection.
42111 2012-07-27  David S. Miller  <davem@davemloft.net>
42113         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42115 2012-07-27  Gary Benson  <gbenson@redhat.com>
42117         [BZ #14298]
42118         * elf/rtld.c: Include <stap-probe.h>.
42119         (dl_main): Added static probes "init_start" and "init_complete".
42120         * elf/dl-load.c: Include <stap-probe.h>.
42121         (lose): Take new parameter "nsid".
42122         Added static probe "map_failed".
42123         (_dl_map_object_from_fd): Pass namespace id to lose.
42124         Added static probe "map_start".
42125         (open_verify): Pass namespace id to lose.
42126         * elf/dl-open.c: Include <stap-probe.h>.
42127         (dl_open_worker) Added static probes "map_complete", "reloc_start"
42128         and "reloc_complete".
42129         * elf/dl-close.c: Include <stap-probe.h>.
42130         (_dl_close_worker): Added static probes "unmap_start" and
42131         "unmap_complete".
42132         * elf/rtld-debugger-interface.txt: New file documenting the above.
42134 2012-07-26  Roland McGrath  <roland@hack.frob.com>
42136         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
42137         rather than a string variable.
42138         * sunrpc/rpc_main.c (h_output): Likewise.
42139         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
42141 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
42143         * inet/check_native.c: New file.
42145 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
42147         [BZ #13629]
42148         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
42149         if larger part has absolute value 1.0.
42150         * math/s_clog10.c (__clog10): Likewise.
42151         * math/s_clog10f.c (__clog10f): Likewise.
42152         * math/s_clog10l.c (__clog10l): Likewise.
42153         * math/s_clogf.c (__clogf): Likewise.
42154         * math/s_clogl.c (__clogl): Likewise.
42155         * math/libm-test.inc (clog_test): Add more tests.
42156         (clog10_test): Likewise.
42157         * sysdeps/i386/fpu/libm-test-ulps: Update.
42158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42160         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
42161         (pltexit): Likewise.
42162         (La_regs): Likewise.
42163         (La_retval): Likewise.
42164         (int_retval): Likewise.
42165         Update #error for removed macros to refer only to definitions in
42166         tst-audit.h.
42167         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
42168         macro.
42169         (pltexit): Likewise.
42170         (La_regs): Likewise.
42171         (La_retval): Likewise.
42172         (int_retval): Likewise.
42173         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
42174         macro.
42175         (pltexit): Likewise.
42176         (La_regs): Likewise.
42177         (La_retval): Likewise.
42178         (int_retval): Likewise.
42179         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
42180         macro.
42181         (pltexit): Likewise.
42182         (La_regs): Likewise.
42183         (La_retval): Likewise.
42184         (int_retval): Likewise.
42185         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
42186         macro.
42187         (pltexit): Likewise.
42188         (La_regs): Likewise.
42189         (La_retval): Likewise.
42190         (int_retval): Likewise.
42191         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
42192         macro.
42193         (pltexit): Likewise.
42194         (La_regs): Likewise.
42195         (La_retval): Likewise.
42196         (int_retval): Likewise.
42197         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
42198         macro.
42199         (pltexit): Likewise.
42200         (La_regs): Likewise.
42201         (La_retval): Likewise.
42202         (int_retval): Likewise.
42203         * sysdeps/generic/tst-audit.h: Update comment to refer only to
42204         macro definitions in tst-audit.h.
42205         * sysdeps/i386/tst-audit.h: New file.
42206         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
42207         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
42208         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
42209         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
42210         * sysdeps/sh/tst-audit.h: Likewise.
42211         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
42212         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
42213         * sysdeps/x86_64/tst-audit.h: Likewise.
42215 2012-07-26  Andreas Jaeger  <aj@suse.de>
42217         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
42218         ptrace.
42220         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
42221         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
42222         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
42223         PTRACE_O_MASK.
42224         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
42225         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
42226         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
42228         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
42229         value.
42231         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
42232         _sigsys.
42233         (si_call_addr, si_syscall, si_arch): Define new macro.
42234         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
42235         _sigsys.
42236         (si_call_addr, si_syscall, si_arch): Define new marcro.
42237         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
42238         _sigsys.
42239         (si_call_addr, si_syscall, si_arch): Define new macro.
42240         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
42241         _sigsys.
42242         (si_call_addr, si_syscall, si_arch): Define new macro.
42244 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
42246         [BZ #13717]
42247         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42248         Change to 2.4.21 where previously 2.4.1.
42249         * sysdeps/unix/sysv/linux/configure: Regenerated.
42250         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
42251         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
42252         Linux kernel version.
42253         (__ASSUME_STD_AUXV): Remove.
42254         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
42255         kernel version.
42256         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
42257         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
42258         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
42259         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
42260         (__ASSUME_NETLINK_SUPPORT): Likewise.
42261         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
42262         (__no_netlink_support): Remove conditional definition.
42263         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
42264         Remove.
42265         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42266         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
42267         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
42268         (if_nameindex_ioctl): Remove.
42269         (if_nameindex_netlink): Do not handle __no_netlink_support.
42270         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42271         code.
42272         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
42273         Remove conditional code.
42274         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42275         code.
42276         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
42277         unconditional.
42278         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42279         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
42280         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
42281         Remove.
42282         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
42283         [!__ASSUME_STD_AUXV]: Remove conditional code.
42284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
42285         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
42286         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
42287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
42288         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
42289         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42290         code.
42291         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42293         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
42294         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42295         conditional code.
42296         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42298         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42299         code.
42300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42301         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42302         conditional code.
42303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
42304         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42305         code unconditional.
42306         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42307         conditional code.
42308         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42309         unconditional.
42310         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42311         conditional code.
42312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42313         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42314         unconditional.
42315         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42316         conditional code.
42317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
42318         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42319         code unconditional.
42320         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42321         conditional code.
42322         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42323         unconditional.
42324         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42325         conditional code.
42326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
42327         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42328         code unconditional.
42329         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42330         conditional code.
42331         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42332         unconditional.
42333         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42334         conditional code.
42336 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
42338         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
42339         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
42340         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
42341         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
42342         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
42343         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42344         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42345         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
42346         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
42347         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
42348         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
42349         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
42350         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
42351         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42352         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
42353         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
42354         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
42355         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
42356         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
42357         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
42358         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
42359         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
42360         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42362 2012-07-25  Florian Weimer  <fweimer@redhat.com>
42364         * Versions.def: Add GLIBC_2.17.
42365         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
42366         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
42367         Introduce __libc_secure_getenv.
42368         * stdlib/Versions (2.17): Add secure_getenv
42369         (GLIBC_PRIVATE): Add __libc_secure_getenv.
42370         * stdlib/secure-getenv.c: Rename __secure_getenv to
42371         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
42372         symbol __secure_getenv for GLIBC_2.0.
42373         * stdlib/tst-secure-getenv.c: New.
42374         * stdlib/Makefile (tests): Add testcase.
42375         * manual/startup.texi (Environment Access): Document
42376         secure_getenv.
42377         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
42378         __libc_secure_getenv.
42379         * inet/ruserpass.c (ruserpass): Likewise.
42380         * malloc/mtrace.c (mtrace): Likewise.
42381         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
42382         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
42383         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
42384         * sysdeps/posix/tempname.c: Likewise.  Evaluate
42385         HAVE_SECURE_GETENV.
42386         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
42387         __secure_getenv to __libc_secure_getenv.
42388         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
42389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42390         Likewise.
42391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42392         Likewise.
42393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42395         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42397         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42398         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42399         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42401 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
42403         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
42404         (struct La_i86_retval): Likewise.
42405         (struct La_x86_64_regs): Likewise.
42406         (struct La_x86_64_retval): Likewise.
42407         (struct La_x32_regs): Likewise.
42408         (struct La_x32_retval): Likewise.
42409         (struct La_ppc32_regs): Likewise.
42410         (struct La_ppc32_retval): Likewise.
42411         (struct La_ppc64_regs): Likewise.
42412         (struct La_ppc64_retval): Likewise.
42413         (struct La_sh_regs): Likewise.
42414         (struct La_sh_retval): Likewise.
42415         (struct La_s390_32_regs): Likewise.
42416         (struct La_s390_32_retval): Likewise.
42417         (struct La_s390_64_regs): Likewise.
42418         (struct La_s390_64_retval): Likewise.
42419         (struct La_sparc32_regs): Likewise.
42420         (struct La_sparc32_retval): Likewise.
42421         (struct La_sparc64_regs): Likewise.
42422         (struct La_sparc64_retval): Likewise.
42423         (struct audit_ifaces): Remove architecture-specific pltenter and
42424         pltexit members.
42425         * sysdeps/i386/ldsodefs.h: New file.
42426         * sysdeps/powerpc/ldsodefs.h: Likewise.
42427         * sysdeps/s390/ldsodefs.h: Likewise.
42428         * sysdeps/sh/ldsodefs.h: Likewise.
42429         * sysdeps/sparc/ldsodefs.h: Likewise.
42430         * sysdeps/x86_64/ldsodefs.h: Likewise.
42432 2012-07-25  Marek Polacek  <polacek@redhat.com>
42434         [BZ #6808]
42435         * math/libm-test.inc (yn_test): Add another test.
42436         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
42437         to ERANGE when the result is +-Inf.
42438         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
42439         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
42440         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
42441         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
42443 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
42445         * conform/data/time.h-data (NULL): Use macro-constant.  Require
42446         equal to 0.
42447         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
42448         clock_t.
42449         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
42451 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
42453         * configure.in <sysdeps resolving>: Correct printing
42454         Implies_before.
42455         * configure: Regenerate.
42457 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
42459         * math/w_ilogb.c: Include <limits.h>.
42460         * math/w_ilogbl.c: Likewise.
42462 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
42464         * manual/lang.texi (__va_copy): Document primarily as ISO C99
42465         va_copy.  Document allowing for unavailable va_copy only as
42466         pre-C99 compatibility.
42467         * manual/string.texi (Copying and Concatenation): Use va_copy
42468         instead of __va_copy in concat example.
42470 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
42472         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
42473         (__sendto): Use create_address_port.  Initialize APORT and deallocate
42474         it if not null.
42476         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
42477         with O_NOLINK passed to __file_name_lookup.
42479         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
42480         with O_NOLINK passed to __file_name_lookup.
42482         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
42483         negative N or less than NGIDS.
42485         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
42486         type to string_t.  Set ERANGE as errno and return it if NAME is not big
42487         enough.  Use memcpy instead of strncpy.
42489 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
42491         * elf/Makefile (check-data): Remove.
42492         (localplt.data): New vpath directive.
42493         ($(objpfx)check-localplt.out): Use localplt.data from vpath
42494         instead of $(check-data).
42495         * scripts/data/localplt-generic.data: Move to ...
42496         * sysdeps/generic/localplt.data: ... here.
42497         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
42498         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
42499         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
42500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
42501         ... here.
42502         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
42503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
42504         ... here.
42505         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
42506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
42507         ... here.
42508         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
42509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
42510         ... here.
42511         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
42512         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
42513         ... here.
42514         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
42515         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
42516         ... here.
42518 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42520         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
42521         PPC32 and PPC64 files.
42522         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
42523         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
42525 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42527         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
42528         __makecontext_ret to ...
42529         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
42530         ... here and call exit if uc_link is NULL.  New file.
42531         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
42532         __makecontext_ret.S.
42533         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
42534         __makecontext_ret to ...
42535         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
42536         ... here and call exit if uc_link is NULL.  New file.
42537         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
42538         __makecontext_ret.S.
42540 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42542         * elf/elf.h (R_390_IRELATIVE): New definition.
42543         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
42544         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
42545         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
42546         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42547         (elf_machine_lazy_rel): Likewise.
42548         * sysdeps/s390/dl-irel.h: New file.
42549         * sysdeps/s390/s390-64/memcpy.S: New asm code.
42550         * sysdeps/s390/s390-64/memset.S: New asm code.
42551         * sysdeps/s390/s390-64/memcmp.S: New asm code.
42552         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
42553         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
42554         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
42555         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
42556         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
42557         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
42558         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
42559         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
42560         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
42561         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
42562         * sysdeps/s390/s390-32/memcpy.S: New asm code.
42563         * sysdeps/s390/s390-32/memset.S: New asm code.
42564         * sysdeps/s390/s390-32/memcmp.S: New asm code.
42566 2012-07-17  Marek Polacek  <polacek@redhat.com>
42568         [BZ #14349]
42569         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
42570         * sysdeps/s390/s390-64/configure.in: Likewise.
42571         * sysdeps/sparc/configure.in: Likewise.
42572         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
42573         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
42574         * sysdeps/i386/configure.in: Likewise.
42575         * sysdeps/x86_64/configure.in: Likewise.
42576         * sysdeps/sh/configure.in: Likewise.
42577         * sysdeps/s390/s390-32/configure: Regenerated.
42578         * sysdeps/s390/s390-64/configure: Likewise.
42579         * sysdeps/x86_64/configure: Likewise.
42580         * sysdeps/sh/configure: Likewise.
42581         * sysdeps/powerpc/powerpc64/configure: Likewise.
42582         * sysdeps/powerpc/powerpc32/configure: Likewise.
42583         * sysdeps/sparc/configure: Likwise.
42584         * sysdeps/i386/configure: Likewise.
42586         * elf/dl-open.c: Comment fixes.
42588 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
42590         * Makefile [CXX] (check-data): Remove.
42591         [CXX] (c++-types.data): New vpath directive.
42592         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
42593         vpath.  Do not allow for C++ type data being missing.
42594         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
42595         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
42596         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
42597         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
42598         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
42599         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
42600         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
42601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
42602         ... here.
42603         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
42604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
42605         ... here.
42606         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
42607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
42608         ... here.
42609         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
42610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
42611         ... here.
42612         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
42613         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
42614         ... here.
42615         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
42616         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
42617         ... here.
42618         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
42619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
42620         ... here.
42621         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
42622         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
42624         * elf/tls-macros.h (TLS_LE): Move architecture-specific
42625         definitions to architecture-specific files.
42626         (TLS_IE): Likewise.
42627         (TLS_LD): Likewise.
42628         (TLS_GD): Likewise.
42629         * sysdeps/i386/tls-macros.h: New file.
42630         * sysdeps/powerpc/tls-macros.h: Likewise.
42631         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
42632         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
42633         * sysdeps/sh/tls-macros.h: Likewise.
42634         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
42635         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
42636         * sysdeps/x86_64/tls-macros.h: Likewise.
42638 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
42640         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
42641         zero value for regular exit case.
42643         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
42644         (__start_context): Preserve zero value for regular exit case.
42646 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
42647             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42649         * manual/setjmp.texi (setcontext): Clarify normal process
42650         termination when uc_link is the null pointer.
42651         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
42652         exit call.
42654 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
42656         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
42657         preprocessor.  Test for each exception mask separately.
42659 2012-07-16  Andreas Jaeger  <aj@suse.de>
42661         * po/ru.po: Update from translation team.
42663 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
42665         * conform/data/string.h-data (NULL): Use macro-constant.  Require
42666         equal to 0.
42667         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42668         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42669         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
42670         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
42671         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42673 2012-07-13  Andreas Jaeger  <aj@suse.de>
42675         * po/fr.po: Update from translation team.
42677 2012-07-12  Marek Polacek  <polacek@redhat.com>
42679         [BZ #14173]
42680         * math/libm-test.inc (yn_test): Add test for BZ #14173.
42681         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
42682         loop condition.
42684 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
42686         [BZ #13717]
42687         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42688         Change to 2.4.1 where previously 2.4.0.
42689         * sysdeps/unix/sysv/linux/configure: Regenerated.
42690         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
42691         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
42692         version.
42693         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
42694         (__ASSUME_AT_CLKTCK): Remove.
42695         (__ASSUME_AT_PAGESIZE): Likewise.
42696         (__ASSUME_AT_XID): Likewise.
42697         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
42698         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
42699         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
42700         unconditionally.
42701         (HAVE_AUX_PAGESIZE): Likewise.
42702         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
42703         [__ASSUME_AT_CLKTCK]: Make code unconditional.
42704         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
42706 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
42708         [BZ #14307]
42709         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
42710         the temporary buffer used to invoke __gethostbyname2_r,
42711         __gethostbyaddr_r and gethostbyname4_r to make room for struct
42712         host_data / struct gaih_addrtuple.
42713         * resolv/nss_dns/dns-host.c (global scope): Move definition of
42714         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
42715         header file nss/nsswitch.h.
42716         * nss/nsswitch.h (global scope): Add definition of implementation
42717         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
42718         resolv/nss_dns/dns-host.c).
42720 2012-07-11  Andreas Jaeger  <aj@suse.de>
42722         * po/fr.po: Update from translation team.
42724         * po/sv.po: Update from translation team
42725         * po/fr.po: Another update from translation team.
42727 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42729         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
42730         for subnormals or multiply small sinh result by itself.
42731         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42734 2012-07-11  David S. Miller  <davem@davemloft.net>
42736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42738 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
42740         [BZ #14347]
42741         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
42742         (INTERNAL_MARK): Shift it here.
42744 2012-07-10  Marek Polacek  <polacek@redhat.com>
42746         [BZ #14151]
42747         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
42748         libc_cv_asm_global_directive with .globl.
42749         * configure: Regenerated.
42750         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
42751         with .globl.
42752         * sysdeps/i386/configure: Regenerated.
42753         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
42754         with .globl.
42755         * sysdeps/x86_64/configure: Regenerated.
42756         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
42757         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
42758         * elf/tst-unique2mod2.c: Likewise.
42759         * elf/tst-unique2mod1.c: Likewise.
42760         * elf/tst-unique1mod2.c: Likewise.
42761         * elf/tst-unique1mod1.c: Likewise.
42762         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42763         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42764         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42765         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42766         * sysdeps/mach/sysdep.h: Likewise.
42767         * sysdeps/i386/sysdep.h: Likewise.
42768         * sysdeps/i386/i386-mcount.S: Likewise.
42769         * sysdeps/x86_64/_mcount.S: Likewise.
42770         * sysdeps/x86_64/sysdep.h: Likewise.
42771         * sysdeps/sh/_mcount.S: Likewise.
42772         * sysdeps/sh/sysdep.h: Likewise.
42773         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
42774         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
42775         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
42776         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42777         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
42778         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
42779         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
42780         * locale/localeinfo.h: Likewise.
42781         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
42782         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
42784 2012-07-09  Roland McGrath  <roland@hack.frob.com>
42786         [BZ #14336]
42787         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
42788         system".
42789         * manual/message.texi (The Uniforum approach): Likewise.
42790         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
42791         (glibc iconv Implementation): Likewise.
42793 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
42795         [BZ #14337]
42796         * math/s_clog.c (__clog): Avoid scaling a value down where that
42797         could result in underflow.
42798         * math/s_clog10.c (__clog10): Likewise.
42799         * math/s_clog10f.c (__clog10f): Likewise.
42800         * math/s_clog10l.c (__clog10l): Likewise.
42801         * math/s_clogf.c (__clogf): Likewise.
42802         * math/s_clogl.c (__clogl): Likewise.
42803         * math/libm-test.inc (clog_test): Add more tests.
42804         (clog10_test): Likewise.
42805         * sysdeps/i386/fpu/libm-test-ulps: Update.
42806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42808 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
42810         [BZ #14283]
42811         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
42812         by 7 not 8 to examine high bit of fractional part.
42814         [BZ #14042]
42815         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
42816         for call to __mcount_internal.
42817         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
42818         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
42819         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
42821 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
42823         [BZ #14154]
42824         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
42825         approximation for values within 0x1p-13f of an odd multiple of
42826         pi/4.
42827         * math/libm-test.inc (tan_test): Do not allow spurious underflow
42828         exception.  Add more tests.
42829         * sysdeps/i386/fpu/libm-test-ulps: Update.
42831         [BZ #6778]
42832         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
42833         inputs and return -1 for them.  Do not check for +Inf in case not
42834         reachable for +Inf.
42835         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42836         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
42837         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
42838         and return -1 for them.  Do not check for +Inf in case not
42839         reachable for +Inf.
42840         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
42841         define.
42842         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
42843         and return -1 for them.  Do not check for +Inf in case not
42844         reachable for +Inf.
42845         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
42846         spurious underflow.
42847         * sysdeps/i386/fpu/libm-test-ulps: Update.
42848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42850 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
42852         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
42854 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
42856         [BZ #14157]
42857         [BZ #14331]
42858         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
42859         could result in spurious underflow.  Scale down values above
42860         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
42861         * math/s_csqrtf.c (__csqrtf): Likewise.
42862         * math/s_csqrtl.c (__csqrtl): Likewise.
42863         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
42864         spurious underflow.
42865         * sysdeps/i386/fpu/libm-test-ulps: Update.
42866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42868 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
42870         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
42871         xopen-msg.sed.
42872         * catgets/xopen-msg.awk: New file.
42873         * catgets/xopen-msg.sed: Removed.
42875         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
42876         po2text.sed.
42877         * intl/po2test.awk: New file.
42878         * intl/po2test.sed: Removed.
42880 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
42882         [BZ #14328]
42883         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
42884         or multiply small sinh result by itself.
42885         * math/s_ctanf.c (__ctanf): Likewise.
42886         * math/s_ctanh.c (__ctanh): Likewise.
42887         * math/s_ctanhf.c (__ctanhf): Likewise.
42888         * math/s_ctanhl.c (__ctanhl): Likewise.
42889         * math/s_ctanl.c (__ctanl): Likewise.
42890         * math/libm-test.inc (ctan_test_tonearest): New function.
42891         (ctan_test_towardzero): Likewise.
42892         (ctan_test_downward): Likewise.
42893         (ctan_test_upward): Likewise.
42894         (ctanh_test_tonearest): Likewise.
42895         (ctanh_test_towardzero): Likewise.
42896         (ctanh_test_downward): Likewise.
42897         (ctanh_test_upward): Likewise.
42898         (main): Call these new functions.
42899         * sysdeps/i386/fpu/libm-test-ulps: Update.
42900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42902 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
42904         * .gitignore: Delete /ports entry.
42906 2012-07-03  Andreas Jaeger  <aj@suse.de>
42908         * po/bg.po: Update from translation team.
42909         * po/cs.po: Likewise.
42910         * po/de.po: Likewise.
42911         * po/hr.po: Likewise.
42912         * po/nl.pl: Likewise.
42913         * po/pl.po: Likewise.
42914         * po/vi.po: Likewise.
42916 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
42918         * Makeconfig [!+link] (+link-before-libc): New variable.
42919         [!+link] (+link-after-libc): Likewise.
42920         [!+link] (+link-tests): Likewise.
42921         [!+link] (+link): Define in terms of $(+link-before-libc) and
42922         $(+link-after-libc).
42923         [!+link-static] (+link-static-before-libc): New variable.
42924         [!+link-static] (+link-static-after-libc): Likewise.
42925         [!+link-static] (+link-static-tests): Likewise.
42926         [!+link-static] (+link-static): Define in terms of
42927         $(+link-static-before-libc) and $(+link-static-after-libc).
42928         [build-shared] (link-libc-before-gnulib): New variable.
42929         [build-shared] (link-libc-tests): Likewise.
42930         [build-shared] (link-libc): Define in terms of
42931         $(link-libc-before-gnulib).
42932         [!build-shared] (link-libc-tests): New variable.
42933         (link-libc-static-tests): New variable.
42934         [!gnulib] (gnulib-arch): New variable.
42935         [!gnulib] (gnulib-tests): Likewise.
42936         [!gnulib] (static-gnulib-arch): Likewise.
42937         [!gnulib] (static-gnulib-tests): Likewise.
42938         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
42939         Define with "=" instead of ":=".
42940         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
42941         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
42942         * Rules (binaries-all-notests): New variable.
42943         (binaries-all-tests): Likewise.
42944         (binaries-static-notests): Likewise.
42945         (binaries-static-tests): Likewise.
42946         (binaries-all): Define using $(binaries-all-notests) and
42947         $(binaries-all-tests).
42948         (binaries-static): Define using $(binaries-static-notests) and
42949         $(binaries-static-tests).
42950         (binaries-shared-tests): New variable.
42951         (binaries-shared-notests): Likewise.
42952         (binaries-shared): Remove variable.
42953         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
42954         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
42955         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
42956         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
42957         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
42958         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
42959         * elf/Makefile (sln-modules): New variable.
42960         (extra-objs): Add $(sln-modules:=.o).
42961         (ldconfig-modules): Add static-stubs.
42962         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
42963         * elf/static-stubs.c: New file.
42965         [BZ #14283]
42966         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
42967         by 7 not 8 to examine high bit of fractional part.  Use volatile
42968         variables when splitting into final array of floats if
42969         __FLT_EVAL_METHOD__ != 0.
42970         * math/libm-test.inc (cos_test): Add another test.
42971         (sin_test): Likewise.
42972         * sysdeps/i386/fpu/libm-test-ulps: Update.
42974         [BZ #14273]
42975         * math/libm-test.inc (cosh_test): Add more tests.
42977         * version.h (RELEASE): Set to "development".
42978         (VERSION): Set to "2.16.90".
42980 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
42982         * NEWS: Update copyright. Remove last-updated date.
42983         Mention math library bug fixes and timezone data changes.
42984         * README: Mention GNU/Hurd, x32, and HPPA support status.
42986 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
42988         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
42990 2012-06-27  Andreas Jaeger  <aj@suse.de>
42992         * manual/contrib.texi (Contributors): Add Samuel Thibault.
42994 2012-06-25  Andreas Jaeger  <aj@suse.de>
42996         * sysdeps/s390/fpu/libm-test-ulps: Update.
42998 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
42999             Thomas Schwinge  <thomas@codesourcery.com>
43001         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
43002         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
43003         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
43004         fanotify_mark.
43006 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
43008         * sysdeps/mach/start.c: Remove file.
43009         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
43010         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
43011         * sysdeps/sh/init-first.c: Likewise.
43013         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
43014         registers for frame unwinding purposes, add CFI directives.
43015         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43016         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
43017         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
43018         Likewise.
43020         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
43021         __fortify_fail returning.
43022         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43024         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
43025         sysdeps/sh/____longjmp_chk.S.
43026         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
43027         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
43028         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
43029         (gen-as-const-headers): Append sigaltstack-offsets.sym.
43031         * sysdeps/sh/abort-instr.h: New file.
43032         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
43033         process in case exit returns.
43035         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
43036         initialize the GOT register before use.
43038         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
43039         calculation of ARGC > 4.
43041         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
43042         meaningful names to some local labels.
43044 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43045             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43047         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
43048         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
43049         (__arch_compare_and_exchange_val_16_acq): Likewise.
43050         (__arch_compare_and_exchange_val_32_acq): Likewise.
43051         (atomic_exchange_and_add): Fix gUSA sequence.
43052         (atomic_add): Likewise.
43053         (atomic_add_negative): Likewise.
43054         (atomic_add_zero): Likewise.
43055         (atomic_bit_test_set): Likewise.
43057 2012-06-22  Andreas Schwab  <schwab@redhat.com>
43059         [BZ #13579]
43060         * include/link.h (struct link_map): Add l_free_initfini.
43061         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
43062         l_initfini.
43063         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
43064         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
43065         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
43066         set.
43068 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
43070         * configure.in: Use AC_LANG_SOURCE.
43071         * configure: Regenerate.
43073 2012-06-22  Roland McGrath  <roland@hack.frob.com>
43075         * configure.in (libc_cv_localstatedir): New substituted variable.
43076         * configure: Regenerated.
43077         * config.make.in (localstatedir): New variable, substituted from
43078         libc_cv_localstatedir.
43079         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
43080         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
43081         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
43082         * sysdeps/gnu/configure: Regenerated.
43084 2012-06-21  Jeff Law  <law@redhat.com>
43086         [BZ #14277]
43087         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
43088         free.  Simplify list management for _LIBC case.
43090 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
43092         [BZ #14273]
43093         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
43094         Clear sign bit of 64-bit integer value before comparing against
43095         overflow value.
43097         * sysdeps/mach/configure: Regenerated.
43099 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
43101         [BZ #14278]
43102         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
43104 2012-06-21  Jeff Law  <law@redhat.com>
43106         [BZ #13882]
43107         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
43108         uint16_t for elements in the "seen" array to avoid char overflows.
43109         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43110         * elf/dl-open.c (dl_open_worker): Likewise.
43112 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
43114         * scripts/list-sources.sh: Scan PORTS for translations.
43115         * po/libc.pot: Regenerated.
43117 2012-06-21  Andreas Jaeger  <aj@suse.de>
43119         [BZ #12194]
43120         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
43121         warning.
43122         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
43123         * bits/byteswap-16.h (__bswap_16): Likewise.
43124         * bits/byteswap.h (__bswap_constant_16): Likewise.
43126 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
43128         [BZ #14117]
43129         * sysdeps/i386/fpu_control.h: Removed.
43130         * sysdeps/x86_64/fpu_control.h: Moved to ...
43131         * sysdeps/x86/fpu_control.h: Here.
43133         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
43134         (_FPU_SETCW): Likewise.
43136 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
43138         [BZ #14117]
43139         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
43140         * sysdeps/x86/fpu/bits/mathinline.h: This.
43141         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
43143         [BZ #14050]
43144         [BZ #14117]
43145         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
43146         functions if __x86_64__ is defined.
43148 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
43150         * string/endian.h: Add !__ASSEMBLER__ condition for including
43151         conversion interfaces.
43153 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
43155         [BZ #14241]
43156         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
43157         of ABS(x) in calculating zero to negative powers other than odd
43158         integers.
43159         * math/libm-test.inc (pow_test): Add more tests.
43161 2012-06-15  Andreas Jaeger  <aj@suse.de>
43163         * manual/contrib.texi (Contributors): Update entry of Liubov
43164         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
43165         Machado Filho.
43167 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
43169         * string/string.h: Add __wur to GNU version of strerror_r.
43171 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
43173         [BZ #14229]
43174         * string/Makefile (tests): Add tst-strtok_r.
43175         * string/tst-strtok_r.c: New file.
43176         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
43177         RAX_LP/RDX_LP on SAVE_PTR.
43179 2012-06-14  Roland McGrath  <roland@hack.frob.com>
43181         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
43183 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
43185         * libm_test.inc (csqrt_test): Allow more spurious underflow
43186         exceptions.
43187         (j0_test): Likewise.
43188         (j1_test): Likewise.
43189         (y0_test): Likewise.
43190         (y1_test): Likewise.
43192 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
43194         * po/Makefile (libc.pot): Use UTF-8 charset.
43196 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
43198         [BZ #14210]
43199         Suppress sign-conversion warning from FD_SET.
43200         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
43201         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
43202         not unsigned long int.
43203         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
43205 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
43207         [BZ #14050]
43208         [BZ #14117]
43209         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
43210         __extern_always_inline instead of __extern_inline.
43211         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
43212         (__signbit): Likewise.
43213         (__signbitl): Support C++ namespace.
43214         (lrintf): New inline function.
43215         (lrint): Likewise.
43216         (llrintf): Likewise.
43217         (llrint): Likewise.
43218         (fmaxf): Likewise.
43219         (fmax): Likewise.
43220         (fminf): Likewise.
43221         (fmin): Likewise.
43222         (rint): Likewise.
43223         (rintf): Likewise.
43224         (ceil): Likewise.
43225         (ceilf): Likewise.
43226         (floor): Likewise.
43227         (floorf): Likewise.
43228         (nearbyint): Likewise.
43229         (nearbyintf): Likewise.
43231 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
43233         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
43234         non-default versions.
43236 2012-06-11  Roland McGrath  <roland@hack.frob.com>
43238         [BZ #14218]
43239         * manual/argp.texi (Argp): Reword argp_parse description slightly.
43241 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
43243         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
43244         (FE_UPWARD, FE_DOWNWARD): Don't define.
43245         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
43246         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43248         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
43249         reading it.
43250         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43251         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43253 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43255         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43256         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
43257         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
43258         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
43260 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
43262         [BZ #14117]
43263         * sysdeps/i386/fpu/bits/fenv.h: Removed.
43264         * sysdeps/i386/fpu/Implies: New file.
43265         * sysdeps/x86_64/fpu/Implies: Likewise.
43266         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
43267         * sysdeps/x86/fpu/bits/fenv.h: This.
43269         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
43270         __SSE_MATH__.
43272 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43274         [BZ #14134]
43275         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
43276         character 0xffff that matches the last element of the
43277         conversion table.
43279 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43281         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
43282         fmodl commit.
43284 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43286         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
43287         values higher than 25.6283.
43289 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43291         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
43292         subnormal exponent extraction and add some __builtin_expect.
43293         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
43294         Fix for subnormal mantissa calculation.
43296 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
43298         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
43299         cpu2 is -1 and errno is not ENOSYS.
43301 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
43303         [BZ #14117]
43304         * sysdeps/i386/i486/bits/string.h: Renamed to ...
43305         * sysdeps/x86/bits/string.h: This.
43306         * sysdeps/x86_64/bits/string.h: Removed.
43308         * sysdeps/i386/i486/bits/string.h: Define inline functions only
43309         if not compiling for x86-64, but compiling for >= i486.
43311         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
43312         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
43314         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
43315         New macro from Linux kernel 3.4.0.
43316         (FP_XSTATE_MAGIC2): Likewise.
43317         (FP_XSTATE_MAGIC2_SIZE): Likewise.
43318         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
43319         (struct _fpx_sw_bytes): New struct.
43320         (struct _xsave_hdr): Likewise.
43321         (struct _ymmh_state): Likewise.
43322         (struct _xstate): Likewise.
43324         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
43325         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
43326         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
43327         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
43328         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
43329         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
43331         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
43332         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
43333         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
43334         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
43335         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
43336         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
43338 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43340         [BZ #13743]
43341         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
43342         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
43343         (sysdep_headers): Include sys/platform/ppc.h.
43344         * sysdeps/powerpc/test-gettimebase.c: Test for
43345         __ppc_get_timebase() to catch future ISA opcode/insn changes.
43346         * manual/Makefile (appendices): Include platform.texi.
43347         * manual/contrib.texi (Contributors): Update @node pointers.
43348         * manual/maint.texi (Maintenance): Likewise.
43349         (Platform): New node.
43350         * manual/platform.texi: New file.  Document the new features.
43352 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43353             Jakub Jelinek  <jakub@redhat.com>
43355         [BZ #14188]
43356         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
43357         where __builtin_expect is unavailable.
43359 2012-06-03  David S. Miller  <davem@davemloft.net>
43361         * stdlib/longlong.h: Updated from GCC.
43363 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
43365         [BZ #14042]
43366         * sysdeps/powerpc/powerpc32/mcount.c: New file.
43367         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
43368         __mcount_internal.
43369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43370         (GLIBC_2.16): Likewise.
43372 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
43374         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
43376 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
43378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
43379         (default-abi): New variable.
43380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
43381         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
43382         variable.
43383         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
43384         Likewise.
43385         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
43386         Likewise.
43387         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
43388         Likewise.
43390         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
43391         definition.  Document in comment.
43393 2012-06-01  David S. Miller  <davem@davemloft.net>
43395         * stdlib/longlong.h: Updated from GCC.
43397 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
43399         [BZ #14117]
43400         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
43401         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
43402         sys/debugreg.h sys/io.h here.
43403         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
43404         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
43405         sys/io.h.
43406         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
43407         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
43408         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
43409         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
43410         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
43411         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
43413         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
43414         Define only if __x86_64__ is defined.
43416 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
43418         [BZ #14048]
43419         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
43420         Use int64_t for variable i.
43421         * math/libm-test.inc (fmod_test): Add more tests.
43423         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
43424         z computation is not scheduled after fetestexcept.
43425         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
43426         Use math_force_eval instead of asm to ensure calculation scheduled
43427         before exception test.
43428         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
43429         Ensure a1 + u.d computation is not scheduled after fetestexcept.
43431 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
43433         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
43434         computation is not scheduled after fetestexcept.
43436 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
43438         [BZ #14117]
43439         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
43440         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
43442 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43444         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
43445         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43447 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
43449         [BZ #14117]
43450         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
43451         <bits/wordsize.h>.
43452         (__WCHAR_MIN): Support __WORDSIZE == 64.
43453         (__WCHAR_MAX): Likewise.
43455         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
43456         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
43458         [BZ #14183]
43459         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
43460         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
43462         [BZ #14117]
43463         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
43464         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
43466         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
43467         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
43469         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
43470         Defined to 1 if __x86_64__ isn't defined.
43471         (_STAT_VER_LINUX_OLD): New.
43472         (st_atime): Remove duplicate.
43473         (st_mtime): Likewise.
43474         (st_ctime): Likewise.
43476 2012-05-31  David S. Miller  <davem@davemloft.net>
43478         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
43479         entries.
43481 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
43483         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
43484         gen-libm-test.pl.
43486         [BZ #14132]
43487         * elf/dl-reloc.c: Include <_itoa.h>.
43488         (_dl_reloc_bad_type): Remove use of INTUSE.
43489         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
43490         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
43491         * stdio-common/psiginfo.c (psiginfo): Likewise.
43492         * stdio-common/psignal.c (psignal): Likewise.
43493         * string/strsignal.c (strsignal): Likewise.
43494         * include/signal.h (_sys_siglist): Declare hidden proto.
43495         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
43496         INTVARDEF with libc_hidden_data_def.
43497         * stdio-common/itoa-udigits.c: Likewise.
43498         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
43499         (_itoa_lower_digits_internal): Remove declaration.
43500         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
43501         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
43502         (_sys_sigabbrev_internal): Remove aliases.
43503         (_sys_siglist): Define hidden alias.
43505 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
43507         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43508         bits/sysctl.h.
43510 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
43512         [BZ #14117]
43513         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
43514         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
43516         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
43517         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
43518         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
43519         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
43520         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
43521         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
43523         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
43524         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
43525         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
43527         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
43528         with __addr.
43529         (insw): Likewise.
43530         (insl): Likewise.
43531         (outsb): Likewise.
43532         (outsw): Likewise.
43533         (outsl): Likewise.
43535         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
43536         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
43537         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
43539         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
43540         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
43541         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
43542         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
43543         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
43544         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
43546         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
43547         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
43549         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
43550         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
43552         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
43553         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
43554         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
43556         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
43557         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
43558         to ...
43559         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
43561         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
43562         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
43563         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
43565         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
43566         for x86-64.
43567         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
43569 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
43571         * math/math.h (M_El): Use two more decimal places.
43572         (M_LOG2El): Likewise.
43573         (M_LOG10El): Likewise.
43574         (M_LN2l): Likewise.
43575         (M_LN10l): Likewise.
43576         (M_PIl): Likewise.
43577         (M_PI_2l): Likewise.
43578         (M_PI_4l): Likewise.
43579         (M_1_PIl): Likewise.
43580         (M_2_PIl): Likewise.
43581         (M_2_SQRTPIl): Likewise.
43582         (M_SQRT2l): Likewise.
43583         (M_SQRT1_2l): Likewise.
43585 2012-05-31  David S. Miller  <davem@davemloft.net>
43587         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
43588         values between float registers.
43589         * sysdeps/sparc/sparc64/memset.S: Likewise.
43590         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43592 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
43594         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
43595         -D_FORTIFY_SOURCE=1.
43596         (CPPFLAGS-tst-longjmp_chk.c): Define.
43597         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
43598         (CPPFLAGS-tst-longjmp_chk2.c): Define.
43599         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
43600         CFLAGS-tst-wchar-h.c.
43602 2012-05-31  Marek Polacek  <polacek@redhat.com>
43604         [BZ #14132]
43605         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
43606         __endmntent_internal): Remove declaration.
43607         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
43608         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
43609         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
43611 2012-05-30  David S. Miller  <davem@davemloft.net>
43613         * sysdeps/sparc/sparc32/soft-fp/q_util.c
43614         (___Q_simulate_exceptions): Use real FP ops rather than writing
43615         into the %fsr.
43616         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
43617         Likewise.
43619 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
43621         [BZ #14117]
43622         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
43623         * sysdeps/x86/bits/xtitypes.h: This.
43625         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
43626         * sysdeps/x86/bits/wordsize.h: This.
43628         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
43629         * sysdeps/x86/bits/huge_vall.h: This.
43631         * sysdeps/i386/bits/select.h: Removed.
43632         * sysdeps/x86_64/bits/select.h: Renamed to ...
43633         * sysdeps/x86/bits/select.h: This.
43635         * sysdeps/i386/bits/setjmp.h: Removed.
43636         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
43637         * sysdeps/x86/bits/setjmp.h: This.
43639         * sysdeps/i386/bits/mathdef.h: Removed.
43640         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
43641         * sysdeps/x86/bits/mathdef.h: This.
43643 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
43645         [BZ #14132]
43646         * include/sys/socket.h (__connect_internal)
43647         (__libc_sa_len_internal): Remove declaration.
43648         (__connect, __libc_sa_len): Declare hidden_proto.
43649         (SA_LEN): Remove use of INTUSE.
43650         * socket/connect.c: Add libc_hidden_def.
43651         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
43652         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
43653         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
43654         alias.
43655         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
43656         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
43657         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
43658         of adding _internal alias.
43660 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
43662         [BZ #14117]
43663         * sysdeps/i386/bits/link.h: Removed.
43664         * sysdeps/i386/bits/linkmap.h: Likewise.
43665         * sysdeps/x86_64/bits/link.h: Renamed to ...
43666         * sysdeps/x86/bits/link.h: This.
43667         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
43668         * sysdeps/x86/bits/linkmap.h: This.
43670         * sysdeps/i386/bits/endian.h: Removed.
43671         * sysdeps/x86_64/bits/endian.h: Renamed to ...
43672         * sysdeps/x86/bits/endian.h: This.
43674         * sysdeps/i386/bits/byteswap.h: Removed.
43675         * sysdeps/i386/bits/byteswap-16.h: Likewise.
43676         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
43677         * sysdeps/x86/bits/byteswap.h: This.
43678         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
43679         * sysdeps/x86/bits/byteswap-16.h: This.
43680         * sysdeps/i386/Implies: Add x86.
43681         * sysdeps/x86_64/Implies: Likewise.
43683 2012-05-30  David S. Miller  <davem@davemloft.net>
43685         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
43686         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
43687         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
43688         (FP_TRAPPING_EXCEPTIONS): Define.
43689         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
43690         (FP_TRAPPING_EXCEPTIONS): Define.
43691         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
43692         subnormals only when inexact has been signalled or underflow
43693         exceptions are enabled.
43694         (_FP_PACK_CANONICAL): Likewise.
43696 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
43698         [BZ #14183]
43699         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
43700         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
43702 2012-05-30  Richard Henderson  <rth@twiddle.net>
43704         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
43705         with #ifndef NOT_IN_libc.
43707         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
43708         marked to avoid plt entry.
43710 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
43712         [BZ #14112]
43713         * Makeconfig (default-abi): New macro.
43714         (abi-includes): Likewise.
43715         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
43716         $(abi-$(default-abi)-lib-soname) for soname if defined.
43717         ($(common-objpfx)gnu/lib-names.stmp): Generate from
43718         abi-variants.
43719         * Makefile (installed-stubs): Likewise.
43720         * include/stubs-biarch.h: Removed.
43721         * scripts/lib-names.awk: Only handle one library at a time.
43722         * scripts/soversions.awk: Remove WORDSIZE support.
43723         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
43724         entries.
43725         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
43726         Removed.
43727         (syscall-list-default-condition): Likewise.
43728         (syscall-list-default-condition): Likewise.
43729         (syscall-list-includes): Likewise.
43730         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
43731         syscall-list-* with abi-*.  Handle undefined abi-variants.
43732         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
43733         * sysdeps/unix/sysv/linux/i386/Implies: New file.
43734         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
43735         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
43736         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
43737         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
43738         Removed.
43739         (syscall-list-32-options): Likewise.
43740         (syscall-list-32-condition): Likewise.
43741         (syscall-list-64-options): Likewise.
43742         (syscall-list-64-condition): Likewise.
43743         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
43744         macro.
43745         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
43746         Renamed to ...
43747         (abi-*): This.
43748         (abi-64-ld-soname): New macro.
43749         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
43750         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
43751         Renamed to ...
43752         (abi-*): This.
43753         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
43754         * sysdeps/x86_64/x32/shlib-versions: Likewise.
43756 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
43758         * sysdeps/unix/sysv/linux/kernel-features.h
43759         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
43760         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
43761         include <kernel-features.h>.
43762         [!__NR_ftruncate64]: Remove conditional code.
43763         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43764         [__NR_ftruncate64]: Make code unconditional.
43765         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43766         * sysdeps/unix/sysv/linux/truncate64.c: Do not
43767         include <kernel-features.h>.
43768         [!__NR_ftruncate64]: Remove conditional code.
43769         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43770         [__NR_ftruncate64]: Make code unconditional.
43771         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
43773         include <kernel-features.h>.
43774         [!__NR_ftruncate64]: Remove conditional code.
43775         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43776         [__NR_ftruncate64]: Make code unconditional.
43777         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
43779         include <kernel-features.h>.
43780         [!__NR_ftruncate64]: Remove conditional code.
43781         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43782         [__NR_ftruncate64]: Make code unconditional.
43783         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43785         * configure.in (libc_cv_fpie): Weaken to a compile test using
43786         LIBC_TRY_CC_OPTION.
43787         * configure: Regenerated.
43789 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
43792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
43793         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
43794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43795         Refreshed.
43796         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
43797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
43798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
43799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
43800         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
43801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43802         Refreshed.
43804 2012-05-27  David S. Miller  <davem@davemloft.net>
43806         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
43807         (___Q_zero): New.
43808         (__Q_simulate_exceptions): Return void.  Change to simulate
43809         exceptions by writing into the %fsr.
43810         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
43811         (__Qp_handle_exceptions): Likewise.
43812         (numbers): Delete.
43813         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
43814         __Qp_handle_exceptions.
43815         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
43816         __Qp_handle_exceptions.
43817         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
43818         as unused and give dummy FP_RND_NEAREST initializer.
43819         (FP_INHIBIT_RESULTS): Define.
43820         (___Q_simulate_exceptions): Update declaration.
43821         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
43822         formatting.
43823         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
43824         as unused and give dummy FP_RND_NEAREST initializer.
43825         (__Qp_handle_exceptions): Update declaration.
43826         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
43827         formatting.
43829 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
43831         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
43832         the temporary FPU control word.
43833         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
43834         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
43835         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
43836         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43837         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
43838         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
43839         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
43840         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43841         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
43842         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
43843         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43845 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43847         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
43848         fields.
43850 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
43852         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
43853         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
43854         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
43855         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
43856         Likewise.
43857         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
43858         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
43859         Likewise.
43861 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
43863         * po/h.po: Update from translation team.
43865 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
43867         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
43869         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
43870         handling of denormals.
43871         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43872         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
43873         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43874         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43875         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43876         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
43877         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
43878         Likewise.
43880 2012-05-26  Marek Polacek  <polacek@redhat.com>
43882         [BZ #14152]
43883         * math/libm-test.inc (fma_test): Don't always expect underflow
43884         exception.
43886 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43888         [BZ #12416]
43889         * elf/tst-execstack.c: Include stackinfo.h.
43890         (do_test): Adjust test case to ensure that pthread_getattr_np
43891         behaviour remains the same after marking stack executable.
43893 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
43895         * sysdeps/unix/sysv/linux/kernel-features.h
43896         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
43897         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
43898         kernel-features.h.
43899         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
43900         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
43901         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
43902         kernel-features.h.
43903         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
43904         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
43906 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
43908         * configure.in: Define the default includes to being none.
43909         * configure: Regenerated.
43911 2012-05-25  Roland McGrath  <roland@hack.frob.com>
43913         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
43914         * sysdeps/x86_64/setjmp.S: Likewise.
43915         * sysdeps/i386/bsd-setjmp.S: Likewise.
43916         * sysdeps/i386/bsd-_setjmp.S: Likewise.
43917         * sysdeps/i386/setjmp.S: Likewise.
43918         * sysdeps/i386/__longjmp.S: Likewise.
43919         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43920         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
43922         * include/stap-probe.h: New file.
43923         * configure.in: Handle --enable-systemtap.
43924         * configure: Regenerated.
43925         * config.h.in (USE_STAP_PROBE): New #undef.
43926         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
43927         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
43928         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43930 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
43932         [BZ #13717]
43933         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43934         to 2.4.0 where earlier.
43935         * sysdeps/unix/sysv/linux/configure: Regenerated.
43936         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
43937         <kernel-features.h>.
43938         [__ASSUME_32BITUIDS]: Make code unconditional.
43939         [!__ASSUME_32BITUIDS]: Remove conditional code.
43940         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
43941         <kernel-features.h>.
43942         [__ASSUME_32BITUIDS]: Make code unconditional.
43943         [!__ASSUME_32BITUIDS]: Remove conditional code.
43944         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
43945         [__ASSUME_32BITUIDS]: Make code unconditional.
43946         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
43947         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
43948         <kernel-features.h>.
43949         [__ASSUME_32BITUIDS]: Make code unconditional.
43950         [!__ASSUME_32BITUIDS]: Remove conditional code.
43951         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
43952         <kernel-features.h>.
43953         [__ASSUME_32BITUIDS]: Make code unconditional.
43954         [!__ASSUME_32BITUIDS]: Remove conditional code.
43955         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
43956         <kernel-features.h>.
43957         [__ASSUME_32BITUIDS]: Make code unconditional.
43958         [!__ASSUME_32BITUIDS]: Remove conditional code.
43959         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
43960         <kernel-features.h>.
43961         [__ASSUME_32BITUIDS]: Make code unconditional.
43962         [!__ASSUME_32BITUIDS]: Remove conditional code.
43963         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
43964         <kernel-features.h>.
43965         [__ASSUME_32BITUIDS]: Make code unconditional.
43966         [!__ASSUME_32BITUIDS]: Remove conditional code.
43967         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
43968         <kernel-features.h>.
43969         [__ASSUME_32BITUIDS]: Make code unconditional.
43970         [!__ASSUME_32BITUIDS]: Remove conditional code.
43971         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
43972         <kernel-features.h>.
43973         [__ASSUME_32BITUIDS]: Make code unconditional.
43974         [!__ASSUME_32BITUIDS]: Remove conditional code.
43975         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
43976         <kernel-features.h>.
43977         [__ASSUME_32BITUIDS]: Make code unconditional.
43978         [!__ASSUME_32BITUIDS]: Remove conditional code.
43979         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
43980         <kernel-features.h>.
43981         [__ASSUME_32BITUIDS]: Make code unconditional.
43982         [!__ASSUME_32BITUIDS]: Remove conditional code.
43983         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
43984         <kernel-features.h>.
43985         [__ASSUME_32BITUIDS]: Make code unconditional.
43986         [!__ASSUME_32BITUIDS]: Remove conditional code.
43987         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
43988         <kernel-features.h>.
43989         [__NR_setresgid] (__setresgid): Do not declare.
43990         [__ASSUME_32BITUIDS]: Make code unconditional.
43991         [!__ASSUME_32BITUIDS]: Remove conditional code.
43992         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
43993         <kernel-features.h>.
43994         [__NR_setresuid] (__setresuid): Do not declare.
43995         [__ASSUME_32BITUIDS]: Make code unconditional.
43996         [!__ASSUME_32BITUIDS]: Remove conditional code.
43997         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
43998         <kernel-features.h>.
43999         [__ASSUME_32BITUIDS]: Make code unconditional.
44000         [!__ASSUME_32BITUIDS]: Remove conditional code.
44001         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
44002         <kernel-features.h>.
44003         [__ASSUME_32BITUIDS]: Make code unconditional.
44004         [!__ASSUME_32BITUIDS]: Remove conditional code.
44005         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
44006         <kernel-features.h>.
44007         [__ASSUME_32BITUIDS]: Make code unconditional.
44008         [!__ASSUME_32BITUIDS]: Remove conditional code.
44009         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
44010         <kernel-features.h>.
44011         [__ASSUME_32BITUIDS]: Make code unconditional.
44012         [!__ASSUME_32BITUIDS]: Remove conditional code.
44013         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
44014         <kernel-features.h>.
44015         [__ASSUME_32BITUIDS]: Make code unconditional.
44016         [!__ASSUME_32BITUIDS]: Remove conditional code.
44017         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
44018         <kernel-features.h>.
44019         [__ASSUME_32BITUIDS]: Make code unconditional.
44020         [!__ASSUME_32BITUIDS]: Remove conditional code.
44021         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
44022         <kernel-features.h>.
44023         [__ASSUME_32BITUIDS]: Make code unconditional.
44024         [!__ASSUME_32BITUIDS]: Remove conditional code.
44025         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
44026         <kernel-features.h>.
44027         [__ASSUME_32BITUIDS]: Make code unconditional.
44028         [!__ASSUME_32BITUIDS]: Remove conditional code.
44029         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
44030         <kernel-features.h>.
44031         [__ASSUME_32BITUIDS]: Make code unconditional.
44032         [!__ASSUME_32BITUIDS]: Remove conditional code.
44033         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
44034         <kernel-features.h>.
44035         [__ASSUME_32BITUIDS]: Make code unconditional.
44036         [!__ASSUME_32BITUIDS]: Remove conditional code.
44037         * sysdeps/unix/sysv/linux/kernel-features.h
44038         (__ASSUME_SETRESUID_SYSCALL): Remove.
44039         (__ASSUME_SETRESGID_SYSCALL): Likewise.
44040         (__ASSUME_32BITUIDS): Likewise.
44041         (__ASSUME_LDT_WORKS): Likewise.
44042         (__ASSUME_O_DIRECTORY): Likewise.
44043         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
44044         architecture but not kernel version.
44045         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
44046         (__ASSUME_MMAP2_SYSCALL): Likewise.
44047         (__ASSUME_STAT64_SYSCALL): Likewise.
44048         (__ASSUME_IPC64): Likewise.
44049         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
44050         <kernel-features.h>.
44051         [__ASSUME_32BITUIDS]: Make code unconditional.
44052         [!__ASSUME_32BITUIDS]: Remove conditional code.
44053         * sysdeps/unix/sysv/linux/opendir.c: Do not include
44054         <kernel-features.h>.
44055         [__ASSUME_O_DIRECTORY]: Make code unconditional.
44056         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
44057         132096]: Remove conditional code.
44058         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
44059         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
44060         <kernel-features.h>.
44061         [__ASSUME_32BITUIDS]: Make code unconditional.
44062         [!__ASSUME_32BITUIDS]: Remove conditional code.
44063         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
44064         <kernel-features.h>.
44065         [__ASSUME_32BITUIDS]: Make code unconditional.
44066         [!__ASSUME_32BITUIDS]: Remove conditional code.
44067         * sysdeps/unix/sysv/linux/setegid.c: Do not include
44068         <kernel-features.h>.
44069         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
44070         unconditional.
44071         (__setresgid): Do not declare.
44072         [__ASSUME_32BITUIDS]: Make code unconditional.
44073         [!__ASSUME_32BITUIDS]: Remove conditional code.
44074         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
44075         <kernel-features.h>.
44076         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
44077         unconditional.
44078         (__setresuid): Do not declare.
44079         [__ASSUME_32BITUIDS]: Make code unconditional.
44080         [!__ASSUME_32BITUIDS]: Remove conditional code.
44081         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
44082         <kernel-features.h>.
44083         [__ASSUME_32BITUIDS]: Make code unconditional.
44084         [!__ASSUME_32BITUIDS]: Remove conditional code.
44085         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
44086         <kernel-features.h>.
44087         [__ASSUME_32BITUIDS]: Make code unconditional.
44088         [!__ASSUME_32BITUIDS]: Remove conditional code.
44090 2012-05-25  Richard Henderson  <rth@twiddle.net>
44092         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
44093         dl_hwcap to ifunc resolver.
44094         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
44095         elf_ifunc_invoke.
44096         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
44097         dl_hwcap to ifunc resolver.
44098         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
44100 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
44102         [BZ #14153]
44103         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
44104         for |x| <= 2**-26, not 2**-57.
44105         * math/libm-test.inc (acos_test): Do not allow spurious underflow
44106         exception.
44108 2012-05-24  Jeff Law  <law@redhat.com>
44110         * stdio-common/Makefile (tests): Add bug25.
44111         * stdio-common/bug25.c: New test.
44113 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
44115         [BZ #13576]
44116         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
44117         multiple of MALLOC_ALIGNMENT in size.
44118         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
44120 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
44122         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
44123         Require >= 256.
44124         (FILENAME_MAX): Use macro-int-constant.
44125         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
44126         (_IOFBF): Use macro-int-constant.
44127         (_IOLBF): Likewise.
44128         (_IONBF): Likewise.
44129         (SEEK_CUR): Likewise.
44130         (SEEK_END): Likewise.
44131         (SEEK_SET): Likewise.
44132         (TMP_MAX): Likewise.
44133         (EOF): Use macro-int-constant.  Require < 0.
44134         (NULL): Use macro-constant.  Require == 0.
44135         (stdin): Require type to be FILE *.
44136         (stdout): Likewise.
44137         (stderr): Likewise.
44138         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
44139         macro-int-constant.
44140         (EXIT_SUCCESS): Likewise.
44141         (NULL): Use macro-constant.  Require == 0.
44142         (RAND_MAX): Use macro-int-constant.
44143         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
44144         [C99-based standards] (strtof): Require function.
44145         [C99-based standards] (strtold): Likewise.
44146         [C99-based standards] (strtoll): Likewise.
44147         [C99-based standards] (strtoull): Likewise.
44148         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44149         [ISO || ISO99 || ISO11] (limits.h): Likewise.
44150         [ISO || ISO99 || ISO11] (math.h): Likewise.
44151         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
44152         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44153         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44155 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
44157         [BZ #14132]
44158         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
44159         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
44160         * intl/dgettext.c (DCGETTEXT): Likewise.
44161         * intl/gettext.c (DCGETTEXT): Likewise.
44162         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
44163         * posix/regex_internal.h (gettext): Likewise.
44164         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
44165         Remove declaration.
44166         * include/argz.h (__argz_count_internal)
44167         (__argz_stringify_internal): Remove declaration.
44168         (__argz_count, __argz_stringify): Declare hidden proto.
44169         * intl/dcgettext.c: Remove use of INTDEF.
44170         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
44171         * string/argz-stringify.c: Likewise.
44172         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44173         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44174         Declare hidden proto.
44175         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44176         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44177         Declare hidden proto.
44178         * include/stdio.h (__asprintf_internal): Don't declare.
44179         (__asprintf): Don't define as macro.  Declare hidden proto.
44180         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
44181         (__fsetlocking): Declare hidden proto.
44182         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
44183         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
44184         hidden proto.
44185         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
44186         (_IO_setlinebuf): Remove use of INTUSE.
44187         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
44188         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
44189         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
44190         Remove declaration.
44191         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
44192         (_IO_do_flush): Remove use of INTUSE.
44193         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
44194         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
44195         (_IO_adjust_column, _IO_least_wmarker)
44196         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
44197         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
44198         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
44199         (_IO_default_doallocate, _IO_wdefault_doallocate)
44200         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
44201         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
44202         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
44203         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
44204         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
44205         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
44206         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
44207         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
44208         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
44209         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
44210         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
44211         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
44212         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
44213         proto.
44214         (_IO_flush_all_internal, _IO_adjust_column_internal)
44215         (_IO_default_uflow_internal, _IO_default_finish_internal)
44216         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
44217         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
44218         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
44219         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
44220         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
44221         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
44222         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
44223         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
44224         (_IO_file_close_internal, _IO_file_close_it_internal)
44225         (_IO_file_underflow_internal, _IO_file_overflow_internal)
44226         (_IO_file_init_internal, _IO_file_attach_internal)
44227         (_IO_file_fopen_internal, _IO_file_read_internal)
44228         (_IO_file_sync_internal, _IO_file_seek_internal)
44229         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
44230         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
44231         (_IO_str_underflow_internal, _IO_str_overflow_internal)
44232         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
44233         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
44234         (_IO_list_all_internal, _IO_link_in_internal)
44235         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
44236         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
44237         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
44238         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
44239         (_IO_do_write_internal, _IO_padn_internal)
44240         (_IO_getline_info_internal, _IO_getline_internal)
44241         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
44242         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
44243         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
44244         (_IO_vfscanf_internal, _IO_vfprintf_internal)
44245         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
44246         (_IO_init_internal, _IO_un_link_internal): Don't declare.
44247         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
44248         with libc_hidden_ver, remove use of INTUSE.
44249         * libio/genops.c: Likewise.
44250         * libio/freopen.c: Likewise.
44251         * libio/freopen64.c: Likewise.
44252         * libio/iofclose.c: Likewise.
44253         * libio/iofdopen.c: Likewise.
44254         * libio/iofflush.c: Likewise.
44255         * libio/iofflush_u.c: Likewise.
44256         * libio/iofgets.c: Likewise.
44257         * libio/iofgets_u.c: Likewise.
44258         * libio/iofopen.c: Likewise.
44259         * libio/iofopncook.c: Likewise.
44260         * libio/iofread.c: Likewise.
44261         * libio/iofread_u.c: Likewise.
44262         * libio/ioftell.c: Likewise.
44263         * libio/iofwrite.c: Likewise.
44264         * libio/iogetline.c: Likewise.
44265         * libio/iogets.c: Likewise.
44266         * libio/iogetwline.c: Likewise.
44267         * libio/iopadn.c: Likewise.
44268         * libio/iopopen.c: Likewise.
44269         * libio/ioseekoff.c: Likewise.
44270         * libio/ioseekpos.c: Likewise.
44271         * libio/iosetbuffer.c: Likewise.
44272         * libio/iosetvbuf.c: Likewise.
44273         * libio/ioungetc.c: Likewise.
44274         * libio/ioungetwc.c: Likewise.
44275         * libio/iovdprintf.c: Likewise.
44276         * libio/iovsprintf.c: Likewise.
44277         * libio/iovsscanf.c: Likewise.
44278         * libio/memstream.c: Likewise.
44279         * libio/obprintf.c: Likewise.
44280         * libio/oldfileops.c: Likewise.
44281         * libio/oldiofclose.c: Likewise.
44282         * libio/oldiofdopen.c: Likewise.
44283         * libio/oldiofopen.c: Likewise.
44284         * libio/oldiopopen.c: Likewise.
44285         * libio/oldstdfiles.c: Likewise.
44286         * libio/putc.c: Likewise.
44287         * libio/setbuf.c: Likewise.
44288         * libio/setlinebuf.c: Likewise.
44289         * libio/stdfiles.c: Likewise.
44290         * libio/strops.c: Likewise.
44291         * libio/vasprintf.c: Likewise.
44292         * libio/vscanf.c: Likewise.
44293         * libio/vsnprintf.c: Likewise.
44294         * libio/vswprintf.c: Likewise.
44295         * libio/wfiledoalloc.c: Likewise.
44296         * libio/wfileops.c: Likewise.
44297         * libio/wgenops.c: Likewise.
44298         * libio/wmemstream.c: Likewise.
44299         * libio/wstrops.c: Likewise.
44300         * libio/__fpurge.c: Likewise.
44301         * libio/__fsetlocking.c: Likewise.
44302         * assert/assert.c: Likewise.
44303         * debug/fgets_chk.c: Likewise.
44304         * debug/fgets_u_chk.c: Likewise.
44305         * debug/fread_chk.c: Likewise.
44306         * debug/fread_u_chk.c: Likewise.
44307         * debug/gets_chk.c: Likewise.
44308         * debug/obprintf_chk.c: Likewise.
44309         * debug/vasprintf_chk.c: Likewise.
44310         * debug/vdprintf_chk.c: Likewise.
44311         * debug/vsnprintf_chk.c: Likewise.
44312         * debug/vsprintf_chk.c: Likewise.
44313         * malloc/mtrace.c: Likewise.
44314         * misc/error.c: Likewise.
44315         * misc/syslog.c: Likewise.
44316         * stdio-common/asprintf.c: Likewise.
44317         * stdio-common/fxprintf.c: Likewise.
44318         * stdio-common/getw.c: Likewise.
44319         * stdio-common/isoc99_fscanf.c: Likewise.
44320         * stdio-common/isoc99_scanf.c: Likewise.
44321         * stdio-common/isoc99_vfscanf.c: Likewise.
44322         * stdio-common/isoc99_vscanf.c: Likewise.
44323         * stdio-common/isoc99_vsscanf.c: Likewise.
44324         * stdio-common/printf-prs.c: Likewise.
44325         * stdio-common/printf_fp.c: Likewise.
44326         * stdio-common/printf_fphex.c: Likewise.
44327         * stdio-common/printf_size.c: Likewise.
44328         * stdio-common/putw.c: Likewise.
44329         * stdio-common/scanf.c: Likewise.
44330         * stdio-common/sprintf.c: Likewise.
44331         * stdio-common/tmpfile.c: Likewise.
44332         * stdio-common/vfprintf.c: Likewise.
44333         * stdio-common/vfscanf.c: Likewise.
44334         * stdlib/strfmon_l.c: Likewise.
44335         * sunrpc/openchild.c: Likewise.
44336         * sunrpc/xdr_stdio.c: Likewise.
44337         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
44338         * sysdeps/mach/hurd/tmpfile.c: Likewise.
44340 2012-05-24  Roland McGrath  <roland@hack.frob.com>
44342         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44344         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
44345         in the third column, to generate for the shared library an IFUNC
44346         that uses _dl_vdso_vsym.
44347         * Makerules (COMPILE.c, compile-stdin.c): New variables.
44348         * Makeconfig (object-suffixes-noshared): New variable.
44350         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
44351         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
44352         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
44353         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
44355         [BZ #14132]
44356         * include/sys/time.h (__gettimeofday): Remove macro.
44357         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
44358         * time/gettimeofday.c (__gettimeofday): Remove #undef.
44359         Remove INTDEF.
44360         (__gettimeofday): Add libc_hidden_def.
44361         (gettimeofday): Add libc_hidden_weak.
44362         * sysdeps/mach/gettimeofday.c: Likewise.
44363         * sysdeps/posix/gettimeofday.c: Likewise.
44364         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
44365         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
44366         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
44367         (__gettimeofday_internal): Remove strong_alias.
44368         (__gettimeofday): Add libc_hidden_def.
44369         (gettimeofday): Add libc_hidden_weak.
44370         * sysdeps/unix/syscalls.list (gettimeofday):
44371         Remove __gettimeofday_internal alias.
44373 2012-05-24  Daniel Jacobowitz  <drow@false.org>
44374             H.J. Lu  <hongjiu.lu@intel.com>
44376         [BZ #12495]
44377         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
44378         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
44379         (largebin_index_32_big): New.
44380         (largebin_index): Use it for 16-byte alignment.
44381         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
44382         correction with front_misalign.
44384 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
44386         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
44387         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
44388         Likewise.
44389         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
44390         Likewise.
44391         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
44392         Likewise.
44393         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
44394         Likewise.
44395         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
44396         Likewise.
44397         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
44398         Likewise.
44399         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
44400         Likewise.
44401         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44402         Likewise.
44403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
44404         Likewise.
44405         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
44406         Likewise.
44407         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
44408         Likewise.
44409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
44410         Likewise.
44412         * scripts/data/c++-types-x32-linux-gnu.data: New file.
44413         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
44415 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
44417         [BZ #10846]
44418         [BZ #14036]
44419         * math/libm-test.inc (exp_test): Add test from bug 14036.
44420         (pow_test): Add test from bug 10846.
44422         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
44423         and other flags.
44424         (special_function): Do not include flags in test name.
44425         (parse_args): Likewise.
44426         * sysdeps/i386/fpu/libm-test-ulps: Update.
44427         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44428         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44429         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44432         * math/gen-libm-test.pl (%beautify): Add entries for underflow
44433         exceptions.
44434         * math/libm-test.inc ("Philosophy"): Update comment about
44435         exception testing.
44436         (UNDERFLOW_EXCEPTION): New macro.
44437         (UNDERFLOW_EXCEPTION_OK): Likewise.
44438         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
44439         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
44440         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
44441         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
44442         (INVALID_EXCEPTION_OK): Update value.
44443         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44444         (OVERFLOW_EXCEPTION_OK): Likewise.
44445         (IGNORE_ZERO_INF_SIGN): Likewise.
44446         (test_exceptions): Handle underflow exceptions.
44447         (acos_test): Update for underflow exception expectations.
44448         (cexp_test): Likewise.
44449         (clog_test): Likewise.
44450         (clog10_test): Likewise.
44451         (csqrt_test): Likewise.
44452         (ctan_test): Likewise.
44453         (ctanh_test): Likewise.
44454         (exp_test): Likewise.
44455         (exp10_test): Likewise.
44456         (exp2_test): Likewise.
44457         (expm1_test): Likewise.
44458         (fma_test): Likewise.
44459         (j0_test): Likewise.
44460         (jn_test): Likewise.
44461         (nexttoward_test): Likewise.
44462         (pow_test): Likewise.
44463         (scalbn_test): Likewise.
44464         (scalbln_test): Likewise.
44465         (tan_test): Likewise.
44466         (y1_test): Likewise.
44467         * sysdeps/i386/fpu/libm-test-ulps: Update.
44468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44470 2012-05-23  David S. Miller  <davem@davemloft.net>
44472         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44473         (__libc_sigaction): Remove unused local variables.
44475 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
44477         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
44479 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
44481         mktime: avoid signed integer overflow
44482         * time/mktime.c (__mktime_internal): Do not mishandle the case
44483         where diff == INT_MIN.
44485         mktime: simplify computation of average
44486         * time/mktime.c (ranged_convert): Use new time_t_avg function
44487         instead of rolling our own (probably-slower) code.
44489         mktime: do not assume signed right shift propagates sign bit
44490         * time/mktime.c (isdst_differ): New static function.
44491         (__mktime_internal): No need to normalize tm_isdst now.
44492         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
44493         tm_isdst values.
44495         mktime: merge another wrapv change from gnulib
44496         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
44497         from some compilers.
44499         mktime: remove incorrect attempt at unusual arithmetics
44500         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
44501         The code didn't really work on such machines anyway.
44502         (TYPE_MINIMUM): Assume two's complement.
44503         (twos_complement_arithmetic): Verify that long_int and time_t
44504         are two's complement (or unsigned, in the latter case).
44506         mktime: check signed shifts on long_int and time_t, too
44507         * time/mktime.c (SHR): Check that shifts work as desired
44508         on the types long_int and time_t too, as SHR is used on
44509         such types.
44511         mktime: do not assume 'long' is wide enough
44512         * time/mktime.c (verify): Move decl up.
44513         (long_int): New type.
44514         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
44515         to remove assumption in the code that 'long' is wide enough to
44516         store year values.  This assumption is not true on x32 and on
44517         some non-glibc platforms.
44519         mktime: merge wrapv change from gnulib
44520         * time/mktime.c (WRAPV): New macro.
44521         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
44522         (guess_time_tm, __mktime_internal): Do not assume that signed
44523         integer overflow wraps around; modern compilers generate code
44524         where this assumption is no longer valid.
44526 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
44528         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
44529         Replace "jmp L(pseudo_end)" with "ret".
44530         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
44531         Likewise.
44533 2012-05-23  Andreas Jaeger  <aj@suse.de>
44535         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
44536         * sysdeps/unix/sysv/linux/poll.c: Remove file.
44538 2012-05-23  Andreas Jaeger  <aj@suse.de>
44539             Maximilian Attems  <max@stro.at>
44541         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
44542         New macros.
44544 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
44546         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
44547         code so that pseudo_end is just ret and the stack pointer is
44548         correct also for static library in error case.
44550 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
44552         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
44553         move to syscalls.list.
44554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
44555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44559         * manual/install.texi (Running make install): Do not mention Linux
44560         kernel version for which pt_chown is not needed.
44561         (Linux): Do not mention problems with nscd with 2.0 kernels.
44562         * INSTALL: Regenerated.
44564 2012-05-23  Andreas Jaeger  <aj@suse.de>
44566         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
44567         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
44568         macro.
44569         * sysdeps/unix/sysv/linux/s390/bits/mman.h
44570         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44571         * sysdeps/unix/sysv/linux/sh/bits/mman.h
44572         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44573         * sysdeps/unix/sysv/linux/i386/bits/mman.h
44574         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44575         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
44576         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44577         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
44578         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44579         * sysdeps/unix/sysv/linux/bits/in.h
44580         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
44582 2012-05-22  Roland McGrath  <roland@hack.frob.com>
44584         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
44585         (PREPARE_VERSION): Just use assert instead, it will be elided
44586         under [NDEBUG] anyway.
44588 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
44590         * sysdeps/unix/sysv/linux/Makefile: Include
44591         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
44592         (sysdep_routines): Remove sysctl.
44593         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
44594         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
44595         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
44596         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
44597         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
44599 2012-05-22  Andreas Jaeger  <aj@suse.de>
44601         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
44602         that pseudo_end is just ret and the stack pointer is correct also
44603         for static library in error case.
44605 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
44607         [BZ #14122]
44608         * nss/nsswitch.c (defconfig_entries): New variable.
44609         (__nss_database_lookup): Don't leak defconfig entries.
44610         (nss_parse_service_list): Don't leak on error paths.
44611         (free_database_entries): New function.
44612         (free_defconfig): New function.
44613         (free_mem): Move common code to free_database_entries.
44615 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
44617         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
44618         Add arch_prctl.
44619         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
44621         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
44622         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
44623         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
44624         New macro.
44625         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
44626         (INTERNAL_SYSCALL_TYPES): Likewise.
44627         (LOAD_ARGS_TYPES_[1-6]): Likewise.
44628         (LOAD_REGS_TYPES_[1-6]): Likewise.
44629         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
44630         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
44632 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44634         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
44635         copysignl for GLIBC_2_0.
44636         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
44637         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
44638         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
44639         logbl for GLIBC_2_0.
44640         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
44641         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
44643 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
44645         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
44646         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
44648         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
44649         Use "neg %eax".
44651         * time/mktime.c: Update copyright years.
44653 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
44655         mktime: merge comment-quoting-style change from gnulib
44656         * time/mktime.c: Quote 'like this' in comments.
44657         The GNU coding standards suggest that we no longer quote `like this',
44658         as "`" and "'" are typically rendered asymmetrically nowadays.
44659         The typical gnulib style is to quote 'like this' when quoting
44660         code, and "like this" when quoting English.
44662         * time/mktime.c (compile-command): Add "-I.".
44664         mktime: merge mktime-internal.h change from gnulib
44665         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
44667         mktime: merge time_r change from gnulib
44668         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
44670         mktime: merge DEBUG change from gnulib
44671         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
44672         case system <time.h> has a #define.
44674         mktime: merge <sys/types.h> change from gnulib
44675         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
44676         since <time.t> is now guaranteed to define time_t.
44678         mktime: merge HAVE_CONFIG_H change from gnulib
44679         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
44681 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
44683         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
44684         Use "neg %eax".
44686         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
44687         __rlim_t cast.
44688         (struct rusage): Use anonymous union to pad each field to
44689         __syscall_slong_t.
44691 2012-05-21  David S. Miller  <davem@davemloft.net>
44693         * Makefules (o-iterator): Remove .s cases.
44694         (compile-command.s): Delete.
44695         (COMPILE.s): Delete.
44696         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
44698 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
44700         * configure.in (libc_cv_predef_stack_protector): Only consider
44701         "foobar" and "__stack_chk_fail" lines in libc_undefs.
44702         * configure: Regenerated.
44704 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
44706         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
44707         New macro.  Use R*LP on int and pointer.
44708         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
44709         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
44710         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
44711         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
44713         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
44714         [__WORDSIZE_TIME64_COMPAT32] instead of
44715         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
44716         (struct utmp): Likewise.
44717         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
44718         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
44719         Renamed to ...
44720         (__WORDSIZE_TIME64_COMPAT32): This.
44721         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
44722         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
44723         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
44724         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
44725         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
44726         (__WORDSIZE_TIME64_COMPAT32): New macro.
44728 2012-05-21  Andreas Jaeger  <aj@suse.de>
44730         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
44731         only if [SHARED]. Add prototype for __wcschr_ia32.
44733 2012-05-21  Roland McGrath  <roland@hack.frob.com>
44735         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
44736         of %rbp unmolested in the jmp_buf while mangling the low bits.
44737         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
44738         unmolested high bits of %rbp while demangling the low bits.
44739         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44741 2012-05-21  Andreas Jaeger  <aj@suse.de>
44743         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
44744         * sunrpc/svc_simple.c: Use it for registerrpc.
44745         * sunrpc/xcrypt.c: Use it for passwd2des.
44747         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
44749 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
44751         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
44752         Don't define if [__SYSCALL_WORDSIZE != 32].
44753         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
44754         New macro.
44756 2012-05-21  Bruno Haible  <bruno@clisp.org>
44757             Andreas Jaeger  <aj@suse.de>
44759         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
44760         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
44761         inptr and inend for must_buffer_ch.
44762         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
44763         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
44764         * stdio-common/Makefile (tests): Remove bug15.
44765         (bug15-ENV): Remove macro.
44766         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
44767         anymore.
44769 2012-05-19  Andreas Jaeger  <aj@suse.de>
44770             Roland McGrath  <roland@hack.frob.com>
44772         * manual/contrib.texi: Completely rewritten. It contains now an
44773         alphabetical list of contributors and their contributions.
44775 2012-05-21  Richard Henderson  <rth@twiddle.net>
44777         * misc/getauxval.c (__getauxval): Use unsigned long int.
44778         * misc/sys/auxv.h: Include <sys/cdefs.h>.
44779         (getauxval): Use unsigned long int.
44781 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
44783         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44785 2012-05-21  Roland McGrath  <roland@hack.frob.com>
44787         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
44788         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
44789         __alignof__ (long double).
44791 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44795 2012-05-20  Richard Henderson  <rth@twiddle.net>
44797         * misc/getauxval.c: New file.
44798         * misc/sys/auxv.h: New file.
44799         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
44800         (routines): Add getauxval.
44801         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
44802         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
44803         * elf/dl-sysdep.c (_dl_auxv): Remove.
44804         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
44805         * elf/dl-support.c (_dl_auxv): New variable.
44806         (_dl_aux_init): Initialize it.
44807         * manual/startup.texi (Auxiliary Vector): New node.
44808         * sysdeps/generic/bits/hwcap.h: New file.
44809         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
44810         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
44811         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
44812         * sysdeps/sparc/sysdep.h: ... here.  Include it.
44813         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
44814         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
44815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44816         Update.
44817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
44818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
44819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
44820         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
44821         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
44822         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
44823         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
44824         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
44826 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44830 2012-05-19  David S. Miller  <davem@davemloft.net>
44832         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44834 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
44836         [BZ #14123]
44837         * math/s_ccosh.c: Include <float.h>
44838         (__ccosh): Avoid internal overflow calculating sinh and cosh
44839         values before multiplying by sin and cos values.
44840         * math/s_ccoshf.c: Likewise.
44841         * math/s_ccoshl.c: Likewise.
44842         * math/s_csin.c: Likewise.
44843         * math/s_csinf.c: Likewise.
44844         * math/s_csinl.c: Likewise.
44845         * math/s_csinh.c: Likewise.
44846         * math/s_csinhf.c: Likewise.
44847         * math/s_csinhl.c: Likewise.
44848         * math/libm-test.inc (ccos_test): Add more tests.
44849         (ccosh_test): Likewise.
44850         (csin_test): Likewise.
44851         (csinh_test): Likewise.
44852         * sysdeps/i386/fpu/libm-test-ulps: Update.
44853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44855 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
44857         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
44858         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
44860         * sysdeps/x86_64/x32/_itoa.h: Add comment.
44862 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
44864         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
44865         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
44866         * sysdeps/powerpc/soft-fp/Versions: Likewise.
44867         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
44868         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
44869         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
44870         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
44871         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
44872         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
44873         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
44874         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
44875         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
44876         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
44877         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
44878         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
44879         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
44880         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
44881         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
44882         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
44883         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
44884         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
44885         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
44886         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
44887         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
44888         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
44889         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
44890         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
44891         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
44892         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
44893         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
44894         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
44896 2012-05-18  Andreas Jaeger  <aj@suse.de>
44898         * csu/.gitignore: Delete.
44900 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
44902         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
44903         (timex): Use __syscall_slong_t.
44905 2012-05-18  Andreas Jaeger  <aj@suse.de>
44906             Carlos O'Donell  <carlos_odonell@mentor.com>
44908         * manual/install.texi (Configuring and compiling): Update
44909         description about files modified in the source directory.
44910         * INSTALL: Regenerated.
44912 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
44914         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
44915         value.  Use "or" to set return value to -1.
44916         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
44917         negate return value.
44919 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44921         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
44922         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
44923         failure if the compiler has Graphite support disabled.
44924         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
44925         Likewise.
44926         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
44927         (CFLAGS-memmove.c): Likewise.
44928         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
44929         Likewise.
44931 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
44933         * sysdeps/x86_64/x32/_itoa.h: New file.
44935         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
44936         getdents system call only if kernel and user dirents have the
44937         same d_ino and d_off.
44939         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44940         LLONG_MAX != LONG_MAX.
44941         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44942         (_fitoa_word): Likewise.
44944         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
44945         years.
44946         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
44947         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
44948         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
44950         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
44951         include <bits/wordsize.h>.  Check __x86_64__ instead of
44952         __WORDSIZE.
44953         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
44954         if __x86_64__ is defined.  Use anonymous union on fpstate.
44956         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
44957         anonymous union.
44959 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
44961         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44962         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
44963         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
44964         Refer to _rtld_local_ro instead of _rtld_global_ro.
44965         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
44966         Likewise.
44967         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
44968         Likewise.
44969         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
44970         Likewise.
44971         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
44972         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
44973         of _rtld_global, and rtld_progname instead of _dl_argv[0].
44975         * sysdeps/powerpc/powerpc32/dl-machine.c
44976         (__elf_machine_runtime_setup) [PROF]: Don't reference
44977         _dl_prof_resolve.
44979 2012-05-18  Andreas Jaeger  <aj@suse.de>
44981         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
44982         function only available for GCCs before 3.4 since GCC 3.4
44983         introduced a builtin.
44984         (lrint): Likewise.
44985         (llrintf): Likewise.
44986         (llrint): Likewise.
44987         (fmaxf): Likewise.
44988         (fmax): Likewise.
44989         (fminf): Likewise.
44990         (fmin): Likewise.
44991         (rint): Likewise.
44992         (rintf): Likewise.
44993         (nearbyint): Likewise.
44994         (nearbyintf): Likewise.
44995         (ceil): Likewise.
44996         (ceilf): Likewise.
44997         (floor): Likewise.
44998         (floorf): Likewise.
45000 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45002         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
45003         on both fields and cast pointer to __syscall_ulong_t.
45005         * bits/types.h (__fsword_t): New type.
45006         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
45007         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
45008         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45009         (__FSWORD_T_TYPE): Likewise.
45010         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45011         (__FSWORD_T_TYPE): Likewise.
45012         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45013         (__FSWORD_T_TYPE): Likewise.
45014         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
45015         (__FSWORD_T_TYPE): Likewise.
45016         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
45017         __SWORD_TYPE with __fsword_t.
45018         (statfs64): Likewise.
45020 2012-05-17  David S. Miller  <davem@davemloft.net>
45022         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
45024 2012-05-17  Andreas Jaeger  <aj@suse.de>
45026         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
45027         warning.
45029 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45031         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
45033 2012-05-17  Andreas Jaeger  <aj@suse.de>
45035         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
45036         when it is used.
45038 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
45040         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
45042 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45044         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
45045         * sysdeps/x86_64/tst-mallocalign1.c: New file.
45047 2012-05-17  Andreas Jaeger  <aj@suse.de>
45048             Carlos O'Donell  <carlos_odonell@mentor.com>
45050         [BZ #14059]
45051         * sysdeps/x86_64/multiarch/init-arch.h
45052         (bit_YMM_Usable): Rename to...
45053         (bit_AVX_Usable): ... this.
45054         (bit_FMA4_Usable): New macro.
45055         (bit_XMM_state): New macro.
45056         (bit_YMM_state): New macro.
45057         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
45058         [__ASSEMBLER__] (index_AVX_Usable): ... this.
45059         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
45060         (CPUID_OSXSAVE): New macro.
45061         (CPUID_AVX): New macro.
45062         (CPUID_FMA4): New macro.
45063         (index_YMM_Usable): Rename to...
45064         (index_AVX_Usable): ... this.
45065         (HAS_AVX): Use HAS_ARCH_FEATURE.
45066         (HAS_FMA4): Likewise.
45067         (HAS_YMM_USABLE): Remove.
45068         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45069         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
45070         are present.
45071         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
45072         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
45073         * sysdeps/x86_64/multiarch/Makefile: Likewise.
45074         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
45075         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
45077 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
45079         * math/libm-test.c: Support platforms without multiple rounding modes.
45080         * math/bug-nextafter.c: Support platforms without FP exceptions.
45081         * math/bug-nexttoward.c: Likewise.
45082         * math/test-fenv.c: Likewise.
45083         * math/test-misc.c: Likewise.
45084         * stdlib/bug-getcontext.c: Likewise.
45086 2012-05-17  Andreas Jaeger  <aj@suse.de>
45088         * manual/examples/search.c (critter_cmp): Change signature to
45089         avoid warnings.
45090         * manual/string.texi (Collation Functions): Likewise.
45092 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45094         * bits/types.h: Fold copyright years.
45095         * bits/typesizes.h: Likewise.
45096         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
45097         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45098         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
45099         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
45100         * time/time.h: Likewise.
45102 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
45104         [BZ #208]
45105         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
45106         in instead of returning them.  Return void.
45107         (__libc_mallinfo): Accumulate over all arenas.
45108         (__malloc_stats): Adjust for change in int_mallinfo interface.
45110 2012-05-16  Roland McGrath  <roland@hack.frob.com>
45112         [BZ #10375]
45113         * configure.in (NM): Add AC_CHECK_TOOL for it.
45114         (libc_extra_cflags): New substituted variable.
45115         Check for -fstack-protector being used implicitly.
45116         * configure: Regenerated.
45117         * config.make.in (config-extra-cflags): New variable,
45118         gets @libc_extra_cflags@.
45119         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
45121         [BZ #10375]
45122         * configure.in: Check for _FORTIFY_SOURCE being predefined.
45123         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
45124         * configure: Regenerated.
45125         * config.make.in (CPPUNDEFS): New substituted variable.
45126         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
45127         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
45128         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
45130 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45132         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
45133         (mq_attr): Use __syscall_slong_t.
45135 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45137         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
45138         Check __x86_64__ instead of __WORDSIZE.
45139         (_STAT_VER_LINUX): Likewise.
45140         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
45141         __syscall_ulong_t and __syscall_slong_t.
45142         (stat64): Likewise.
45144 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45146         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
45148 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45150         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
45152 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45154         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
45155         __syscall_ulong_t.
45157         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
45158         include <bits/wordsize.h>.  Check __x86_64__ instead of
45159         __WORDSIZE.
45160         (greg_t): Use "__extension__ long long int" if __x86_64__ is
45161         defined.
45162         (mcontext_t): Replace "unsigned long" with "unsigned long long".
45164         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
45165         include <bits/wordsize.h>.  Check __x86_64__ instead of
45166         __WORDSIZE.
45167         (user_regs_struct): Use "__extension__ unsigned long long"
45168         instead of "unsigned long" if __x86_64__ is defined.
45169         (user): Likewise.  Pad after pointer field if __ILP32__ is
45170         defined.
45172 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
45174         * configure.in (makeinfo): Require version 4.5 or later.  Allow
45175         versions 5 to 9.
45176         * configure: Regenerated.
45177         * manual/install.texi (texinfo): Increase version requirement to
45178         4.5 or later.
45179         * INSTALL: Regenerated.
45181         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
45183 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45185         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
45187         * sysdeps/x86_64/x32/ffs.c: New file.
45189         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
45190         __syscall_ulong_t.
45191         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
45192         defined.  Use __syscall_ulong_t.
45193         (shminfo): Use __syscall_ulong_t.
45194         (shm_info): Likewise.
45196         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
45197         __syscall_ulong_t.
45199         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
45200         <bits/wordsize.h>.
45201         (msgqnum_t): Use __syscall_ulong_t.
45202         (msglen_t): Likewise.
45203         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
45204         __syscall_ulong_t.
45206         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
45207         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
45209         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
45211         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
45212         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
45214         * sysvipc/sys/msg.h (msgbuf): Replace long int with
45215         __syscall_slong_t.
45217         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
45218         include <bits/wordsize.h>.  Check __x86_64__ instead of
45219         __WORDSIZE.
45221         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
45222         "unsigned long long int" if __x86_64__ is defined.
45223         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
45225         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
45226         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
45227         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
45229         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
45230         <stdint.h>.
45231         (GET_PC): Cast to uintptr_t first.
45232         (GET_FRAME): Likewise.
45233         (GET_STACK): Likewise.
45235         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
45236         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
45237         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
45238         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
45239         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
45240         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
45241         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
45242         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
45243         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
45244         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
45245         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
45246         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
45247         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45248         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
45249         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
45250         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
45251         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
45252         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
45253         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
45254         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
45255         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
45256         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
45257         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
45258         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
45259         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
45260         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
45261         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
45262         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
45263         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
45265 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
45267         * Makerules (+depfiles): Also collect depfiles from .oS in
45268         $(extra-objs).
45269         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
45270         .oS, $(libnldbl-routines)).
45272         * Makerules (native-compile-mkdep-flags): Define.
45273         * sunrpc/Makefile (extra-objs): Add $(addprefix
45274         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
45275         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
45276         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
45277         calling $(make-target-directory).
45279 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45281         * bits/types.h (__snseconds_t): Removed.
45282         * time/time.h (struct timespec): Replace __snseconds_t with
45283         __syscall_slong_t.
45284         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
45285         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
45286         Likewise.
45287         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45288         (__SNSECONDS_T_TYPE): Likewise.
45289         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45290         (__SNSECONDS_T_TYPE): Likewise.
45291         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45292         (__SNSECONDS_T_TYPE): Likewise.
45294 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45296         * sysdeps/mach/hurd/bits/typesizes.h
45297         (__SYSCALL_SLONG_TYPE): New macro.
45298         (__SYSCALL_ULONG_TYPE): Likewise.
45300 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45302         * bits/types.h (__syscall_slong_t): New type.
45303         (__syscall_ulong_t): Likewise.
45305         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
45306         (__SYSCALL_ULONG_TYPE): Likewise.
45307         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45308         (__SYSCALL_SLONG_TYPE): Likewise.
45309         (__SYSCALL_ULONG_TYPE): Likewise.
45310         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45311         (__SYSCALL_SLONG_TYPE): Likewise.
45312         (__SYSCALL_ULONG_TYPE): Likewise.
45313         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45314         (__SYSCALL_SLONG_TYPE): Likewise.
45315         (__SYSCALL_ULONG_TYPE): Likewise.
45317 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45319         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
45320         Add sigaltstack-offsets.sym.
45321         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
45322         <sigaltstack-offsets.h>.
45323         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
45324         longjmp_msg pointer.
45325         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
45326         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
45327         signal stack.
45328         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
45330 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
45332         * elf/stackguard-macros.h: Remove file.
45333         * sysdeps/generic/stackguard-macros.h: New file.
45334         * sysdeps/i386/stackguard-macros.h: Likewise.
45335         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45336         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45337         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45338         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45339         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45340         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45341         * sysdeps/x86_64/stackguard-macros.h: Likewise.
45342         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
45343         <elf/stackguard-macros.h>.
45345         [BZ #14109]
45346         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
45347         __aligned__ in attribute.
45348         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
45349         (gregset_t): Likewise.
45351 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45353         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
45354         * sysdeps/x86_64/64/Implies-after: Here.  New file.
45355         * sysdeps/x86_64/x32/Implies-after: New file.
45357 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45359         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
45360         and access return value for _dl_profile_fixup.  Use R10_LP to
45361         load frame size.
45363 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45365         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
45367 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45369         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
45370         * sysdeps/x86_64/x32/sysdep.h: New file.
45372 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45374         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
45375         * sysdeps/x86_64/setjmp.S: Likewise.
45377 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45379         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
45380         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
45381         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
45382         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
45383         remove unused global constant.
45385 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
45387         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
45388         include of <not-cancel.h>.
45390 2012-05-15  Roland McGrath  <roland@hack.frob.com>
45392         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
45394 2012-05-15  Jeff Law  <law@redhat.com>
45395             Andreas Jaeger  <aj@suse.de>
45397         [BZ #13594]
45398         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
45399         out from...
45400         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
45401         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
45402         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
45403         code changing __hst_map_handle.map.
45405 2012-05-15  Roland McGrath  <roland@hack.frob.com>
45407         * configure.in (sysnames): Look for Implies-before and Implies-after
45408         files.
45409         * configure: Regenerated.
45411 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45413         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
45414         8-byte data alignment with LP_SIZE alignment.
45416 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45418         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
45419         into R10_LP.
45421 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45423         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
45425 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45427         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
45428         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
45429         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
45430         Likewise.
45431         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45433 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45435         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
45436         (stackinfo_sub_sp): Likewise.
45438 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45440         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
45441         RAX_LP.
45443 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45445         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
45446         into R*_LP.
45448 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45450         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
45451         sizes into R*_LP.
45453 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45455         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
45457 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45459         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
45460         into R11_LP and load __x86_64_shared_cache_size_half into
45461         R8_LP.
45463 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45465         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
45466         R8_LP.
45468 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45470         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
45471         logb for POWER7.
45472         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
45473         logbf for POWER7.
45474         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
45475         logbl for POWER7.
45476         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
45477         powerpc32/power7/fpu/s_logb.c via #include.
45478         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
45479         powerpc32/power7/fpu/s_logbf.c via #include.
45480         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
45481         powerpc32/power7/fpu/s_logbl.c via #include.
45483 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
45485         * README.libm: Remove file.
45487 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45489         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
45490         count for x32.  Use R*_LP and omit operand-size suffix.
45492 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45494         * shlib-versions: Move x86_64-.*-linux.* entries to ...
45495         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
45496         * sysdeps/x86_64/x32/shlib-versions: New file.
45498 2012-05-14  Roland McGrath  <roland@hack.frob.com>
45500         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
45501         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
45502         Use _dl_fatal_printf instead.
45504 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
45506         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
45507         set if not set by the user.  Do not allow for being unset.
45508         * sysdeps/unix/sysv/linux/configure: Regenerated.
45510 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45512         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
45513         the `q' suffix from lea and replace .quad with ASM_ADDR.
45515 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45517         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
45518         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
45519         instead of $17.
45520         (PTR_DEMANGLE): Likewise.
45522 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45524         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
45525         (LP_OP): Likewise.
45526         (ASM_ADDR): Likewise.
45527         (RAX_LP): Likewise.
45528         (RBP_LP): Likewise.
45529         (RBX_LP): Likewise.
45530         (RCX_LP): Likewise.
45531         (RDI_LP): Likewise.
45532         (RSI_LP): Likewise.
45533         (RSP_LP): Likewise.
45534         (R8_LP): Likewise.
45535         (R9_LP): Likewise.
45536         (R10_LP): Likewise.
45537         (R10_LP): Likewise.
45538         (R11_LP): Likewise.
45539         (R12_LP): Likewise.
45540         (R13_LP): Likewise.
45541         (R14_LP): Likewise.
45542         (R15_LP): Likewise.
45544 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45546         * sysdeps/x86_64/x32/dl-machine.h: New file.
45548 2012-05-14  Andreas Jaeger  <aj@suse.de>
45550         * manual/Makefile (subdir): Remove export of subdir.
45551         (all): Remove target.
45552         (.PHONY): Remove all from list.
45553         (mkinstalldirs): Remove.
45554         (.PHONY): Remove installdirs from list.
45555         ($(inst_infodir)/libc.info): Use make-target-directory.
45556         (installdirs): Remove.
45557         (subdir_%): Remove.
45558         (glibc-targets): Remove.
45559         (lib): Remove.
45560         (stubs): Remove.
45561         ($(objpfx)stubs ../po/manual.pot): Remove.
45562         ($(objpfx)stamp%): Remove.
45563         (make-target-directory): Remove.
45564         (subdir_install): Remove.
45565         (routines): Remove.
45566         (aux): Remove.
45567         (sources): Remove.
45568         (objects): Remove.
45569         (headers): Remove.
45571         [BZ #13750]
45572         * manual/.gitignore: Remove, it's not needed anymore.
45573         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
45574         all files in it.
45575         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
45576         directory.
45577         (texis): Renamed to $(objpfx)texis.
45578         (texis-path): New, contains path to generated files.
45579         (chapters.%): Use texis-path for complete path, add extra argument
45580         libc-texinfo.sh.
45581         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
45582         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
45583         (summary,texi, stamp-summary): Use complete path of
45584         files. Generate files in build dir.
45585         (dir-add.texi): Build in build dir.
45586         (libm-err.texi,stamp-libm-err): Likewise.
45587         (version.texi, stamp-version): Likewise.
45588         (.%c.texi): Likewise.
45589         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
45590         (mostlyclean): Remove target.
45591         (realclean): Remove target.
45592         (generated): Add new variable with contents from mostlyclean and
45593         realclean, remove entries duplicated in common-mostlyclean, add
45594         stamp-libm-err and stamp-version.
45595         (generated-dirs): Add libc directory.
45596         ($(inst_infodir)/libc.info): Install files from build dir.
45598         * manual/install.texi (Configuring and compiling): Adjust since
45599         the info files are not part of the tar ball anymore.
45601 2012-05-14  Andreas Jaeger  <aj@suse.de>
45603         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
45604         variable.
45606 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
45608         [BZ #13717]
45609         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45610         to 2.2.0 where earlier.
45611         * sysdeps/unix/sysv/linux/configure: Regenerated.
45612         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
45613         Remove conditional code.
45614         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
45615         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
45616         Remove conditional code.
45617         [!__NR_lchown]: Likewise.
45618         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45619         [__NR_lchown]: Likewise.
45620         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
45621         comment referencing __ASSUME_LCHOWN_SYSCALL.
45622         * sysdeps/unix/sysv/linux/i386/sigaction.c
45623         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45624         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45625         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
45626         Remove conditional code.
45627         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
45628         (__protocol_available): Remove #if 0 code.
45629         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
45630         conditional code.
45631         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
45632         * sysdeps/unix/sysv/linux/kernel-features.h
45633         (__ASSUME_GETCWD_SYSCALL): Don't define.
45634         (__ASSUME_REALTIME_SIGNALS): Likewise.
45635         (__ASSUME_PREAD_SYSCALL): Likewise.
45636         (__ASSUME_PWRITE_SYSCALL): Likewise.
45637         (__ASSUME_POLL_SYSCALL): Likewise.
45638         (__ASSUME_LCHOWN_SYSCALL): Likewise.
45639         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
45640         non-SPARC.
45641         (__ASSUME_SIOCGIFNAME): Don't define.
45642         (__ASSUME_MSG_NOSIGNAL): Likewise.
45643         (__ASSUME_SENDFILE): Define unconditionally.
45644         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
45645         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
45646         conditional code.
45647         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
45648         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
45649         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
45650         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45651         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
45652         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
45653         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
45655         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45656         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
45658         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45659         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
45661         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45662         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
45664         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45665         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
45667         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45668         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
45670         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45671         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
45673         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45674         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
45676         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45677         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45678         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
45679         Remove conditional code.
45680         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45681         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
45682         Remove conditional code.
45683         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45684         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
45685         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
45686         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
45687         Remove conditional code.
45688         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45689         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
45690         Remove conditional code.
45691         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45692         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
45693         Remove conditional code.
45694         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45695         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
45696         Remove conditional code.
45697         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45698         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
45699         Remove conditional code.
45700         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45701         * sysdeps/unix/sysv/linux/sh/pwrite64.c
45702         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45703         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45704         * sysdeps/unix/sysv/linux/sigaction.c
45705         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45706         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45707         * sysdeps/unix/sysv/linux/sigpending.c
45708         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45709         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45710         * sysdeps/unix/sysv/linux/sigprocmask.c
45711         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45712         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45713         * sysdeps/unix/sysv/linux/sigsuspend.c
45714         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45715         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45716         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45717         (__libc_missing_rt_sigs): Remove.
45718         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
45719         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
45720         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
45721         Remove conditional code.
45722         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
45723         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
45724         return 1.
45725         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
45726         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
45727         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
45728         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
45730 2012-05-14  Andreas Jaeger  <aj@suse.de>
45732         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
45733         it's not used in glibc.
45734         (__coshm1): Likewise.
45735         (__acosh1p): Likewise.
45736         (__sgn): Likewise.
45738         * manual/string.texi (Copying and Concatenation): Add missing
45739         variable in concat example.
45740         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
45742 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45744         [BZ #14103]
45745         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
45746         __builtin_clzl with __builtin_clzll.
45748 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45750         [BZ #14104]
45751         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
45752         libc_freeres_ptr.
45754 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45756         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
45757         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
45758         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
45759         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
45761 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
45763         * NEWS: Update ia64 info.
45765 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
45767         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
45768         used as bcopy.
45770 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
45772         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
45773         * sysdeps/unix/syscalls.list (dup3): Likewise.
45774         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
45775         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
45777 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
45779         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
45780         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
45782 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
45784         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
45785         thread pointer.
45786         (TLS_IE): Use mov/add instead of movq/addq to load thread
45787         pointer.
45788         (TLS_GD_PREFIX): New.
45789         (TLS_GD): Use it.
45791 2012-05-11  David S. Miller  <davem@davemloft.net>
45793         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
45794         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
45795         (_FPU_SETCW): Likewise.
45797 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
45799         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
45800         is 32-byte aligned.
45802 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
45804         [BZ #11837]
45805         * iconvdata/gb18030.c: Update tables.
45806         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
45807         characters specially.
45808         (BODY for TO_LOOP): Add encoding of missing ranges.
45810 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
45812         [BZ #13673]
45813         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
45814         * sysdeps/mach/hurd/dup3.c: Likewise.
45815         * sysdeps/mach/hurd/readlinkat.c: Likewise.
45816         * sysdeps/powerpc/memmove.c:: Likewise.
45818 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
45820         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
45821         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
45823 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
45825         * elf/elf.h (R_X86_64_RELATIVE64): New.
45826         (R_X86_64_NUM): Updated.
45827         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
45828         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
45829         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
45830         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
45831         tst-quad1pie tst-quad2pie
45832         (modules-names): Add tst-quadmod1 tst-quadmod2.
45833         ($(objpfx)tst-quad1): New dependency.
45834         ($(objpfx)tst-quad2): Likewise.
45835         ($(objpfx)tst-quad1pie): Likewise.
45836         ($(objpfx)tst-quad2pie): Likewise.
45837         * sysdeps/x86_64/tst-quad1.c: New file.
45838         * sysdeps/x86_64/tst-quad1pie.c: New file.
45839         * sysdeps/x86_64/tst-quad2.c: Likewise.
45840         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
45841         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
45842         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
45843         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
45844         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
45846 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45848         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
45849         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
45850         * streams/stropts.h (t_scalar_t): Define type.
45852         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
45853         (_PATH_PRESERVE): Set to "/var/lib".
45854         (_PATH_RWHODIR): Set to "/var/spool/rwho".
45856         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
45857         instead of int.
45859         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
45860         if __dir_mkfile succeeded.
45862         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
45863         checking for _hurd_dtablesize.  Unlock it right after having
45864         finished _hurd_dtable allocation.
45866 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45868         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
45869         * sysdeps/mach/hurd/configure: Regenerated.
45870         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
45871         special-casing to...
45872         * sysdeps/gnu/configure.in: ... this new file.
45873         * sysdeps/unix/sysv/linux/configure: Regenerated.
45874         * sysdeps/gnu/configure: New generated file.
45876         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
45877         for Linux: use nsec instead of usec, as well as:
45878         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
45879         members of type struct timespec.
45880         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
45881         New macros.
45882         (struct stat64): Likewise.
45883         (_STATBUF_ST_NSEC): New macro.
45884         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
45886         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45887         __strtoul_internal rather than strtoul.
45889 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45891         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
45892         and reject them.
45894 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45896         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
45897         which preserves existing values.
45898         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
45900 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45902         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
45903         TIMEOUT values.  Return EINVAL for NFDS values either negative or
45904         greater than FD_SETSIZE.
45906 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45908         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
45909         allocated, call __vm_protect to finish enabling the existing space, and
45910         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
45911         allocate the remainder.
45913 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45915         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
45916         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
45918 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45920         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
45921         sysdeps/mach/hurd/readlink.c.
45923         * posix/tst-sysconf.c (posix_options): Only use
45924         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
45925         _POSIX_SYNCHRONIZED_IO when they are defined
45926         * sysdeps/mach/hurd/bits/posix_opt.h:
45927         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
45928         (_XOPEN_REALTIME): Undefine macro.
45929         (_XOPEN_REALTIME_THREADS): Undefine macro.
45930         (_XOPEN_SHM): Undefine macro.
45931         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
45932         macro to -1.
45933         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
45934         macro to -1.
45935         (_POSIX_ASYNC_IO): Undefine macro.
45936         (_POSIX_PRIORITIZED_IO): Undefine macro.
45937         (_POSIX_SPIN_LOCKS): Define macro to -1.
45939         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
45940         SA_NODEFER, SA_RESETHAND.
45941         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
45942         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
45943         F_DUPFD_CLOEXEC.
45945 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45947         * elf/Makefile (pldd-modules): Define unconditionally.
45949 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45951         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
45953 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45955         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
45956         Return ENOENT when name is empty.
45957         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
45959 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45961         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
45963         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
45965 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45967         Fix mlock in all cases except non-readable pages.
45968         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
45969         instead of VM_PROT_ALL as parameter to __vm_wire function.
45971         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
45972         (__mkdir): When path is `/', just fail with EEXIST.
45973         * sysdeps/mach/hurd/mkdirat.c: Likewise.
45975 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45977         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
45978         <sys/uio.h> (for writev).
45979         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
45980         and <sys/param.h> (for MIN).
45982 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45984         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
45985         REQUESTED_TIME.  Properly set the remaining time and return EINTR
45986         if interrupted.
45988 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45990         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
45991         Depend on against $(link-rpcuserlibs).
45993 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45995         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
45996         (__libc_stack_end): Do not use attribute_relro.
45997         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
45998         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
45999         to libthread-provided value.
46000         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
46001         attribute_relro.
46003 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46005         [BZ #3748]
46006         * bits/libc-lock.h (__libc_once_get): New macro.
46007         * sysdeps/mach/bits/libc-lock.h: Likewise.
46008         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
46009         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
46010         instead of using implementation details.
46012         * libio/fileops.c: Unconditionally include <kernel-features.h>.
46013         * libio/freopen.c: Likewise.
46014         * libio/freopen64.c: Likewise.
46015         * misc/syslog.c: Likewise.
46016         * nscd/connections.c: Likewise.
46017         * nscd/netgroupcache.c: Likewise.
46018         * sysdeps/posix/getcwd.c: Likewise.
46020 2012-05-10  Roland McGrath  <roland@hack.frob.com>
46022         * math/w_ilogbf.c: Add #include <limits.h>.
46024 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46026         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
46027         path instead of returning without unlocking.
46029         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
46030         immediate-write ioctls.
46031         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
46033 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46035         * sysdeps/mach/hurd/i386/init-first.c (init): Use
46036         __builtin_frame_address instead of making assumptions about the
46037         location of the return address relative to DATA.  Force early load of
46038         the return address.
46039         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
46040         __builtin_frame_address.
46042         dup3 for GNU Hurd.
46043         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
46044         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
46045         implement dup3 and do some further code clean-ups.
46046         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
46047         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
46049 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46051         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
46053         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
46054         HURD_CRITICAL_END around holding _hurd_dtable_lock.
46055         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
46056         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
46057         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
46058         d->port.lock.
46060         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
46061         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
46062         when handler == SIG_ERR, not when handler != SIG_ERR.
46064 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46066         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
46067         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
46068         definitions.
46070         accept4 for GNU Hurd.
46071         * include/sys/socket.h (__libc_accept4): New prototype.
46072         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
46073         to implement __libc_accept4.
46074         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
46075         __libc_accept4.
46076         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
46078         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
46079         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
46080         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
46081         signal-defines.sym.
46083 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46085         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
46087 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46089         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
46090         assertion on O_CLOEXEC flag.
46091         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
46092         * hurd/intern-fd.c: Likewise.
46093         * hurd/port2fd.c: Likewise.
46095 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46097         [BZ #3906]
46098         * bits/in.h (IPV6_PKTINFO): Define new macro.
46099         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
46101 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46103         [BZ #13954]
46104         [BZ #13955]
46105         [BZ #13956]
46106         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
46107         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46108         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
46109         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46110         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46111         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46112         * math/libm-test.inc (logb_test) : Additional logb tests.
46114 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
46115             Andreas Jaeger  <aj@suse.de>
46117         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
46118         * configure: Regenerated.
46119         * config.h.in (LINK_OBSOLETE_RPC): New macro.
46120         * config.make.in (link-obsolete-rpc): New substituted variable.
46121         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
46122         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
46123         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46124         (shared-only-routines): Don't set it under [link-obsolete-rpc],
46125         so that libc.a contains the symbols.
46126         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46127         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
46128         * sunrpc/auth_none.c: Likewise.
46129         * sunrpc/auth_unix.c: Likewise.
46130         * sunrpc/authdes_prot.c: Likewise.
46131         * sunrpc/authuxprot.c: Likewise.
46132         * sunrpc/clnt_gen.c: Likewise.
46133         * sunrpc/clnt_perr.c: Likewise.
46134         * sunrpc/clnt_raw.c: Likewise.
46135         * sunrpc/clnt_simp.c: Likewise.
46136         * sunrpc/clnt_tcp.c: Likewise.
46137         * sunrpc/clnt_udp.c: Likewise.
46138         * sunrpc/clnt_unix.c: Likewise.
46139         * sunrpc/des_crypt.c: Likewise.
46140         * sunrpc/des_soft.c: Likewise.
46141         * sunrpc/get_myaddr.c: Likewise.
46142         * sunrpc/key_call.c: Likewise.
46143         * sunrpc/key_prot.c: Likewise.
46144         * sunrpc/netname.c: Likewise.
46145         * sunrpc/pm_getmaps.c: Likewise.
46146         * sunrpc/pm_getport.c: Likewise.
46147         * sunrpc/pmap_clnt.c: Likewise.
46148         * sunrpc/pmap_prot.c: Likewise.
46149         * sunrpc/pmap_prot2.c: Likewise.
46150         * sunrpc/pmap_rmt.c: Likewise.
46151         * sunrpc/publickey.c: Likewise.
46152         * sunrpc/rpc_cmsg.c: Likewise.
46153         * sunrpc/rpc_common.c: Likewise.
46154         * sunrpc/rpc_dtable.c: Likewise.
46155         * sunrpc/rpc_prot.c: Likewise.
46156         * sunrpc/rpc_thread.c: Likewise.
46157         * sunrpc/rtime.c: Likewise.
46158         * sunrpc/svc.c: Likewise.
46159         * sunrpc/svc_auth.c: Likewise.
46160         * sunrpc/svc_raw.c: Likewise.
46161         * sunrpc/svc_run.c: Likewise.
46162         * sunrpc/svc_tcp.c: Likewise.
46163         * sunrpc/svc_udp.c: Likewise.
46164         * sunrpc/svc_unix.c: Likewise.
46165         * sunrpc/svcauth_des.c: Likewise.
46166         * sunrpc/xcrypt.c: Likewise.
46167         * sunrpc/xdr.c: Likewise.
46168         * sunrpc/xdr_array.c: Likewise.
46169         * sunrpc/xdr_float.c: Likewise.
46170         * sunrpc/xdr_intXX_t.c: Likewise.
46171         * sunrpc/xdr_mem.c: Likewise.
46172         * sunrpc/xdr_rec.c: Likewise.
46173         * sunrpc/xdr_ref.c: Likewise.
46174         * sunrpc/xdr_sizeof.c: Likewise.
46175         * sunrpc/xdr_stdio.c: Likewise.
46177 2012-05-10  Roland McGrath  <roland@hack.frob.com>
46179         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
46180         change.  Update copyright years.
46182 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
46184         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
46186 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
46187             Joseph Myers  <joseph@codesourcery.com>
46188             Paul Pluzhnikov  <ppluzhnikov@google.com>
46190         [BZ #14012]
46191         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
46192         requiring rpcgen.
46193         [cross-compiling] (extra-libs): Likewise.
46194         [cross-compiling] (extra-libs-others): Likewise.
46195         [cross-compiling] (librpcsvc-routines): Likewise.
46196         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
46197         [cross-compiling] (omit-deps): Likewise.
46198         (sunrpc-CPPFLAGS): New variable.
46199         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
46200         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
46201         (cross-rpcgen-objs): New variable.
46202         (extra-objs): Append $(cross-rpcgen-objs).
46203         ($(cross-rpcgen-objs)): New rule.
46204         ($(objpfx)cross-rpcgen): Likewise.
46205         (rpcgen-cmd): Define to use $(built-program-file).  Expand
46206         comment.
46207         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
46208         ($(objpfx)x%.stmp): Likewise.
46209         * sunrpc/proto.h [IS_IN_build] (_): Define.
46210         [IS_IN_build] (_libc_intl_domainname): Likewise.
46212 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46214         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
46215         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
46216         and R_X86_64_TPOFF64.
46218 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
46220         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
46221         sysdeps/unix/sysv/syscalls.list.
46222         (stime): Likewise.
46223         (utime): Likewise.
46224         * sysdeps/unix/sysv/syscalls.list: Remove file.
46226 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
46228         [BZ #3440]
46229         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
46230         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
46231         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
46232         (__LC_IDENTIFICATION): Make these macros useful in #if
46233         expressions, as required by C99.
46235 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
46237         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
46238         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
46239         after this.
46241 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
46243         * stdlib/longlong.h: Updated from GCC.
46245 2012-05-09  Andreas Jaeger  <aj@suse.de>
46247         * nscd/nscd.c (run_modes): Make named enum, reorder so that
46248         default is first entry.
46249         (run_mode): Set type.
46250         (main): Remove informal message about syslog.
46251         (options): Fix typo.
46253         [BZ #14053]
46254         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
46255         to asm.
46256         (lrint): Likewise.
46257         (llrintf): Likewise.
46258         (llrint): Likewise.
46259         (rint): Likewise.
46260         (rintf): Likewise.
46261         (nearbyint): Likewise.
46262         (nearbyintf): Likewise.
46264 2012-05-09  Andreas Jaeger  <aj@suse.de>
46265             Pedro Alves  <palves@redhat.com>
46267         * nscd/nscd.c (run_mode): Use enum.
46268         (main): Cleanup coding style issue.
46270 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
46271             Andreas Jaeger  <aj@suse.de>
46273         * nscd/nscd.c (go_background): Replaced with...
46274         (run_mode): ... this.
46275         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
46276         (options): Add -F --foreground.
46277         (main): Implement it.
46278         (parse_opt): Parse it.
46280 2012-05-09  Andreas Jaeger  <aj@suse.de>
46282         [BZ #14083]
46283         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
46284         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
46285         -Wconversion warning.
46286         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
46287         Likewise.
46289 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
46291         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
46292         == 0.
46293         (LC_ALL): Use macro-int-constant.
46294         (LC_COLLATE): Likewise.
46295         (LC_CTYPE): Likewise.
46296         (LC_MESSAGES): Likewise.
46297         (LC_MONETARY): Likewise.
46298         (LC_NUMERIC): Likewise.
46299         (LC_TIME): Likewise.
46300         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
46301         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46302         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46303         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
46304         Specify type.
46305         [C99-based standards] (float_t): Expect type.
46306         [C99-based standards] (double_t): Expect type.
46307         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
46308         type.
46309         [C99-based standards] (HUGE_VALL): Likewise.
46310         [C99-based standards] (INFINITY): Likewise.
46311         [C99-based standards] (NAN): Likewise.
46312         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
46313         [C99-based standards] (FP_NAN): Likewise.
46314         [C99-based standards] (FP_NORMAL): Likewise.
46315         [C99-based standards] (FP_SUBNORMAL): Likewise.
46316         [C99-based standards] (FP_ZERO): Likewise.
46317         [C99-based standards] (FP_FAST_FMA): Use
46318         optional-macro-int-constant.  Specify type.  Require == 1.
46319         [C99-based standards] (FP_FAST_FMAF): Likewise.
46320         [C99-based standards] (FP_FAST_FMAL): Likewise.
46321         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
46322         [C99-based standards] (FP_ILOGBNAN): Likewise.
46323         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
46324         Specify type.
46325         [C99-based standards] (MATH_ERREXCEPT): Likewise.
46326         [C99-based standards] (math_errhandling): Specify type.
46327         [ISO99 || ISO11] (signgam): Do not allow.
46328         [non-C99-based standards] (copysignf): Do not allow.
46329         [non-C99-based standards] (exp2f): Likewise.
46330         [non-C99-based standards] (log2f): Likewise.
46331         [non-C99-based standards] (modff): Allow.
46332         [non-C99-based standards] (erff): Do not allow.
46333         [non-C99-based standards] (erfcf): Likewise.
46334         [non-C99-based standards] (gammaf): Likewise.
46335         [non-C99-based standards] (hypotf): Likewise.
46336         [non-C99-based standards] (j0f): Likewise.
46337         [non-C99-based standards] (j1f): Likewise.
46338         [non-C99-based standards] (jnf): Likewise.
46339         [non-C99-based standards] (lgammaf): Likewise.
46340         [non-C99-based standards] (tgammaf): Likewise.
46341         [non-C99-based standards] (y0f): Likewise.
46342         [non-C99-based standards] (y1f): Likewise.
46343         [non-C99-based standards] (ynf): Likewise.
46344         [non-C99-based standards] (isnanf): Likewise.
46345         [non-C99-based standards] (acoshf): Likewise.
46346         [non-C99-based standards] (asinhf): Likewise.
46347         [non-C99-based standards] (atanhf): Likewise.
46348         [non-C99-based standards] (cbrtf): Likewise.
46349         [non-C99-based standards] (expm1f): Likewise.
46350         [non-C99-based standards] (ilogbf): Likewise.
46351         [non-C99-based standards] (log1pf): Likewise.
46352         [non-C99-based standards] (logbf): Likewise.
46353         [non-C99-based standards] (nextafterf): Likewise.
46354         [non-C99-based standards] (remainderf): Likewise.
46355         [non-C99-based standards] (rintf): Likewise.
46356         [non-C99-based standards] (scalbf): Likewise.
46357         [non-C99-based standards] (copysignl): Likewise.
46358         [non-C99-based standards] (exp2l): Likewise.
46359         [non-C99-based standards] (log2l): Likewise.
46360         [non-C99-based standards] (modfl): Allow.
46361         [non-C99-based standards] (erfl): Do not allow.
46362         [non-C99-based standards] (erfcl): Likewise.
46363         [non-C99-based standards] (gammal): Likewise.
46364         [non-C99-based standards] (hypotl): Likewise.
46365         [non-C99-based standards] (j0l): Likewise.
46366         [non-C99-based standards] (j1l): Likewise.
46367         [non-C99-based standards] (jnl): Likewise.
46368         [non-C99-based standards] (lgammal): Likewise.
46369         [non-C99-based standards] (tgammal): Likewise.
46370         [non-C99-based standards] (y0l): Likewise.
46371         [non-C99-based standards] (y1l): Likewise.
46372         [non-C99-based standards] (ynl): Likewise.
46373         [non-C99-based standards] (isnanl): Likewise.
46374         [non-C99-based standards] (acoshl): Likewise.
46375         [non-C99-based standards] (asinhl): Likewise.
46376         [non-C99-based standards] (atanhl): Likewise.
46377         [non-C99-based standards] (cbrtl): Likewise.
46378         [non-C99-based standards] (expm1l): Likewise.
46379         [non-C99-based standards] (ilogbl): Likewise.
46380         [non-C99-based standards] (log1pl): Likewise.
46381         [non-C99-based standards] (logbl): Likewise.
46382         [non-C99-based standards] (nextafterl): Likewise.
46383         [non-C99-based standards] (remainderl): Likewise.
46384         [non-C99-based standards] (rintl): Likewise.
46385         [non-C99-based standards] (scalbl): Likewise.
46386         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46387         [non-C99-based standards] (FP_*): Do not allow.
46388         [C99-based standards] (FP_*): Change to
46389         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46390         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46391         allow.
46392         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
46393         (SIG_ERR): Likewise.
46394         [X/Open-based standards] (SIG_HOLD): Likewise.
46395         (SIG_IGN): Likewise.
46396         (SIGABRT): Use macro-int-constant.  Specify type.  Require
46397         positive value.
46398         (SIGFPE): Likewise.
46399         (SIGILL): Likewise.
46400         (SIGINT): Likewise.
46401         (SIGSEGV): Likewise.
46402         (SIGTER): Likewise.
46403         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
46404         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
46405         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
46406         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
46407         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
46408         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
46409         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
46410         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
46411         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
46412         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
46413         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
46414         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
46415         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
46416         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
46417         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
46418         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
46419         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
46420         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
46421         [X/Open-based standards] (SIGTRAP): Likewise.
46422         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
46423         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
46424         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
46425         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
46426         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46427         allow.
46429 2012-05-08  Ian Wienand  <ianw@vmware.com>
46431         [BZ #14080]
46432         * time/tzset.c (__tzset_parse_tz): Update default rules for
46433         daylight time changes in the Energy Policy Act of 2005.
46435 2012-05-09  Andreas Jaeger  <aj@suse.de>
46437         [BZ #13983]
46438         * elf/ldconfig.c (parse_conf): Change string to make clear that
46439         ldconfig only issued a warning if ld.so.conf does not exist.
46441 2012-05-08  David S. Miller  <davem@davemloft.net>
46443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
46444         movxtod instead of popping the value on the stack.
46446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46448 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
46450         * config.h.in: Add HAVE_ARM_PCS_VFP.
46452 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
46454         [BZ #13979]
46455         * include/features.h: Warn if user requests __FORTIFY_SOURCE
46456         checking but the checks are disabled for any reason.
46458 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
46460         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
46461         and ELF64_R_TYPE with ELFW(R_TYPE).
46463 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
46465         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
46466         (ulimit): Likewise.
46468         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
46469         (settimeofday): Likewise.
46471 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
46473         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
46474         a struct th_u2 inside the union, and move tu_block/tu_code into
46475         a new th_u3 union of tu_block/tu_code inside of that.  Move
46476         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
46477         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
46478         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
46479         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
46480         (th_stuff): Change to th_u1.tu_stuff.
46481         (th_data): Define.
46482         (th_msg): Change to th_u1.th_u2.tu_data.
46484 2012-05-07  David S. Miller  <davem@davemloft.net>
46486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46488         [BZ #14074]
46489         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
46490         (SETUP_PIC_REG): Use it.
46491         (SETUP_PIC_REG_LEAF): Use it.
46493 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
46495         [BZ #13885]
46496         [BZ #13923]
46497         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46498         USE_AS_EXPM1L.
46499         (EXPL_FINITE): Likewise.
46500         (FLDLOG): Likewise.
46501         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
46502         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
46503         e_expl.S.
46504         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46505         USE_AS_EXPM1L.
46506         (EXPL_FINITE): Likewise.
46507         (FLDLOG): Likewise.
46508         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
46509         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
46510         e_expl.S.
46511         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
46512         test of -max_value argument for long double.
46513         * sysdeps/i386/fpu/libm-test-ulps: Update.
46514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46516 2012-05-06  David S. Miller  <davem@davemloft.net>
46518         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
46519         quad soft-float symbols whose references which are compiler
46520         generated.
46521         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46523 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
46525         [BZ #13884]
46526         [BZ #13914]
46527         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46528         USE_AS_EXP10L.
46529         (EXPL_FINITE): Likewise.
46530         (FLDLOG): Likewise.
46531         (c0): Likewise.
46532         (c1): Likewise.
46533         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
46534         Adjust comments for base varying.
46535         (__expl_finite): Change alias to EXPL_FINITE.
46536         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
46537         e_expl.S.
46538         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
46539         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
46540         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46541         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
46542         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46543         USE_AS_EXP10L.
46544         (EXPL_FINITE): Likewise.
46545         (FLDLOG): Likewise.
46546         (c0): Likewise.
46547         (c1): Likewise.
46548         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
46549         Adjust comments for base varying.
46550         (__expl_finite): Change alias to EXPL_FINITE.
46551         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
46552         tests for bugs.
46553         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46555         [BZ #14064]
46556         * math/libm-test.inc (check_float_internal): Correct ulp
46557         calculation for subnormal expected results.
46559 2012-05-06  Andreas Jaeger  <aj@suse.de>
46561         * Makeconfig (+math-flags): New, set to -frounding-math.
46562         (+cflags): Add +math-flags so that all of glibc gets compiled with
46563         it.
46565         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
46567 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
46569         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
46570         Disable one test.
46572         [BZ #13787]
46573         [BZ #13922]
46574         [BZ #14036]
46575         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
46576         (__ieee754_expl): Allow for and saturate large arguments.
46577         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
46578         (u_threshold): Likewise.
46579         (__exp): Call __ieee754_exp before checking for overflow and
46580         underflow.
46581         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
46582         (u_threshold): Likewise.
46583         (__expf): Call __ieee754_expf before checking for overflow and
46584         underflow.
46585         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
46586         (u_threshold): Likewise.
46587         (__expl): Call __ieee754_expl before checking for overflow and
46588         underflow.
46589         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
46590         (__ieee754_expl): Allow for and saturate large arguments.
46591         * math/libm-test.inc (exp_test): Add another test.  Do not allow
46592         missing overflow exception on overflow.
46593         (expm1_test): Do not allow missing overflow exception on overflow.
46595         * sysdeps/i386/fpu/e_expl.c: Move to ...
46596         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
46597         rather than using inline asm.
46598         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
46599         * sysdeps/x86_64/fpu/e_expl.S: Copy from
46600         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
46602         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
46603         (nice): Likewise.
46604         (poll): Likewise.
46605         (signal): Likewise.
46606         (time): Likewise.
46607         (times): Likewise.
46609 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
46611         * sysdeps/unix/syscalls.list (adjtime): Add entry from
46612         sysdeps/unix/common/syscalls.list.
46613         (fchmod): Likewise.
46614         (fchown): Likewise.
46615         (ftruncate): Likewise.
46616         (getrusage): Likewise.
46617         (gettimeofday): Likewise.
46618         (setpgid): Likewise.
46619         (setregid): Likewise.
46620         (setreuid): Likewise.
46621         (sigaction): Likewise.
46622         (truncate): Likewise.
46623         (vhangup): Likewise.
46624         * sysdeps/unix/common/syscalls.list: Remove file.
46625         * sysdeps/unix/bsd/Implies: Don't include unix/common.
46626         * sysdeps/unix/sysv/linux/Implies: Likewise.
46628 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
46630         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
46631         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
46632         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
46633         Moved to ...
46634         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
46635         Here.
46636         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
46637         to ...
46638         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
46639         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
46640         to ...
46641         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
46642         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
46643         to ...
46644         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
46645         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
46646         to ...
46647         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
46648         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
46649         to ...
46650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
46651         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
46652         to ...
46653         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
46654         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
46655         to ...
46656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46657         Here.
46658         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
46659         to ...
46660         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
46661         Here.
46662         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
46663         to ...
46664         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
46665         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
46666         Moved to ...
46667         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
46668         Here.
46669         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
46670         to ...
46671         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
46673 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
46675         * sysdeps/unix/common/bits/dirent.h: Remove file.
46676         * sysdeps/unix/common/bits/fcntl.h: Likewise.
46678         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
46679         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
46680         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
46681         * sysdeps/unix/bsd/isatty.c: Likewise.
46682         * sysdeps/unix/bsd/tcdrain.c: Likewise.
46683         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
46684         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
46686 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46688         [BZ #13563]
46689         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
46690         long double comparison inaccuracies.
46691         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46692         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46694 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
46696         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
46697         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
46699 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
46701         [BZ #14049]
46702         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
46703         nonzero digits before rounding a hex value.
46704         * stdlib/tst-strtod.c (tests): Add another test.
46706 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46708         * sysdeps/s390/fpu/libm-test-ulps: Update.
46710 2012-05-03  Andreas Jaeger  <aj@suse.de>
46712         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
46713         does not get optimized out.
46714         (malloc_opt_barrier): New.
46716 2012-05-03  Andreas Jaeger  <aj@suse.de>
46717             Roland McGrath  <roland@hack.frob.com>
46719         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
46720         intermediate file deletion.
46721         (generated): Add .symlist files.
46723 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
46725         [BZ #13775]
46726         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
46727         Redirect under this condition.
46728         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
46729         [__USE_GNU] (__dprintf_chk): Not under this condition.
46730         [__USE_GNU] (__vdprintf_chk): Likewise.
46731         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
46732         under this condition.
46733         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
46734         [__USE_XOPEN2K8] (dprintf): Define under this condition.
46735         [__USE_XOPEN2K8] (vdprintf): Likewise.
46736         [__USE_GNU] (__dprintf_chk): Not under this condition.
46737         [__USE_GNU] (__vdprintf_chk): Likewise.
46738         [__USE_GNU] (dprintf): Likewise.
46739         [__USE_GNU] (vdprintf): Likewise.
46741 2012-05-03  Roland McGrath  <roland@hack.frob.com>
46743         * elf/Makefile (common-generated): Set this instead of generated for
46744         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
46745         $(all-built-dso)-derived lists.
46747 2012-05-03  Andreas Jaeger  <aj@suse.de>
46749         * sysdeps/i386/fpu/libm-test-ulps: Update.
46751         * FAQ: Removed.
46752         * FAQ.in: Likewise.
46753         * scripts/gen-FAQ.pl: Likewise.
46754         * manual/install.texi (Installation): Point to online location of
46755         FAQ.
46756         * Makefile (files-for-dist): Remove FAQ.
46757         (FAQ): Remove.
46759 2012-05-02  Allan McRae  <allan@archlinux.org>
46761         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
46762         (LDFLAGS-reldepmod5.so): Likewise.
46763         (LDFLAGS-reldep6mod1.so): Likewise.
46764         (LDFLAGS-reldep6mod4.so): Likewise.
46765         (LDFLAGS-reldep8mod3.so): Likewise.
46766         (LDFLAGS-unload4mod1.so): Likewise.
46767         (LDFLAGS-unload4mod2.so): Likewise.
46768         (LDFLAGS-tst-initorder): Likewise.
46769         (LDFLAGS-tst-initordera2.so): Likewise.
46770         (LDFLAGS-tst-initordera3.so): Likewise.
46771         (LDFLAGS-tst-initordera4.so): Likewise.
46772         (LDFLAGS-tst-initorderb2.so): Likewise.
46773         (LDFLAGS-noload): Likewise.
46774         (LDFLAGS-next): Likewise.
46775         (LDFLAGS-order2mod1.so): Likewise.
46776         (LDFLAGS-order2mod2.so): Likewise.
46777         (LDFLAGS-tst-initorder2): Likewise.
46778         (LDFLAGS-tst-initorder2a.so): Likewise.
46779         (LDFLAGS-tst-initorder2b.so): Likewise.
46780         (LDFLAGS-tst-initorder2c.so): Likewise.
46781         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
46783 2012-05-02  David S. Miller  <davem@davemloft.net>
46785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46787 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
46789         [BZ #14055]
46790         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
46792 2012-05-02  Andreas Jaeger  <aj@suse.de>
46794         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
46795         since we manipulate rounding mode.
46796         (CPPFLAGS-test-idouble.c): Likewise.
46797         (CPPFLAGS-test-ifloat.c): Likewise.
46798         (CFLAGS-test-ldouble.c): Likewise.
46799         (CFLAGS-test-double.c): Likewise.
46800         (CFLAGS-test-float.c): Likewise.
46801         (CFLAGS-test-misc.c): Likewise.
46802         (CFLAGS-test-test-fenv.c): Likewise.
46804 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46806         [BZ #2550]
46807         [BZ #2570]
46808         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
46809         comparisons to determine direction to adjust input.
46811 2012-05-01  Roland McGrath  <roland@hack.frob.com>
46813         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
46814         output to the target.
46816         * scripts/localplt.awk: New file.
46817         * elf/Makefile ($(objpfx)check-localplt): Target removed.
46818         (check-localplt-CFLAGS): Variable removed.
46819         ($(all-built-dso:=.jmprel)): New static pattern rule.
46820         (generated): Add those targets.
46821         (localplt-built-dso): New variable.
46822         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
46824         * elf/check-localplt.c: File removed.
46826         * scripts/check-execstack.awk: New file.
46827         * elf/Makefile ($(objpfx)check-execstack): Target removed.
46828         (check-execstack-CFLAGS): Variable removed.
46829         ($(objpfx)check-execstack.h): Target removed.
46830         ($(objpfx)execstack-default): New target.
46831         (generated): Add that instead of check-execstack.h.
46832         ($(all-built-dso:=.phdr)): New static pattern rule.
46833         (generated): Add those targets.
46834         * elf/check-execstack.c: File removed.
46836         * scripts/check-textrel.awk: New file.
46837         * elf/Makefile ($(objpfx)check-textrel): Target removed.
46838         (check-textrel-CFLAGS): Variable removed.
46839         (all-built-dso): Use := to define.o
46840         ($(all-built-dso:=.dyn)): New static pattern rule.
46841         (generated): Add those targets.
46842         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
46843         * config.make.in (READELF): New substituted variable.
46844         * elf/check-textrel.c: File removed.
46846 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
46848         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46849         allow.
46850         * conform/data/ctype.h-data [C99-based standards] (isblank):
46851         Expect function.
46852         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
46853         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
46854         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46855         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
46856         Specify type.  Require positive value.
46857         (EILSEQ): Likewise.
46858         (ERANGE): Likewise.
46859         [ISO || POSIX] (EILSEQ): Do not expect.
46860         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
46861         Specify type.  Require positive value.
46862         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
46863         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
46864         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
46865         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
46866         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
46867         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
46868         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
46869         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
46870         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
46871         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
46872         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
46873         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
46874         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
46875         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
46876         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
46877         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
46878         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
46879         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
46880         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
46881         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
46882         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
46883         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
46884         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
46885         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
46886         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
46887         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
46888         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
46889         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
46890         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
46891         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
46892         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
46893         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
46894         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
46895         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
46896         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
46897         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
46898         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
46899         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
46900         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
46901         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
46902         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
46903         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
46904         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
46905         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
46906         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
46907         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
46908         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
46909         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
46910         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
46911         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
46912         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
46913         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
46914         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
46915         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
46916         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
46917         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
46918         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
46919         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
46920         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
46921         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
46922         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
46923         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
46924         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
46925         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
46926         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
46927         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
46928         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
46929         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
46930         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
46931         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
46932         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
46933         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
46934         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
46935         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
46936         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
46937         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
46938         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
46939         Require >= 2.
46940         (FLT_ROUNDS): Expect as macro, not constant.
46941         (FLT_MANT_DIG): Use macro-int-constant.
46942         (DBL_MANT_DIG): Likewise.
46943         (LDBL_MANT_DIG): Likewise.
46944         (FLT_DIG): Likewise.
46945         (DBL_DIG): Likewise.
46946         (LDBL_DIG): Likewise.
46947         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
46948         (DBL_MIN_EXP): Likewise.
46949         (LDBL_MIN_EXP): Likewise.
46950         (FLT_MAX_EXP): Use macro-int-constant.
46951         (DBL_MAX_EXP): Likewise.
46952         (LDBL_MAX_EXP): Likewise.
46953         (FLT_MAX_10_EXP): Likewise.
46954         (DBL_MAX_10_EXP): Likewise.
46955         (LDBL_MAX_10_EXP): Likewise.
46956         (FLT_MAX): Use macro-constant.
46957         (DBL_MAX): Likewise.
46958         (LDBL_MAX): Likewise.
46959         (FLT_EPSILON): Use macro-constant.  Give upper bound.
46960         (DBL_EPSILON): Likewise.
46961         (LDBL_EPSILON): Likewise.
46962         (FLT_MIN): Likewise.
46963         (DBL_MIN): Likewise.
46964         (LDBL_MIN): Likewise.
46965         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
46966         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
46967         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
46968         [ISO11] (FLT_HAS_SUBNORM): Likewise.
46969         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
46970         [ISO11] (DBL_DECIMAL_DIG): Likewise.
46971         [ISO11] (FLT_DECIMAL_DIG): Likewise.
46972         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
46973         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
46974         [ISO11] (FLT_TRUE_MIN): Likewise.
46975         [ISO11] (LDBL_TRUE_MIN): Likewise.
46976         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46977         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
46978         (SCHAR_MIN): Use macro-int-constant.  Specify type.
46979         (SCHAR_MAX): Likewise.
46980         (UCHAR_MAX): Likewise.
46981         (CHAR_MIN): Likewise.
46982         (CHAR_MAX): Likewise.
46983         (MB_LEN_MAX): Use macro-int-constant.
46984         (SHRT_MIN): Use macro-int-constant.  Specify type.
46985         (SHRT_MAX): Likewise.
46986         (USHRT_MAX): Likewise.
46987         (INT_MAX): Likewise.
46988         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
46989         bound negative.
46990         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
46991         bound with "U".
46992         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
46993         bound with "L".
46994         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
46995         bound negative.  Suffix upper bound with "L".
46996         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
46997         bound with "UL".
46998         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
46999         Specify type.
47000         [C99-based standards] (LLONG_MAX): Likewise.
47001         [C99-based standards] (ULLONG_MAX): Likewise.
47002         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
47003         == 0.
47004         [ISO11] (max_align_t): Require type.
47005         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47007         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
47008         from $CFLAGS, without defining away __attribute__ calls.
47009         (checknamespace): Use $CFLAGS_namespace.
47011         * conform/conformtest.pl (@keywords): Only include C99 keywords
47012         for standards based on C99 or C11.
47014         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
47015         Disable tests.
47016         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
47017         UNIX98]: Likewise.
47019         * conform/conformtest.pl: Handle "macro-int-constant" and test for
47020         usability of symbols in #if.
47022         * conform/conformtest.pl: If macro or constant types start
47023         "promoted:", expect the symbol to be of the following type
47024         promoted by the integer promotions.
47026         * conform/conformtest.pl: Parse all "constant" and "macro" lines
47027         in one place.  Also handle "macro-constant".
47029         * conform/conformtest.pl: Only accept expected macro values with
47030         "==".  Parse all "macro" lines in one place.
47031         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
47033         * conform/conformtest.pl: Handle braced types on "constant" lines
47034         instead of handling "typed-constant".
47035         * conform/data/signal.h-data: Use "constant" instead of
47036         "typed-constant".
47038         * conform/conformtest.pl: Handle "optional-" at start of lines in
47039         one place rather than duplicating several cases.  Handle each
47040         format of "macro" line with initial "optional-".
47042         * conform/conformtest.pl: Only accept expected constant or
47043         optional-constant values with "==".  Parse all "constant" lines in
47044         one place.  Parse all "optional-constant" lines in one place.
47045         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
47046         * conform/data/fmtmsg.h-data: Likewise.
47047         * conform/data/netinet/in.h-data: Likewise.
47048         * conform/data/tar.h-data: Likewise.
47049         * conform/data/limits.h-data: Use "==" form on "constant" and
47050         "optional-constant" lines.
47052         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
47053         Use -std=c99 for XOPEN2K.
47054         (@knownproblems): Remove.
47055         (newtoken): Don't check %isknown.
47057         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
47058         Do not expect macro.
47059         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
47060         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
47061         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
47062         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
47063         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
47064         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
47065         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
47066         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
47067         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
47068         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
47069         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
47070         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
47071         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
47072         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
47073         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
47074         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
47075         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
47076         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
47077         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
47078         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
47079         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
47080         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
47081         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
47082         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
47083         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
47084         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
47085         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
47086         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
47087         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
47088         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
47089         [XPG3] (acosh): Likewise.
47090         [XPG3] (asinh): Likewise.
47091         [XPG3] (atanh): Likewise.
47092         [XPG3] (cbrt): Likewise.
47093         [XPG3] (expm1): Likewise.
47094         [XPG3] (ilogb): Likewise.
47095         [XPG3] (log1p): Likewise.
47096         [XPG3] (logb): Likewise.
47097         [XPG3] (nextafter): Likewise.
47098         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
47099         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
47100         [XPG3] (remainder): Likewise.
47101         [XPG3] (rint): Likewise.
47102         [XPG3 || XPG4 || UNIX98] (round): Likewise.
47103         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
47104         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
47105         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
47106         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
47107         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
47108         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
47109         [UNIX98 || XOPEN2K] (scalb): Expect.
47110         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
47111         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
47112         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
47113         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
47114         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
47115         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
47116         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
47117         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
47118         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
47119         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
47120         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
47121         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
47122         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
47123         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
47124         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
47125         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
47126         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
47127         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
47128         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
47129         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
47130         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
47131         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
47132         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
47133         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
47134         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
47135         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
47136         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
47137         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
47138         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
47139         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
47140         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
47141         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
47142         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
47143         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
47144         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
47145         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
47146         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
47147         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
47148         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
47149         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
47150         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
47151         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
47152         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
47153         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
47154         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
47155         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
47156         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
47157         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
47158         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
47159         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
47160         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
47161         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
47162         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
47163         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
47164         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
47165         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
47166         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
47167         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
47168         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
47169         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
47170         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
47171         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
47172         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
47173         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
47174         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
47175         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
47176         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
47177         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
47178         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
47179         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
47180         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
47181         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
47182         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
47183         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
47184         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
47185         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
47186         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
47187         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
47188         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
47189         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
47190         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
47191         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
47192         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
47193         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
47194         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
47195         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
47196         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
47197         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
47198         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
47199         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
47200         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
47201         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
47202         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
47203         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
47204         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
47205         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
47206         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
47207         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
47208         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
47209         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
47210         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
47211         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
47212         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
47213         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
47214         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
47215         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
47216         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
47217         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
47218         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
47219         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
47220         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
47221         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
47222         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
47223         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
47224         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
47225         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
47226         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
47227         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
47228         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
47229         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
47230         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
47231         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
47232         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
47233         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
47234         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
47235         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
47236         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
47237         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
47238         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
47239         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
47240         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
47241         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
47242         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
47243         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
47244         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
47245         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
47246         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
47248         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
47249         _XOPEN_SOURCE_EXTENDED for XPG4.
47251         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
47253         * Makeconfig (localtime): Remove variable.
47254         (inst_localtime-file): Likewise.
47256 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47259         Update.
47260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47261         Update.
47262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47263         Update.
47264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47265         Update.
47266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47267         Update.
47268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
47269         Update.
47270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47271         Update.
47272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
47273         Update.
47274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47275         Update.
47277 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
47279         [BZ #2550]
47280         [BZ #2570]
47281         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
47282         comparisons to determine direction to adjust input.
47283         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
47284         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
47285         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
47286         Likewise.
47287         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
47288         Likewise.
47289         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47290         Likewise.
47291         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
47292         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
47293         Likewise.
47294         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
47295         Likewise.
47296         * math/libm-test.inc (nexttoward_test): Add more tests.
47298 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47300         [BZ #14040]
47301         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
47302         in version GLIBC_2.1, not GLIBC_2.0.
47303         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
47304         Likewise.
47306 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
47308         [BZ #13942]
47309         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
47310         (1 - x) * (1 + x).
47311         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47312         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
47313         * math/libm-test.inc (acos_test): Add more tests.
47314         (asin_test): Likewise.
47315         * sysdeps/i386/fpu/libm-test-ulps: Update.
47316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47318         [BZ #14034]
47319         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
47320         of square root.
47321         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
47322         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47323         * math/libm-test.inc (acos_test_tonearest): New function.
47324         (acos_test_towardzero): Likewise.
47325         (acos_test_downward): Likewise.
47326         (acos_test_upward): Likewise.
47327         (asin_test_tonearest): Likewise.
47328         (asin_test_towardzero): Likewise.
47329         (asin_test_downward): Likewise.
47330         (asin_test_upward): Likewise.
47331         (main): Call the new functions.
47332         * sysdeps/i386/fpu/libm-test-ulps: Update.
47333         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47335         [BZ #13884]
47336         [BZ #13924]
47337         * math/e_exp10.c: Include <float.h>.
47338         (__ieee754_exp10): Handle underflow here rather than multiplying
47339         large negative argument by M_LN10.
47340         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
47341         of __ieee754_expf.
47342         * math/e_exp10l.c: Include <float.h>.
47343         (__ieee754_exp10l): Handle underflow here rather than multiplying
47344         large negative argument by M_LN10l.
47345         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
47346         spurious overflow exception on underflow.
47348 2012-04-29  Marek Polacek  <polacek@redhat.com>
47350         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
47351         (__fortify_function): New macro.
47352         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
47353         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
47354         __extern_always_inline.
47355         * libio/bits/stdio2.h: Likewise.
47356         * libio/bits/stdio.h: Likewise.
47357         * string/string.h: Likewise.
47358         * string/bits/string3.h: Likewise.
47359         * include/stdio.h: Likewise.
47360         * stdlib/bits/stdlib.h: Likewise.
47361         * stdlib/stdlib.h: Likewise.
47362         * rt/bits/mqueue2.h: Likewise.
47363         * rt/mqueue.h: Likewise.
47364         * posix/bits/unistd.h: Likewise.
47365         * posix/unistd.h: Likewise.
47366         * io/bits/poll2.h: Likewise.
47367         * io/bits/fcntl2.h: Likewise.
47368         * io/fcntl.h: Likewise.
47369         * io/sys/poll.h: Likewise.
47370         * misc/bits/syslog.h: Likewise.
47371         * misc/bits/syslog-ldbl.h: Likewise.
47372         * misc/sys/syslog.h: Likewise.
47373         * socket/bits/socket2.h: Likewise.
47374         * socket/sys/socket.h: Likewise.
47375         * debug/tst-chk1.c: Likewise.
47376         * wcsmbs/bits/wchar2.h: Likewise.
47377         * wcsmbs/bits/wchar-ldbl.h: Likewise.
47378         * wcsmbs/wchar.h: Likewise.
47380 2012-04-29  Andreas Jaeger  <aj@suse.de>
47382         * Makerules (tests): Remove enable-check-abi protection.
47383         (check-abi-warn): Remove.
47384         (check-abi-%): Remove check-abi-warn usage.
47386         * configure.in: Remove check-abi configure option.
47387         * configure: Regenerated.
47388         * config.make.in (enable-check-abi): Remove.
47390 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
47392         [BZ #14033]
47393         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
47394         double functions to double *_finite functions.
47396         [BZ #13941]
47397         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
47398         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
47399         LDBL_MIN_EXP.
47400         * stdio-common/Makefile (tests): Add tst-sprintf3.
47401         * stdio-common/tst-sprintf3.c: New file.
47403         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
47404         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
47406 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
47408         * conform/conformtest.pl: Remove duplicate typed-constant
47409         handling.
47411 2012-04-28  David S. Miller  <davem@davemloft.net>
47413         * Makerules (%.abilist): Add vpath on sysdep_dirs.
47414         (check-abi-%): Remove AWK script prerequisite and explicit
47415         abilist directory.
47416         (check-abi): Rewrite to just diff the symlist with the abilist.
47417         (config-tls, config-abi-config): Delete, no longer used.
47418         (update-abi-%): Remove AWK script and explicit abilist directory.
47419         (update-abi): Rewrite to simply compare and conditionally copy the
47420         symlist and the sysdep abilist file.  Remove update-abi-config
47421         checks.
47422         * abilist/ld.abilist: Remove.
47423         * abilist/libBrokenLocale.abilist: Remove.
47424         * abilist/libanl.abilist: Remove.
47425         * abilist/libcrypt.abilist: Remove.
47426         * abilist/libdl.abilist: Remove.
47427         * abilist/librt.abilist: Remove.
47428         * abilist/libthread_db.abilist: Remove.
47429         * abilist/libutil.abilist: Remove.
47430         * scripts/extract-abilist.awk: Remove.
47431         * scripts/merge-abilist.awk: Remove.
47432         * sysdeps/generic/libcidn.abilist: New file.
47433         * sysdeps/generic/libnss_compat.abilist: New file.
47434         * sysdeps/generic/libnss_db.abilist: New file.
47435         * sysdeps/generic/libnss_dns.abilist: New file.
47436         * sysdeps/generic/libnss_files.abilist: New file.
47437         * sysdeps/generic/libnss_hesiod.abilist: New file.
47438         * sysdeps/generic/libnss_nis.abilist: New file.
47439         * sysdeps/generic/libnss_nisplus.abilist: New file.
47440         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
47441         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
47442         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
47443         file.
47444         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
47445         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
47446         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
47447         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
47448         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
47449         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
47450         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
47451         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
47452         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
47453         file.
47454         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
47455         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
47456         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
47457         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
47458         file.
47459         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
47460         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
47461         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
47462         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
47463         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
47464         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
47465         file.
47466         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
47467         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
47468         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
47469         file.
47470         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
47471         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
47472         New file.
47473         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
47474         New file.
47475         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
47476         New file.
47477         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
47478         New file.
47479         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
47480         New file.
47481         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
47482         New file.
47483         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
47484         New file.
47485         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
47486         New file.
47487         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
47488         New file.
47489         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
47490         New file.
47491         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
47492         New file.
47493         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
47494         New file.
47495         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
47496         New file.
47497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
47498         file.
47499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
47500         New file.
47501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
47502         New file.
47503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
47504         file.
47505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
47506         New file.
47507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
47508         New file.
47509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
47510         file.
47511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
47512         New file.
47513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47514         New file.
47515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
47516         New file.
47517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
47518         New file.
47519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
47520         New file.
47521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
47522         New file.
47523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
47524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
47525         file.
47526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
47527         New file.
47528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
47529         file.
47530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
47531         file.
47532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
47533         file.
47534         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
47535         file.
47536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
47537         file.
47538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47539         New file.
47540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
47541         file.
47542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
47543         file.
47544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
47545         New file.
47546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
47547         file.
47548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
47549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
47550         file.
47551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
47552         New file.
47553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
47554         file.
47555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
47556         file.
47557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
47558         file.
47559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
47560         file.
47561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
47562         file.
47563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47564         New file.
47565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
47566         file.
47567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
47568         file.
47569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
47570         New file.
47571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
47572         file.
47573         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47574         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
47575         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
47576         file.
47577         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
47578         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
47579         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
47580         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
47581         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
47582         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
47583         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
47584         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
47585         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
47586         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
47587         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
47588         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
47589         file.
47590         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
47591         New file.
47592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
47593         file.
47594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
47595         file.
47596         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
47597         file.
47598         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
47599         file.
47600         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
47601         file.
47602         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47603         New file.
47604         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
47605         New file.
47606         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
47607         file.
47608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
47609         New file.
47610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
47611         file.
47612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
47613         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
47614         file.
47615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
47616         New file.
47617         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
47618         file.
47619         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
47620         file.
47621         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
47622         file.
47623         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
47624         file.
47625         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
47626         file.
47627         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47628         New file.
47629         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
47630         New file.
47631         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
47632         file.
47633         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
47634         New file.
47635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
47636         file.
47638 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
47640         * conform/conformtest.pl: Fix typo in handling typed-constant from
47641         allow-header.
47643 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
47645         * README: Cut down references to pre-2.6 Linux kernels and
47646         Linuxthreads.  Update lists of configurations in libc and ports
47647         and sort alphabetically.  Say "or newer" with Linux kernel version
47648         requirements.
47650         * config.h.in [IS_IN_build]: Allow compiling without optimization.
47652 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47654         [BZ #887]
47655         * math/libm-test.inc (logb_test_downward): New test to expose
47656         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
47657         rounding mode.
47659 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
47661         [BZ #14027]
47662         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
47663         to be done.
47664         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
47665         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
47667 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
47669         * sysdeps/unix/i386/brk.S: Remove file.
47670         * sysdeps/unix/i386/dl-brk.S: Likewise.
47671         * sysdeps/unix/i386/pipe.S: Likewise.
47672         * sysdeps/unix/i386/sigreturn.S: Likewise.
47673         * sysdeps/unix/i386/syscall.S: Likewise.
47674         * sysdeps/unix/i386/vfork.S: Likewise.
47675         * sysdeps/unix/i386/wait.S: Likewise.
47677         * sysdeps/unix/common/tcsendbrk.c: Move to ...
47678         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
47680         * configure.in (arm*-none*): Do not allow without
47681         --enable-hacker-mode.
47682         (netbsd*): Remove case setting base_os.
47683         (386bsd*): Likewise.
47684         (freebsd*): Likewise.
47685         (bsdi*): Likewise.
47686         (osf*): Likewise.
47687         (sunos*): Likewise.
47688         (ultrix*): Likewise.
47689         (newsos*): Likewise.
47690         (dynix*): Likewise.
47691         (*bsd*): Likewise.
47692         (sysv*): Likewise.
47693         (isc*): Likewise.
47694         (esix*): Likewise.
47695         (sco*): Likewise.
47696         (minix*): Likewise.
47697         (irix4*): Likewise.
47698         (irix6*): Likewise.
47699         (solaris[2-9]*): Likewise.
47700         (none): Likewise.
47701         * configure: Regenerated.
47703 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47705         [BZ #11521]
47706         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
47707         overflow or cancellation in calculating denominator.
47708         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
47709         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
47710         down expression to avoid unexpected rounding in newer GCCs.
47711         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
47713 2012-04-26  David S. Miller  <davem@davemloft.net>
47715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
47716         long-double compat symbols.
47717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
47721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
47723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
47724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
47725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
47726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
47727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
47728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
47729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47731 2012-04-25  David S. Miller  <davem@davemloft.net>
47733         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
47734         HWCAP_* values only after the memory barriers have been defined.
47735         (atomic_full_barrier): Define.
47736         (atomic_read_barrier): Define.
47737         (atomic_write_barrier): Define.
47739 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47741         * shlib-versions: Add libgcc_s version information.
47742         * sysdeps/generic/libgcc_s.h: Remove.
47743         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
47744         libgcc_s.h.
47745         * sysdeps/gnu/unwind-resume.c: Likewise.
47746         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
47748 2012-04-25  David S. Miller  <davem@davemloft.net>
47750         * sysdeps/unix/sparc/brk.S: Delete.
47751         * sysdeps/unix/sparc/dl-brk.S: Delete.
47752         * sysdeps/unix/sparc/pipe.S: Delete.
47753         * sysdeps/unix/sparc/sysdep.S: Delete.
47754         * sysdeps/unix/sparc/sysdep.h: Delete.
47755         * sysdeps/unix/sparc/vfork.S: Delete.
47756         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
47757         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
47758         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
47759         (ret_ERRVAL, r0, r1, MOVE): Define.
47760         (JUMPTARGET): Remove.
47761         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
47762         sysdeps/unix/sparc/sysdep.h
47763         (ENTRY, END): Remove.
47764         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47766 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
47768         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
47769         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
47770         -DIS_IN_build.
47772         * timezone/README: Update upstream location and email address for
47773         tzcode and tzdata.
47774         * timezone/zdump.c: Update from tzcode 2012b.
47775         * timezone/zic.c: Likewise.
47777         * configure.in (libc_cv_as_needed): Remove test.
47778         * configure: Regenerated.
47779         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
47780         conditional definition.
47781         [$(have-as-needed) != yes] (no-as-needed): Likewise.
47782         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
47783         * config.make.in (have-as-needed): Remove variable.
47785 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47786             Paul Pluzhnikov  <ppluzhnikov@google.com>
47788         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
47789         strings correctly.
47791 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
47793         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
47794         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
47795         * sysdeps/sh/strlen.S: Likewise.
47797 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
47799         * sysdeps/unix/fork.S: Remove file.
47800         * sysdeps/unix/i386/fork.S: Likewise.
47801         * sysdeps/unix/sparc/fork.S: Likewise.
47803         * sysdeps/unix/system.c: Remove file.
47804         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
47806         * sysdeps/unix/getegid.S: Remove file.
47807         * sysdeps/unix/geteuid.S: Likewise.
47809 2012-04-24  Roland McGrath  <roland@hack.frob.com>
47811         * scripts/check-localplt.awk: New file.
47812         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
47813         of diff.
47814         * scripts/data/localplt-generic.data: Add a comment.
47816         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
47817         NODE when __dir_mkfile failed.
47818         * sysdeps/mach/hurd/symlinkat.c: Likewise.
47819         Reported by Ludovic Courtès <ludo@gnu.org>.
47821 2012-04-24  Andreas Jaeger  <aj@suse.de>
47823         * Makerules (common-clean): Also remove gen-as-const-headers
47824         files.
47826 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
47828         * Makerules (native-compile): Do not change working directory for
47829         build.  Use $(OUTPUT_OPTION) in command.
47830         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
47832 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47834         [BZ #13886]
47835         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
47836         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
47837         * math/libm-test.inc (floor_test): Add more tests.
47838         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
47840 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
47842         * sysdeps/unix/getdents.c: Remove file.
47843         * sysdeps/unix/sysv/getdents.c: Likewise.
47844         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
47846         * sysdeps/unix/syscalls.list (madvise): Add syscall from
47847         sysdeps/unix/mman/syscalls.list.
47848         (mmap): Likewise.
47849         (mprotect): Likewise.
47850         (msync): Likewise.
47851         (munmap): Likewise.
47852         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
47853         * sysdeps/unix/mman/syscalls.list: Remove.
47854         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
47856         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
47857         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
47858         * configure: Regenerated.
47859         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
47860         $(libgcc_s_suffix).
47861         * config.make.in (libgcc_s_suffix): Remove variable.
47863 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
47865         * sysdeps/unix/sysv/gethostname.c: Move to ...
47866         * sysdeps/posix/gethostname.c: ... here.
47868         * sysdeps/unix/execve.S: Remove file.
47870         * sysdeps/unix/_exit.S: Remove file.
47872 2012-04-23  Andreas Jaeger  <aj@suse.de>
47874         [BZ #13739]
47875         * manual/Makefile: Remove make dist support, there's no
47876         need for a stand-alone documentation tar ball.
47877         (TEXI2DVI): Define always, it's not in Makeconfig.
47878         (dist): Removed.
47879         (tar-it): Removed.
47880         (edition): Removed.
47881         (glibc-doc-$(edition).tar): Removed
47882         (%.Z): Removed.
47883         (%.gz): Removed.
47884         (%.uu): Removed.
47885         (ETAGS): Remove, it's in Makeconfig.
47886         (move-if-change): Remove, it's in Makeconfig.
47888 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
47890         [BZ #13970]
47891         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
47892         (strtod, strtof, strtold, strtol, strtoul, strtoq)
47893         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
47894         (strtod_l, strtof_l, strtold_l): Remove __wur.
47895         It is not necessarily an error to ignore strtol's return value.
47896         One can reliably look at the stored endptr to decide whether
47897         the number had valid syntax.
47899 2012-04-21  Andreas Jaeger  <aj@suse.de>
47901         [BZ #13739]
47902         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
47904 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
47906         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
47907         * sysdeps/unix/sysv/Versions: Remove file.
47909 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
47911         [BZ #13927]
47912         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47914 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
47916         [BZ #7064]
47917         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
47918         version from __vm86.
47920 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
47922         * sysdeps/unix/common/lxstat.c: Remove file.
47923         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
47925         * sysdeps/unix/sysv/Makefile: Remove file.
47927         * sysdeps/unix/sysv/direct.h: Remove file.
47929         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
47930         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
47931         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
47932         * sysdeps/unix/sysv/bits/signum.h: Likewise.
47933         * sysdeps/unix/sysv/bits/stat.h: Likewise.
47934         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
47935         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
47937         * sysdeps/unix/sysv/setrlimit.c: Remove file.
47939         * sysdeps/unix/xmknod.c: Remove file.
47940         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
47942         * sysdeps/unix/sysv/settimeofday.c: Remove file.
47944         * sysdeps/unix/sysv/i386/time.S: Remove file.
47946         * sysdeps/unix/fxstat.c: Remove file.
47947         * sysdeps/unix/xstat.c: Likewise.
47948         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
47950         * sysdeps/unix/sysv/sigaction.c: Remove file.
47952         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
47953         (sysdep_headers): Remove variable.
47954         [termio.h not in sysdep_headers] (generated): Likewise.
47955         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
47956         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
47957         * sysdeps/unix/sysv/tcdrain.c: Likewise.
47958         * sysdeps/unix/sysv/tcflow.c: Likewise.
47959         * sysdeps/unix/sysv/tcflush.c: Likewise.
47960         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
47961         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
47962         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
47963         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
47964         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
47966         * sysdeps/unix/siglist.c: Remove file.
47968         * sysdeps/unix/getppid.S: Remove file.
47970         * sysdeps/unix/mkdir.c: Remove file.
47971         * sysdeps/unix/rmdir.c: Likewise.
47973 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
47975         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
47976         ERR_MAX value.
47977         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
47978         errlist-compat value.
47980 2012-04-18  David S. Miller  <davem@davemloft.net>
47982         * sysdeps/generic/memcopy.h (reg_char): Delete.
47983         * debug/strcat_chk.c: Use char, not reg_char.
47984         * debug/strcpy_chk.c: Likewise.
47985         * debug/strncat_chk.c: Likewise.
47986         * debug/strncpy_chk.c: Likewise.
47987         * string/memchr.c: Likewise.
47988         * string/memrchr.c: Likewise.
47989         * string/rawmemchr.c: Likewise.
47990         * string/strcat.c: Likewise.
47991         * string/strchr.c: Likewise.
47992         * string/strchrnul.c: Likewise.
47993         * string/strcmp.c: Likewise.
47994         * string/strcpy.c: Likewise.
47995         * string/strncat.c: Likewise.
47996         * string/strncmp.c: Likewise.
47997         * string/strncpy.c: Likewise.
47999 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
48001         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
48002         __builtin_memcopy is called when src and dest ranges are known to not
48003         overlap.
48005 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
48007         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
48008         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
48009         fwd_align_merge macro call.
48010         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
48011         bwd_align_merge macro call.
48012         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48014 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
48016         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
48017         bwd_align_merge macros.
48018         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
48019         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
48020         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48022 2012-04-18  David S. Miller  <davem@davemloft.net>
48024         * sysdeps/sparc/sparc64/memcopy.h: Delete.
48026 2012-04-18  Andreas Jaeger  <aj@suse.de>
48028         [BZ# 6794]
48029         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
48030         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
48031         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48033         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
48034         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
48035         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48037         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
48038         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
48039         Adjust for changed ldbl-128 files.
48041         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
48042         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
48043         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48045 2012-04-17  David S. Miller  <davem@davemloft.net>
48047         * sysdeps/sparc/sparc32/memcopy.h: Delete.
48049 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
48051         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
48052         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
48053         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
48054         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
48055         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48056         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
48058 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48060         [BZ #6794]
48061         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
48062         * math/libm-test.inc: Add ilogb errno and exception tests.
48063         * math/w_ilogb.c: New file: ilogb wrapper.
48064         * math/w_ilogbf.c: New file: ilogbf wrapper.
48065         * math/w_ilogbl.c: New file: ilogbl wrapper.
48066         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
48067         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
48068         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
48069         exception being thrown with 0.0 as argument.
48070         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
48071         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
48072         exception being thrown with 0.0 as argument.
48073         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
48074         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48075         exception being thrown with 0.0 as argument.
48076         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
48077         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48078         exception being thrown with 0.0 as argument.
48079         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
48080         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
48081         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
48082         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
48083         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
48084         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
48085         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
48086         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
48087         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
48089 2012-04-17  Petr Baudis  <pasky@ucw.cz>
48091         * include/sys/uio.h: Change __vector to __iovec to avoid clash
48092         with altivec.
48094 2012-04-16  Marek Polacek  <polacek@redhat.com>
48096         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
48098 2012-04-16  Marek Polacek  <polacek@redhat.com>
48100         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
48101         operands of fdivp instruction.
48103 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
48105         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
48106         * elf/tst-auditmod3b.c: Likewise.
48107         * elf/tst-auditmod4b.c: Likewise.
48108         * elf/tst-auditmod5b.c: Likewise.
48109         * elf/tst-auditmod6b.c: Likewise.
48110         * elf/tst-auditmod6c.c: Likewise.
48111         * elf/tst-auditmod7b.c: Likewise.
48112         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
48113         * sysdeps/x86_64/preconfigure.in: Likewise.
48114         * sysdeps/x86_64/preconfigure: Regenerated.
48116 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
48118         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
48119         __ILP32__.
48121 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
48123         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48124         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
48126 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
48128         [BZ #13973]
48129         * locale/iso-639.def: Fix gl language name. Spotted by
48130         Yaron Shahrabani.
48132 2012-04-12  Roland McGrath  <roland@hack.frob.com>
48134         [BZ #2074]
48135         * libio/libio.h (__io_write_fn): Update comment.
48137 2012-04-12  Petr Baudis  <pasky@ucw.cz>
48139         [BZ #2074]
48140         * stdio.texi (Hook Functions): The user provided writer function
48141         is not allowed to return -1.
48143 2012-04-11  David S. Miller  <davem@davemloft.net>
48145         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48147 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
48149         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
48150         Add a leading slash to rtkaio.
48152 2012-04-11  Jim Meyering  <meyering@redhat.com>
48154         [BZ #11959]
48155         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
48156         It is not necessarily an error to ignore fwrite's return
48157         value.  One can reliably use ferror to test for errors after
48158         the fact.
48160 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
48162         * bits/types.h (__snseconds_t): New type.
48163         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
48165         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
48166         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48167         (__SNSECONDS_T_TYPE): Likewise.
48168         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48169         (__SNSECONDS_T_TYPE): Likewise.
48170         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48171         (__SNSECONDS_T_TYPE): Likewise.
48173 2012-04-10  Andreas Jaeger  <aj@suse.de>
48175         [BZ #2636]
48176         * manual/time.texi (Processor Time): Return type of times is
48177         elapsed real time since an arbitrary point in the past.
48178         (CPU Time): Move CLK_TCK from here...
48179         (Processor Time): ...to here.  Correct description.
48180         * manual/conf.texi (Constants for Sysconf): Correct description of
48181         _SC_CLK_TCK.
48183 2012-04-10  David S. Miller  <davem@davemloft.net>
48185         [BZ #13967]
48186         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
48187         where the is a gap between DT_REL(A) and DT_JMPREL.
48189 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
48191         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
48192         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48193         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48195 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48197         * elf/dl-support.c (_dl_inhibit_cache): New variable.
48198         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
48199         (dl_main): Handle --inhibit-cache.
48200         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
48201         _dl_inhibit_cache.
48202         * elf/dl-load.c (_dl_map_object): Use it.
48203         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
48205 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
48207         [BZ #13872]
48208         * sysdeps/i386/fpu/e_powl.S (p78): New object.
48209         (__ieee754_powl): Saturate large exponents rather than testing for
48210         overflow of y*log2(x).
48211         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48212         * math/libm-test.inc (pow_test): Do not permit spurious overflow
48213         exceptions.
48215         [BZ #11521]
48216         * math/s_ctan.c: Include <float.h>.
48217         (__ctan): Avoid internal overflow or cancellation in calculating
48218         denominator.
48219         * math/s_ctanf.c: Likewise.
48220         * math/s_ctanl.c: Likewise.
48221         * math/s_ctanh.c: Likewise.
48222         * math/s_ctanhf.c: Likewise.
48223         * math/s_ctanhl.c: Likewise.
48224         * math/libm-test.inc (ctan_test): Add more tests.
48225         (ctanh_test): Likewise.
48226         * sysdeps/i386/fpu/libm-test-ulps: Update.
48227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48229 2012-04-09  Andreas Jaeger  <aj@suse.de>
48231         [BZ #6894]
48232         * manual/filesys.texi (Directory Entries): Mention that d_namlen
48233         is an optional BSD extension.
48235         [BZ #10254]
48236         * manual/stdio.texi (Opening Streams): Document additional fopen
48237         parameters.
48239 2012-04-09  Roland McGrath  <roland@hack.frob.com>
48241         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
48242         %eax without telling the compiler.
48244 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
48246         [BZ # 13963]
48247         * manual/install.texi: Use sourceware.org.
48249 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
48251         [BZ #13873]
48252         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
48253         (__ieee754_pow): Generate overflow and underflow using huge*huge
48254         and tiny*tiny rather than just returning constant infinity or zero
48255         for large exponents.
48256         * math/libm-test.inc (pow_test): Require overflow exceptions for
48257         applicable cases of large exponents.
48259         [BZ #706]
48260         * sysdeps/i386/fpu/e_pow.S (p10): New object.
48261         (__ieee754_pow): Use iterative multiplication algorithm only for
48262         integer exponents with absolute value below 1024.  Check for odd
48263         integer exponents when using algorithm for real exponents.
48264         * math/libm-test.inc (pow_test): Add more tests.
48265         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48267 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
48269         [BZ #13705]
48270         * math/libm-test.inc (exp_test): Do not allow overflow exception
48271         on underflow test.
48273 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
48275         [BZ #13705]
48276         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
48277         instead of __kernel_standard_f.
48279 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
48281         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
48282         * sysdeps/x86_64/memset_chk.S: Likewise.
48284 2012-04-08  Andreas Jaeger  <aj@suse.de>
48286         [BZ #10153]
48287         * manual/startup.texi (Environment Access): Describe return value
48288         for putenv and setenv.
48290         [BZ #6895]
48291         * manual/filesys.texi (Directory Entries): Add description for
48292         DT_LNK.
48294         [BZ #6890]
48295         * manual/filesys.texi (Directory Entries): Clarify that it's file
48296         system not operating system in the description of DT_UNKNOWN.
48298         [BZ #6578]
48299         * manual/syslog.texi (closelog): Fix reference, it's openlog.
48301 2012-04-08  Stephen Compall  <s11@member.fsf.org>
48303         [BZ #6649]
48304         * manual/llio.texi (Opening and Closing Files): Add cross
48305         reference to explain mode argument.
48307 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
48309         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
48310         * sysdeps/x86_64/memset_chk.S: Likewise.
48312 2012-04-07  David S. Miller  <davem@davemloft.net>
48314         * elf/elf.h (R_SPARC_WDISP10): Define.
48315         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
48316         R_SPARC_SIZE32.
48317         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
48318         R_SPARC_SIZE64 and R_SPARC_H34.
48320 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
48322         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
48323         conditions and remove no longer applicable assertion.
48325 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
48327         * bits/byteswap.h: Include <features.h>.
48328         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48329         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48331 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
48333         * bits/byteswap.h (__bswap_16): Removed.
48334         Include <bits/byteswap-16.h> to get __bswap_16.
48335         * sysdeps/i386/bits/byteswap.h: Likewise.
48336         * sysdeps/s390/bits/byteswap.h: Likewise.
48337         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48338         * bits/byteswap-16.h: New file.
48339         * sysdeps/i386/bits/byteswap-16.h: Likewise.
48340         * sysdeps/s390/bits/byteswap-16.h: Likewise.
48341         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
48342         * string/Makefile (headers): Add bits/byteswap-16.h.
48344 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48346         [BZ #13895]
48347         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
48348         extra indirection.
48349         * nss/Makefile (tests-static, tests): Add tst-nss-static.
48350         * nss/tst-nss-static.c: New.
48352 2012-04-06  Robert Millan  <rmh@gnu.org>
48354         [BZ #6486]
48355         * manual/llio.texi (File Position Primitive): lseek
48356         refers to WHENCE when it really means OFFSET.
48358 2012-04-06  Andreas Jaeger  <aj@suse.de>
48360         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
48361         strncmp declarations.
48363         * abilist/libc.abilist: Add __poll and __ppoll.
48365 2012-04-05  David S. Miller  <davem@davemloft.net>
48367         * scripts/check-local-headers.sh: Accept a host triplet in the
48368         path matched by the exclude regexp.
48370         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
48371         definition.
48372         * sysdeps/powerpc/powerpc32/dl-machine.h
48373         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
48374         * sysdeps/s390/s390-32/dl-machine.h
48375         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48376         * sysdeps/sparc/sparc32/dl-machine.h
48377         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48378         * sysdeps/sparc/sparc64/dl-machine.h
48379         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48381         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
48382         lazy binding.
48383         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
48384         undefined symbol errors.
48386         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
48387         DT_NEEDED entries.
48389 2012-04-05  Michael Matz  <matz@suse.de>
48391         [BZ #13592]
48392         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
48394 2012-04-05  Andreas Jaeger  <aj@suse.de>
48396         [BZ #13908]
48397         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
48398         comment.
48400 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48402         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
48403         which ROUND is no valid rounding mode.
48405 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48407         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
48408         read again.
48409         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
48411 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48413         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
48414         an exception using FPU order intentionally.
48416 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48418         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
48419         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
48420         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
48421         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
48423 2012-04-05  Simon Josefsson  <simon@josefsson.org>
48425         [BZ #12340]
48426         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
48427         EINVAL when BUFLEN is too smal.
48429 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
48431         [BZ #13553]
48432         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
48433         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
48435 2012-04-03  Andreas Jaeger  <aj@suse.de>
48437         [BZ #13938]
48438         * manual/setjmp.texi (System V contexts): Fix sentence.
48440         [BZ #13926]
48441         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
48442         New macro for this case.
48443         [!__GNUC__] (__bswap_64): New inline function for this case.
48444         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48445         * bits/byteswap.h: Likewise.
48446         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
48447         ull, guard with __GLIBC_HAVE_LONG_LONG.
48449         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
48450         __GLIBC_HAVE_LONG_LONG.
48452         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
48453         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
48455 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48457         [BZ #13691]
48458         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
48459         inptr and inend, rather than using last_ch.
48461 2012-04-02  David S. Miller  <davem@davemloft.net>
48463         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
48464         * stdio-common/printf-parse.h (read_int): Change return type to
48465         'int', return -1 on INT_MAX overflow.
48466         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
48467         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
48468         overflows INT_MAX.  Check for overflow of in-format-string precision
48469         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
48470         SIZE_MAX not INT_MAX for integer overflow test.
48471         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
48472         skip the construct in the format string but do not record anything.
48473         * stdio-common/bug22.c: Adjust to test both width/prevision
48474         INT_MAX overflow as well as total length INT_MAX overflow.  Check
48475         explicitly for proper errno values.
48477 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
48479         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
48480         CHAR_MAX.
48481         * string/test-strcmp.c [! WIDE]: Likewise.
48482         * time/tst-mktime2.c: Likewise for INT_MAX.
48483         * string/test-string.h: #include <sys/param.h> for MIN.
48485         * csu/init-first.c (__libc_init_first): Call __ctype_init.
48486         * sysdeps/i386/init-first.c (init): Likewise.
48487         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
48488         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
48489         * sysdeps/sh/init-first.c (init): Likewise.
48491 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
48493         * po/ru.po: Update from translation team.
48494         * po/vi.po: Likewise.
48496 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
48498         * resolv/nss_dns/dns-host.c: Merge copyright years.
48500 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48502         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48503         Optimize memcpy with prefetch if
48504         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
48505         src, dst pointers have unequal 16 byte alignments.
48507 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48509         [BZ #13928]
48510         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
48511         from a CNAME entry and return the minimum ttl for the query.
48512         (gaih_getanswer_slice): Likewise.
48514 2012-03-30  Jeff Law  <law@redhat.com>
48516         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
48517         due to long keys.
48518         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
48519         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
48521         * resolv/nss_dns/dns-host.c: Update copyright year.
48523 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
48525         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
48526         requests to save a system call.  Fix check that all bytes are sent.
48528         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
48529         comments for sendmmsg.
48531 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48533         [BZ #13691]
48534         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
48535         with only 1 character between 0x0041 and 0x01b0.
48536         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
48537         * wcsmbs/tst-mbsnrtowcs.c: New file.
48539 2012-03-29  David S. Miller  <davem@davemloft.net>
48541         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
48542         small copies by hand.
48544 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48546         [BZ #13761]
48547         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
48548         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
48549         group memberships.
48551 2012-03-28  David S. Miller  <davem@davemloft.net>
48553         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
48554         that branches into memcpy.
48555         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48556         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
48557         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48558         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
48559         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
48560         bits.
48561         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
48562         implementation too.
48563         * sysdeps/sparc/mempcpy.S: New file.
48565         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
48566         the IFUNC routine in the libc case.
48567         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48569         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
48570         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
48571         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
48572         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
48573         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
48574         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
48575         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
48576         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
48578         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
48579         loop to 256 bytes instead of 64 bytes and fix test signedness.
48581         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
48582         * sysdeps/sparc/sparc32/Makefile: rather than here...
48583         * sysdeps/sparc/sparc64/Makefile: and here.
48585 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
48587         * malloc/mallocbug.c: Avoid warnings about unused variables.
48589 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48591         [BZ #13760]
48592         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
48593         in the right place. Discard and retry query if response is
48594         larger than input buffer size.
48596 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
48598         [BZ #369]
48599         [BZ #2678]
48600         [BZ #3866]
48601         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
48602         x for large integer exponent.
48603         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48604         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
48605         sign of result as needed afterwards.
48606         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48607         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
48608         result for underflowing pow the same as for overflow.
48609         (__kernel_standard_l): Handle powl overflow and underflow here
48610         rather than calling __kernel_standard.
48611         * math/libm-test.inc (pow_test): Add more tests.
48613         [BZ #3868]
48614         [BZ #13879]
48615         [BZ #13910]
48616         [BZ #13911]
48617         [BZ #13912]
48618         [BZ #13913]
48619         [BZ #13915]
48620         [BZ #13916]
48621         [BZ #13917]
48622         [BZ #13918]
48623         [BZ #13919]
48624         [BZ #13920]
48625         [BZ #13921]
48626         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
48627         * sysdeps/ieee754/k_standard.c: Include <float.h>.
48628         (__kernel_standard_l): New function.
48629         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
48630         __kernel_standard.
48631         * math/w_acosl.c (__acosl): Likewise.
48632         * math/w_asinl.c (__asinl): Likewise.
48633         * math/w_atan2l.c (__atan2l): Likewise.
48634         * math/w_atanhl.c (__atanhl): Likewise.
48635         * math/w_coshl.c (__coshl): Likewise.
48636         * math/w_exp10l.c (__exp10l): Likewise.
48637         * math/w_exp2l.c (__exp2l): Likewise.
48638         * math/w_fmodl.c (__fmodl): Likewise.
48639         * math/w_hypotl.c (__hypotl): Likewise.
48640         * math/w_j0l.c (__j0l, __y0l): Likewise.
48641         * math/w_j1l.c (__j1l, __y1l): Likewise.
48642         * math/w_jnl.c (__jnl, __ynl): Likewise.
48643         * math/w_lgammal.c (__lgammal): Likewise.
48644         * math/w_log10l.c (__log10l): Likewise.
48645         * math/w_log2l.c (__log2l): Likewise.
48646         * math/w_logl.c (__logl): Likewise.
48647         * math/w_powl.c (__powl): Likewise.
48648         * math/w_remainderl.c (__remainderl): Likewise.
48649         * math/w_scalbl.c (sysv_scalbl): Likewise.
48650         * math/w_sinhl.c (__sinhl): Likewise.
48651         * math/w_sqrtl.c (__sqrtl): Likewise.
48652         * math/w_tgammal.c (__tgammal): Likewise.
48653         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
48654         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
48655         * math/libm-test.inc (acos_test): Add more tests.
48656         (acosh_test): Likewise.
48657         (asin_test): Likewise.
48658         (atanh_test): Likewise.
48659         (exp_test): Likewise.
48660         (exp10_test): Likewise.
48661         (exp2_test): Likewise.
48662         (expm1_test): Likewise.
48663         (lgamma_test): Likewise.
48664         (log_test): Likewise.
48665         (log10_test): Likewise.
48666         (log1p_test): Likewise.
48667         (log2_test): Likewise.
48668         (pow_test): Do not allow some spurious overflow exceptions.
48669         (sqrt_test): Add more tests.
48670         (tgamma_test): Likewise.
48671         (y0_test): Likewise.
48672         (y1_test): Likewise.
48673         (yn_test): Likewise.
48675 2012-03-27  Anton Blanchard  <anton@samba.org>
48677         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
48678         MAP_HUGETLB.
48679         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48680         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48681         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48683 2012-03-27  David S. Miller  <davem@davemloft.net>
48685         * conform/Makefile: Run run-conformtest.sh using $(BASH).
48687         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
48688         have-as-vis3 check.
48690 2012-03-27  Andreas Jaeger  <aj@suse.de>
48692         * sysdeps/x86_64/elf/configure.in: Moved to ...
48693         * sysdeps/x86_64/configure.in: ... here.
48694         * sysdeps/x86_64/elf/start.S: Moved to ...
48695         * sysdeps/x86_64/start.S: ... here.
48696         * sysdeps/x86_64/elf/configure: Delete.
48698         * sysdeps/x86_64/configure.in: Merge contents from
48699         sysdeps/i386/configure.in (without i686 check).
48701         * sysdeps/i386/elf/Versions: Merge into ...
48702         * sysdeps/i386/Versions: ... this.
48703         * sysdeps/i386/elf/Versions: Delete file.
48704         * sysdeps/i386/elf/start.S: Moved to ...
48705         * sysdeps/i386/start.S: ...here.
48706         * sysdeps/i386/elf/configure.in: Merge into...
48707         * sysdeps/i386/configure.in: ...here.
48708         * sysdeps/i386/elf/configure.in: Delete file.
48709         * sysdeps/i386/elf/configure: Delete file.
48711         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
48712         * debug/backtracesyms.c: ... here.
48713         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
48714         * debug/backtracesymsfd.c: ... here.
48715         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
48716         * sysdeps/generic/ifunc-sel.h: ... here.
48718         * sysdeps/unix/i386/start.c: Delete file.
48719         * sysdeps/unix/sparc/start.c: Delete file.
48720         * sysdeps/unix/start.c: Delete file.
48722         * sysdeps/sh/elf/configure.in: Moved to ...
48723         * sysdeps/sh/configure.in: ... here.
48724         * sysdeps/sh/elf/start.S: Moved to ...
48725         * sysdeps/sh/start.S: ... here.
48726         * sysdeps/sh/elf/configure: Delete file.
48728         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
48729         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
48730         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
48731         * sysdeps/powerpc/powerpc64/entry.h: ... here.
48732         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
48733         * sysdeps/powerpc/powerpc64/start.S: here.
48734         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
48735         * sysdeps/powerpc/powerpc64/Makefile: ... this.
48736         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
48737         * sysdeps/powerpc/powerpc64/configure.in: ... this.
48738         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
48740         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
48741         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
48742         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
48743         * sysdeps/powerpc/powerpc32/start.S: ... here.
48744         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
48745         * sysdeps/powerpc/powerpc32/configure.in: ... this.
48746         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
48748         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
48749         * sysdeps/powerpc/ifunc-sel.h: ... here.
48750         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
48751         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
48753         * sysdeps/sparc/elf/configure.in: Moved to ...
48754         * sysdeps/sparc/configure.in: ... here.
48755         * sysdeps/sparc/elf/configure: Delete file.
48756         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
48757         * sysdeps/sparc/sparc32/start.S: ... here.
48758         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
48759         * sysdeps/sparc/sparc64/start.S: ... here.
48760         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
48761         * sysdeps/sparc/sparc32/Makefile: ... this.
48762         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
48763         * sysdeps/sparc/sparc64/Makefile: ... this.
48765         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
48766         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
48767         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
48768         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
48769         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
48770         * sysdeps/s390/s390-32/setjmp.S: ... here.
48771         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
48772         * sysdeps/s390/s390-32/configure.in: ... here.
48773         * sysdeps/s390/s390-32/elf/configure: Delete file.
48774         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
48775         * sysdeps/s390/s390-32/start.S: ... here.
48777         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
48778         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
48779         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
48780         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
48781         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
48782         * sysdeps/s390/s390-64/setjmp.S: ... here.
48783         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
48784         * sysdeps/s390/s390-64/configure.in: ... here
48785         * sysdeps/s390/s390-64/elf/configure: Delete file.
48786         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
48787         * sysdeps/s390/s390-64/start.S: ... here.
48788         * sysdeps/s390/s390-64/elf/configure: Delete.
48790         * configure.in: Remove support for elf directories in sysdeps.
48792         * configure: Regenerated.
48793         * sysdeps/i386/configure: Regenerated.
48794         * sysdeps/powerpc/powerpc32/configure: Regenerated.
48795         * sysdeps/powerpc/powerpc64/configure: Regenerated.
48796         * sysdeps/s390/s390-32/configure: Regenerated.
48797         * sysdeps/s390/s390-64/configure: Regenerated.
48798         * sysdeps/sh/configure: Regenerated.
48799         * sysdeps/sparc/configure: Regenerated.
48800         * sysdeps/x86_64/configure: Regenerated.
48802 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
48804         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48806         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
48807         denormal result into account.
48809 2012-03-25  Roland McGrath  <roland@hack.frob.com>
48811         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
48812         Reported by Allan McRae <allan@archlinux.org>.
48814 2012-03-23  Jeff Law  <law@redhat.com>
48816         * nss/getnssent.c (__nss_getent): Fix typo.
48818 2012-03-23  David S. Miller  <davem@davemloft.net>
48820         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48822 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
48824         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
48825         to pad to uint64_t for each field.
48826         (dl_tls_index): Replace unsigned long with uint64_t.
48828 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
48829         Paul Pluzhnikov  <ppluzhnikov@google.com>
48831         [BZ #6528]
48832         * grp/Makefile (otherlibs): Don't set it.
48833         * inet/Makefile (otherlibs): Likewise.
48834         * login/Makefile (otherlibs): Likewise.
48835         * nscd/Makefile (otherlibs): Likewise.
48836         * posix/Makefile (otherlibs): Likewise.
48837         * pwd/Makefile (otherlibs): Likewise.
48838         * rt/Makefile (otherlibs): Likewise.
48839         * sunrpc/Makefile (otherlibs): Likewise.
48840         * nss/Makefile (otherlibs): Likewise.
48841         Add libnss_files to routines and static-only-routines.
48842         ($(objpfx)getent): Remove rule.
48843         * resolv/Makefile: Add libnss_dns and libresolv to routines and
48844         static-only-routines.
48846 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
48848         [BZ #13892]
48849         * math/s_cexp.c: Include <float.h>.
48850         (__cexp): Handle exp result overflowing not necessarily
48851         overflowing both real and imaginary parts of result.
48852         * math/s_cexpf.c: Likewise.
48853         * math/s_cexpl.c: Likewise.
48854         * math/libm-test.inc (cexp_test): Add more tests.
48855         * sysdeps/i386/fpu/libm-test-ulps: Update.
48856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48858 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
48860         * include/link.h (ELFW): New macro.
48861         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
48862         Replace ELF64_R_TYPE with ELFW(R_TYPE).
48864 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
48866         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
48867         with uint64_t.
48869 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
48871         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
48872         declaration.
48873         (struct La_x32_retval): Likewise.
48875 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
48877         * sysdeps/x86_64/preconfigure.in: New file.
48878         * sysdeps/x86_64/preconfigure: New generated file.
48880 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
48882         [BZ #13824]
48883         * math/e_exp2l.c: Include <float.h>.
48884         (__ieee754_exp2l): Handle overflow and underflow cases
48885         separately.  Only pass fractional part of argument to
48886         __ieee754_expl.
48887         * math/libm-test.inc (exp2_test): Add more tests.
48889         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
48890         negating x to take absolute value.
48891         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
48892         Likewise.
48893         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
48894         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
48895         Likewise.
48896         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
48897         computing low part if x was negated.
48898         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
48900 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
48902         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
48903         la_x32_gnu_pltexit.
48904         (pltexit): Cast int_retval to ptrdiff_t.
48905         * elf/tst-auditmod3b.c: Likewise.
48906         * elf/tst-auditmod4b.c: Likewise.
48907         * elf/tst-auditmod5b.c: Likewise.
48908         * elf/tst-auditmod6b.c: Likewise.
48909         * elf/tst-auditmod6c.c: Likewise.
48910         * elf/tst-auditmod7b.c: Likewise.
48912         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
48913         and x32_gnu_pltexit.
48915         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
48916         __ELF_NATIVE_CLASS.
48917         (La_x32_regs): New macro.
48918         (La_x32_retval): Likewise.
48919         (la_x32_gnu_pltenter): New function prototype.
48920         (la_x32_gnu_pltexit): Likewise.
48922 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
48924         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
48925         exponent.
48927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48929         * configure.in (libc_cv_cc_nofma): Check for option to disable
48930         generation of FMA instructions.
48931         * configure: Regenerate.
48932         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
48933         * sysdeps/ieee754/dbl-64/Makefile: New file.
48934         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
48935         Remove brandred-fma4.
48936         (CFLAGS-brandred-fma4.c): Remove.
48937         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
48938         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
48939         define.
48940         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
48941         define.
48943 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
48945         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48946         LLONG_MAX != LONG_MAX.
48947         (_itoa_word): Use _ITOA_WORD_TYPE on value.
48948         (_fitoa_word): Likewise.
48949         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
48950         LLONG_MAX != LONG_MAX.
48951         * stdio-common/_itowa.h: Include <_itoa.h>.
48952         (_itowa_word): Use _ITOA_WORD_TYPE on value.
48953         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
48954         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
48955         only if not defined.
48956         (_ITOA_WORD_TYPE): Likewise.
48957         (_itoa_word): Use _ITOA_WORD_TYPE on value.
48958         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
48960 2012-03-21  David S. Miller  <davem@davemloft.net>
48962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48964 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
48966         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
48967         of x86_64 when setting libc_cv_slibdir, libdir and
48968         libc_cv_localedir.
48969         * sysdeps/unix/sysv/linux/configure: Regenerated.
48971 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
48973         * manual/lang.texi (Old Varargs): Remove section.
48974         (How Variadic): Update menu.
48975         (va_start): Do not mention varargs.h.
48977 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48978             Joseph Myers  <joseph@codesourcery.com>
48980         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
48981         link test.
48982         * configure: Regenerated.
48984 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48986         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
48987         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
48988         conformtest.pl
48990 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
48992         * NOTES: Remove.
48993         * Makefile (files-for-dist): Remove NOTES.
48994         (NOTES): Remove rule.
48995         * README: Don't refer to NOTES.
48996         * manual/creature.texi: Don't include macros.texi.
48997         * manual/intro.texi (creature.texi): Remove comment referring to
48998         NOTES.
49000         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
49001         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
49002         * configure: Regenerated.
49003         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
49004         LIBC_TRY_CC_OPTION.
49005         (libc_cv_as_i686): Likewise.
49006         (libc_cv_cc_avx): Likewise.
49007         (libc_cv_cc_sse2avx): Likewise.
49008         (libc_cv_cc_fma4): Likewise.
49009         (libc_cv_cc_novzeroupper): Likewise.
49010         * sysdeps/i386/configure: Regenerated.
49012         [BZ #13883]
49013         * sysdeps/i386/fpu/s_cexp.S: Remove.
49014         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49015         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49016         * math/libm-test.inc (cexp_test): Add more tests.
49017         * sysdeps/i386/fpu/libm-test-ulps: Update.
49018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49020 2012-03-21  Allan McRae  <allan@archlinux.org>
49022         * timezone/Makefile: Do not install iso3166.tab and zone.tab
49024 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
49026         [BZ #13871]
49027         * math/w_exp2.c: Do not include <float.h>.
49028         (o_threshold, u_threshold): Remove.
49029         (__exp2): Calculate result before checking finiteness and calling
49030         __kernel_standard.
49031         * math/w_exp2f.c: Likewise.
49032         * math/w_exp2l.c: Likewise.
49033         * math/libm-test.inc (exp2_test): Require overflow exception for
49034         1e6 input.
49036         [BZ #3866]
49037         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
49038         range of signed 64-bit integers before using fistpll.  Remove
49039         checks for whether integers fit in mantissa bits.
49040         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
49041         the range of signed 32-bit integers before using fistpl.  Remove
49042         checks for whether integers fit in mantissa bits.
49043         * sysdeps/i386/fpu/e_powl.S (p64): New object.
49044         (__ieee754_powl): Test for y outside the range of signed 64-bit
49045         integers before using fistpll.  Reduce 64-bit values to 63-bit
49046         ones as needed.
49047         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
49048         divide-by-zero is raised for zero to large negative powers.
49049         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
49050         (__ieee754_powl): Test for y outside the range of signed 64-bit
49051         integers before using fistpll.  Reduce 64-bit values to 63-bit
49052         ones as needed.
49053         * math/libm-test.inc (pow_test): Add more tests.
49055 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49057         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
49058         <stdio-common/_itoa.h>.
49059         * debug/segfault.c: Likewise.
49060         * elf/dl-cache.c: Likewise.
49061         * elf/dl-minimal.c: Likewise.
49062         * elf/dl-misc.c: Likewise.
49063         * elf/dl-sysdep.c: Likewise.
49064         * elf/dl-version.c: Likewise.
49065         * elf/rtld.c: Likewise.
49066         * hurd/hurdsock.c: Likewise.
49067         * hurd/lookup-retry.c: Likewise.
49068         * malloc/malloc.c: Likewise.
49069         * malloc/mtrace.c: Likewise.
49070         * nscd/nscd_getgr_r.c: Likewise.
49071         * nscd/nscd_getpw_r.c: Likewise.
49072         * nscd/nscd_getserv_r.c: Likewise.
49073         * posix/getopt_init.c: Likewise.
49074         * posix/wordexp.c: Likewise.
49075         * stdio-common/_itoa.c: Likewise.
49076         * stdio-common/printf_fphex.c: Likewise.
49077         * stdio-common/vfprintf.c: Likewise.
49078         * string/_strerror.c: Likewise.
49079         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
49080         * sysdeps/i386/i686/hp-timing.h: Likewise.
49081         * sysdeps/mach/_strerror.c: Likewise.
49082         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
49083         * sysdeps/mach/hurd/sethostid.c: Likewise.
49084         * sysdeps/mach/hurd/xmknodat.c: Likewise.
49085         * sysdeps/mach/xpg-strerror.c: Likewise.
49086         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49087         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49088         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
49089         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
49090         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49091         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
49092         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
49093         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
49094         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
49095         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
49096         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
49097         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49098         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
49099         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49100         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49101         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
49102         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
49103         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
49104         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49105         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49106         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
49108         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
49110         * stdio-common/_itoa.h: Moved to ...
49111         * sysdeps/generic/_itoa.h: Here.
49113         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
49115         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
49116         instead of "_itoa.h" and "_itowa.h".
49117         * stdio-common/vfprintf.: Likewise.
49119 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49121         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
49122         <bits/wordsize.h>.
49123         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
49124         (__signbit): Likwise.
49125         (llrintf): Likwise.
49126         (llrint): Likwise.
49128 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49130         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
49131         __WORDSIZE != 64.
49133 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
49135         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
49136         OVERFLOW_EXCEPTION_OK.
49137         * math/libm-test.inc ("Philosophy"): Update comment about
49138         exception testing.
49139         (OVERFLOW_EXCEPTION): Define.
49140         (OVERFLOW_EXCEPTION_OK): Likewise.
49141         (INVALID_EXCEPTION_OK): Renumber.
49142         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49143         (IGNORE_ZERO_INF_SIGN): Likewise.
49144         (test_exceptions): Handle FE_OVERFLOW.
49145         (exp10_test): Expect overflow exceptions.
49146         (exp2_test): Likewise.
49147         (expm1_test): Likewise.
49148         (nextafter_test): Likewise.
49149         (pow_test): Likewise.
49150         (scalbn_test): Likewise.
49151         (scalbln_test): Likewise.
49153 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49155         * sysdeps/x86_64/bits/atomic.h
49156         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
49157         64bit integer.
49158         (atomic_exchange_acq): Likewise.
49159         (__arch_exchange_and_add_body): Likewise.
49160         (__arch_add_body): Likewise.
49161         (atomic_add_negative): Likewise.
49162         (atomic_add_zero): Likewise.
49164 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49166         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
49167         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
49169 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49171         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
49172         Check __x86_64__ instead of __WORDSIZE.
49174 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49176         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
49178 2012-03-19  David S. Miller  <davem@davemloft.net>
49180         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49182         * sysdeps/sparc/fpu/fenv_private.h: New file.
49183         * sysdeps/sparc/fpu/math_private.h: Use it.
49184         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
49185         Remove.
49186         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
49187         (libc_feholdexcept_setroundl): Remove.
49188         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
49189         Remove.
49190         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
49191         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
49193 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49195         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
49196         int64_t instead of long int.
49197         (INSERT_WORDS64): Likwise.
49199 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49201         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
49202         _Unwind_GetCFA return to _Unwind_Ptr first.
49204 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
49206         [BZ #13629]
49207         * math/s_clog.c: Include <float.h>.
49208         (__clog): Scale large or subnormal inputs.
49209         * math/s_clogf.c: Likewise.
49210         * math/s_clogl.c: Likewise.
49211         * math/s_clog10.c: Include <float.h>.
49212         (M_LOG10_2): Define.
49213         (__clog10): Scale large or subnormal inputs.
49214         * math/s_clog10f.c: Likewise.
49215         * math/s_clog10l.c: Likewise.
49216         * math/libm-test.inc (clog_test): Add more tests.
49217         (clog10_test): Likewise.
49218         * sysdeps/i386/fpu/libm-test-ulps: Update.
49219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49221         [BZ #11451]
49222         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
49223         x and y.
49224         * math/libm-test.inc (atan2_test): Add another test.
49226         * Makerules (common-objdir-compile): Remove.
49227         * sysdeps/unix/Makefile (config-generated): Do not add
49228         $(unix-generated) to variable.
49229         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
49230         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
49231         Remove rule.
49232         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
49233         Likewise.
49234         [generic bits/local_lim.h] (before-compile): Do not append to
49235         variable.
49236         [generic bits/local_lim.h] (common-generated): Likewise.
49237         [generic sys/param.h] (before-compile): Do not append to variable.
49238         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
49239         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
49240         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
49241         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
49242         include.
49243         [generic sys/param.h] (sys/param.h-includes): Remove variable.
49244         [generic sys/param.h] (sys/param.h-includes): Remove rule.
49245         [generic sys/param.h] ($(addprefix
49246         $(common-objpfx),$(sys/param.h-includes))): Likewise.
49247         [generic sys/param.h] (common-generated): Do not append to
49248         variable.
49249         [generic sys/param.h] (sysdep_headers): Likewise.
49250         [generic bits/errno.h] (before-compile): Do not append to
49251         variable.
49252         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
49253         rule.
49254         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
49255         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
49256         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
49257         [generic bits/errno.h] (common-generated): Do not append to
49258         variable.
49259         [generic bits/ioctls.h] (before-compile): Do not append to
49260         variable.
49261         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
49262         rule.
49263         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
49264         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
49265         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
49266         rule.
49267         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
49268         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
49269         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
49270         [generic bits/ioctls.h] (common-generated): Do not append to
49271         variable.
49272         [generic sys/syscall.h] (syscall.h): Remove variable.
49273         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
49274         rule.
49275         [generic sys/syscall.h] (before-compile): Do not append to
49276         variable.
49277         [generic sys/syscall.h] (common-generated): Likewise.
49278         * sysdeps/unix/errnos-tmpl.c: Remove file.
49279         * sysdeps/unix/errnos.awk: Likewise.
49280         * sysdeps/unix/ioctls-tmpl.c: Likewise.
49281         * sysdeps/unix/ioctls.awk: Likewise.
49282         * sysdeps/unix/mk-local_lim.c: Likewise.
49283         * sysdeps/unix/snarf-ioctls: Likewise.
49285 2012-03-19  Richard Henderson  <rth@twiddle.net>
49287         * sysdeps/i386/fpu/fenv_private.h: New file.
49288         * sysdeps/i386/fpu/math_private.h: Use it.
49289         (math_opt_barrier, math_force_eval): Remove.
49290         (libc_feholdexcept_setround_53bit): Remove.
49291         (libc_feupdateenv_53bit): Remove.
49292         * sysdeps/x86_64/fpu/math_private.h: Likewise.
49293         (math_opt_barrier, math_force_eval): Remove.
49294         (libc_feholdexcept): Remove.
49295         (libc_feholdexcept_setround): Remove.
49296         (libc_fetestexcept, libc_fesetenv): Remove.
49297         (libc_feupdateenv_test): Remove.
49298         (libc_feupdateenv, libc_feholdsetround): Remove.
49299         (libc_feresetround): Remove.
49301         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
49302         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
49304         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
49305         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
49306         (libc_feupdateenv_testl): New.
49307         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
49308         (libc_feupdateenv_testf): New.
49309         (libc_feupdateenv): Use libc_feupdateenv_test.
49310         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
49311         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
49313         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
49314         (libc_feholdsetroundf, libc_feholdsetroundl): New.
49315         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
49316         (libc_feresetround_noex): New.
49317         (libc_feresetround_noexf): New.
49318         (libc_feresetround_noexl): New.
49319         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
49320         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
49321         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
49322         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
49323         SET_RESTORE_ROUND.
49324         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49325         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
49326         (__cos): Likewise.
49327         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
49328         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
49329         SET_RESTORE_ROUND_NOEX.
49330         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
49331         SET_RESTORE_ROUND_NOEXF.
49332         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
49333         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
49334         (libc_feholdsetroundf): New.
49335         (libc_feresetround, libc_feresetroundf): New.
49337         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
49338         (libc_feholdexcept_setround_53bit): Convert from macro to function.
49339         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
49341         * sysdeps/generic/math_private.h: Include <fenv.h>.
49342         (default_libc_feholdexcept): New.
49343         (default_libc_feholdexcept_setround): New.
49344         (default_libc_fesetenv, default_libc_feupdateenv): New.
49345         (libc_feholdexcept): Only define if undefined.
49346         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
49347         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
49348         (libc_feholdexcept_setroundl): Likewise.
49349         (libc_feholdexcept_setround_53bit): Likewise.
49350         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
49351         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
49352         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
49353         (libc_feupdateenv_53bit): Likewise.
49354         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
49355         (libc_feholdexcept): Convert from macro to inline function.
49356         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
49357         (libc_fesetenv, libc_feupdateenv): Likewise.
49359         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
49360         not previously defined.
49361         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
49362         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
49363         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
49364         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
49365         * sysdeps/ieee754/flt-32/math_private.h: New file.
49366         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
49367         math_private.h below SET_FLOAT_WORD.
49368         (__isnan, __isinf_ns, __finite): Remove.
49369         (__isnanf, __isinf_nsf, __finitef): Remove.
49371 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
49373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49375 2012-03-17  David S. Miller  <davem@davemloft.net>
49377         [BZ #6471]
49378         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
49379         for 2.16.
49381 2012-03-16  David S. Miller  <davem@davemloft.net>
49383         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
49384         warnings.
49386         [BZ #6471]
49387         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
49388         properly.
49389         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
49390         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
49391         sysdep_routines when subdir is sysvipc.
49392         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
49393         __getshmlba helper.
49395         * sysdeps/sparc/fpu/libm-test/ulps: Update.
49397 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
49399         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
49400         [__LP64__].
49402 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
49404         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
49405         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
49406         (__lround): Renamed to ...
49407         (__llround): This.  Replace long int with long long int.
49408         Define lround functions as aliases of llround functions.
49409         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
49411 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
49413         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
49414         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
49415         adresses to uintptr_t.  Replace "long int" and "unsigned long
49416         int" with "greg_t" on va_arg.
49418 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
49420         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
49421         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
49423         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
49424         Move e_machine check before EI_CLASS check.  Handle x32
49425         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
49426         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
49427         SKIP_EM_IA_64 and include
49428         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
49430         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
49431         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
49432         (add_system_dir): New macro.
49434         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
49435         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
49437 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
49439         [BZ #2551]
49440         [BZ #2552]
49441         [BZ #2553]
49442         [BZ #2554]
49443         [BZ #2562]
49444         [BZ #2563]
49445         [BZ #2565]
49446         [BZ #2566]
49447         [BZ #2576]
49448         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
49449         (y0): Likewise.
49450         * math/w_j0f.c (j0f): Likewise.
49451         (y0f): Likewise.
49452         * math/w_j0l.c (__j0l): Likewise.
49453         (__y0l): Likewise.
49454         * math/w_j1.c (j1): Likewise.
49455         (y1): Likewise.
49456         * math/w_j1f.c (j1f): Likewise.
49457         (y1f): Likewise.
49458         * math/w_j1l.c (__j1l): Likewise.
49459         (__y1l): Likewise.
49460         * math/w_jn.c (jn): Likewise.
49461         (yn): Likewise.
49462         * math/w_jnf.c (jnf): Likewise.
49463         (ynf): Likewise.
49464         * math/w_jnl.c (__jnl): Likewise.
49465         (__ynl): Likewise.
49466         * math/libm-test.inc (j0_test): Add more tests.
49467         (j1_test): Likewise.
49468         (jn_test): Likewise.  Add trailing semicolon to existing test.
49469         (y0_test): Likewise.
49470         (y1_test): Likewise.
49471         * sysdeps/i386/fpu/libm-test-ulps: Update.
49472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49474         [BZ #13851]
49475         [BZ #13854]
49476         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
49477         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
49478         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
49479         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
49480         (__tanl): Set errno for infinite argument.
49481         * sysdeps/i386/fpu/mptan.c: Remove.
49482         * sysdeps/i386/fpu/s_tan.S: Likewise.
49483         * sysdeps/i386/fpu/s_tanl.S: Likewise.
49484         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
49485         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
49486         * math/libm-test.inc (tan_test): Add more tests and enable more
49487         tests for double and long double.
49488         * sysdeps/i386/fpu/libm-test-ulps: Update.
49489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49491 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
49493         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
49494         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
49496 2012-03-16  Roland McGrath  <roland@hack.frob.com>
49498         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
49499         * configure.in: Use it for both main tree and add-ons.
49500         * configure: Regenerated.
49502 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
49504         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
49506 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
49508         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
49509         in comment.
49511         [BZ #13851]
49512         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
49513         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
49514         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
49515         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
49516         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
49517         infinite argument.
49518         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
49519         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
49520         != 0 for prec == 2.
49521         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
49522         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
49523         * sysdeps/i386/fpu/s_cosl.S: Likewise.
49524         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
49525         * sysdeps/i386/fpu/s_sinl.S: Likewise.
49526         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
49527         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
49528         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
49529         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
49530         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
49531         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
49532         * math/libm-test.inc (cos_test): Add more tests and enable more
49533         tests for long double.
49534         (sin_test): Likewise.
49535         (sincos_test): Likewise.
49536         * sysdeps/i386/fpu/libm-test-ulps: Update.
49537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49539 2012-03-16  David S. Miller  <davem@davemloft.net>
49541         * sysdeps/sparc/fpu/math_private.h: New file.
49543 2012-03-15  David S. Miller  <davem@davemloft.net>
49545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
49546         file.
49547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
49548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
49549         file.
49550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
49551         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
49552         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
49553         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
49554         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
49555         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
49556         sysdep routines.
49557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
49559         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
49560         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
49562         * sysdeps/sparc/sparc-ifunc.h: New file.
49563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
49564         sparc-ifunc.h
49565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
49566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
49567         Likewise.
49568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
49569         Likewise.
49570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
49571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
49572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49574         Likewise.
49575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
49577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
49579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
49580         Likewise.
49581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
49582         Likewise.
49583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
49585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
49586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
49587         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49588         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49589         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
49590         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
49591         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49592         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49593         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
49594         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
49595         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
49596         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
49597         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
49598         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
49599         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
49600         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
49601         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
49602         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
49603         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
49604         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
49605         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
49606         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
49608 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
49610         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
49611         scaling.
49612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49614 2012-03-15  Andreas Jaeger  <aj@suse.de>
49616         [BZ #13852]
49617         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
49618         ieee754/flt-32 implementation for sin, cos and sincos.
49619         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
49620         * sysdeps/i386/fpu/s_cosf.S: Likewise.
49621         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
49622         * sysdeps/i386/fpu/s_sinf.S: Likewise.
49623         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
49624         ieee754/flt-32 implementation for tan.
49626         * math/libm-test.inc (cos_test): Enable some large input tests for
49627         float as well
49628         (sin_test): Likewise.
49629         (sincos_test): Likewise.
49630         (tan_test): Add tests for large input.
49632         * sysdeps/i386/fpu/libm-test-ulps: Update.
49634 2012-03-15  Andreas Jaeger  <aj@suse.de>
49636         [BZ #13658]
49637         * math/libm-test.inc (cos_test): Add more test cases.
49638         (sin_test): Likewise.
49639         (sincos_test): Likewise.
49641 2012-03-15  Andreas Jaeger  <aj@suse.de>
49643         [BZ #13837]
49644         * math/libm-test.inc (cos_test): Add a test case for large input
49645         value.
49646         (sin_test): Likewise.
49647         (sincos_test): Likewise.
49649 2012-03-15  Andreas Jaeger  <aj@suse.de>
49650             Joseph Myers  <joseph@codesourcery.com>
49652         [BZ #13658]
49653         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
49654         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
49655         * sysdeps/i386/fpu/branred.c: Likewise.
49656         * sysdeps/i386/fpu/dosincos.c: Likewise.
49657         * sysdeps/i386/fpu/mpa.c: Likewise.
49658         * sysdeps/i386/fpu/s_cos.S: Likewise.
49659         * sysdeps/i386/fpu/s_sin.S: Likewise.
49660         * sysdeps/i386/fpu/s_sincos.S: Likewise.
49661         * sysdeps/i386/fpu/sincos32.c: Likewise.
49663         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
49664         Define.
49665         (libc_feupdateenv_53bit): Define.
49666         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
49667         Define.
49668         (libc_feupdateenv_53bit): Define.
49670         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
49671         53 bit (without extend i386 double precision).
49673         * math/libm-test.inc (sincos_test): Add tests for large input.
49674         (sin): Likewise.
49675         (cos): Likewise.
49677         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
49679 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
49681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49683 2012-03-15  David S. Miller  <davem@davemloft.net>
49685         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
49686         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
49687         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
49688         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
49689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
49690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
49691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
49692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
49693         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
49694         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
49695         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
49696         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
49697         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
49698         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
49699         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
49700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
49701         file.
49702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
49703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
49704         file.
49705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
49706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
49707         file.
49708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
49709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
49710         file.
49711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
49712         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
49713         fmin/fmax sysdep routines.
49714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
49716 2012-03-14  David S. Miller  <davem@davemloft.net>
49718         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
49719         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
49720         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
49721         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
49722         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
49723         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
49724         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
49725         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
49726         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
49727         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
49728         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
49729         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
49730         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
49731         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
49732         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
49733         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
49734         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
49735         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
49736         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
49737         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
49738         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
49739         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
49740         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
49741         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
49742         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
49743         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
49744         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
49745         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
49746         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
49747         routines.
49748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
49749         file.
49750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
49751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
49752         file.
49753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
49754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
49755         file.
49756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
49757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
49758         file.
49759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
49760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
49761         file.
49762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
49763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
49764         file.
49765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
49766         file.
49767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
49768         file.
49769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
49770         file.
49771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
49772         New file.
49773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
49774         file.
49775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
49776         file.
49777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
49778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
49779         file.
49780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
49781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
49782         file.
49783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
49784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
49785         file.
49786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
49787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
49788         VIS3 routines.
49790         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
49791         New file.
49793         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49795         * sysdeps/sparc/configure.in: New file.
49796         * sysdeps/sparc/configure: Generate.
49797         * configure.in (libc_cv_sparc_as_vis3): Substitute.
49798         * configure: Regenerate.
49799         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
49800         * config.make.in (have-as-vis3): New.
49801         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
49802         available use -Av9d instead of -Av9a.
49803         * sysdeps/sparc/sparc64/Makefile: Likewise.
49804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
49805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
49806         New file.
49807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
49808         file.
49809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
49810         New file.
49811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
49812         file.
49813         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
49814         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
49815         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
49816         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
49817         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
49819         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
49820         fzeros/fnegs to load 0x80000000 into a float register instead of
49821         using the stack.
49822         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
49824 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
49826         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49827         bits/syscall.h.
49828         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
49829         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
49830         ($(inst_includedir)/bits/syscall.h): Remove rule.
49831         ($(objpfx)bits/syscall.d): Include instead of
49832         $(objpfx)syscall-list.d.
49833         (generated): Change syscall-list.h and syscall-list.d to
49834         bits/syscall.h and bits/syscall.d.
49836 2012-03-14  Roland McGrath  <roland@hack.frob.com>
49838         [BZ #13846]
49839         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
49841 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
49843         [BZ #13841]
49844         * math/s_csqrt.c: Include <float.h>.
49845         (__csqrt): Scale large or subnormal inputs.
49846         * math/s_csqrtf.c: Likewise.
49847         * math/s_csqrtl.c: Likewise.
49848         * math/libm-test.inc (csqrt_test): Add more tests.
49849         * sysdeps/i386/fpu/libm-test-ulps: Update.
49850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49852         [BZ #13840]
49853         * math/libm-test.inc (hypot_test): Add more tests.
49855 2012-03-13  David S. Miller  <davem@davemloft.net>
49857         [BZ #13840]
49858         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
49859         double-precision for the calculation instead of scaling.
49861 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
49863         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
49864         manipulate bits before adding and subtracting TWO52[sx].
49865         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
49866         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
49867         Likewise.
49868         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
49870 2012-03-13  David S. Miller  <davem@davemloft.net>
49872         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
49873         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
49874         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
49875         rtld-global-offsets.h
49876         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49878         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
49879         large parameters.
49881         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
49883         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
49884         'err' in the ifdef scope in which it is actually used.
49886         * nss/nss_db/db-init.c: Include string.h
49888 2012-03-12  David S. Miller  <davem@davemloft.net>
49890         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49891         masking out of the most significant byte of random value used.
49892         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49893         Fix coding style in previous change.
49895         * sysdeps/unix/sysv/linux/kernel-features.h
49896         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
49897         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
49898         expression.
49899         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
49900         later.
49902 2012-03-11  David S. Miller  <davem@davemloft.net>
49904         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
49905         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
49906         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
49907         for 'resultvar' otherwise things get truncated on 64-bit.
49909         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49910         Fix masking out of the most significant byte of random value used.
49912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49914 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
49916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49918 2012-03-09  David S. Miller  <davem@davemloft.net>
49920         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
49921         variables with appropriate CPP guards.
49922         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
49923         from the frame pointer, not the stack pointer.  Correct layout
49924         comments.  Fix test on resulting framesize and the management of
49925         the outregs buffer for pltexit.  Preserve floating point return
49926         values across _dl_call_pltexit call.
49927         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
49928         framesize and the management of the outregs buffer for pltexit.
49929         Preserve floating point return values across _dl_call_pltexit
49930         call.
49931         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
49932         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
49933         (la_sparc64_gnu_pltexit): New functions.
49934         (print_exit): Fix format string for return register value.
49936 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
49938         * sunrpc/Makefile (others): Add rpcgen.
49939         ($(objpfx)rpcgen): Remove special build rule and dependency on
49940         libc.
49941         * sunrpc/rpcgen.c: New file.
49943 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
49945         [BZ #13673]
49946         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
49947         * stdio-common/bug-vfprintf-nargs.c: Likewise.
49948         * sysdeps/i386/crti.S: Likewise.
49949         * sysdeps/i386/crtn.S: Likewise.
49950         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
49951         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
49952         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
49953         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
49954         * sysdeps/sh/crti.S: Likewise.
49955         * sysdeps/sh/crtn.S: Likewise.
49956         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
49958         [BZ #13673]
49959         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
49960         with URL.
49961         * locale/programs/locfile-kw.gperf: Likewise.
49962         * locale/programs/charmap-kw.h: Regenerated.
49963         * locale/programs/locfile-kw.h: Likewise.
49965         [BZ #13673]
49966         * intl/plural.y: Replace FSF snail mail address with URL.
49967         * intl/plural.c: Regenerated.
49969 2012-03-09  Richard Henderson  <rth@twiddle.net>
49971         * include/math_private.h: Remove file.
49972         * math/math_private.h: Move file ...
49973         * sysdeps/generic/math_private.h: ... here.
49975         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
49976         * sysdeps/powerpc/fpu/math_private.h: Likewise.
49977         * sysdeps/x86_64/fpu/math_private.h: Likewise.
49979         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
49980         and <math_private.h>.
49981         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49982         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49983         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49984         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49985         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49986         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
49987         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49988         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49989         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49990         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49991         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49992         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49993         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49994         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49995         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49996         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49997         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49998         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49999         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50000         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50001         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50002         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50003         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50004         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50005         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50006         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50007         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50008         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50009         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50010         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50011         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50012         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50013         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50014         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50015         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50016         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50017         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50018         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50019         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50020         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50021         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
50022         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50023         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50024         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50025         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50026         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50027         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
50028         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50029         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50030         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50031         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50032         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
50033         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50034         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50035         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50036         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50037         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50038         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50039         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50040         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
50041         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50042         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50043         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50044         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50045         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
50046         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50047         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50048         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50049         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
50050         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
50051         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50052         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50053         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50054         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50055         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
50056         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
50057         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
50058         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50059         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
50060         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
50061         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50062         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
50063         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50064         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50065         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50066         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50067         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
50068         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
50069         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50070         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50071         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50072         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50073         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50074         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50075         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50076         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50077         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50078         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50079         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50080         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50081         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50082         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50083         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50084         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50085         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50086         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50087         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50088         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50089         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50090         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50091         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50092         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50093         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50094         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50095         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
50096         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50097         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50098         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50099         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50100         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50101         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50102         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50103         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50104         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
50105         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50106         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50107         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50108         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
50109         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50110         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
50111         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
50112         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50113         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50114         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
50115         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
50116         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50117         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50118         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50119         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
50120         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50121         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50122         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50123         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50124         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
50125         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
50126         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50127         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50128         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50129         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
50130         * sysdeps/ieee754/k_standard.c: Likewise.
50131         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50132         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50133         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50134         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50135         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50136         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50137         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50138         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50139         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50140         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50141         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50142         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50143         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50144         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50145         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50146         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50147         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50148         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50149         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50150         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
50151         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
50152         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
50153         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50154         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50155         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50156         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
50157         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50158         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50159         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50160         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50161         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50162         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50163         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50164         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50165         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50166         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50167         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50168         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
50169         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
50170         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50171         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50172         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50173         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50174         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50175         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50176         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50177         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50178         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50179         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50180         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50181         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50182         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50183         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50184         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
50185         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50186         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50187         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
50188         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
50189         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50190         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50191         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50192         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50193         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50194         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50195         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50196         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50197         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50198         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50199         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50200         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50201         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50202         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50203         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50204         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50205         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50206         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50207         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
50208         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50209         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50210         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50211         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50212         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50213         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50214         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50215         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
50216         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50217         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50218         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
50219         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
50220         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50221         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
50222         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50223         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
50224         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50225         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50226         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50227         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
50228         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
50229         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
50230         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
50231         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50232         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50233         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50234         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50235         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
50236         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50237         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50238         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
50239         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
50240         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50241         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50242         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50243         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50244         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50245         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50246         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50247         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50248         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50249         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50250         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50251         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50252         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50253         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50254         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50255         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50256         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
50257         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50258         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50259         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50260         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50261         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50262         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50263         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50264         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50265         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50266         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50267         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
50268         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50269         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50270         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
50271         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
50272         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50273         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
50274         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
50275         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50276         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50277         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50278         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50279         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50280         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
50281         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50282         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50283         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50284         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50285         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
50286         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
50287         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50288         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50289         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50290         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50291         * sysdeps/ieee754/s_lib_version.c: Likewise.
50292         * sysdeps/ieee754/s_matherr.c: Likewise.
50293         * sysdeps/ieee754/s_signgam.c: Likewise.
50294         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50295         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50296         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
50297         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
50298         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
50299         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50300         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
50301         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
50302         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
50303         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
50304         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50305         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
50306         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50307         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50308         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
50309         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50310         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50311         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50312         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50313         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50314         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50316 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
50318         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
50319         * sunrpc/rpc_main.c: Likewise.
50320         * sunrpc/rpc_svcout.c: Likewise.
50322 2012-03-09  David S. Miller  <davem@davemloft.net>
50324         * include/math_private.h: New file.
50326 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
50328         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
50329         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
50330         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
50331         from <bits/socket_type.h>.
50332         (enum __socket_type): Don't define here.
50333         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
50334         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50335         bits/socket_type.h.
50337         [BZ #13566]
50338         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
50339         checking __USE_GNU.
50341         * Makerules ($(inst_includedir)/%.h): New rule.
50342         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
50343         (install-others): Remove variable setting.
50344         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
50346 2012-03-08  Richard Henderson  <rth@twiddle.net>
50348         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
50349         from macro to inline function; merge with the
50350         !__LIBC_INTERNAL_MATH_INLINES version.
50351         (__ieee754_sqrtf): Likewise.
50353         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
50354         to inline function.
50355         (__rintf, __floor, __floorf): Likewise.
50357         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
50358         macro to inline function.
50359         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
50361         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
50362         not <math/math_private.h>.
50364 2012-03-08  David S. Miller  <davem@davemloft.net>
50366         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
50367         copyright year.
50368         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
50370 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
50372         * resolv/gai_misc.c (handle_requests): Fix struct timespec
50373         normalization.
50374         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
50375         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
50377 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
50379         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
50380         be defined individually, they must be defined as a block.  Define
50381         S for printing a string instead of hidint the different by using a
50382         macro for adding the 'l'.
50383         * stdio-common/tst-fphex-wide.c: Adjust.
50385 2012-03-07  Marek Polacek  <polacek@redhat.com>
50387         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
50389 2012-03-08  Marek Polacek  <polacek@redhat.com>
50391         [BZ #13806]
50392         * stdio-common/Makefile (tests): Add tst-fphex-wide.
50393         * stdio-common/tst-fphex.c: Define a few macros to make the
50394         test reusable.  Use them.
50395         * stdio-common/tst-fphex-wide.c: New file.
50397 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
50399         [BZ #6911]
50400         * manual/macros.texi (gnusystems): New macro.
50401         (nongnusystems): Likewise.
50402         (gnulinuxhurdsystems): Likewise.
50403         (gnuhurdsystems): Likewise..
50404         (gnulinuxsystems): Likewise.
50405         * manual/charset.texi: Use new macros or @theglibc{} to refer to
50406         variants of the GNU system, not "GNU system".
50407         * manual/conf.texi: Likewise.
50408         * manual/errno.texi: Likewise.  Update example of errno macro
50409         expansion.
50410         * manual/filesys.texi: Likewise.
50411         (getumask): Document as specific to GNU/Hurd.
50412         * manual/install.texi: Likewise.  Reword some references to
50413         GNU/Linux.
50414         * manual/intro.texi: Likewise.
50415         * manual/io.texi: Likewise.
50416         (File Name Portability): Detail which constraints are inapplicable
50417         to all GNU systems and which are only inapplicable to GNU/Hurd.
50418         * manual/job.texi: Likewise.
50419         * manual/llio.texi: Likewise.
50420         (O_NOCTTY): Document as present on GNU/Linux.
50421         * manual/maint.texi: Likewise.
50422         * manual/memory.texi: Likewise.
50423         * manual/pattern.texi: Likewise.
50424         * manual/pipe.texi: Likewise.
50425         * manual/process.texi: Likewise.
50426         * manual/resource.texi: Likewise.
50427         (RUSAGE_CHILDREN): Remove statement about specifying a particular
50428         child on GNU/Hurd.
50429         * manual/setjmp.texi: Likewise.
50430         * manual/signal.texi: Likewise.
50431         * manual/startup.texi: Likewise.
50432         * manual/stdio.texi: Likewise.
50433         * manual/terminal.texi: Likewise.
50434         (ONLCR): Document as POSIX.
50435         (OXTABS): Document availability on GNU/Linux as XTABS.
50436         (ONOEOT): Document availability separately from other bits.
50437         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
50438         * manual/time.texi: Likewise.
50439         * manual/users.texi: Likewise.
50440         * INSTALL: Regenerated.
50441         * sysdeps/gnu/errlist.c: Regenerated.
50443         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
50444         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
50445         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
50446         puts.
50447         * configure: Regenerated.
50449 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
50451         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
50452         default includes instead of AC_HEADER_CHECK.
50453         * sysdeps/i386/configure: Regenerated.
50455         [BZ #10716]
50456         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
50457         * math/s_cacoshf.c (__cacoshf): Likewise.
50458         * math/s_cacoshl.c (__cacoshl): Likewise.
50459         * math/s_casinh.c (__casinh): Set signs of result from argument.
50460         * math/s_casinhf.c (__casinhf): Likewise.
50461         * math/s_casinhl.c (__casinhl): Likewise.
50462         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
50463         (casinh_test): Add more tests.
50464         * sysdeps/i386/fpu/libm-test-ulps: Update.
50465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50467 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
50469         * po/zh_TW.po: Update from translation team.
50471         * login/Makefile (distribute): Remove variable.
50472         * catgets/Makefile: Likewise.
50473         * mach/Makefile: Likewise.
50474         * malloc/Makefile: Likewise.
50475         * misc/Makefile: Likewise.
50476         * iconv/Makefile: Likewise.
50477         * nscd/Makefile: Likewise.
50478         * hurd/Makefile: Likewise.
50479         * manual/Makefile: Likewise.
50480         * locale/Makefile: Likewise.
50481         * intl/Makefile: Likewise.
50482         * conform/Makefile: Likewise.
50483         * nss/Makefile: Likewise.
50484         * time/Makefile: Likewise.
50485         * soft-fp/Makefile: Likewise.
50486         * dirent/Makefile: Likewise.
50487         * gmon/Makefile: Likewise.
50488         * po/Makefile: Likewise.
50489         * rt/Makefile: Likewise.
50490         * socket/Makefile: Likewise.
50491         * math/Makefile: Likewise.
50492         * signal/Makefile: Likewise.
50493         * debug/Makefile: Likewise.
50494         * elf/Makefile: Likewise.
50495         * timezone/Makefile: Likewise.
50496         * stdlib/Makefile: Likewise.
50497         * iconvdata/Makefile: Likewise.
50498         * sunrpc/Makefile: Likewise.
50499         * io/Makefile: Likewise.
50500         * argp/Makefile: Likewise.
50501         * inet/Makefile: Likewise.
50502         * hesiod/Makefile: Likewise.
50503         * grp/Makefile: Likewise.
50504         * csu/Makefile: Likewise.
50505         * wctype/Makefile: Likewise.
50506         * crypt/Makefile: Likewise.
50507         * libio/Makefile: Likewise.
50508         * string/Makefile: Likewise.
50509         * nis/Makefile: Likewise.
50510         * resolv/Makefile: Likewise.
50511         * stdio-common/Makefile: Likewise.
50512         * wcsmbs/Makefile: Likewise.
50513         * dlfcn/Makefile: Likewise.
50514         * posix/Makefile: Likewise.
50516         [BZ #6959]
50517         * timezone/Makefile: Don't install timezone files, just the programs
50518         and scripts.
50520 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
50522         * nss/databases.def: Add missing gshadow entry.
50524         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
50526 2012-03-06  Marek Polacek  <polacek@redhat.com>
50528         [BZ #13726]
50529         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
50530         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
50531         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
50532         * stdio-common/tst-long-dbl-fphex.c: New file.
50534 2012-03-06  David S. Miller  <davem@davemloft.net>
50536         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50537         (set_obp_int): New function.
50538         (get_obp_int): New function.
50539         (__get_clockfreq_via_dev_openprom): Likewise.
50540         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
50541         Avoid unused variable warnings on 'val' and use builtin_expect.
50542         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
50543         __builtin_expect.
50544         (INLINE_CLONE_SYSCALL): Likewise.
50546 2012-03-05  David S. Miller  <davem@davemloft.net>
50548         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50550 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
50552         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50554         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
50555         only for |x| >= 40.
50556         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50558 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
50560         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
50561         Replace gettimeofday with __vdso_gettimeofday.
50563         * sysdeps/unix/sysv/linux/x86_64/init-first.c
50564         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
50565         __vdso_clock_gettime and __vdso_getcpu.
50567         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
50568         time with __vdso_time.
50570 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
50572         * manual/lang.texi (size_t): Note types to which size_t may be
50573         equivalent with the GNU C Library, but do not describe when
50574         differences between them are significant.
50576 2012-03-05  Andreas Jaeger  <aj@suse.de>
50578         * sysdeps/i386/fpu/libm-test-ulps: Update.
50580 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
50582         [BZ #3976]
50583         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
50584         (__ieee754_pow): Save and restore rounding mode and use
50585         round-to-nearest for main computations.
50586         * math/libm-test.inc (pow_test_tonearest): New function.
50587         (pow_test_towardzero): Likewise.
50588         (pow_test_downward): Likewise.
50589         (pow_test_upward): Likewise.
50590         (main): Call the new functions.
50591         * sysdeps/i386/fpu/libm-test-ulps: Update.
50592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50594         [BZ #3976]
50595         * math/libm-test.inc (cosh_test_tonearest): New function.
50596         (cosh_test_towardzero): Likewise.
50597         (cosh_test_downward): Likewise.
50598         (cosh_test_upward): Likewise.
50599         (sinh_test_tonearest): Likewise.
50600         (sinh_test_towardzero): Likewise.
50601         (sinh_test_downward): Likewise.
50602         (sinh_test_upward): Likewise.
50603         (main): Call the new functions.
50604         * sysdeps/i386/fpu/libm-test-ulps: Update.
50605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50607 2012-03-05  Tom de Vries  <tom@codesourcery.com>
50609         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
50610         default stack guard is set in last bytes.
50611         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
50613 2012-03-05  Kees Cook  <keescook@chromium.org>
50615         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
50617         [BZ #13656]
50618         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
50619         possibly allocate from heap instead of stack.
50620         * stdio-common/bug-vfprintf-nargs.c: New file.
50621         * stdio-common/Makefile (tests): Add nargs overflow test.
50623 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
50625         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50627 2012-03-03  Marek Polacek  <polacek@redhat.com>
50629         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
50630         * math/math_private.h: Likewise.
50631         * stdlib/tst-strtod.c: Likewise.
50632         * sysdeps/i386/i486/bits/atomic.h: Likewise.
50633         * sysdeps/x86_64/bits/atomic.h: Likewise.
50635 2012-03-02  David S. Miller  <davem@davemloft.net>
50637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
50638         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
50639         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
50640         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
50641         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
50642         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
50643         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
50644         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
50646 2012-03-02  Roland McGrath  <roland@hack.frob.com>
50648         [BZ #13792]
50649         * manual/examples/README: New file, says the example source files
50650         can be used under GPL>=2.
50651         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
50652         line containing just "*/".
50653         * manual/examples/add.c: Add copyright header (GPL>=2).
50654         * manual/examples/argp-ex1.c: Likewise.
50655         * manual/examples/argp-ex2.c: Likewise.
50656         * manual/examples/argp-ex3.c: Likewise.
50657         * manual/examples/argp-ex4.c: Likewise.
50658         * manual/examples/atexit.c: Likewise.
50659         * manual/examples/db.c: Likewise.
50660         * manual/examples/dir.c: Likewise.
50661         * manual/examples/dir2.c: Likewise.
50662         * manual/examples/execinfo.c: Likewise.
50663         * manual/examples/filecli.c: Likewise.
50664         * manual/examples/filesrv.c: Likewise.
50665         * manual/examples/fmtmsgexpl.c: Likewise.
50666         * manual/examples/genpass.c: Likewise.
50667         * manual/examples/inetcli.c: Likewise.
50668         * manual/examples/inetsrv.c: Likewise.
50669         * manual/examples/isockad.c: Likewise.
50670         * manual/examples/longopt.c: Likewise.
50671         * manual/examples/memopen.c: Likewise.
50672         * manual/examples/memstrm.c: Likewise.
50673         * manual/examples/mkfsock.c: Likewise.
50674         * manual/examples/mkisock.c: Likewise.
50675         * manual/examples/mygetpass.c: Likewise.
50676         * manual/examples/pipe.c: Likewise.
50677         * manual/examples/popen.c: Likewise.
50678         * manual/examples/rprintf.c: Likewise.
50679         * manual/examples/search.c: Likewise.
50680         * manual/examples/select.c: Likewise.
50681         * manual/examples/setjmp.c: Likewise.
50682         * manual/examples/sigh1.c: Likewise.
50683         * manual/examples/sigusr.c: Likewise.
50684         * manual/examples/stpcpy.c: Likewise.
50685         * manual/examples/strdupa.c: Likewise.
50686         * manual/examples/strftim.c: Likewise.
50687         * manual/examples/strncat.c: Likewise.
50688         * manual/examples/subopt.c: Likewise.
50689         * manual/examples/swapcontext.c: Likewise.
50690         * manual/examples/termios.c: Likewise.
50691         * manual/examples/testopt.c: Likewise.
50692         * manual/examples/testpass.c: Likewise.
50693         * manual/examples/timeval_subtract.c: Likewise.
50695         [BZ #13792]
50696         * manual/time.texi (Elapsed Time): Move timeval_subtract example
50697         function to ...
50698         * manual/timeval_subtract.c.texi: ... here, new file.
50700 2012-03-02  David S. Miller  <davem@davemloft.net>
50702         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
50704 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
50706         [BZ #3976]
50707         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
50708         (__sin): Save and restore rounding mode and use round-to-nearest
50709         for all computations.
50710         (__cos): Save and restore rounding mode and use round-to-nearest
50711         for all computations.
50712         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
50713         <fenv.h>.
50714         (tan): Save and restore rounding mode and use round-to-nearest for
50715         all computations.
50716         * math/libm-test.inc (cos_test_tonearest): New function.
50717         (cos_test_towardzero): Likewise.
50718         (cos_test_downward): Likewise.
50719         (cos_test_upward): Likewise.
50720         (sin_test_tonearest): Likewise.
50721         (sin_test_towardzero): Likewise.
50722         (sin_test_downward): Likewise.
50723         (sin_test_upward): Likewise.
50724         (tan_test_tonearest): Likewise.
50725         (tan_test_towardzero): Likewise.
50726         (tan_test_downward): Likewise.
50727         (tan_test_upward): Likewise.
50728         (main): Call the new functions.
50729         * sysdeps/i386/fpu/libm-test-ulps: Update.
50730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50732         [BZ #10135]
50733         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
50734         small n, then large n, before computing and testing k+n.
50735         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
50736         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
50737         Likewise.
50738         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
50739         Likewise.
50740         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
50741         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
50742         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
50743         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
50744         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
50745         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
50746         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
50747         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
50748         * math/libm-test.inc (scalbn_test): Add more tests.
50749         (scalbln_test): Likewise.
50751         * manual/filesys.texi (mode_t): Describe constraints on size and
50752         signedness, not exact equivalence to a particular type.
50753         (ino_t): Likewise.
50754         (ino64_t): Likewise.
50755         (dev_t): Likewise.
50756         (nlink_t): Likewise.
50757         (blkcnt_t): Likewise.
50758         (blkcnt64_t): Likewise.
50759         * manual/llio.texi (off_t): Likewise.
50761         [BZ #3976]
50762         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
50763         (__ieee754_exp): Save and restore rounding mode and use
50764         round-to-nearest for all computations.
50765         * math/libm-test.inc (exp_test_tonearest): New function.
50766         (exp_test_towardzero): Likewise.
50767         (exp_test_downward): Likewise.
50768         (exp_test_upward): Likewise.
50769         (main): Call the new functions.
50770         * sysdeps/i386/fpu/libm-test-ulps: Update.
50771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50773 2012-03-01  Chris Demetriou  <cgd@google.com>
50775         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
50776         have predictable order.
50778 2012-03-01  David S. Miller  <davem@davemloft.net>
50780         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
50782         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
50783         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
50784         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
50785         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
50787         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
50788         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
50789         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
50790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
50791         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
50792         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
50793         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
50794         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
50795         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
50797         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50799         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
50800         * sysdeps/sparc/fpu/libm-test-ulps: to here.
50801         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
50803         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
50804         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50805         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50806         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
50807         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
50808         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
50809         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
50810         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50811         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50812         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
50813         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
50814         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50815         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50816         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50817         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50818         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50819         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
50820         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
50821         * sysdeps/sparc/elf/configure: Regenerated.
50823 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
50825         * configure.in (AS, LD): Require binutils 2.20 or later.
50826         * configure: Regenerated.
50827         * manual/install.texi (Tools for Compilation): Give binutils 2.20
50828         as required minimum version.
50829         * INSTALL: Regenerated.
50831         [BZ #2541]
50832         [BZ #4108]
50833         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
50834         before squaring exponent.
50835         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
50836         bottom long double and 27 bits of top long double before squaring
50837         exponent.
50838         * math/libm-test.inc (erfc_test): Add more tests.
50839         * sysdeps/i386/fpu/libm-test-ulps: Update.
50840         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50843 2012-03-01  Kai Tietz  <ktietz@redhat.com>
50845         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
50846         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
50847         containing bit-fields.
50848         * soft-fp/extended.h (_FP_UNION_E): Likewise.
50849         * soft-fp/single.h (_FP_UNION_S): Likewise.
50850         * soft-fp/double.h (_FP_UNION_D): Likewise.
50852 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
50854         [BZ #13786]
50855         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
50856         not include ../strcmp.S.
50857         [USE_AS_STRNCASECMP_L]: Likewise.
50858         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
50859         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
50860         * sysdeps/i386/i686/multiarch/strncase_l-c.c
50861         (__strncasecmp_l_ia32): Define as alias to
50862         __strncasecmp_l_nonascii.
50864         [BZ #5794]
50865         * math/libm-test.inc (expm1_test): Add test for bug 5794.
50866         * sysdeps/i386/fpu/libm-test-ulps: Update.
50867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50869         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
50870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50872 2012-02-29  Jeff Law  <law@redhat.com>
50874         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
50875         out of bounds read.
50877 2012-02-29  Marek Polacek  <polacek@redhat.com>
50879         [BZ #13706]
50880         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
50881         * elf/Makefile: Add rules to run tst-unused-dep.out.
50883 2012-02-28  David S. Miller  <davem@davemloft.net>
50885         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
50886         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
50887         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
50888         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
50889         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
50890         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
50892 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
50894         * math/libm-test.inc (llround_test): Move one test from
50895         lround_test.  Use TEST_f_L in moved test.
50896         (lround_test): Move misplaced test to llround_test.  Add testcase
50897         from bug 2561.
50899 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
50901         * sysdeps/x86_64/fpu/e_expf.S: New file.
50902         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
50904 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
50906         [BZ #13637]
50907         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
50908         of remain_len that may cause incomplete multi-byte character and
50909         false match.
50910         * posix/bug-regex33.c: New file.
50911         * posix/Makefile (tests): Add bug-regex33.
50913 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
50915         * manual/macros.texi: New file.
50916         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
50917         * manual/libc.texinfo: Include macros.texi.
50918         * manual/creatute.texi: Likewise.
50919         * manual/install.texi: Likewise.
50920         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
50921         @glibcadj{} in references to the GNU C Library.
50922         * manual/charset.texi: Likewise.
50923         * manual/conf.texi: Likewise.
50924         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
50925         when not using those macros.
50926         * manual/creature.texi: Likewise.
50927         * manual/crypt.texi: Likewise.
50928         * manual/errno.texi: Likewise.
50929         * manual/filesys.texi: Likewise.
50930         * manual/header.texi: Likewise.
50931         * manual/install.texi: Likewise.
50932         * manual/intro.texi: Likewise.
50933         * manual/io.texi: Likewise.
50934         * manual/job.texi: Likewise.
50935         * manual/lang.texi: Likewise.
50936         * manual/libc.texiinfo: Likewise.
50937         * manual/llio.texi: Likewise.
50938         * manual/locale.texi: Likewise.
50939         * manual/maint.texi: Likewise.
50940         * manual/math.texi: Likewise.
50941         * manual/memory.texi: Likewise.
50942         * manual/message.texi: Likewise.
50943         * manual/nss.texi: Likewise.
50944         * manual/pattern.texi: Likewise.
50945         * manual/process.texi: Likewise.
50946         * manual/resource.texi: Likewise.
50947         * manual/search.texi: Likewise.
50948         * manual/setjmp.texi: Likewise.
50949         * manual/signal.texi: Likewise.
50950         * manual/socket.texi: Likewise.
50951         * manual/startup.texi: Likewise.
50952         * manual/stdio.texi: Likewise.
50953         * manual/string.texi: Likewise.
50954         * manual/sysinfo.texi: Likewise.
50955         * manual/syslog.texi: Likewise.
50956         * manual/terminal.texi: Likewise.
50957         * manual/time.texi: Likewise.
50958         * manual/users.texi: Likewise.
50959         * INSTALL: Regenerated.
50960         * NOTES: Regenerated.
50961         * sysdeps/gnu/errlist.c: Regenerated.
50963 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
50965         * include/dirent.h: Include <dirstream.h> before
50966         <dirent/dirent.h>.
50968 2012-02-28  David S. Miller  <davem@davemloft.net>
50970         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
50971         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
50972         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
50973         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
50975 2012-02-27  David S. Miller  <davem@davemloft.net>
50977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
50978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
50979         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
50980         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
50982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
50983         frame pointer instead of stack pointer relative arg slot.
50984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50985         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50986         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50988 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
50990         [BZ #3992]
50991         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
50993 2012-02-27  David S. Miller  <davem@davemloft.net>
50995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
50996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
50999         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51000         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51001         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
51002         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
51004 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
51006         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
51007         later.  Allow versions 5-9.
51008         * configure: Regenerated.
51009         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
51010         required minimum version and 4.6 as recommended version.  Do not
51011         mention bugs in GCC 2.7 and 2.8.
51012         * INSTALL: Regenerated.
51014 2012-02-27  David S. Miller  <davem@davemloft.net>
51016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
51017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
51018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
51019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
51020         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
51021         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
51022         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
51023         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
51025         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
51026         manipulate bits before adding and subtracting TWO112[sx].
51027         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
51029 2012-02-27  Roland McGrath  <roland@hack.frob.com>
51031         [BZ #13775]
51032         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
51033         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
51034         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
51035         being in POSIX, because they are in 1003.1-2008.
51037         * rt/tst-aio.c: Include <fcntl.h>.
51038         * rt/tst-aio7.c: Likewise.
51039         * rt/tst-aio64.c: Likewise.
51041         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
51043 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
51045         * manual/install.texi (--with-headers): Describe headers as
51046         interface headers, not private headers.
51047         (Specific advice for GNU/Linux systems): Describe use of headers
51048         from "make headers_install", not private headers from older
51049         kernels.
51050         * INSTALL: Regenerated.
51051         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
51052         Change to 2.6.19.
51053         * sysdeps/unix/sysv/linux/configure: Regenerated.
51055         * manual/llio.texi (fclean): Remove documentation.
51057         * manual/Makefile (libc-texi-generated): New variable.  Include
51058         version.texi.
51059         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
51060         $(libc-texi-generated), not duplicated list of files.
51061         (version.texi, stamp-version): New rules.
51062         (realclean): Remove $(libc-texi-generated), not individual files
51063         from that list.  Do not remove dir-add.texinfo.
51064         * manual/libc.texinfo: Comment out uses of edition numbers and
51065         references to printed manual.  Remove last-updated dates.
51066         (EDITION): Comment out.
51067         (ISBN): Likewise.
51068         (VERSION, UPDATED): Remove.
51069         (version.texi): Include.
51071 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
51073         * sysdeps/posix/spawni.c: Include <signal.h>.
51074         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
51075         * sysdeps/pthread/aio_fsync.c: Likewise.
51077 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
51079         * conform/Makefile (tests): Run only when not cross-compiling and
51080         when fast-check is not defined.
51082         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
51083         * conform/data/limits.h-data: Fixes for POSIX2008.
51084         * conform/run-conformtest.sh: Run all tests.
51085         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
51086         headers.
51087         * include/bits/dlfcn.h: Likewise.
51088         * include/langinfo.h: Likewise.
51089         * include/monetary.h: Likewise.
51090         * include/sys/poll.h: Likewise.
51092         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
51093         for __USE_GNU.
51094         * posix/spawn.h: Define __need_sigset_t.
51095         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
51096         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
51097         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
51098         to get sigevent_t only.
51099         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
51100         only for __USE_GNU.
51101         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51102         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51103         process_vm_writev only for __USE_GNU.
51104         * termios/termios.h: Declare tcgetsid also for POSIX2008.
51106         * conform/Makefile: For now ignore errors from run-conformtest.
51107         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
51108         POSIX to avoid namespace pollution.  Don't prepend headers.
51109         * conform/data/aio.h-data: Fixes for POSIX testing.
51110         * conform/data/fcntl.h-data: Likewise.
51111         * conform/data/glob.h-data: Likewise.
51112         * conform/data/grp.h-data: Likewise.
51113         * conform/data/pthread.h-data: Likewise.
51114         * conform/data/pwd.h-data: Likewise.
51115         * conform/data/signal.h-data: Likewise.
51116         * conform/data/spawn.h-data: Likewise.
51117         * conform/data/stdio.h-data: Likewise.
51118         * conform/data/stdlib.h-data: Likewise.
51119         * conform/data/stropts.h-data: Likewise.
51120         * conform/data/sys/mman.h-data: Likewise.
51121         * conform/data/sys/stat.h-data: Likewise.
51122         * conform/data/sys/types.h-data: Likewise.
51123         * conform/data/sys/wait.h-data: Likewise.
51124         * conform/data/time.h-data: Likewise.
51125         * conform/data/unistd.h-data: Likewise.
51126         * conform/data/utime.h-data: Likewise.
51128         * io/sys/stat.h: fchmod was always in POSIX.
51129         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
51130         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
51131         * rt/aio.h: Define __need_timespec before including <time.h>.
51132         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
51133         struct.  Add forward declaration of pthread_attr_t and use it in
51134         sigevent.
51135         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51136         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51137         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
51138         always remove CLK_TCK definition.
51140 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
51142         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
51144 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
51146         * conform/run-conformtest.sh: New file.
51147         * conform/Makefile: Run run-conformtest for tests.
51148         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
51149         support.
51151         * conform/data/uchar.h-data: New file.
51152         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
51153         * conform/data/arpa/inet.h-data: Likewise.
51154         * conform/data/assert.h-data: Likewise.
51155         * conform/data/complex.h-data: Likewise.
51156         * conform/data/cpio.h-data: Likewise.
51157         * conform/data/ctype.h-data: Likewise.
51158         * conform/data/dirent.h-data: Likewise.
51159         * conform/data/dlfcn.h-data: Likewise.
51160         * conform/data/errno.h-data: Likewise.
51161         * conform/data/fcntl.h-data: Likewise.
51162         * conform/data/float.h-data: Likewise.
51163         * conform/data/fmtmsg.h-data: Likewise.
51164         * conform/data/fnmatch.h-data: Likewise.
51165         * conform/data/ftw.h-data: Likewise.
51166         * conform/data/glob.h-data: Likewise.
51167         * conform/data/grp.h-data: Likewise.
51168         * conform/data/iconv.h-data: Likewise.
51169         * conform/data/inttypes.h-data: Likewise.
51170         * conform/data/langinfo.h-data: Likewise.
51171         * conform/data/libgen.h-data: Likewise.
51172         * conform/data/limits.h-data: Likewise.
51173         * conform/data/locale.h-data: Likewise.
51174         * conform/data/math.h-data: Likewise.
51175         * conform/data/monetary.h-data: Likewise.
51176         * conform/data/mqueue.h-data: Likewise.
51177         * conform/data/ndbm.h-data: Likewise.
51178         * conform/data/net/if.h-data: Likewise.
51179         * conform/data/netdb.h-data: Likewise.
51180         * conform/data/netinet/in.h-data: Likewise.
51181         * conform/data/nl_types.h-data: Likewise.
51182         * conform/data/poll.h-data: Likewise.
51183         * conform/data/pthread.h-data: Likewise.
51184         * conform/data/pwd.h-data: Likewise.
51185         * conform/data/regex.h-data: Likewise.
51186         * conform/data/sched.h-data: Likewise.
51187         * conform/data/search.h-data: Likewise.
51188         * conform/data/semaphore.h-data: Likewise.
51189         * conform/data/setjmp.h-data: Likewise.
51190         * conform/data/signal.h-data: Likewise.
51191         * conform/data/spawn.h-data: Likewise.
51192         * conform/data/stdarg.h-data: Likewise.
51193         * conform/data/stdio.h-data: Likewise.
51194         * conform/data/stdlib.h-data: Likewise.
51195         * conform/data/string.h-data: Likewise.
51196         * conform/data/strings.h-data: Likewise.
51197         * conform/data/stropts.h-data: Likewise.
51198         * conform/data/sys/ipc.h-data: Likewise.
51199         * conform/data/sys/mman.h-data: Likewise.
51200         * conform/data/sys/msg.h-data: Likewise.
51201         * conform/data/sys/resource.h-data: Likewise.
51202         * conform/data/sys/select.h-data: Likewise.
51203         * conform/data/sys/sem.h-data: Likewise.
51204         * conform/data/sys/shm.h-data: Likewise.
51205         * conform/data/sys/socket.h-data: Likewise.
51206         * conform/data/sys/stat.h-data: Likewise.
51207         * conform/data/sys/statvfs.h-data: Likewise.
51208         * conform/data/sys/time.h-data: Likewise.
51209         * conform/data/sys/timeb.h-data: Likewise.
51210         * conform/data/sys/times.h-data: Likewise.
51211         * conform/data/sys/types.h-data: Likewise.
51212         * conform/data/sys/uio.h-data: Likewise.
51213         * conform/data/sys/un.h-data: Likewise.
51214         * conform/data/sys/utsname.h-data: Likewise.
51215         * conform/data/sys/wait.h-data: Likewise.
51216         * conform/data/syslog.h-data: Likewise.
51217         * conform/data/tar.h-data: Likewise.
51218         * conform/data/termios.h-data: Likewise.
51219         * conform/data/utime.h-data: Likewise.
51220         * conform/data/utmpx.h-data: Likewise.
51221         * conform/data/varargs.h-data: Likewise.
51222         * conform/data/wchar.h-data: Likewise.
51223         * conform/data/wctype.h-data: Likewise.
51224         * conform/data/wordexp.h-data: Likewise.
51226         * include/stropts.h: New file.
51227         * include/uchar.h: New file.
51228         * include/aio.h: Changes to allow conformtest.pl to use the headers.
51229         * include/assert.h: Likewise.
51230         * include/ctype.h: Likewise.
51231         * include/dirent.h: Likewise.
51232         * include/dlfcn.h: Likewise.
51233         * include/fcntl.h: Likewise.
51234         * include/fnmatch.h: Likewise.
51235         * include/glob.h: Likewise.
51236         * include/grp.h: Likewise.
51237         * include/libio.h: Likewise.
51238         * include/locale.h: Likewise.
51239         * include/math.h: Likewise.
51240         * include/net/if.h: Likewise.
51241         * include/netdb.h: Likewise.
51242         * include/netinet/in.h: Likewise.
51243         * include/pthread.h: Likewise.
51244         * include/pwd.h: Likewise.
51245         * include/regex.h: Likewise.
51246         * include/sched.h: Likewise.
51247         * include/search.h: Likewise.
51248         * include/setjmp.h: Likewise.
51249         * include/signal.h: Likewise.
51250         * include/stdio.h: Likewise.
51251         * include/stdlib.h: Likewise.
51252         * include/string.h: Likewise.
51253         * include/sys/cdefs.h: Likewise.
51254         * include/sys/mman.h: Likewise.
51255         * include/sys/msg.h: Likewise.
51256         * include/sys/resource.h: Likewise.
51257         * include/sys/select.h: Likewise.
51258         * include/sys/socket.h: Likewise.
51259         * include/sys/stat.h: Likewise.
51260         * include/sys/statvfs.h: Likewise.
51261         * include/sys/time.h: Likewise.
51262         * include/sys/times.h: Likewise.
51263         * include/sys/uio.h: Likewise.
51264         * include/sys/utsname.h: Likewise.
51265         * include/sys/wait.h: Likewise.
51266         * include/termios.h: Likewise.
51267         * include/time.h: Likewise.
51268         * include/ulimit.h: Likewise.
51269         * include/unistd.h: Likewise.
51270         * include/utime.h: Likewise.
51271         * include/wchar.h: Likewise.
51272         * include/wctype.h: Likewise.
51273         * include/wordexp.h: Likewise.
51275         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
51277         * time/time.h: TIME_UTC must be a macro.
51278         Make timespec_get available for ISO C11 only as well.
51280 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
51282         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
51283         Reported by Peng Haitao <penght@cn.fujitsu.com>.
51285 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
51287         * configure.in: Use -o not -a in test for unsupported multi-arch.
51289 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
51291         * manual/texinfo.tex: Update to version 2012-01-19.16.
51293 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
51295         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
51297 2012-02-24  Roland McGrath  <roland@hack.frob.com>
51299         [BZ #13738]
51300         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
51301         * manual/fdl-1.3.texi: New file.
51302         * manual/fdl-1.1.texi: File removed.
51304         [BZ #13738]
51305         * manual/libc.texinfo (FDL_VERSION): New @set.
51306         Use it for mention of FDL in cover text.
51307         (Documentation License): Use it in @include file name.
51309 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
51310             Roland McGrath  <roland@hack.frob.com>
51312         [BZ #5461]
51313         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
51314         (not LONG_LONG_MAX and LONG_LONG_MIN.
51315         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
51316         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
51317         name.
51318         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
51320 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
51322         [BZ #2547]
51323         [BZ #11365]
51324         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
51325         manipulate bits before adding and subtracting TWO23[sx].
51326         * math/libm-test.inc (nearbyint_test): Add more tests.
51328 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
51330         [BZ #2548]
51331         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
51332         bits before adding and subtracting TWO23[sx].
51333         * math/libm-test.inc (rint_test): Add more tests.
51334         (rint_test_tonearest): Likewise.
51335         (rint_test_towardzero): Likewise.
51336         (rint_test_downward): Likewise.
51337         (rint_test_upward: Likewise.
51339 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
51341         [BZ #10110]
51342         * include/stdc-predef.h: New file.  Extracted from features.h.
51343         * include/features.h: Include stdc-predef.h.
51344         * Makefile (headers): Add stdc-predef.h.
51345         * CONFORMANCE (Compiler limitations): Update.
51347 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
51349         * manual/libc.texinfo (VERSION, UPDATED): Revert.
51351 2012-02-21  David S. Miller  <davem@davemloft.net>
51353         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
51354         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51356 2012-02-20  David S. Miller  <davem@davemloft.net>
51358         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
51359         using a normal save/restore sequence, rather than allocating a
51360         dummy stack frame just to store a frame pointer and restore.
51361         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51363 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
51365         * manual/install.texi: Fix stray word in line-wrapped comment.
51367 2012-02-20  David S. Miller  <davem@davemloft.net>
51369         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
51370         both binutils and gcc support GOTDATA.
51372         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
51373         "rd %pc" in the PIC register setup sequences.
51375         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
51376         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
51377         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51378         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
51379         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51380         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51381         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51382         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51383         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
51384         (SYSCALL_ERROR_HANDLER): Likewise.
51385         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51386         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51387         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
51388         (SYSCALL_ERROR_HANDLER): Likewise.
51390         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
51391         (HAVE_GCC_GOTDATA): New.
51392         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
51393         relocation support in both binutils and gcc.
51394         * sysdeps/sparc/elf/configure: Regenerate.
51396         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
51397         * sysdeps/sparc/sparc32/elf/configure: Delete.
51398         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
51399         * sysdeps/sparc/sparc64/elf/configure: Delete.
51400         * sysdeps/sparc/elf/configure.in: New file.
51401         * sysdeps/sparc/elf/configure: Generate.
51403         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
51404         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
51405         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51406         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
51407         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
51409 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
51411         * manual/install.texi: Do not mention specific glibc version
51412         numbers.
51413         * manual/libc.texinfo (VERSION, UPDATED): Update.
51414         (@copying): Use @copyright{} and range of years.
51416 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
51418         [BZ #13695]
51419         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
51420         [crti.S not in sysdirs] (generated): Do not append.
51421         [crti.S not in sysdirs] (omit-deps): Likewise.
51422         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
51423         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
51424         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
51425         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
51426         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
51427         Likewise.
51428         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
51429         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
51430         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
51431         * csu/defs.awk: Remove file.
51432         * sysdeps/generic/initfini.c: Likewise.
51433         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
51434         variable.
51435         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
51436         Likewise.
51438 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
51440         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
51441         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
51442         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
51443         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
51444         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51445         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
51446         <bits/epoll.h>.
51447         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
51448         (__EPOLL_PACKED): Define to empty if not defined by
51449         <bits/epoll.h>.
51450         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
51451         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51452         bits/epoll.h.
51454 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
51456         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
51457         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
51458         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
51459         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
51460         <bits/timerfd.h>.
51461         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
51462         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51463         bits/timerfd.h.
51465 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
51467         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
51468         in C locale.
51469         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51470         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51471         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
51472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51474 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
51476         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51477         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51479 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
51481         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
51482         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
51483         defined.
51484         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
51485         Likewise.
51486         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
51487         entry for 2.16.
51489 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
51491         * math/w_acos.c: Use non-signaling floating-point comparisons.
51492         * math/w_acosf.c: Likewise.
51493         * math/w_acosh.c: Likewise.
51494         * math/w_acoshf.c: Likewise.
51495         * math/w_acoshl.c: Likewise.
51496         * math/w_acosl.c: Likewise.
51497         * math/w_asin.c: Likewise.
51498         * math/w_asinf.c: Likewise.
51499         * math/w_asinl.c: Likewise.
51500         * math/w_atanh.c: Likewise.
51501         * math/w_atanhf.c: Likewise.
51502         * math/w_atanhl.c: Likewise.
51503         * math/w_exp2.c: Likewise.
51504         * math/w_exp2f.c: Likewise.
51505         * math/w_exp2l.c: Likewise.
51506         * math/w_j0.c: Likewise.
51507         * math/w_j0f.c: Likewise.
51508         * math/w_j0l.c: Likewise.
51509         * math/w_j1.c: Likewise.
51510         * math/w_j1f.c: Likewise.
51511         * math/w_j1l.c: Likewise.
51512         * math/w_jn.c: Likewise.
51513         * math/w_jnf.c: Likewise.
51514         * math/w_log.c: Likewise.
51515         * math/w_log10.c: Likewise.
51516         * math/w_log10f.c: Likewise.
51517         * math/w_log10l.c: Likewise.
51518         * math/w_log2.c: Likewise.
51519         * math/w_log2f.c: Likewise.
51520         * math/w_log2l.c: Likewise.
51521         * math/w_logf.c: Likewise.
51522         * math/w_logl.c: Likewise.
51523         * math/w_sqrt.c: Likewise.
51524         * math/w_sqrtf.c: Likewise.
51525         * math/w_sqrtl.c: Likewise.
51526         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51527         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
51528         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51529         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51530         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51532 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
51534         [BZ #9739]
51535         * manual/string.texi (strnlen): Use correct parameter name in
51536         equivalent expression.
51538 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
51540         [BZ #11174]
51541         * manual/users.texi (seteuid): Consistently use neweuid for
51542         argument name.
51544 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
51546         [BZ #13704]
51547         * manual/nss.texi (Services in the NSS configuration): Correct
51548         list of services in example configuration file.
51550 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
51552         [BZ #11322]
51553         * manual/arith.texi: Remove statements about negative zero
51554         behaving identically to zero.
51556 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
51558         [BZ #5993]
51559         * manual/install.texi: Do not document upgrading from libc5.
51561 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
51563         [BZ #4596]
51564         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
51566 2012-02-18  David S. Miller  <davem@davemloft.net>
51568         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
51569         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
51570         %o7 across the call.
51571         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
51572         instead.
51573         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
51574         SETUP_PIC_REG_LEAF.
51575         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51576         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
51577         * sysdeps/sparc/crtn.S: Likewise.
51579 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
51581         * aout/Makefile: Remove.
51583 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
51585         [BZ #13058]
51586         * manual/examples/argp-ex1.c (main): Format definition in GNU
51587         style.
51588         * manual/examples/argp-ex2.c (main): Likewise.
51589         * manual/examples/argp-ex3.c (main): Likewise.
51590         * manual/examples/argp-ex4.c (main): Likewise.
51591         * manual/examples/longopt.c (main): Use new-style prototype
51592         definition.
51593         * manual/examples/strncat.c (main): Specify return type and use
51594         (void) for arguments.
51595         * manual/examples/subopt.c (main): Use char **argv argument.
51597 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51599         [BZ #5077]
51600         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
51601         rounding modes.
51603 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
51605         [BZ #6907]
51606         * manual/string.texi (strchr): Change when strchrnul is
51607         recommended.
51609 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
51611         [BZ #174]
51612         * manual/locale.texi (setlocale): Document LOCPATH.
51614 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51616         [BZ #10210]
51617         * manual/process.texi (execle): Move @dots{} before last argument.
51619 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
51621         [BZ #12047]
51622         * manual/charset.texi (Generic Charset Conversion): Fix typo
51623         (LC_TYPE -> LC_CTYPE).
51625 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
51627         [BZ #5805]
51628         * manual/arith.texi (scalbn): Use @var{} on parameter names.
51629         (scalbnf): Likewise.
51630         (scalbnl): Likewise.
51631         (scalbln): Likewise.
51632         (scalblnf): Likewise.
51633         (scalblnl): Likewise.
51634         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
51635         (vwarnx): Likewise.
51636         (verr): Likewise.
51637         (verrx): Likewise.
51638         * manual/filesys.texi (telldir): Use braces around return type.
51639         * manual/llio.texi (mmap): Add space after comma.
51640         (mmap64): Likewise.
51641         * manual/math.texi (jn): Use @var{} on parameter names.
51642         (jnf): Likewise.
51643         (jnl): Likewise.
51644         (yn): Likewise.
51645         (ynf): Likewise.
51646         (ynl): Likewise.
51647         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
51648         line.
51649         * manual/resource.texi (ulimit): Use @dots{} instead of literal
51650         "...".
51651         (sched_get_priority_min): Remove semicolon on @deftypefun line.
51652         (sched_get_priority_max): Likewise.
51653         * manual/signal.texi (sigvec): Add space after comma.
51654         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
51655         names.
51656         (if_indextoname): Likewise.
51657         (if_freenameindex): Likewise.
51658         (sendto): Use ',' instead of '.' in prototype.
51659         * manual/startup.texi (syscall): Use @dots{} instead of literal
51660         "...".
51661         * manual/stdio.texi (__fpending): Separate initial words of
51662         paragraph from @deftypefun line.
51663         * manual/syslog.texi (syslog): Use @dots{} instead of literal
51664         "...".
51665         (vsyslog): Use @var{} on parameter names.
51666         * manual/terminal.texi (stty): Use @var{} on parameter names.
51667         * manual/users.texi (getutmp): Use @var{} on parameter names.
51668         (getutmpx): Likewise.
51670 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51672         [BZ #6884]
51673         * manual/stdio.texi (fopen): Fix typos in description of
51674         ",ccs=STRING".
51676 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
51678         [BZ #4026]
51679         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
51680         get clock_id definition.
51682 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
51684         [BZ #4822]
51685         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
51686         (madvise): Cast every argument to void on its own.
51688 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51690         [BZ #9902]
51691         * manual/startup.texi (Exit Status): Fix typo.
51693 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51695         [BZ #10140]
51696         * manual/examples/argp-ex1.c: Include <stdlib.h>.
51697         * manual/examples/argp-ex2.c: Likewise.
51698         * manual/examples/argp-ex3.c: Likewise.
51700 2012-02-16  Richard Henderson  <rth@redhat.com>
51702         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
51703         * sysdeps/s390/s390-32/initfini.c: Remove.
51704         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
51705         * sysdeps/s390/s390-64/initfini.c: Remove.
51707 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51709         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
51710         compiler output for sysdeps/generic/initfini.c.
51711         * sysdeps/sh/elf/initfini.c: Remove file.
51713 2012-02-16  David S. Miller  <davem@davemloft.net>
51715         [BZ #11494]
51716         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
51718         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
51719         * sysdeps/sparc/crti.S: New file.
51720         * sysdeps/sparc/crtn.S: New file.
51721         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
51722         * sysdeps/sparc/sparc64/Makefile: Likewise.
51724 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
51726         [BZ #3335]
51727         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
51729 2012-02-15  Roland McGrath  <roland@hack.frob.com>
51731         [BZ #4822]
51732         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
51734         * mach/devstream.c (cookie_io_functions_t): Macro removed.
51735         (write, read, close): Likewise.
51736         Patch by Aurelien Jarno <aurelien@aurel32.net>.
51738 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
51740         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
51741         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
51742         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
51743         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
51744         <bits/signalfd.h>.
51745         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
51746         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51747         bits/signalfd.h.
51749 2012-02-14  Marek Polacek  <polacek@redhat.com>
51751         * sysdeps/x86_64/crti.S: New file.
51752         * sysdeps/x86_64/crtn.S: New file.
51753         * sysdeps/x86_64/elf/initfini.c: Remove file.
51755 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
51757         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
51758         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
51759         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
51760         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
51761         <bits/inotify.h>.
51762         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
51763         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51764         bits/inotify.h.
51766 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
51768         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
51769         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
51770         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
51771         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
51772         <bits/eventfd.h>.
51773         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
51774         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51775         bits/eventfd.h.
51777 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
51779         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
51780         __feraiseexcept instead of feraiseexcept.
51782         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
51783         nanosleep invocations.
51784         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
51785         strings, and add error checking for a nanosleep invocations.
51787 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
51789         Replace FSF snail mail address with URLs, as per GNU coding standards.
51790         Most of the snail mail addresses were wrong anyway, and omitting
51791         them makes the source code easier to maintain.  Almost all of the
51792         changes are to license notices and to locale LC_IDENTIFICATION
51793         addresses, except for this one:
51794         * manual/libc.texinfo: In "Published by", give the FSF's URL,
51795         not its snail mail address.
51797 2012-02-09  Richard Henderson  <rth@twiddle.net>
51799         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
51800         of kernel-features.h.
51802         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
51804 2012-02-08  Marek Polacek  <polacek@redhat.com>
51806         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
51807         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
51808         * sysdeps/gnu/_G_config.h: Likewise.
51809         * sysdeps/generic/_G_config.h: Likewise.
51811 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
51813         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
51814         tests.
51815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51817         * sysdeps/powerpc/powerpc32/crti.S: New file.
51818         * sysdeps/powerpc/powerpc32/crtn.S: New file.
51819         * sysdeps/powerpc/powerpc64/crti.S: New file.
51820         * sysdeps/powerpc/powerpc64/crtn.S: New file.
51822         * Makeconfig (have-initfini): Don't set.
51823         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
51824         * configure.in (nopic_initfini): Don't substitute.
51825         * config.h.in (HAVE_INITFINI): Don't #undef.
51826         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
51827         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
51829 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
51831         Support crti.S and crtn.S provided directly by architectures.
51832         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
51833         [crti.S in sysdirs] (omit-deps): Likewise.
51834         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
51835         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
51836         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
51837         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
51838         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
51839         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
51840         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
51841         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
51842         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
51843         compiler output for sysdeps/generic/initfini.c.
51844         * sysdeps/i386/elf/Makefile: Remove file.
51845         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
51847 2012-02-07  Marek Polacek  <polacek@redhat.com>
51849         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
51850         * sysdeps/gnu/_G_config.h: Likewise.
51851         * sysdeps/mach/hurd/_G_config.h: Likewise.
51853 2012-02-07  Marek Polacek  <polacek@redhat.com>
51855         * math/Makefile (tests): Add tst-CMPLX2.
51856         * math/tst-CMPLX2.c: New file.
51858 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
51860         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51862         * math/libm-test.inc (jn_test): Add missing L suffix.
51864 2012-02-06  Marek Polacek  <polacek@redhat.com>
51866         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
51867         * sysdeps/i386/fpu/e_powf.S: Likewise.
51868         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51869         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51870         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51871         * sysdeps/i386/fpu/e_pow.S: Likewise.
51872         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
51873         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51874         * sysdeps/i386/fpu/s_expm1.S: Likewise.
51875         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
51876         * sysdeps/i386/fpu/e_log2.S: Likewise.
51877         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51878         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51879         * sysdeps/i386/fpu/e_powl.S: Likewise.
51880         * sysdeps/i386/fpu/s_log1p.S: Likewise.
51881         * sysdeps/i386/fpu/e_log10f.S: Likewise.
51882         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
51883         * sysdeps/i386/fpu/e_logl.S: Likewise.
51884         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
51885         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
51886         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
51887         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
51888         * sysdeps/i386/fpu/e_log2f.S: Likewise.
51889         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51890         * sysdeps/i386/fpu/e_log.S: Likewise.
51891         * sysdeps/i386/fpu/s_cexp.S: Likewise.
51892         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51893         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
51894         * sysdeps/i386/fpu/e_logf.S: Likewise.
51895         * sysdeps/i386/fpu/e_log10l.S: Likewise.
51896         * sysdeps/i386/fpu/e_atanh.S: Likewise.
51897         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
51898         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
51899         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51900         * sysdeps/i386/fpu/e_log10.S: Likewise.
51901         * sysdeps/i386/fpu/s_frexp.S: Likewise.
51902         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51903         * sysdeps/i386/fpu/s_asinh.S: Likewise.
51904         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
51905         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51906         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
51907         * sysdeps/i386/asm-syntax.h: Likewise.
51908         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51909         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51910         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51911         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
51912         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
51913         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51914         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
51915         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
51916         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51917         * sysdeps/powerpc/sysdep.h: Likewise.
51918         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
51919         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51921 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
51923         [BZ #411]
51924         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
51926 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
51928         * sysdeps/i386/sysdep.h: Include <features.h>.
51929         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
51930         version.
51932 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
51934         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
51935         Define.
51936         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
51937         LOAD_PIC_REG_STR.
51939 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
51941         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
51942         (SETUP_PIC_REG): Use GET_PC_THUNK.
51943         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
51944         macro.
51946 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
51948         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
51949         for non-PIC compilation.
51950         (SETUP_PIC_REG): Add .p2align directive.
51951         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
51952         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
51953         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51954         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51955         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
51956         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51957         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
51958         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51959         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51960         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51961         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51962         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51963         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51964         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51965         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51966         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
51967         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
51968         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51969         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51970         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51971         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51972         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
51973         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51974         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51975         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
51976         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
51977         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51978         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
51979         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51980         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51981         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51982         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51983         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51984         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51985         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51986         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51987         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51988         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51989         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51990         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51991         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51993 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
51995         * math/tst-CMPLX.c: Include <stdio.h>.
51997 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
51999         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
52000         float.
52001         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52002         * sysdeps/sparc/bits/mathdef.h: Likewise.
52004 2012-01-31  Marek Polacek  <polacek@redhat.com>
52006         * libio/libio.h: Don't define _PARAMS.
52007         * locale/programs/config.h: Don't define PARAMS.
52008         * stdlib/strtol_l.c: Likewise.
52009         (__strtol_l): Remove PARAMS from the prototype.
52011 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
52013         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
52014         names.  Just use the correct names.  Remove unnecessary wrapper
52015         functions.
52016         * malloc/arena.c: Likewise.
52017         * malloc/hooks.c: Likewise.
52019         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
52020         ARENA_TEST says not to.  Simplify test for creation of a new arena.
52021         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
52023 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
52025         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
52026         into tail calls.
52027         (update_get_addr): New function.
52028         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
52029         GET_ADDR_MODULE parameter.
52031 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
52033         * crypt/cert.c: Remove __STDC__ conditionals.
52034         * crypt/crypt-entry.c: Likewise.
52035         * crypt/crypt_util.c: Likewise.
52036         * libio/filedoalloc.c: Likewise.
52037         * libio/fileops.c: Likewise.
52038         * libio/genops.c: Likewise.
52039         * libio/iofclose.c: Likewise.
52040         * libio/iofdopen.c: Likewise.
52041         * libio/iofopen.c: Likewise.
52042         * libio/iofopen64.c: Likewise.
52043         * libio/iogetdelim.c: Likewise.
52044         * libio/iopopen.c: Likewise.
52045         * libio/obprintf.c: Likewise.
52046         * libio/oldfileops.c: Likewise.
52047         * libio/oldiofclose.c: Likewise.
52048         * libio/oldiofdopen.c: Likewise.
52049         * libio/oldiofopen.c: Likewise.
52050         * libio/oldiopopen.c: Likewise.
52051         * libio/wfiledoalloc.c: Likewise.
52052         * libio/wgenops.c: Likewise.
52053         * locale/programs/xmalloc.c: Likewise.
52054         * misc/syslog.c: Likewise.
52055         * stdio-common/xbug.c: Likewise.
52056         * string/memchr.c: Likewise.
52057         * string/memcmp.c: Likewise.
52058         * string/memrchr.c: Likewise.
52059         * string/rawmemchr.c: Likewise.
52060         * sysdeps/posix/getcwd.c: Likewise.
52061         * time/strftime_l.c: Likewise.
52063 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
52065         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
52066         * config.make.in (config-cflags-sse2avx): Define.
52067         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
52068         Fix typo.
52070 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
52072         * scripts/config.guess: Update from upstream config git repository.
52073         * scripts/config.sub: Likewise.
52075 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
52077         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
52078         (EM_NUM): Update.
52079         (R_TILEPRO_*, R_TILEGX_*): New macros.
52081         * scripts/firstversions.awk: Fix bug in version range handling.
52083         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
52085         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
52087         * include/sys/epoll.h: New file.
52088         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
52089         libc_hidden_def.
52091 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
52093         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
52094         Avoid unnecessary __WORDSIZE == 64 test.
52095         (fmaxf): Use VEX format if possible.
52096         (fmax): Likewise.
52097         (fminf): Likewise.
52098         (fmin): Likewise.
52100         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
52101         * math/math_private.h: Remove libc_fegetround* and
52102         libc_fesetround*.
52103         * sysdeps/i386/configure.in: Check for -msse2avx.
52104         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
52105         also if SSE2AVX is defined.
52106         Remove libc_fegetround* and libc_fesetround*.
52107         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
52108         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
52109         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
52110         of HAS_YMM_USABLE.
52111         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52112         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52113         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52114         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52115         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52117         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
52119 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52121         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
52122         size is not set.
52123         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52125 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
52127         [BZ #13618]
52128         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
52129         relocation.
52130         * Makeconfig (libm): Define.
52131         * elf/Makefile: Add rules to build and run tst-relsort1.
52132         * elf/tst-relsort1.c: New file.
52133         * elf/tst-relsort1mod1.c: New file.
52134         * elf/tst-relsort1mod2.c: New file.
52136 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
52138         * math/s_ldexp.c: Remove __STDC__ conditionals.
52139         * math/s_ldexpf.c: Likewise.
52140         * math/s_ldexpl.c: Likewise.
52141         * math/s_nextafter.c: Likewise.
52142         * math/s_nexttowardf.c: Likewise.
52143         * math/s_significand.c: Likewise.
52144         * math/s_significandf.c: Likewise.
52145         * math/s_significandl.c: Likewise.
52146         * math/w_jnl.c: Likewise.
52147         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52148         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52149         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52150         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52151         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52152         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52153         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
52154         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52155         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52156         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52157         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52158         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52159         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52160         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52161         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52162         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52163         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52164         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52165         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52166         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52167         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52168         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52169         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52170         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52171         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52172         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52173         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52174         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52175         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52176         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52177         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52178         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52179         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52180         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52181         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52182         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52183         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52184         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52185         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52186         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52187         * sysdeps/ieee754/k_standard.c: Likewise.
52188         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52189         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52190         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52191         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52192         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52193         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52194         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52195         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52196         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52197         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52198         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52199         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52200         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52201         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52202         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52203         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52204         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52205         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52206         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52207         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52208         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52209         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52210         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52211         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52212         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52213         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52214         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52215         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52216         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52217         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52218         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52219         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
52220         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52221         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52222         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52223         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52224         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
52225         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52226         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52227         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
52228         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
52229         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52230         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
52231         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
52232         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52233         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52234         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52235         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52236         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52237         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
52238         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
52239         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52240         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52241         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52242         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52243         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52244         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
52245         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52246         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52247         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52248         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52249         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52250         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52251         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52252         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52253         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52254         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52255         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52256         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52257         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52258         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52259         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52260         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52261         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52262         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52263         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52264         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52265         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52266         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52267         * sysdeps/ieee754/s_matherr.c: Likewise.
52268         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52269         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52270         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52271         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52273 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
52275         * crypt/md5.h: Remove __STDC__ conditionals.
52276         * libio/libioP.h: Likewise.
52277         * locale/programs/config.h: Likewise.
52278         * sysdeps/generic/sysdep.h: Likewise.
52279         * sysdeps/i386/asm-syntax.h: Likewise.
52280         * sysdeps/s390/asm-syntax.h: Likewise.
52281         * sysdeps/unix/sysdep.h: Likewise.
52282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
52283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52285 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
52287         * libio/libio.h: Remove __STDC__ conditionals.
52288         * malloc/obstack.h: Likewise.
52289         * math/complex.h: Likewise.
52290         * math/math.h: Likewise.
52291         * sysdeps/generic/_G_config.h: Likewise.
52292         * sysdeps/gnu/_G_config.h: Likewise.
52293         * sysdeps/mach/hurd/_G_config.h: Likewise.
52294         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52295         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52296         * sysdeps/sparc/bits/mathdef.h: Likewise.
52298 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
52300         [BZ #13583]
52301         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
52302         Clean up HAS_* macros.
52303         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
52304         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
52305         possible.
52306         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
52307         HAS_AVX.
52308         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52309         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52310         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52311         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52312         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52314 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
52316         * elf/tst-unique3.cc (gets): Remove declaration.
52317         * elf/tst-unique3lib.cc (gets): Likewise.
52318         * elf/tst-unique3lib2.cc (gets): Likewise.
52319         * elf/tst-unique4.cc (gets): Likewise.
52321 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
52323         * include/stdio.h: Add C++ protection.  Add gets declarations and
52324         definitions.
52325         * debug/tst-chk1.c: Don't declare gets here.
52326         * stdio-common/tst-gets.c: Likewise.
52328 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
52330         * posix/glob: Remove directory.
52332 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
52334         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
52336 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
52338         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
52339         of the non-standard EPFNOSUPPORT.
52341 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52343         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
52344         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
52345         ANYWHERE set to 1 only on KERN_NO_SPACE error.
52347 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
52349         * wcsmbs/uchar.h: Test __STDC_VERSION__.
52351 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
52353         * nscd/aicache.c (addhstaiX): Do not cache negative results of
52354         transient errors.
52355         * nscd/grpcache.c (cache_addgr): Likewise.
52356         * nscd/hstcache.c (cache_addhst): Likewise.
52357         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52358         * nscd/pwdcache.c (cache_addpw): Likewise.
52359         * nscd/servicescache.c (cache_addserv): Likewise.
52361 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
52363         * malloc/malloc.c: Various cleanups.
52364         * malloc/hooks.c: Likewise.
52366         * stdlib/Makefile (tests): Add bug-fmtmsg1.
52367         * stdlib/bug-fmtmsg1.c: New file.
52369         * stdlib/fmtmsg.c (init): Add missing unlock.
52370         Patch by Peng Haitao <penght@cn.fujitsu.com>.
52372 2012-01-12  Marek Polacek  <polacek@redhat.com>
52374         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
52375         and _GNU_SOURCE.
52377 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
52379         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
52380         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
52381         macro to ensure uniqueness of label name.
52382         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52383         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52385 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
52387         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
52389         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
52390         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52391         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52392         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
52394 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
52396         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
52398         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
52399         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52400         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52402         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
52404         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
52405         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52406         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52407         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
52409         * math/bits/math-finite.h: Add ldexp support.
52411 2012-01-10  Marek Polacek  <polacek@redhat.com>
52413         * locale/programs/localedef.h (show_archive_content): Add noreturn
52414         attribute.
52416 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
52418         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
52420 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
52422         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
52424         * io/Makefile (headers): Add bits/poll2.h.
52426 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
52428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
52429         typo #include statement.
52431 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
52433         * include/sys/cdefs.h: Define __attribute_alloc_size.
52434         * catgets/gencat.c: Add alloc_size attribute and apply consistently
52435         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
52436         * elf/pldd.c: Likewise.
52437         * iconv/iconv_charmap.c: Likewise.
52438         * iconv/iconvconfig.c: Likewise.
52439         * iconv/strtab.c: Likewise.
52440         * locale/programs/locale.c: Likewise.
52441         * locale/programs/localedef.h: Likewise.
52442         * locale/programs/simple-hash.c: Likewise.
52443         * nscd/nscd.h: Likewise.
52444         * nss/makedb.c: Likewise.
52445         * sysdeps/generic/ldconfig.h: Likewise.
52446         * locale/programs/localedef.c: Remove xmalloc prototype.
52447         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
52449 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52451         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
52452         appropriate.
52454 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
52456         * math/Makefile (tests): Add tst-CMPLX.
52457         * math/tst-CMPLX.c: New file.
52459         * math/complex.h (CMPLXL): Fix typo.
52461         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
52462         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
52463         GLIBC_2.16.
52464         * debug/tst-chk1.c: Add poll and ppoll tests.
52465         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
52466         * include/sys/poll.h: Add hidden proto for ppoll.
52467         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
52468         * sysdeps/mach/hurd/ppoll.c: Likewise.
52469         * io/ppoll.c: Likewise.
52470         * debug/poll_chk.c: New file.
52471         * debug/ppoll_chk.c: New file.
52472         * include/bits/poll2.h: New file.
52473         * io/bits/poll2.h: New file.
52475         [BZ #1350]
52476         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
52478         * configure.in: static is always set to yes.  Remove.
52479         * config.make.in: Don't set build-static.
52480         * Makeconfig: Remove use of build-static.
52481         * dlfcn/Makefile: Likewise.
52482         * elf/Makefile: Likewise.
52483         * math/Makefile: Likewise.
52484         * misc/Makefile: Likewise.
52485         * nptl/Makefile: Likewise.
52486         * sysdeps/mach/hurd/Makefile: Likewise.
52488         * configure.in: PWD_P is not used anymore.
52489         * config.make.in: Remove PWD_P entry.
52491         * configure.in: Remove last remnants of RANLIB.
52492         No need to check for signed size_t anymore.
52493         Don't set libc_commonpagesize and libc_relro_required here for Alpha
52494         and IA-64.
52495         Remove __builtin_expect test because we require at least gcc 3.4.
52496         * aclocal.m4: Likewise.
52498         * wcsmbs/mbrtoc16.c: Implement using towc function.
52499         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
52500         * wcsmbs/wcsmbsload.c: Likewise.
52501         * iconv/gconv_simple.c: Likewise.
52502         * iconv/gconv_int.h: Likewise.
52503         * iconv/gconv_builtin.h: Likewise.
52504         * iconv/iconv_prog.c: Remove CHAR16 handling.
52506         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
52508         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
52510         * configure.in: Remove --with-elf and --enable-bounded options.
52511         Dont set base_machine for ia64.  More non-ELF conditions removed.
52512         Remove testing and setting of leading underscore information.
52513         * config.make.in (build-bounded): Set to no.
52514         * config.h.in: Remove NO_UNDERSCORES entry.
52515         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
52516         them.
52517         * csu/start.c: Remove !NO_UNDERSCORE code.
52518         * locale/localeinfo.h: Likewise.
52519         * sysdeps/generic/machine-gmon.h: Likewise.
52520         * sysdeps/generic/sysdep.h: Likewise.
52521         * sysdeps/i386/sysdep.h: Likewise.
52522         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
52523         * sysdeps/mach/sysdep.h: Likewise.
52524         * sysdeps/s390/s390-32/sysdep.h: Likewise.
52525         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52526         * sysdeps/sh/sysdep.h: Likewise.
52527         * sysdeps/sparc/sparc32/alloca.S: Likewise.
52528         * sysdeps/unix/i386/sysdep.S: Likewise.
52529         * sysdeps/unix/sparc/start.c: Likewise.
52530         * sysdeps/unix/sparc/sysdep.S: Likewise.
52531         * sysdeps/unix/sparc/sysdep.h: Likewise.
52532         * sysdeps/unix/start.c: Likewise.
52533         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52534         * sysdeps/x86_64/sysdep.h: Likewise.
52536 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
52538         [BZ #13553]
52539         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
52540         for non-gcc.
52541         * argp/argp-fmtstream.h: Use const instead __const.
52542         * argp/argp.h: Likewise.
52543         * assert/assert.h: Likewise.
52544         * bits/fenv.h: Likewise.
52545         * bits/sched.h: Likewise.
52546         * bits/sigset.h: Likewise.
52547         * bits/sigthread.h: Likewise.
52548         * catgets/nl_types.h: Likewise.
52549         * conform/data/pthread.h-data: Likewise.
52550         * crypt/crypt-private.h: Likewise.
52551         * crypt/crypt.h: Likewise.
52552         * crypt/crypt_util.c: Likewise.
52553         * ctype/ctype.h: Likewise.
52554         * debug/execinfo.h: Likewise.
52555         * debug/mbsnrtowcs_chk.c: Likewise.
52556         * debug/mbsrtowcs_chk.c: Likewise.
52557         * debug/wcsnrtombs_chk.c: Likewise.
52558         * debug/wcsrtombs_chk.c: Likewise.
52559         * debug/wcstombs_chk.c: Likewise.
52560         * dirent/dirent.h: Likewise.
52561         * dlfcn/dlfcn.h: Likewise.
52562         * elf/neededtest4.c: Likewise.
52563         * grp/grp.h: Likewise.
52564         * gshadow/gshadow.h: Likewise.
52565         * iconv/gconv.h: Likewise.
52566         * iconv/gconv_int.h: Likewise.
52567         * iconv/gconv_simple.c: Likewise.
52568         * iconv/iconv.h: Likewise.
52569         * iconv/loop.c: Likewise.
52570         * iconv/skeleton.c: Likewise.
52571         * include/aio.h: Likewise.
52572         * include/aliases.h: Likewise.
52573         * include/argz.h: Likewise.
52574         * include/arpa/inet.h: Likewise.
52575         * include/assert.h: Likewise.
52576         * include/dirent.h: Likewise.
52577         * include/dlfcn.h: Likewise.
52578         * include/execinfo.h: Likewise.
52579         * include/fcntl.h: Likewise.
52580         * include/fenv.h: Likewise.
52581         * include/glob.h: Likewise.
52582         * include/grp.h: Likewise.
52583         * include/libintl.h: Likewise.
52584         * include/mntent.h: Likewise.
52585         * include/netdb.h: Likewise.
52586         * include/pwd.h: Likewise.
52587         * include/rpc/netdb.h: Likewise.
52588         * include/sched.h: Likewise.
52589         * include/search.h: Likewise.
52590         * include/shadow.h: Likewise.
52591         * include/signal.h: Likewise.
52592         * include/stdio.h: Likewise.
52593         * include/stdlib.h: Likewise.
52594         * include/string.h: Likewise.
52595         * include/sys/socket.h: Likewise.
52596         * include/sys/stat.h: Likewise.
52597         * include/sys/statfs.h: Likewise.
52598         * include/sys/statvfs.h: Likewise.
52599         * include/sys/syslog.h: Likewise.
52600         * include/sys/time.h: Likewise.
52601         * include/sys/uio.h: Likewise.
52602         * include/time.h: Likewise.
52603         * include/unistd.h: Likewise.
52604         * include/utmp.h: Likewise.
52605         * include/wchar.h: Likewise.
52606         * include/wctype.h: Likewise.
52607         * inet/aliases.h: Likewise.
52608         * inet/arpa/inet.h: Likewise.
52609         * inet/netinet/ether.h: Likewise.
52610         * inet/netinet/in.h: Likewise.
52611         * intl/libintl.h: Likewise.
52612         * io/bits/fcntl2.h: Likewise.
52613         * io/fcntl.h: Likewise.
52614         * io/ftw.h: Likewise.
52615         * io/sys/poll.h: Likewise.
52616         * io/sys/stat.h: Likewise.
52617         * io/sys/statfs.h: Likewise.
52618         * io/sys/statvfs.h: Likewise.
52619         * io/utime.h: Likewise.
52620         * libio/bits/stdio.h: Likewise.
52621         * libio/bits/stdio2.h: Likewise.
52622         * libio/libio.h: Likewise.
52623         * libio/libioP.h: Likewise.
52624         * libio/stdio.h: Likewise.
52625         * locale/lc-ctype.c: Likewise.
52626         * locale/locale.h: Likewise.
52627         * login/utmp.h: Likewise.
52628         * malloc/arena.c: Likewise.
52629         * malloc/malloc.c: Likewise.
52630         * malloc/malloc.h: Likewise.
52631         * malloc/mcheck.c: Likewise.
52632         * malloc/mtrace.c: Likewise.
52633         * math/bits/mathcalls.h: Likewise.
52634         * math/fenv.h: Likewise.
52635         * math/math_private.h: Likewise.
52636         * misc/bits/error.h: Likewise.
52637         * misc/bits/syslog.h: Likewise.
52638         * misc/err.h: Likewise.
52639         * misc/error.h: Likewise.
52640         * misc/fstab.h: Likewise.
52641         * misc/mntent.h: Likewise.
52642         * misc/regexp.h: Likewise.
52643         * misc/search.h: Likewise.
52644         * misc/sgtty.h: Likewise.
52645         * misc/sys/mman.h: Likewise.
52646         * misc/sys/syslog.h: Likewise.
52647         * misc/sys/uio.h: Likewise.
52648         * misc/sys/xattr.h: Likewise.
52649         * misc/ttyent.h: Likewise.
52650         * nis/rpcsvc/ypclnt.h: Likewise.
52651         * nss/nss.h: Likewise.
52652         * posix/bits/unistd.h: Likewise.
52653         * posix/fnmatch.h: Likewise.
52654         * posix/glob.h: Likewise.
52655         * posix/sched.h: Likewise.
52656         * posix/spawn.h: Likewise.
52657         * posix/sys/wait.h: Likewise.
52658         * posix/unistd.h: Likewise.
52659         * posix/wordexp.h: Likewise.
52660         * pwd/pwd.h: Likewise.
52661         * resolv/netdb.h: Likewise.
52662         * resource/sys/resource.h: Likewise.
52663         * rt/aio.h: Likewise.
52664         * rt/bits/mqueue2.h: Likewise.
52665         * rt/mqueue.h: Likewise.
52666         * shadow/shadow.h: Likewise.
52667         * signal/signal.h: Likewise.
52668         * socket/send.c: Likewise.
52669         * socket/sendto.c: Likewise.
52670         * socket/sys/socket.h: Likewise.
52671         * stdio-common/printf.h: Likewise.
52672         * stdlib/bits/stdlib.h: Likewise.
52673         * stdlib/fmtmsg.h: Likewise.
52674         * stdlib/monetary.h: Likewise.
52675         * stdlib/stdlib.h: Likewise.
52676         * stdlib/ucontext.h: Likewise.
52677         * streams/stropts.h: Likewise.
52678         * string/argz.h: Likewise.
52679         * string/bits/string2.h: Likewise.
52680         * string/string.h: Likewise.
52681         * string/strings.h: Likewise.
52682         * sunrpc/rpc/auth.h: Likewise.
52683         * sunrpc/rpc/auth_des.h: Likewise.
52684         * sunrpc/rpc/clnt.h: Likewise.
52685         * sunrpc/rpc/netdb.h: Likewise.
52686         * sunrpc/rpc/pmap_clnt.h: Likewise.
52687         * sunrpc/rpc/xdr.h: Likewise.
52688         * sysdeps/generic/inttypes.h: Likewise.
52689         * sysdeps/generic/net/if.h: Likewise.
52690         * sysdeps/generic/sys/swap.h: Likewise.
52691         * sysdeps/gnu/net/if.h: Likewise.
52692         * sysdeps/gnu/utmpx.h: Likewise.
52693         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
52694         * sysdeps/i386/i486/bits/string.h: Likewise.
52695         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
52696         * sysdeps/s390/bits/string.h: Likewise.
52697         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
52698         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
52699         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
52700         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
52701         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
52702         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
52703         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
52704         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
52705         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
52706         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
52707         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
52708         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
52709         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
52710         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
52711         * sysdeps/unix/sysv/linux/readv.c: Likewise.
52712         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
52713         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
52714         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52715         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
52716         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
52717         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
52718         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
52719         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
52720         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
52721         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
52722         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
52723         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
52724         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52725         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
52726         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
52727         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
52728         * sysvipc/sys/ipc.h: Likewise.
52729         * sysvipc/sys/msg.h: Likewise.
52730         * sysvipc/sys/sem.h: Likewise.
52731         * sysvipc/sys/shm.h: Likewise.
52732         * termios/termios.h: Likewise.
52733         * time/sys/time.h: Likewise.
52734         * time/time.h: Likewise.
52735         * wcsmbs/bits/wchar2.h: Likewise.
52736         * wcsmbs/uchar.h: Likewise.
52737         * wcsmbs/wchar.h: Likewise.
52738         * wctype/wctype.h: Likewise.
52740         [BZ #13551]
52741         * Makeconfig: Remove all but ELF support including AIX support.
52742         * Makerules: Likewise.
52743         * config.h.in: Likewise.
52744         * config.make.in: Likewise.
52745         * configure: Likewise.
52746         * configure.in: Likewise.
52747         * csu/Makefile: Likewise.
52748         * csu/version.c: Likewise.
52749         * debug/Makefile: Likewise.
52750         * dlfcn/Makefile: Likewise.
52751         * elf/Makefile: Likewise.
52752         * extra-lib.mk: Likewise.
52753         * iconv/Makefile: Likewise.
52754         * include/libc-symbols.h: Likewise.
52755         * include/shlib-compat.h: Likewise.
52756         * resolv/Makefile: Likewise.
52757         * resolv/res_libc.c: Likewise.
52758         * rt/Makefile: Likewise.
52759         * sysdeps/i386/asm-syntax.h: Likewise.
52760         * sysdeps/i386/sysdep.h: Likewise.
52761         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
52762         * sysdeps/mach/sysdep.h: Likewise.
52763         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
52764         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
52765         * sysdeps/s390/asm-syntax.h: Likewise.
52766         * sysdeps/s390/s390-32/sysdep.h: Likewise.
52767         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52768         * sysdeps/sh/sysdep.h: Likewise.
52769         * sysdeps/unix/sparc/sysdep.h: Likewise.
52770         * sysdeps/wordsize-32/divdi3.c: Likewise.
52771         * sysdeps/x86_64/sysdep.h: Likewise.
52773         * argp/Versions: Remove _argp_unlock_xxx.
52775         [BZ #13559]
52776         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
52777         * abilist/libBrokenLocale.abilist: Likewise.
52778         * abilist/libanl.abilist: Likewise.
52779         * abilist/libc.abilist: Likewise.
52780         * abilist/libcrypt.abilist: Likewise.
52781         * abilist/libdl.abilist: Likewise.
52782         * abilist/libm.abilist: Likewise.
52783         * abilist/libnsl.abilist: Likewise.
52784         * abilist/libpthread.abilist: Likewise.
52785         * abilist/libresolv.abilist: Likewise.
52786         * abilist/librt.abilist: Likewise.
52787         * abilist/libthread_db.abilist: Likewise.
52788         * abilist/libutil.abilist: Likewise.
52789         * abilist/libnss_db.abilist: New file.
52791         * scripts/abilist.awk: Add support for indirect functions.
52793         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
52795         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
52797         * shlib-versions: Remove entries for ports architectures.
52799         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
52800         files in ports.
52801         * elf/stackguard-macros.h: Remove support for IA-64.
52802         * elf/tst-auditmod1.c: Likewise.
52803         * sysdeps/generic/ldsodefs.h: Likewise.
52805         * sysdeps/unix/sysv/linux/configure.in: Ports should define
52806         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
52807         configure files.
52809         [BZ #13552]
52810         * configure.in: Remove --enable-omitfp support.
52811         * FAQ.in: Adjust.
52812         * config.make.in: Likewise.
52813         * Makeconfig: Likewise.
52814         * manual/install.texi: Likewise.
52816         In case anyone cares, the IA-64 architecture could move to ports.
52817         * sysdeps/ia64/*: Removed.
52818         * sysdeps/unix/sysv/linux/ia64/*: Removed.
52819         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
52821         [BZ #13555]
52822         * configure.in: Remove entries for unsupported architectures.
52824         [BZ #13533]
52825         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
52826         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
52827         routines.
52828         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
52829         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
52830         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
52831         fall back to using wcrtomb.
52832         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
52833         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
52834         renaming.
52835         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
52836         * wcsmbs/tst-c16c32-1.c: New file.
52838         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
52839         local variable.
52841         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
52843         * elf/tst-unique3.cc: Add explicit declaration of gets.
52844         * elf/tst-unique3lib.cc: Likewise.
52845         * elf/tst-unique3lib2.cc: Likewise.
52846         * elf/tst-unique4.cc: Likewise.
52848         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
52850 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
52852         [BZ #13566]
52853         * assert/assert.h (static_assert): Don't define for C++.
52854         * libio/stdio.h (gets): Do declare for C++ <= C++11.
52855         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
52857 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
52859         * iconv/loop.c (single loop): Fix assertion in storing of
52860         remaining bytes.
52862         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
52864 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
52866         * posix/getconf.c: Update copyright year.
52867         * nss/getent.c: Likewise.
52868         * nss/makedb.c: Likewise.
52869         * iconv/iconvconfig.c: Likewise.
52870         * iconv/iconv_prog.c: Likewise.
52871         * elf/ldconfig.c: Likewise.
52872         * elf/pldd.c: Likewise.
52873         * elf/sotruss.ksh: Likewise.
52874         * catgets/gencat.c: Likewise.
52875         * csu/version.c: Likewise.
52876         * elf/ldd.bash.in: Likewise.
52877         * elf/sprof.c (print_version): Likewise.
52878         * locale/programs/locale.c: Likewise.
52879         * locale/programs/localedef.c: Likewise.
52880         * login/programs/pt_chown.c: Likewise.
52881         * nscd/nscd.c (print_version): Likewise.
52882         * debug/xtrace.sh: Likewise.
52883         * malloc/memusage.sh: Likewise.
52884         * malloc/mtrace.pl: Likewise.
52885         * debug/catchsegv.sh: Likewise.
52887 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
52889         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
52890         pure attribute.
52892 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
52894         [BZ #13533]
52895         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
52896         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
52897         transformations.
52898         * iconv/gconv_int.h: Likewise.
52899         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
52900         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
52901         from libc for GLIBC_2.16.
52902         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
52903         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
52904         * wcsmbs/uchar.h: Really define mbstate_t.
52905         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
52906         * wcsmbs/c16rtomb.c: New file.
52907         * wcsmbs/mbrtoc16.c: New file.
52908         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
52909         for C/POSIX locale.
52910         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
52911         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
52913         * wcsmbs/wchar.h: Add missing __restrict.
52915 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
52917         [BZ #13532]
52918         * time/Makefile (routines): Add timespec_get.
52919         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
52920         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
52921         timespec for ISO C11.
52922         * time/timespec_get.c: New file.
52923         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
52924         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
52926         [BZ #13531]
52927         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
52928         * stdlib/stdlib.h: Declare aligned_alloc.
52929         * Versions.def: Add GLIBC_2.16 for libc.
52930         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
52932         [BZ 13527]
52933         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
52934         ISO C11.
52936         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
52937         code.
52939         [BZ #13528]
52940         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
52942         [BZ #13529]
52943         * assert/assert.h (static_assert): Define.
52945         * version.h: Update for 2.16 development version.
52947         [BZ #13526]
52948         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
52949         _ISOC11_SOURCE.
52951         * version.h (RELEASE): Bump for 2.15 release.
52952         * include/features.h (__GLIBC_MINOR__): Bump to 15.
52954         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
52955         Patch by Marek Polacek <mpolacek@redhat.com>.
52957         * bits/byteswap.h: Protect long long constants with __extension__.
52958         * sysdeps/i386/bits/byteswap.h: Likewise.
52959         * sysdeps/ia64/bits/byteswap.h: Likewise.
52960         * sysdeps/s390/bits/byteswap.h: Likewise.
52961         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52963 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52965         [BZ #13540]
52966         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
52967         destination buffer.
52968         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
52970 2011-12-23  Marek Polacek  <polacek@redhat.com>
52972         * elf/dl-addr.c (determine_info): Add inline keyword.
52973         * elf/tst-auditmod4b.c (check_avx): Likewise.
52974         * elf/tst-auditmod6b.c (check_avx): Likewise.
52975         * elf/tst-auditmod6c.c (check_avx): Likewise.
52976         * elf/tst-auditmod7b.c (check_avx): Likewise.
52978 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
52980         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
52981         !__SSE_MATH__.
52983 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52985         [BZ #13540]
52986         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
52987         processing for last bytes.
52989 2011-08-06  Bruno Haible  <bruno@clisp.org>
52991         [BZ #13061]
52992         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
52993         U+0385, not to U+1FEE.
52995         [BZ #13062]
52996         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
52997         entry for U+00A5 U+0301.
52999 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
53001         [BZ #13166]
53002         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
53003         buffer for the output is too small.
53005         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
53006         optimization.
53008         [BZ #13185]
53009         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
53010         SSE flags if possible.
53012 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53014         [BZ #13540]
53015         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
53016         processing for last bytes.
53018 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
53020         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
53021         (syscall-list-default-options, syscall-list-default-condition)
53022         (syscall-list-includes): Define.
53023         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
53024         list of ABIs and options and #if conditions for each ABI.  Do not
53025         handle common syscalls between ABIs specially.
53026         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
53027         Remove.
53028         (syscall-list-variants, syscall-list-32bit-options)
53029         (syscall-list-32bit-condition, syscall-list-64bit-options)
53030         (syscall-list-64bit-condition): Define.
53031         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
53032         (syscall-list-variants, syscall-list-32bit-options)
53033         (syscall-list-32bit-condition, syscall-list-64bit-options)
53034         (syscall-list-64bit-condition): Define.
53035         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
53036         Remove.
53037         (syscall-list-variants, syscall-list-32bit-options)
53038         (syscall-list-32bit-condition, syscall-list-64bit-options)
53039         (syscall-list-64bit-condition): Define.
53040         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
53041         Remove.
53042         (syscall-list-variants, syscall-list-32bit-options)
53043         (syscall-list-32bit-condition, syscall-list-64bit-options)
53044         (syscall-list-64bit-condition): Define.
53046 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
53048         * locale/iso-639.def: Add brx entry.
53050         [BZ #13328]
53051         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
53052         Proposed by Mariusz_Cukr <marcukr@op.pl>.
53054         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
53055         __feraiseexcept_renamed.
53057 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
53059         [BZ #13538]
53060         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
53061         EPOLLET with unsigned values.
53062         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53063         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53065         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
53066         to large cancellation.
53067         * math/s_cacoshf.c: Likewise.
53068         * math/s_cacoshl.c: Likewise.
53070 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
53072         [BZ #13305]
53073         [BZ #12786]
53074         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
53075         * math/s_cacoshf.c: Likewise.
53076         * math/s_cacoshl.c: Likewise.
53078 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
53080         [BZ #13439]
53081         * iconv/gconv.h: Define __GCONV_SWAP.
53082         * iconvdata/unicode.c: The swap bit must be stored in __flags.
53083         * iconvdata/utf-16.c: Likewise.
53084         * iconvdata/utf-32.c: Likewise.
53086 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
53088         [BZ #13524]
53089         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
53090         numerator after shifting it by one limb.
53092 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
53094         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
53095         under [__USE_EXTERN_INLINES].
53097 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
53099         [BZ #13446]
53100         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
53102 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53104         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
53105         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
53106         optimized code.
53107         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
53108         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
53109         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
53110         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
53111         for strncasecmp/strncasecmp_l compilation.
53112         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
53113         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
53115 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
53117         [BZ #13484]
53118         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
53119         of __asm__.
53121 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
53123         [BZ #13506]
53124         * time/tzfile.c (__tzfile_read): Check values from file header.
53126 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
53128         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
53129         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
53130         * powerpc/powerpc32/dl-start.S: Likewise.
53131         * powerpc/powerpc32/elf/start.S: Likewise.
53132         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53133         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
53134         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
53135         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
53136         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
53137         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
53138         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
53139         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53140         * powerpc/powerpc32/fpu/s_round.S: Likewise.
53141         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
53142         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
53143         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
53144         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
53145         * powerpc/powerpc32/memset.S: Likewise.
53146         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
53147         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53148         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53149         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53150         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53151         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
53152         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
53153         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
53154         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
53155         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
53156         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
53157         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53158         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53160 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53162         * math/libm-test.inc: Added more nearbyint tests.
53163         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
53164         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
53165         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
53166         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
53168 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
53170         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
53171         FD_CLOEXEC.
53173 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53175         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
53176         Add wcscpy-ssse3 wcscpy-c.
53177         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
53178         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
53179         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
53180         * sysdeps/x86_64/wcschr.S: New file.
53181         * sysdeps/x86_64/wcsrchr.S: New file.
53182         * string/test-strcmp.c: Remove checking of wcscmp function for
53183         wrong alignments.
53184         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
53185         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
53186         wcsrchr-sse2 wcsrchr-c.
53187         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
53188         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
53189         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
53190         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
53191         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
53192         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
53193         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
53194         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
53195         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
53196         * wcsmbc/wcschr.c (WCSCHR): New macro.
53198 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53200         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
53201         * wcsmbs/test-wcsrchr.c: New file.
53202         * string/test-strrchr.c: Add wcsrchr support.
53203         (WIDE): New macro.
53204         * wcsmbs/test-wcscpy.c: New file.
53205         * string/test-strcpy.c: Add wcscpy support.
53206         (WIDE): New macro.
53208 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
53210         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
53211         the inner loop.
53213 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
53215         [BZ #13472]
53216         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
53218 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
53220         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
53221         Minor optimizations.
53223         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
53224         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
53225         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
53227 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
53229         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
53230         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
53231         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
53232         for gcc to avoid warnings.
53233         * inet/Makefile (tests): Add tst-checks.
53234         * inet/tst-checks.c: New file.
53236         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
53237         warning.
53239         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
53240         __wmemcmp_sse2.
53242         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
53243         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
53245         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
53247 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
53249         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
53250         problem.
53252         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
53254 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
53256         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
53257         conditional on GCC version.
53258         (__arch_compare_and_exchange_val_8_acq)
53259         (__arch_compare_and_exchange_val_16_acq)
53260         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
53261         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
53262         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
53264 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
53266         * sysdeps/sh/backtrace.c: New file.
53268 2011-12-02  Andreas Schwab  <schwab@redhat.com>
53270         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
53271         parenthesis.
53273 2011-12-01  Andreas Schwab  <schwab@redhat.com>
53275         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
53276         falling back to utime.
53278 2011-11-30  Andreas Schwab  <schwab@redhat.com>
53280         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
53281         expectations for float.
53283 2011-11-29  Andreas Schwab  <schwab@redhat.com>
53285         * locale/weight.h (findidx): Add parameter len.
53286         * locale/weightwc.h (findidx): Likewise.
53287         * posix/fnmatch_loop.c (FCT): Adjust caller.
53288         * posix/regcomp.c (build_equiv_class): Likewise.
53289         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
53290         * posix/regexec.c (check_node_accept_bytes): Likewise.
53291         * string/strcoll_l.c (STRCOLL): Likewise.
53292         * string/strxfrm_l.c (STRXFRM): Likewise.
53294 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
53296         * Makefile.in: Remove CVSOPT handling.
53297         * configure.in: Remove use of AC_REVISION.
53298         * iconvdata/Makefile (distribute): No need to filter out CVS.
53299         * scripts/list-sources.sh: Remove CVS, subversion and monotone
53300         handling.
53302 2011-11-16  Andreas Schwab  <schwab@redhat.com>
53304         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
53305         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
53306         [USE_AS_STRNCASECMP_L]: Likewise.
53307         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
53308         NO_TLS_DIRECT_SEG_REFS.
53309         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
53310         Fix argument offsets for non-PIC.
53311         [USE_AS_STRNCASECMP_L]: Likewise.
53312         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
53313         NO_TLS_DIRECT_SEG_REFS.
53315 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
53317         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
53318         O_CLOEXEC.
53319         * locale/loadlocale.c (_nl_load_locale): Likewise.
53321 2011-11-15  Andreas Schwab  <schwab@redhat.com>
53323         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
53324         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
53325         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
53326         (SYSCALL_GETTIME): Set errno on error.
53328         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
53329         count references to noai6ai_cached.
53331 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
53333         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
53335         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
53336         FD_CLOEXEC for /proc/self/maps.
53338         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
53339         FD_CLOEXEC for /proc/meminfo.
53341         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
53342         gai.conf.
53344         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
53345         FD_CLOEXEC for given file.
53347         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
53349         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
53350         FD_CLOEXEC for /etc/hosts.
53351         (_gethtent): Likewise.
53353         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
53355         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
53356         cancellation and set FD_CLOEXEC for /etc/netgroup.
53358         * nss/nss_files/files-key.c (search): Don't allow cancellation when
53359         reading /etc/publickey.
53361         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
53362         allow cancellation when reading /etc/group.
53364         * nss/nss_files/files-alias.c (internal_setent): Don't allow
53365         cancellation.
53366         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
53368         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
53369         when using data file.
53371         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
53373         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
53374         (write_nis_obj): Use "c" and "e" in fopen.
53376         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
53378         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
53380         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
53382         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
53384         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
53385         locale.alias.
53387         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
53389         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
53391         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
53393         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
53394         file parsing and set FD_CLOEXEC.
53396 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
53398         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
53400 2011-11-14  Andreas Schwab  <schwab@redhat.com>
53402         * malloc/arena.c (arena_get2): Don't call reused_arena when
53403         _int_new_arena failed.
53405 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
53407         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
53408         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
53409         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
53410         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53411         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53412         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
53413         to compile strcasecmp and strncasecmp.
53414         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
53415         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
53417         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
53419 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
53421         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
53422         locale-defines.sym to gen-as-const-headers.
53423         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
53424         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
53425         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
53426         to compile strcasecmp and strncasecmp.
53427         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
53428         strcasecmp_l and strncasecmp_l.
53429         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
53430         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
53431         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
53432         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
53433         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
53434         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
53435         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
53436         * sysdeps/i386/i686/multiarch/strncase.S: New file.
53437         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
53438         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
53439         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
53441 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
53443         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
53444         result of SYSDEP_GETTIME_CPU to retval.
53445         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
53446         parameter list to macro.  Remove trailing semicolon.  Adjust users.
53448         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
53449         variable.
53451         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
53452         mantissa words.
53453         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
53455         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
53456         from unused variable.
53458         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
53459         DWARF definitions.
53460         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
53461         for assembling.
53463         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
53464         over namespaces.
53466         * sunrpc/rpc_prot.c (rejected): Fix case value.
53468         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
53469         unsigned long long int to avoid warnings in shift.
53471         * posix/regex_internal.c (re_string_reconstruct): Actually use result
53472         of use of trans.
53473         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
53474         variable tmp.
53476         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
53477         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
53478         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
53480         * nis/nis_table.c (nis_list): Use variable of correct type for
53481         result of __follow_path call.
53483 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53485         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
53486         of math functions ceil, trunc, floor, round, and sqrt, when
53487         avaliable on the platform.
53488         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
53489         name clash.
53490         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53491         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53492         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53494 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
53496         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
53497         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
53499 2011-11-11  Roland McGrath  <roland@hack.frob.com>
53501         * include/unistd.h: Fix __readlink return type.
53502         Reported by Chris Metcalf <cmetcalf@tilera.com>.
53504 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
53506         * stdlib/ucontext.h: Undo last change for makecontext.
53508 2011-11-11  Andreas Schwab  <schwab@redhat.com>
53510         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
53512         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
53513         * setjmp/setjmp.h: Mark functions as non-leaf.
53514         * setjmp/bits/setjmp2.h: Likewise.
53515         * stdlib/ucontext.h: Likewise.
53517 2011-11-10  Andreas Schwab  <schwab@redhat.com>
53519         * malloc/arena.c (_int_new_arena): Don't increment narenas.
53520         (reused_arena): Don't check arena limit.
53521         (arena_get2): Atomically check arena limit.
53523 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
53525         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
53526         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
53528         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
53529         instructions.
53531 2011-11-07  Andreas Schwab  <schwab@redhat.com>
53533         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
53534         handler when locking.
53536         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53537         Fix size of allocated buffer.
53539 2011-11-04  Andreas Schwab  <schwab@redhat.com>
53541         [BZ #10103]
53542         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
53543         declarations for long double functions.
53544         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
53546         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
53548 2011-11-03  Andreas Schwab  <schwab@redhat.com>
53550         * nscd/nscd.c (main): Don't start AVC thread until credentials are
53551         installed.
53553         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
53554         is disabled.
53556 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53558         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
53560 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
53562         * include/alloca.h (stackinfo_alloca_round): Define.
53563         (extend_alloca): Use it.
53564         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
53565         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
53566         here.
53568         * scripts/check-local-headers.sh: Ignore libaudit.h.
53570         * nscd/Makefile (extra-objs): Make recursively expanded.
53572 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
53574         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
53575         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53577         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
53578         * posix/tst-rfc3484-2.c: Likewise.
53579         * posix/tst-rfc3484-3.c: Likewise.
53581         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53582         process_vm_writev.
53583         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
53584         process_vm_writev.
53585         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
53586         process_vm_writev from libc using GLIBC_2.15 version.
53588         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
53590 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
53592         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
53593         stack usage.
53595 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
53597         [BZ #13367]
53598         * nss/getent.c (initgroups_keys): Show error message in case no group
53599         names are given.
53601         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
53602         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
53603         __bump_nl_timestamp.
53604         * nscd/connections (nscd_init): When host database is served open
53605         netlink socket and request notification about configuration changes.
53606         (main_loop_poll): Track netlink file descriptor and bump timestamp
53607         in case data becomes available.
53608         (main_loop_epoll): Likewise.
53609         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
53610         (database_pers_head): Add extra_data fileds.
53611         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
53612         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
53613         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
53614         Adjust caller.
53615         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
53616         in6ai data, call __free_in6ai.
53617         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
53618         Add -DHAVE_NETLINK.
53619         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
53620         interface information.  Reuse previous data if netlink timestamp
53621         is not changed.
53622         (__bump_nl_timestamp): New function.
53623         (__free_in6ai): New function.
53625 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
53627         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
53628         close_not_cancel_no_status here.
53629         (__check_pf): Reorganize code a bit to not call close twice if OOM.
53631 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
53633         [BZ #13276]
53634         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
53635         return value.
53637         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
53638         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
53639         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
53641 2011-07-03  Andreas Jaeger  <aj@suse.de>
53643         [BZ #10709]
53644         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
53645         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
53646         * math/libm-test.inc (sin_test): Add test case.
53648 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
53650         [BZ #13337]
53651         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
53652         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
53654         * elf/chroot_canon.c (chroot_canon): Cleanups.
53656         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
53658         [BZ #13335]
53659         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
53660         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
53662         * string/test-strchr.c: Make usable for strchrnul testing.
53663         * string/test-strchrnul.c: New file.
53664         * string/Makefile (strop-tests): Add strchrnul.
53666         * po/it.po: Update from translation team.
53667         * po/es.po: Likewise.
53669 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
53671         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
53672         the three constants needed as parameters.  Drop the others.
53673         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
53674         __m128i_strloadu_tolower.
53675         Create and initialize variable zero and use it in all the places
53676         where _mm_setzero_si128 was used.
53678         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
53679         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
53680         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
53681         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
53682         anymore.
53683         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
53684         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
53685         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
53686         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
53687         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
53688         __mpranred, __mptan.
53689         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
53690         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
53691         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
53692         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
53693         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
53694         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
53695         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
53696         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
53697         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
53699 2011-10-28  Andreas Schwab  <schwab@redhat.com>
53701         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
53702         redefine if SHARED.
53703         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
53705         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
53706         wide char related routines to wcsmbs subdir.
53708 2011-10-27  Andreas Schwab  <schwab@redhat.com>
53710         [BZ #13344]
53711         * misc/sys/cdefs.h (__THROWNL): Define.
53712         * posix/unistd.h: Use __THREADNL instead of __THREAD
53713         for memory synchronization functions.
53715 2011-10-26  Roland McGrath  <roland@hack.frob.com>
53717         [BZ #13349]
53718         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
53719         doesn't exist.
53720         * manual/stdio.texi (Obstack Streams): Node removed.
53722 2011-10-26  Andreas Schwab  <schwab@redhat.com>
53724         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
53725         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53726         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53728         * math/math_private.h (math_force_eval): Allow non-addressable
53729         arguments.
53730         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
53732 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
53734         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
53735         file is not needed.
53737         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
53738         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
53739         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53740         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53741         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53742         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53743         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53744         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
53745         Add AVX variants.
53746         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
53747         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
53748         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
53749         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
53750         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
53751         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
53752         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
53753         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
53754         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
53755         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
53756         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
53757         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
53758         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
53759         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
53760         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
53761         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
53762         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
53763         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
53764         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
53766         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
53767         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
53769         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
53770         place.  Use VEX encoding when compiling for AVX.
53772 2011-10-25  Andreas Schwab  <schwab@redhat.com>
53774         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
53775         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
53777         * string/test-strchr.c (do_test): Don't generate NUL bytes.
53779 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
53781         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
53782         useless if() expression.
53783         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53784         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53785         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53786         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53787         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53788         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53789         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53790         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53791         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53792         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53793         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53794         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53795         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53796         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53797         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53798         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53799         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53800         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53801         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53803         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
53805 2011-10-25  Andreas Schwab  <schwab@redhat.com>
53807         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
53808         condition.
53809         * elf/dl-fini.c (_dl_sort_fini): Likewise.
53811 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
53813         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
53814         .text section.  Avoid duplicate constants.
53815         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53816         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53817         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53818         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53819         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53820         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53821         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53822         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53823         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53824         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
53825         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53826         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53827         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53828         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53829         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
53830         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53831         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
53832         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53833         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53834         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53835         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53836         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53837         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53838         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
53839         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
53840         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
53841         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
53842         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
53843         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
53844         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
53845         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
53846         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
53847         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53848         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
53849         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
53850         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
53851         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
53852         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
53853         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
53854         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
53855         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
53856         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
53857         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
53858         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
53859         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
53861 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
53863         * sysdeps/x86_64/dla.h: Move to ...
53864         * sysdeps/x86_64/fpu/dla.h: ...here.
53865         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
53866         situations.  Use __builtin_fma only for gcc 4.6 and up.
53868         * config.make.in: Add have-mfma4 entry.
53869         * configure.in: Substitute libc_cv_cc_fma4.
53870         * math/Makefile (dbl-only-routines): Add sincostab.
53871         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
53872         Use __sincostab not sincos.
53873         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
53874         name is a macro.
53875         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53876         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53877         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53878         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
53879         using __copysign.
53880         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
53881         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
53882         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
53883         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
53884         and __inv.
53885         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
53886         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
53887         __copysign.
53888         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
53889         define aliases when function name is a macro.
53890         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
53891         sysdeps/ieee754/dbl-64/sincos.tbl.
53892         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
53893         fma4-enabled routines.
53894         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
53895         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
53896         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
53897         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
53898         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
53899         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
53900         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
53901         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
53902         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
53903         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
53904         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
53905         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
53906         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
53907         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
53908         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
53909         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
53910         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
53911         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
53912         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
53913         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
53914         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
53915         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
53916         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
53917         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
53918         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
53919         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
53920         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
53921         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
53922         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
53923         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
53925         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
53926         rename.
53927         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53928         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53929         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53930         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53931         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53932         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53933         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53934         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53936 2011-10-24  Andreas Schwab  <schwab@redhat.com>
53938         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
53940 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
53942         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
53944         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
53945         prediction.
53946         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
53948         * string/strnlen.c: Don't define STRNLEN, reverse logic.
53949         Remove unused variable magic_bits.
53950         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
53952         * string/strnlen.c: Define and use STRNLEN macro.
53953         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
53954         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
53955         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
53956         * wcsmbs/wcslen.c: Define and use WCSLEN.
53957         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
53958         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
53959         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
53960         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
53961         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
53962         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
53963         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53965 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53967         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53968         strnlen-sse2-no-bsf.
53969         Rename strlen-no-bsf to strlen-sse2-no-bsf.
53970         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
53971         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
53972         Add strnlen support.
53973         (USE_AS_STRNLEN): New macro.
53974         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
53975         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
53976         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
53977         * sysdeps/x86_64/wcslen.S: New file.
53979 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
53981         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53982         XMM-moves are used for copying on small sizes.
53984 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53986         * wcsmbs/Makefile (strop-tests): Add wcschr.
53987         * wcsmbs/test-wcschr.c: New file.
53988         * string/test-strchr.c: Update.
53989         Add wcschr support.
53990         (WIDE): New macro.
53992 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53994         * wcsmbs/Makefile (strop-tests): Add wcslen.
53995         * wcsmbs/test-wcslen.c: New file.
53996         * string/test-strlen.c: Update.
53997         Add wcslen support.
53998         (WIDE): New macro.
54000 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
54002         * po/it.po: Update from translation team.
54004 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54006         * sysdeps/x86_64/wcscmp.S: Update.
54007         Fix wrong comparison semantics.
54008         wcscmp shall use signed comparison not unsigned.
54009         Don't use substraction to avoid overflow bug.
54010         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
54011         * wcsmbc/wcscmp.c: Likewise.
54012         * string/test-strcmp.c: Likewise.
54013         Add new tests to check cases with negative values.
54015 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
54017         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
54018         * sysdeps/x86_64/dla.h: ...here.  New file.
54019         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
54020         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54021         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54022         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54023         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54024         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54025         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54026         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54027         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54029 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
54031         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
54032         __ynl_finite aliases.
54034 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
54036         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54038         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
54039         define DLA_FMA.
54040         [DLA_FMA] (EMULV): Use DLA_FMA.
54041         [DLA_FMA] (MUL12): Use EMULV.
54042         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
54043         that are not needed.
54044         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54045         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54046         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54047         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54048         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54049         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54050         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54052 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
54054         * math/s_nan.c: Undef __nan.
54055         * math/s_nanf.c: Undef __nanf.
54056         * math/s_nanl.c: Undef __nanl.
54057         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
54058         "math_private.h".
54060 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
54062         * math/s_catan.c: Add branch predictions.
54063         * math/s_catanf.c: Likewise.
54064         * math/s_catanh.c: Likewise.
54065         * math/s_catanhf.c: Likewise.
54066         * math/s_catanhl.c: Likewise.
54067         * math/s_catanl.c: Likewise.
54068         * math/s_cexp.c: Likewise.
54069         * math/s_cexpf.c: Likewise.
54070         * math/s_cexpl.c: Likewise.
54071         * math/s_clog.c: Likewise.
54072         * math/s_clog10.c: Likewise.
54073         * math/s_clog10f.c: Likewise.
54074         * math/s_clog10l.c: Likewise.
54075         * math/s_clogf.c: Likewise.
54076         * math/s_clogl.c: Likewise.
54077         * math/s_csqrt.c: Likewise.
54078         * math/s_csqrtf.c: Likewise.
54079         * math/s_csqrtl.c: Likewise.
54080         * math/s_ctanf.c: Likewise.
54081         * math/s_ctanh.c: Likewise.
54082         * math/s_ctanhf.c: Likewise.
54083         * math/s_ctanhl.c: Likewise.
54084         * math/s_ctanl.c: Likewise.
54086         * math/math_private.h: Define __nan, __nanf, __nanl.
54087         * math/s_cacosh.c: Include <math_private.h>.
54088         * math/s_cacoshl.c: Likewise.
54089         * math/s_casinh.c: Likewise.
54090         * math/s_casinhf.c: Likewise.
54091         * math/s_casinhl.c: Likewise.
54092         * math/s_ccos.c: Rely entire on ccosh.
54093         * math/s_ccosf.c: Rely entire on ccoshf.
54094         * math/s_ccosl.c: Rely entirely on ccoshl.
54095         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
54096         Remove tests for FE_INVALID.
54097         * math/s_ccoshf.c: Likewise.
54098         * math/s_ccoshl.c: Likewise.
54099         * math/s_csin.c: Likewise.
54100         * math/s_csinf.c: Likewise.
54101         * math/s_csinh.c Likewise.
54102         * math/s_csinhf.c: Likewise.
54103         * math/s_csinhl.c: Likewise.
54104         * math/s_csinl.c: Likewise.
54105         * math/s_ctan.c: Likewise.
54106         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
54107         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
54108         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
54110 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
54112         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
54113         compilation problems.
54115         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
54116         __builtin_expect.
54118 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
54120         * sysdeps/i386/configure.in: Test for -mfma4 option.
54121         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
54122         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
54123         COMMON_CPUID_INDEX_80000001.
54124         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
54125         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
54126         use it if FMA3 is not supported.
54127         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
54129         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
54130         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54132 2011-10-20  Andreas Schwab  <schwab@redhat.com>
54134         [BZ #12892]
54135         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
54136         it would create a cycle with a link time dependency.
54138 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
54140         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
54141         instruction.
54142         * string/Makefile (strop-tests): Add rawmemchr.
54143         * string/test-rawmemchr.c: New file.
54145         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
54146         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
54147         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
54148         when compiling str{,n}casecmp and when AVX is available.  Hook up
54149         new optimized code in initializers.
54151 2011-10-19  Andreas Schwab  <schwab@redhat.com>
54153         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
54154         __feraiseexcept instead of feraiseexcept.
54156 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
54158         * math/math_private.h: Define defaults for libc_fetestexcept and
54159         libc_feupdateenv.
54160         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
54161         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
54162         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54163         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54164         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54165         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54166         libc_fetestexcept and libc_feupdateenv.
54168         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
54169         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
54170         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
54171         * sysdeps/x86_64/fpu/math_private.h: Define special version of
54172         libc_feholdexcept_setround.
54174         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
54175         Add s_nearbyint-c and s_nearbyintf-c.
54176         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
54177         nearbyintf inlines.
54178         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
54179         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
54180         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
54181         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
54183         * math/math_private.h: Define defaults for libc_fegetround,
54184         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
54185         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
54186         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
54187         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
54188         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
54189         standard functions.
54190         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54191         Remove comments and hacks for old compiler versions.
54192         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54193         libc_fegetround, libc_fesetround, libc_feholdexcept, and
54194         libc_feholdexceptl.
54196 2011-10-18  Andreas Schwab  <schwab@redhat.com>
54198         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
54199         (__feraiseexcept_renamed): Add __NTH.
54200         (feraiseexcept): Add __NTH.  Rename local variables to fix
54201         namespace violations.
54203 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
54205         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
54207         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
54209         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
54210         recently added interfaces.
54211         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
54213         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
54214         about macro parameter expansion.
54216         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
54217         __NO_MATH_INLINES is defined.  Cleanups.
54219         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
54220         and __floorf is target has SSE4.1.
54221         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
54222         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
54223         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
54224         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
54226         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
54227         name.
54228         (floorf): Likewise.
54230         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
54232 2011-10-17  Andreas Schwab  <schwab@redhat.com>
54234         * misc/sys/cdefs.h: Fix last change.
54236         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
54237         database lookup.
54239 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
54241         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
54243         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
54244         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54245         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54246         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54247         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54248         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54249         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54250         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54251         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54252         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
54253         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
54254         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
54255         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
54256         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
54257         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
54258         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
54259         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
54260         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
54261         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
54262         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
54263         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
54264         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
54266         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
54267         ceil, ceilf, floor, floorf.
54269         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
54270         Perform IRELATIVE relocations last.
54272         * elf/do-rel.h: Add another parameter nrelative, replacing the
54273         local variable with the same name.  Change name of the function
54274         to end in Rel or Rela (uppercase).
54275         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
54276         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
54277         elf_dynamic_do_##reloc function.
54279 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
54281         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
54282         is sufficient, at least on modern CPUs.
54284         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
54286         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
54287         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
54289         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
54290         __expl_finite.
54291         * math/bits/math-finite.h: Add entries for exp.
54292         * math/e_expl.c: Add __*_finite alias.
54293         * sysdeps/i386/fpu/e_exp.S: Likewise.
54294         * sysdeps/i386/fpu/e_expf.S: Likewise.
54295         * sysdeps/i386/fpu/e_expl.c: Likewise.
54296         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54297         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54298         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54299         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54300         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
54301         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54302         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54304         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
54305         is sufficient, at least on modern CPUs.
54307         * ctype/ctype-info.c (__ctype_init): Define.
54308         * include/ctype.h (__ctype_init): Declare.
54309         (__ctype_b_loc): The variable is always initialized.
54310         (__ctype_toupper_loc): Likewise.
54311         (__ctype_tolower_loc): Likewise.
54312         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
54313         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
54315 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
54317         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
54319         * configure.in: Also look in $cxxmachine/include for C++ system
54320         headers.
54322 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54324         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
54325         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
54326         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
54327         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
54328         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
54329         (USE_AS_WMEMCMP): New macro.
54330         Fixing indents.
54331         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
54332         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
54333         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
54334         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
54335         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54336         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
54337         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
54338         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
54339         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
54340         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
54341         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
54342         (USE_AS_WMEMCMP): New macro.
54343         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
54344         * sysdeps/string/test-memcmp.c: Update.
54345         Fix simple_wmemcmp.
54346         Add new tests.
54347         * wcsmbs/wmemcmp.c: Update.
54348         (WMEMCMP): New macro.
54349         Fix overflow bug.
54351 2011-10-12  Andreas Jaeger  <aj@suse.de>
54353         [BZ #13268]
54354         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
54356 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
54358         * libio/iofwide.c (do_length): Avoid warning.
54360         * ctype/ctype.h (__isctype_f): Add missing __THROW.
54362 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
54364         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
54366         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
54367         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
54368         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
54369         * sysdeps/i386/i686/fpu/e_log.S: New file.
54370         * sysdeps/i386/i686/fpu/e_logf.S: New file.
54371         * sysdeps/i386/i686/fpu/e_logl.S: New file.
54373         * ctype/ctype.h: Add support for inlined isXXX functions when
54374         compiling C++ code.
54376 2011-10-14  Andreas Schwab  <schwab@redhat.com>
54378         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54380         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
54382 2011-10-13  Roland McGrath  <roland@hack.frob.com>
54384         [BZ #13291]
54385         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
54387 2011-10-13  Andreas Schwab  <schwab@redhat.com>
54389         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
54390         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
54391         feraiseexcept.
54393         * sysdeps/x86_64/memrchr.S: Check for zero size.
54395         * string/stratcliff.c: Add memrchr tests.
54397 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54399         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54400         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
54401         rawmemchr-sse2 rawmemchr-sse2-bsf.
54402         * sysdeps/i386/i686/multiarch/memchr.S: New file.
54403         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
54404         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
54405         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
54406         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
54407         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
54408         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
54409         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
54410         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
54411         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
54412         * string/memrchr.c (MEMRCHR): New macro.
54414 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
54416         Add integration with gcc's -ffinite-math-only and optimize wrapper
54417         functions in libm.
54418         * Versions.def: Define GLIBC_2.15 version for libm.
54419         * math/Makefile (headers): Add bits/math-finite.h.
54420         * math/bits/math-finite.h: New file.
54421         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
54422         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
54423         * math/e_acoshl.c: Add __*_finite alias.
54424         * math/e_acosl.c: Likewise.
54425         * math/e_asinl.c: Likewise.
54426         * math/e_atan2l.c: Likewise.
54427         * math/e_atanhl.c: Likewise.
54428         * math/e_coshl.c: Likewise.
54429         * math/e_exp10.c: Likewise.
54430         * math/e_exp10f.c: Likewise.
54431         * math/e_exp10l.c: Likewise.
54432         * math/e_exp2l.c: Likewise.
54433         * math/e_fmodl.c: Likewise.
54434         * math/e_gammal_r.c: Likewise.
54435         * math/e_hypotl.c: Likewise.
54436         * math/e_j0l.c: Likewise.
54437         * math/e_j1l.c: Likewise.
54438         * math/e_jnl.c: Likewise.
54439         * math/e_lgammal_r.c: Likewise.
54440         * math/e_log10l.c: Likewise.
54441         * math/e_log2l.c: Likewise.
54442         * math/e_logl.c: Likewise.
54443         * math/e_powl.c: Likewise.
54444         * math/e_sinhl.c: Likewise.
54445         * math/e_sqrtl.c: Likewise.
54446         * math/e_scalb.c: Completely rewritten and optimized.
54447         * math/e_scalbf.c: Likewise.
54448         * math/e_scalbl.c: Likewise.
54449         * math/w_acos.c: Likewise.
54450         * math/w_acosf.c: Likewise.
54451         * math/w_acosl.c: Likewise.
54452         * math/w_acosh.c: Likewise.
54453         * math/w_acoshf.c: Likewise.
54454         * math/w_acoshl.c: Likewise.
54455         * math/w_asin.c: Likewise.
54456         * math/w_asinf.c: Likewise.
54457         * math/w_asinl.c: Likewise.
54458         * math/w_atan2.c: Likewise.
54459         * math/w_atan2f.c: Likewise.
54460         * math/w_atan2l.c: Likewise.
54461         * math/w_atanh.c: Likewise.
54462         * math/w_atanhf.c: Likewise.
54463         * math/w_atanhl.c: Likewise.
54464         * math/w_exp10.c: Likewise.
54465         * math/w_exp10f.c: Likewise.
54466         * math/w_exp10l.c: Likewise.
54467         * math/w_fmod.c: Likewise.
54468         * math/w_fmodf.c: Likewise.
54469         * math/w_fmodl.c: Likewise.
54470         * math/w_j0.c: Likewise.
54471         * math/w_j0f.c: Likewise.
54472         * math/w_j0l.c: Likewise.
54473         * math/w_j1.c: Likewise.
54474         * math/w_j1f.c: Likewise.
54475         * math/w_j1l.c: Likewise.
54476         * math/w_jn.c: Likewise.
54477         * math/w_jnf.c: Likewise.
54478         * math/w_log.c: Likewise.
54479         * math/w_logf.c: Likewise.
54480         * math/w_logl.c: Likewise.
54481         * math/w_log10.c: Likewise.
54482         * math/w_log10f.c: Likewise.
54483         * math/w_log10l.c: Likewise.
54484         * math/w_log2.c: Likewise.
54485         * math/w_log2f.c: Likewise.
54486         * math/w_log2l.c: Likewise.
54487         * math/w_pow.c: Likewise.
54488         * math/w_powf.c: Likewise.
54489         * math/w_powl.c: Likewise.
54490         * math/w_remainder.c: Likewise.
54491         * math/w_remainderf.c: Likewise.
54492         * math/w_remainderl.c: Likewise.
54493         * math/w_scalb.c: Likewise.
54494         * math/w_scalbf.c: Likewise.
54495         * math/w_scalbl.c: Likewise.
54496         * math/w_sqrt.c: Likewise.
54497         * math/w_sqrtf.c: Likewise.
54498         * math/w_sqrtl.c: Likewise.
54499         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
54500         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
54501         used.
54502         * math/math_private.h: Declare __kernel_standard_f.
54503         * math/w_cosh.c: Remove cruft and optimize a bit.
54504         * math/w_coshf.c: Likewise.
54505         * math/w_coshl.c: Likewise.
54506         * math/w_exp2.c: Likewise.
54507         * math/w_exp2f.c: Likewise.
54508         * math/w_exp2l.c: Likewise.
54509         * math/w_hypot.c: Likewise.
54510         * math/w_hypotf.c: Likewise.
54511         * math/w_hypotl.c: Likewise.
54512         * math/w_lgamma.c: Likewise.
54513         * math/w_lgamma_r.c: Likewise.
54514         * math/w_lgammaf.c: Likewise.
54515         * math/w_lgammaf_r.c: Likewise.
54516         * math/w_lgammal.c: Likewise.
54517         * math/w_lgammal_r.c: Likewise.
54518         * math/w_sinh.c: Likewise.
54519         * math/w_sinhf.c: Likewise.
54520         * math/w_sinhl.c: Likewise.
54521         * math/w_tgamma.c: Likewise.
54522         * math/w_tgammaf.c: Likewise.
54523         * math/w_tgammal.c: Likewise.
54524         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54525         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54526         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
54527         Minor optimizations.  Pretty printing.  Remove cruft.
54528         * sysdeps/i386/fpu/e_acosf.S: Likewise.
54529         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54530         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54531         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54532         * sysdeps/i386/fpu/e_acosl.c: Likewise.
54533         * sysdeps/i386/fpu/e_asin.S: Likewise.
54534         * sysdeps/i386/fpu/e_asinf.S: Likewise.
54535         * sysdeps/i386/fpu/e_atan2.S: Likewise.
54536         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
54537         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
54538         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54539         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54540         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54541         * sysdeps/i386/fpu/e_exp10.S: Likewise.
54542         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
54543         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
54544         * sysdeps/i386/fpu/e_exp2.S: Likewise.
54545         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
54546         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
54547         * sysdeps/i386/fpu/e_fmod.S: Likewise.
54548         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
54549         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
54550         * sysdeps/i386/fpu/e_hypot.S: Likewise.
54551         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
54552         * sysdeps/i386/fpu/e_log.S: Likewise.
54553         * sysdeps/i386/fpu/e_log10.S: Likewise.
54554         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54555         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54556         * sysdeps/i386/fpu/e_log2.S: Likewise.
54557         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54558         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54559         * sysdeps/i386/fpu/e_logf.S: Likewise.
54560         * sysdeps/i386/fpu/e_logl.S: Likewise.
54561         * sysdeps/i386/fpu/e_pow.S: Likewise.
54562         * sysdeps/i386/fpu/e_powf.S: Likewise.
54563         * sysdeps/i386/fpu/e_powl.S: Likewise.
54564         * sysdeps/i386/fpu/e_remainder.S: Likewise.
54565         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
54566         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
54567         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54568         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54569         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54570         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
54571         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
54572         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
54573         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54574         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54575         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54576         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54577         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54578         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54579         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
54580         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54581         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54582         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54583         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54584         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54585         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54586         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54587         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54588         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54589         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54590         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54591         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54592         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54593         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54594         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54595         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54596         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54597         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54598         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54599         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54600         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54601         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
54602         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54603         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54604         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54605         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54606         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54607         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54608         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54609         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54610         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54611         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54612         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54613         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54614         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54615         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54616         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54617         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54618         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54619         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54620         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54621         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54622         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
54623         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54624         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54625         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54626         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54627         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54628         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54629         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54630         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54631         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54632         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54633         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54634         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54635         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54636         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54637         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54638         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54639         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54640         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54641         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
54642         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54643         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54644         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54645         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54646         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54647         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54648         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54649         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54650         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54651         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54652         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54653         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54654         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54655         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
54656         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54657         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54658         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54659         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54660         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54661         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54662         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54663         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54664         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54665         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54666         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
54667         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54668         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54669         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54670         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
54671         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
54672         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
54673         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
54674         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
54675         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
54676         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
54677         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54678         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54679         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54680         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54681         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
54682         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54683         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
54684         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
54685         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
54686         (__isnanf): Likewise.
54687         (__isinf_ns): Likewise.
54688         (__isinf_nsf): Likewise.
54689         (__finite): Likewise.
54690         (__finitef): Likewise.
54691         (__ieee754_sqrt): Define as macro.
54692         (__ieee754_sqrtf): Define as macro.
54693         (__ieee754_sqrtl): Define as macro.
54694         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
54695         inlined copy.
54696         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
54697         __FINITE_MATH_ONLY__ consistent.
54698         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
54700 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
54702         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
54703         of rawmemchr.
54705         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
54707 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
54709         * po/ja.po: Update from translation team.
54711 2011-10-08  Roland McGrath  <roland@hack.frob.com>
54713         * locale/programs/locarchive.c (prepare_address_space): New function.
54714         (create_archive, enlarge_archive, open_archive): Use it.
54716         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
54717         inside [SHARED], where it is used.
54719         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
54721         * nss/getent.c (netgroup_keys): Remove unused variable.
54722         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54724 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
54726         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
54727         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
54728         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
54729         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
54730         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
54731         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
54732         * math/Makefile (libm-calls): Add s_isinf_ns.
54733         * math/divtc3.c: Use __isinf_nsl instead of isinf.
54734         * math/multc3.c: Likewise.
54735         * math/s_casin.c: Likewise.
54736         * math/s_casinf.c: Likewise.
54737         * math/s_casinl.c: Likewise.
54738         * math/s_ccos.c: Likewise.
54739         * math/s_ccosf.c: Likewise.
54740         * math/s_ccosl.c: Likewise.
54741         * math/s_ctan.c: Likewise.
54742         * math/s_ctanf.c: Likewise.
54743         * math/s_ctanh.c: Likewise.
54744         * math/s_ctanhf.c: Likewise.
54745         * math/s_ctanhl.c: Likewise.
54746         * math/s_ctanl.c: Likewise.
54747         * math/w_fmod.c: Likewise.
54748         * math/w_fmodf.c: Likewise.
54749         * math/w_fmodl.c: Likewise.
54750         * math/w_remainder.c: Likewise.
54751         * math/w_remainderf.c: Likewise.
54752         * math/w_remainderl.c: Likewise.
54753         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
54754         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
54755         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
54756         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
54757         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
54758         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
54759         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
54760         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
54762         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
54763         of the number.
54764         * stdio-common/printf_fphex.c: Likewise.
54765         * stdio-common/printf_size.c: Likewise.
54767         * math/e_exp10.c: Include math_private.h using <...> not "...".
54768         * math/e_exp10f.c: Likewise.
54769         * math/e_exp10l.c: Likewise.
54770         * math/e_exp2l.c: Likewise.
54771         * math/e_j0l.c: Likewise.
54772         * math/e_j1l.c: Likewise.
54773         * math/e_jnl.c: Likewise.
54774         * math/e_lgammal_r.c: Likewise.
54775         * math/e_rem_pio2l.c: Likewise.
54776         * math/e_scalb.c: Likewise.
54777         * math/e_scalbf.c: Likewise.
54778         * math/e_scalbl.c: Likewise.
54779         * math/k_cosl.c: Likewise.
54780         * math/k_sinl.c: Likewise.
54781         * math/k_tanl.c: Likewise.
54782         * math/s_cacoshf.c: Likewise.
54783         * math/s_catan.c: Likewise.
54784         * math/s_catanf.c: Likewise.
54785         * math/s_catanh.c: Likewise.
54786         * math/s_catanhf.c: Likewise.
54787         * math/s_catanhl.c: Likewise.
54788         * math/s_catanl.c: Likewise.
54789         * math/s_ccosh.c: Likewise.
54790         * math/s_ccoshf.c: Likewise.
54791         * math/s_ccoshl.c: Likewise.
54792         * math/s_cexp.c: Likewise.
54793         * math/s_cexpf.c: Likewise.
54794         * math/s_cexpl.c: Likewise.
54795         * math/s_clog.c: Likewise.
54796         * math/s_clog10.c: Likewise.
54797         * math/s_clog10f.c: Likewise.
54798         * math/s_clog10l.c: Likewise.
54799         * math/s_clogf.c: Likewise.
54800         * math/s_clogl.c: Likewise.
54801         * math/s_csin.c: Likewise.
54802         * math/s_csinf.c: Likewise.
54803         * math/s_csinh.c: Likewise.
54804         * math/s_csinhf.c: Likewise.
54805         * math/s_csinhl.c: Likewise.
54806         * math/s_csinl.c: Likewise.
54807         * math/s_csqrt.c: Likewise.
54808         * math/s_csqrtf.c: Likewise.
54809         * math/s_csqrtl.c: Likewise.
54810         * math/s_ctan.c: Likewise.
54811         * math/s_ctanf.c: Likewise.
54812         * math/s_ctanh.c: Likewise.
54813         * math/s_ctanhf.c: Likewise.
54814         * math/s_ctanhl.c: Likewise.
54815         * math/s_ctanl.c: Likewise.
54816         * math/s_ldexp.c: Likewise.
54817         * math/s_ldexpf.c: Likewise.
54818         * math/s_ldexpl.c: Likewise.
54819         * math/s_significand.c: Likewise.
54820         * math/s_significandf.c: Likewise.
54821         * math/s_significandl.c: Likewise.
54822         * math/w_acos.c: Likewise.
54823         * math/w_acosf.c: Likewise.
54824         * math/w_acosh.c: Likewise.
54825         * math/w_acoshf.c: Likewise.
54826         * math/w_acoshl.c: Likewise.
54827         * math/w_acosl.c: Likewise.
54828         * math/w_asin.c: Likewise.
54829         * math/w_asinf.c: Likewise.
54830         * math/w_asinl.c: Likewise.
54831         * math/w_atan2.c: Likewise.
54832         * math/w_atan2f.c: Likewise.
54833         * math/w_atan2l.c: Likewise.
54834         * math/w_atanh.c: Likewise.
54835         * math/w_atanhf.c: Likewise.
54836         * math/w_atanhl.c: Likewise.
54837         * math/w_cosh.c: Likewise.
54838         * math/w_coshf.c: Likewise.
54839         * math/w_coshl.c: Likewise.
54840         * math/w_dremf.c: Likewise.
54841         * math/w_exp10.c: Likewise.
54842         * math/w_exp10f.c: Likewise.
54843         * math/w_exp10l.c: Likewise.
54844         * math/w_exp2.c: Likewise.
54845         * math/w_exp2f.c: Likewise.
54846         * math/w_fmod.c: Likewise.
54847         * math/w_fmodf.c: Likewise.
54848         * math/w_fmodl.c: Likewise.
54849         * math/w_hypot.c: Likewise.
54850         * math/w_hypotf.c: Likewise.
54851         * math/w_hypotl.c: Likewise.
54852         * math/w_j0.c: Likewise.
54853         * math/w_j0f.c: Likewise.
54854         * math/w_j0l.c: Likewise.
54855         * math/w_j1.c: Likewise.
54856         * math/w_j1f.c: Likewise.
54857         * math/w_j1l.c: Likewise.
54858         * math/w_jn.c: Likewise.
54859         * math/w_jnf.c: Likewise.
54860         * math/w_jnl.c: Likewise.
54861         * math/w_lgamma.c: Likewise.
54862         * math/w_lgamma_r.c: Likewise.
54863         * math/w_lgammaf.c: Likewise.
54864         * math/w_lgammaf_r.c: Likewise.
54865         * math/w_lgammal.c: Likewise.
54866         * math/w_lgammal_r.c: Likewise.
54867         * math/w_log.c: Likewise.
54868         * math/w_log10.c: Likewise.
54869         * math/w_log10f.c: Likewise.
54870         * math/w_log10l.c: Likewise.
54871         * math/w_log2.c: Likewise.
54872         * math/w_log2f.c: Likewise.
54873         * math/w_log2l.c: Likewise.
54874         * math/w_logf.c: Likewise.
54875         * math/w_logl.c: Likewise.
54876         * math/w_pow.c: Likewise.
54877         * math/w_powf.c: Likewise.
54878         * math/w_powl.c: Likewise.
54879         * math/w_remainder.c: Likewise.
54880         * math/w_remainderf.c: Likewise.
54881         * math/w_remainderl.c: Likewise.
54882         * math/w_scalb.c: Likewise.
54883         * math/w_scalbf.c: Likewise.
54884         * math/w_scalbl.c: Likewise.
54885         * math/w_sinh.c: Likewise.
54886         * math/w_sinhf.c: Likewise.
54887         * math/w_sinhl.c: Likewise.
54888         * math/w_sqrt.c: Likewise.
54889         * math/w_sqrtf.c: Likewise.
54890         * math/w_sqrtl.c: Likewise.
54891         * math/w_tgamma.c: Likewise.
54892         * math/w_tgammaf.c: Likewise.
54893         * math/w_tgammal.c: Likewise.
54895         * po/ja.po: Update from translation team.
54897 2011-09-29  Andreas Jaeger  <aj@suse.de>
54899         [BZ #13179]
54900         * sunrpc/netname.c (netname2host): Fix logic.
54902         [BZ #6779]
54903         [BZ #6783]
54904         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
54905         correctly.
54906         * math/w_remainder.c (__remainder): Likewise.
54907         * math/w_remainderf.c (__remainderf): Likewise.
54908         * math/libm-test.inc (remainder_test): Add test cases.
54910 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54912         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
54913         sdiv_qrnnd.
54915 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
54917         * string/test-memcmp.c: Avoid unncessary #defines.
54918         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54920 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54922         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
54923         Use new sse2 version for core i3 - i7 as it's faster
54924         than sse42 version.
54925         (bit_Prefer_PMINUB_for_stringop): New.
54926         * sysdeps/x86_64/rawmemchr.S: Update.
54927         Replace with faster SSE2 version.
54928         * sysdeps/x86_64/memrchr.S: New file.
54929         * sysdeps/x86_64/memchr.S: Update.
54930         Replace with faster SSE2 version.
54932 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
54934         * elf/dl-load.c (lose): Add cast to avoid warning.
54936 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
54938         * po/ca.po: Update from translation team.
54940         * inet/getnetgrent_r.c: Hook up nscd.
54941         * nscd/Makefile (routines): Add nscd_netgroup.
54942         (nscd-modules): Add netgroupcache.
54943         (CFLAGS-netgroupcache.c): Define.
54944         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
54945         (cache_search): Add const to second parameter.
54946         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
54947         INNETGR.
54948         (dbs): Add netgrdb entry.
54949         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
54950         (verify_persistent_db): Handle netgrdb.
54951         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
54952         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
54953         GETFDNETGR.
54954         (netgroup_response_header): Define.
54955         (innetgroup_response_header): Define.
54956         (datahead): Add netgroup_response_header and innetgroup_response_header
54957         elements.
54958         * nscd/nscd.conf: Add entries for netgroup cache.
54959         * nscd/nscd.h (dbtype): Add netgrdb.
54960         (_PATH_NSCD_NETGROUP_DB): Define.
54961         (netgroup_iov_disabled): Declare.
54962         (xmalloc, xcalloc, xrealloc): Move declarations here.
54963         (cache_search): Adjust prototype.
54964         Add netgroup-related prototypes.
54965         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
54966         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
54967         (__nscd_innetgr): Declare.
54968         * nscd/selinux.c (perms): Use access_vector_t as element type and
54969         add netgroup-related initializers.
54970         * nscd/netgroupcache.c: New file.
54971         * nscd/nscd_netgroup.c: New file.
54972         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
54973         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
54974         For four parameters use innetgr.
54975         * nss/nss_files/files-init.c: Add definition and callback for netgr.
54976         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
54977         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
54978         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
54980         * nscd/connections.c (register_traced_file): Don't register file
54981         for disabled databases.
54983 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
54985         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
54987         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
54988         from tree and freeing node.
54990 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
54992         * nss/nsswitch.c (__nss_database_lookup): Handle
54993         nss_parse_service_list out of memory case.
54995 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
54997         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
54998         out of memory case.
55000 2011-10-04  Andreas Schwab  <schwab@redhat.com>
55002         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
55003         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
55004         pass it down.
55005         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
55006         elf_machine_rela, elf_machine_lazy_rel.
55007         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
55008         (ELF_DYNAMIC_DO_REL): Likewise.
55009         (ELF_DYNAMIC_DO_RELA): Likewise.
55010         (ELF_DYNAMIC_RELOCATE): Likewise.
55011         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
55012         to ELF_DYNAMIC_DO_REL.
55013         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
55014         (dl_main): In trace mode always set __RTLD_NOIFUNC.
55015         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
55016         elf_machine_rela.
55017         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
55018         skip_ifunc, don't call ifunc function if non-zero.
55019         (elf_machine_rela): Likewise.
55020         (elf_machine_lazy_rel): Likewise.
55021         (elf_machine_lazy_rela): Likewise.
55022         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
55023         (elf_machine_lazy_rel): Likewise.
55024         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
55025         Likewise.
55026         (elf_machine_lazy_rel): Likewise.
55027         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55028         Likewise.
55029         (elf_machine_lazy_rel): Likewise.
55030         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
55031         (elf_machine_lazy_rel): Likewise.
55032         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
55033         (elf_machine_lazy_rel): Likewise.
55034         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55035         (elf_machine_lazy_rel): Likewise.
55036         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
55037         (elf_machine_lazy_rel): Likewise.
55038         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
55039         (elf_machine_lazy_rel): Likewise.
55040         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55041         (elf_machine_lazy_rel): Likewise.
55043 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
55045         * nss/nss_files/files-init.c (_nss_files_init): Use static
55046         initialization for all the *_traced_file variables.
55048 2011-09-28  Andreas Schwab  <schwab@redhat.com>
55050         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55052 2011-09-27  Roland McGrath  <roland@hack.frob.com>
55054         [BZ #13226]
55055         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
55057 2011-09-27  Andreas Schwab  <schwab@redhat.com>
55059         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55060         Reread the line before reparsing it.
55062 2011-09-26  Andreas Schwab  <schwab@redhat.com>
55064         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
55066 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
55067             Maxim Kuvyrkov  <maxim@codesourcery.com>
55068             Joseph Myers  <joseph@codesourcery.com>
55070         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
55071         if needed for __stack_chk_guard.
55073 2011-09-19  Roland McGrath  <roland@hack.frob.com>
55075         * sysdeps/posix/spawni.c (script_execute): Always define it.
55076         It will be optimized away if unused.
55077         (maybe_script_execute): New function.
55078         (__spawni): Call it.
55080         * Makerules: Don't include tls.make.
55081         (config-tls): Always set to thread.
55082         * tls.make.c: File removed.
55084 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
55086         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
55087         * config.make.in (CPPFLAGS-config): New substituted variable.
55089 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
55091         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
55093         [BZ #13192]
55094         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
55095         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
55097 2011-09-15  Roland McGrath  <roland@hack.frob.com>
55099         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
55100         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
55101         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55102         (CALL_FAIL): Likewise.
55103         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
55104         (CALL_FAIL): Macro removed.
55105         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
55107 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
55109         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
55110         for __FINITE_MATH_ONLY__ == 1.
55112 2011-09-15  Andreas Schwab  <schwab@redhat.com>
55114         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
55115         __ieee754_sqrt instead of sqrt.
55116         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
55117         __ieee754_sqrtf instead of sqrtf.
55118         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
55119         __floorf instead of floorf.
55120         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
55121         __floorf, __truncf instead of floorf, truncf.
55123 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
55125         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
55127         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
55128         __extern_always_inline.
55129         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
55130         32-bit.
55132 2011-09-14  Andreas Schwab  <schwab@redhat.com>
55134         * elf/rtld.c (dl_main): Also relocate in dependency order when
55135         doing symbol dependency testing.
55137 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
55139         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55140         Always define `refsym'.
55142 2011-09-13  Andreas Schwab  <schwab@redhat.com>
55144         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
55145         (__FD_ELT): Renamed from __FDELT.
55146         * misc/bits/select2.h (__FD_ELT): Likewise.
55147         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
55148         __FD_MASK instead of __FDELT, __FDMASK.
55149         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55150         Likewise.
55151         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55152         Likewise.
55154         * elf/Makefile (gen-ldd): Fix pattern.
55156         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
55157         (init_tls): Likewise.
55159 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
55161         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
55163 2011-09-12  Andreas Schwab  <schwab@redhat.com>
55165         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
55166         `struct cmsghdr *' instead of `void *'.
55167         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
55168         Likewise.
55170 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
55172         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
55173         if non-absolute.
55174         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
55175         ldd_rewrite_script.
55177 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
55179         * configure.in: Remove --with-tls option.
55180         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
55181         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
55182         out in case it is missing.
55183         * sysdeps/ia64/elf/configure.in: Likewise.
55184         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
55185         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
55186         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
55187         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
55188         * sysdeps/sh/elf/configure.in: Likewise.
55189         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
55190         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55191         * sysdeps/x86_64/elf/configure.in: Likewise.
55192         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
55193         * sysdeps/mach/hurd/tls.h: Likewise.
55195         [BZ #13067]
55196         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
55198         [BZ #13090]
55199         * configure.in: Fix use of AC_INIT.
55201         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
55203 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
55205         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
55206         __set_errno.
55207         * malloc/hooks.c: Likewise.
55209         [BZ #11929]
55210         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
55211         variables statically.
55212         (narenas): Initialize.
55213         (list_lock): Initialize.
55214         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
55215         initializtion of main_arena and list_lock.  Small cleanups.
55216         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
55217         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
55218         Add initializers to main_arena and mp_.
55219         (malloc_state): Remove pagesize member.  Change all users to use
55220         GLRO(dl_pagesize).
55222         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
55223         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
55224         is always initialized.
55226         * malloc/malloc.c: Removed unused configurations and dead code.
55227         * malloc/arena.c: Likewise.
55228         * malloc/hooks.c: Likewise.
55229         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
55231         * include/tls.h: Removed.  USE___THREAD must always be defined.
55232         * bits/libc-tsd.h: Don't handle !USE___THREAD.
55233         * elf/dl-libc.c: Likewise.
55234         * elf/dl-tsd.c: Likewise.
55235         * include/errno.h: Likewise.
55236         * include/netdb.h: Likewise.
55237         * include/resolv.h: Likewise.
55238         * inet/herrno-loc.c: Likewise.
55239         * inet/herrno.c: Likewise.
55240         * malloc/arena.c: Likewise.
55241         * malloc/hooks.c: Likewise.
55242         * malloc/malloc.c: Likewise.
55243         * resolv/res-state.c: Likewise.
55244         * resolv/res_libc.c: Likewise.
55245         * sysdeps/i386/dl-machine.h: Likewise.
55246         * sysdeps/ia64/dl-machine.h: Likewise.
55247         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
55248         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55249         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
55250         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
55251         * sysdeps/sh/dl-machine.h: Likewise.
55252         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55253         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55254         * sysdeps/unix/i386/sysdep.S: Likewise.
55255         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55256         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
55257         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
55258         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55259         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
55260         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55261         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
55262         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55263         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55264         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55265         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55266         * sysdeps/x86_64/dl-machine.h: Likewise.
55267         * tls.make.c: Likewise.
55269         * configure.in: Remove --with-__thread option.  Make tests for
55270         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
55271         tls_model attribute fail if no support is available.  Remove
55272         USE_IN_LIBIO.
55273         * Makeconfig: Adjust for dropped configure option.  All features are
55274         now mandatory.
55275         * Makerules: Likewise.
55276         * Versions.def: Likewise.
55277         * argp/argp-fmtstream.c: Likewise.
55278         * argp/argp-fmtstream.h: Likewise.
55279         * argp/argp-help.c: Likewise.
55280         * assert/assert.c: Likewise.
55281         * config.h.in: Likewise.
55282         * config.make.in: Likewise.
55283         * configure: Likewise.
55284         * configure.in: Likewise.
55285         * csu/Versions: Likewise.
55286         * csu/init.c: Likewise.
55287         * elf/tst-audit2.c: Likewise.
55288         * elf/tst-tls10.c: Likewise.
55289         * elf/tst-tls10.h: Likewise.
55290         * elf/tst-tls11.c: Likewise.
55291         * elf/tst-tls12.c: Likewise.
55292         * elf/tst-tls14.c: Likewise.
55293         * elf/tst-tlsmod11.c: Likewise.
55294         * elf/tst-tlsmod12.c: Likewise.
55295         * elf/tst-tlsmod13.c: Likewise.
55296         * elf/tst-tlsmod13a.c: Likewise.
55297         * elf/tst-tlsmod14a.c: Likewise.
55298         * elf/tst-tlsmod15b.c: Likewise.
55299         * elf/tst-tlsmod16a.c: Likewise.
55300         * elf/tst-tlsmod16b.c: Likewise.
55301         * elf/tst-tlsmod7.c: Likewise.
55302         * elf/tst-tlsmod8.c: Likewise.
55303         * elf/tst-tlsmod9.c: Likewise.
55304         * gmon/gmon.c: Likewise.
55305         * grp/fgetgrent_r.c: Likewise.
55306         * grp/putgrent.c: Likewise.
55307         * hurd/fopenport.c: Likewise.
55308         * include/libc-symbols.h: Likewise.
55309         * include/tls.h: Likewise.
55310         * intl/gettextP.h: Likewise.
55311         * intl/loadinfo.h: Likewise.
55312         * locale/global-locale.c: Likewise.
55313         * locale/localeinfo.h: Likewise.
55314         * mach/devstream.c: Likewise.
55315         * malloc/arena.c: Likewise.
55316         * malloc/set-freeres.c: Likewise.
55317         * misc/err.c: Likewise.
55318         * misc/getttyent.c: Likewise.
55319         * misc/mntent_r.c: Likewise.
55320         * posix/getopt.c: Likewise.
55321         * posix/wordexp.c: Likewise.
55322         * pwd/fgetpwent_r.c: Likewise.
55323         * resolv/Versions: Likewise.
55324         * resolv/res_hconf.c: Likewise.
55325         * shadow/fgetspent_r.c: Likewise.
55326         * shadow/putspent.c: Likewise.
55327         * stdio-common/printf_fphex.c: Likewise.
55328         * stdio-common/tmpfile.c: Likewise.
55329         * stdlib/abort.c: Likewise.
55330         * stdlib/fmtmsg.c: Likewise.
55331         * sunrpc/auth_unix.c: Likewise.
55332         * sunrpc/clnt_perr.c: Likewise.
55333         * sunrpc/clnt_tcp.c: Likewise.
55334         * sunrpc/clnt_udp.c: Likewise.
55335         * sunrpc/clnt_unix.c: Likewise.
55336         * sunrpc/openchild.c: Likewise.
55337         * sunrpc/svc_simple.c: Likewise.
55338         * sunrpc/svc_tcp.c: Likewise.
55339         * sunrpc/svc_udp.c: Likewise.
55340         * sunrpc/svc_unix.c: Likewise.
55341         * sunrpc/xdr.c: Likewise.
55342         * sunrpc/xdr_array.c: Likewise.
55343         * sunrpc/xdr_rec.c: Likewise.
55344         * sunrpc/xdr_ref.c: Likewise.
55345         * sunrpc/xdr_stdio.c: Likewise.
55347 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
55349         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55351 2011-07-03  Andreas Jaeger  <aj@suse.de>
55353         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
55354         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
55355         regenerate with gen-libm-tests.pl.
55357 2010-05-12  Petr Baudis  <pasky@suse.cz>
55359         [BZ #11589]
55360         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
55361         around j0() zero points by switching to j1().
55362         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55363         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55364         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55365         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55367 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
55369         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
55370         instead of 0.
55371         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
55372         instead of 0.
55373         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55374         Patch in part by Pavel Roskin <proski@gnu.org>.
55376         [BZ #13138]
55377         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
55378         realloc.
55379         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
55380         Free memory block if necessary.
55382         [BZ #12847]
55383         * libio/genops.c (INTDEF): For string streams the _lock pointer can
55384         be NULL.  Don't lock in this case.
55386 2011-09-09  Roland McGrath  <roland@hack.frob.com>
55388         * elf/elf.h (ELFOSABI_GNU): New macro.
55389         (ELFOSABI_LINUX): Define to that.
55391 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
55393         * string/strncat.c (strncat): Undef the symbol in case it has been
55394         defined in bits/string.h.
55396 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
55398         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
55400         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
55401         link map.
55403 2011-08-17  Andreas Jaeger  <aj@suse.de>
55405         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
55407 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
55408             Ian Lance Taylor  <iant@google.com>
55410         * math/libm-test.inc (lround_test): New testcase.
55411         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
55413 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
55415         * Makefile: Remove support for automatic cvs check-ins.
55416         * Makerules: Likewise.
55417         * config.make.in: Likewise.
55418         * configure.in: Likewise.
55419         * intl/Makefile: Likewise.
55420         * locale/Makefile: Likewise.
55421         * po/Makefile: Likewise.
55422         * posix/Makefile: Likewise.
55423         * sysdeps/gnu/Makefile: Likewise.
55424         * sysdeps/mach/hurd/Makefile: Likewise.
55425         * sysdeps/sparc/sparc32/Makefile: Likewise.
55427         [BZ #13118]
55428         * posix/Makefile (bug-regex32-ENV): Define.
55429         Patch by John Stanley <jpsinthemix@verizon.net>.
55431         * misc/Makefile (headers): Add bits/select2.h.
55432         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
55433         * misc/bits/select2.h: New file.
55434         * include/bits/select2.h: New file.
55435         * debug/Makefile (routines): Add fdelt_chk.
55436         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
55437         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
55438         FD_ISSET.
55439         * debug/fdelt_chk.c: New file.
55441         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
55442         * wcsmbs/test-wmemcmp.c: Likewise.
55443         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
55444         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
55446 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55448         * string/Makefile (strop-tests): Add memcmp.
55449         * string/test-wmemcmp.c: New file.
55450         * string/test-memcmp.c: Add wmemcmp support.
55452 2011-09-08  Roland McGrath  <roland@hack.frob.com>
55454         [BZ #13153]
55455         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
55456         2011-07-19 change.
55458         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
55459         garbage value in a __mach_port_mod_refs call in the cases of the
55460         task-self and thread-self ports.
55462 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55464         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
55466 2011-09-08  Andreas Schwab  <schwab@redhat.com>
55468         * elf/dl-load.c (lose): Check for non-null L.
55470 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
55472         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
55474         * elf/dl-libc.c (dlerror_run): Pass back error code from
55475         dl_catch_error.
55477         [BZ #13123]
55478         * elf/dl-load.c (lose): Free l_origin if it is valid.
55480         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
55481         names.
55482         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
55483         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
55484         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
55485         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
55486         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
55487         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
55489 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55491         * sysdeps/powerpc/fpu/e_hypot.c: New file.
55492         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
55493         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
55494         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
55495         * sysdeps/powerpc/fpu/k_cosf.c: New file.
55496         * sysdeps/powerpc/fpu/k_sinf.c: New file.
55497         * sysdeps/powerpc/fpu/s_cosf.c: New file.
55498         * sysdeps/powerpc/fpu/s_sinf.c: New file.
55499         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
55500         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
55502 2011-08-15  Alan Modra  <amodra@gmail.com>
55504         [BZ #13092]
55505         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
55506         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
55507         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
55508         ppc_mcount to static-only-routines.
55509         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
55510         __mcount_internal.
55511         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
55512         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
55514 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
55516         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
55517         for finite and infinity parameters.
55519 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
55521         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
55522         and add nop instructions for throughput optimization.
55523         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55525 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
55527         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
55528         aligned copy for power7 with vector-scalar instructions.
55529         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
55531 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
55533         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
55534         AVX check.
55536 2011-09-07  Andreas Schwab  <schwab@redhat.com>
55538         [BZ #13144]
55539         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
55540         last change.
55542 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
55544         * sysdeps/unix/sysv/linux/x86_64/init-first.c
55545         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
55546         syscall wrapper around clock_gettime in __vdso_clock_gettime.
55547         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
55548         clock_gettime.
55550 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
55552         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
55553         Forgot to demangle the pointer.
55555         * sysdeps/i386/sysdep.h: Define atom_text_section.
55556         * sysdeps/x86_64/sysdep.h: Likewise.
55557         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
55558         section with atom_text_section.
55559         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
55560         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
55561         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
55562         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55563         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
55565         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
55566         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
55567         already be defined.  Change to take two parameters and don't assign
55568         result to variable.  Adjust all users.
55569         Define INTERNAL_GETTIME if not already defined.
55570         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
55571         call.
55572         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
55573         HAVE_CLOCK_GETTIME_VSYSCALL.
55574         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
55576         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
55577         gettimeofday vsyscall, just use time.
55579 2011-09-06  Andreas Schwab  <schwab@redhat.com>
55581         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
55582         <errno.h>.
55584 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
55586         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
55587         syscall on x86-64.
55588         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
55589         syscall.
55590         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
55591         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
55592         syscall if possible.
55594 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
55596         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
55597         e_ident.  Don't pass to find_mapsXX.
55598         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
55600 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55602         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55603         strchr-sse2-no-bsf strrchr-sse2-no-bsf
55604         * sysdeps/x86_64/multiarch/strchr.S: Update.
55605         Check bit_slow_BSF bit.
55606         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55607         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
55608         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
55610 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
55612         [BZ #13134]
55613         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
55614         before glibc 2.15.
55615         (tryshell): Define.
55616         (__spawni): Change last parameter to be flag.  Test
55617         SPAWN_XFLAGS_USE_PATH flag to use path or not.
55618         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
55619         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
55620         * posix/spawni.c: Likewise.
55621         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
55622         * posix/spawnp.c: Likewise.  Change normal version to use
55623         SPAWN_XFLAGS_USE_PATH.
55624         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
55625         SPAWN_XFLAGS_TRY_SHELL.
55627         [BZ #13150]
55628         * posix/glob.h: Remove gcc 1.x support.
55630         [BZ #13068]
55631         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
55633 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55635         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55636         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
55637         strrchr-sse2-bsf
55638         * sysdeps/i386/i686/multiarch/strchr.S: New file.
55639         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
55640         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
55641         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
55642         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
55643         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
55645 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55647         * sysdeps/x86_64/wcscmp.S: New file.
55649         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
55650         wcscmp-c wcscmp-sse2
55651         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
55652         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
55653         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
55654         * wcsmbs/wcscmp.c: Allow renaming.
55656 2011-09-05  David S. Miller  <davem@davemloft.net>
55658         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
55659         stack slot, rather than the struct return pointer slot.
55660         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
55661         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
55662         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
55663         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
55665 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
55667         * po/ja.po: Update from translation team.
55669         [BZ #13144]
55670         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
55671         kernel in 64-bit binaries.
55673 2011-09-01  David S. Miller  <davem@davemloft.net>
55675         * elf/elf.h (HWCAP_SPARC_*): Move to..
55676         * sysdeps/sparc/sysdep.h: this new file and add new values.
55677         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
55678         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
55679         _DL_HWCAP_COUNT to 24.
55680         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
55681         entries.
55682         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
55683         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
55684         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
55685         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
55686         instead of magic constants.
55687         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55689 2011-08-31  David S. Miller  <davem@davemloft.net>
55691         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
55692         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
55693         Reimplement to do errno handling inline.
55694         (SYSCALL_ERROR_HANDLER): New macro.
55695         (__SYSCALL_STRING): Do not do errno handling in asm.
55696         (__CLONE_SYSCALL_STRING): Delete.
55697         (__INTERNAL_SYSCALL_STRING): Delete.
55698         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
55699         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
55700         (PSEUDO): Reimplement to do errno handling inline.
55701         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
55702         (SYSCALL_ERROR_HANDLER): New macro.
55703         (__SYSCALL_STRING): Do not do errno handling in asm.
55704         (__CLONE_SYSCALL_STRING): Delete.
55705         (__INTERNAL_SYSCALL_STRING): Delete.
55706         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
55707         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
55708         i386.
55709         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
55710         (inline_syscall*): Add 'err' argument.
55711         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
55712         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
55713         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
55714         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
55716         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
55717         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
55719 2011-08-30  Andreas Schwab  <schwab@redhat.com>
55721         * elf/rtld.c (dl_main): Relocate objects in dependency order.
55723 2011-08-29  Jiri Olsa <jolsa@redhat.com>
55725         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
55726         directive.
55728 2011-08-24  David S. Miller  <davem@davemloft.net>
55730         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
55732 2011-08-24  Andreas Schwab  <schwab@redhat.com>
55734         * elf/Makefile: Add rules to build and run unload8 test.
55735         * elf/unload8.c: New file.
55736         * elf/unload8mod1.c: New file.
55737         * elf/unload8mod1x.c: New file.
55738         * elf/unload8mod2.c: New file.
55739         * elf/unload8mod3.c: New file.
55741         * elf/dl-close.c (_dl_close_worker): Reset private search list if
55742         it wasn't used.
55744 2011-08-23  David S. Miller  <davem@davemloft.net>
55746         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
55747         subtract stack bias.
55748         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
55749         %sp not %fp in calculations.
55750         (_JMPBUF_UNWINDS_ADJ): Likewise.
55752         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
55753         (aio_suspend): Call it to force an exception region around the
55754         AIO_MISC_WAIT() invocation.
55756 2011-08-23  Andreas Schwab  <schwab@redhat.com>
55758         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
55759         backslash.
55761 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
55763         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
55764         protection macro.
55765         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
55766         and <dl-machine.h>.
55767         (Elf64_FuncDesc): Remove.
55769 2011-08-22  David S. Miller  <davem@davemloft.net>
55771         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
55772         sigaltstack check, add missing cfi directives.
55773         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
55774         missing cfi directives, and sigaltstack handling.
55776 2011-08-16  Andreas Schwab  <schwab@redhat.com>
55778         [BZ #11724]
55779         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
55780         object is seen twice.
55781         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55783         * elf/Makefile (distribute): Add tst-initorder2.c.
55784         (tests): Add tst-initorder2.
55785         (modules-names): Add tst-initorder2a tst-initorder2b
55786         tst-initorder2c tst-initorder2d.  Add rules to build them.
55787         ($(objpfx)tst-initorder2.out): New rule.
55788         * elf/tst-initorder2.c: New file.
55789         * elf/tst-initorder2.exp: New file.
55791 2011-08-22  Andreas Schwab  <schwab@redhat.com>
55793         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
55795         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
55796         dependencies back to end of function.
55798         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55799         $(elfobjdir)/ld.so.
55801 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
55803         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
55804         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
55805         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
55806         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
55807         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
55808         of __vdso_gettimeofday.
55809         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
55810         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
55811         attribute_hidden.
55812         (_libc_vdso_platform_setup): Remove initialization of
55813         __vdso_gettimeofday and __vdso_time.
55815 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
55817         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
55818         and fgetc_unlocked.
55819         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
55820         getc_unlocked.
55822         * elf/dl-open.c (add_to_global): Report additions to the global scope
55823         for LD_DEBUG=scopes.
55824         (dl_open_worker): Also print scope of newly loaded dependencies.
55825         (_dl_show_scope): Indicate if there is no scope.
55827         [BZ #13114]
55828         * stdio-common/Makefile (tests): Add bug24.
55829         * stdio-common/bug24.c: New file.
55831 2011-08-19  Andreas Jaeger  <aj@suse.de>
55833         [BZ #13114]
55834         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
55835         non-existant file when using close-on-exec mode.
55837 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
55839         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
55840         the very first instruction.
55842         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
55843         the CFI state in the end.
55844         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
55845         inclusion of dl-trampoline.h.
55846         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
55848 2011-08-19  Andreas Schwab  <schwab@redhat.com>
55850         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
55851         expectations for long double.
55853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
55854         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
55856 2011-08-14  David S. Miller  <davem@davemloft.net>
55858         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
55859         artificual limit depends upon the system page size.
55861 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
55863         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
55864         * resolv/Makefile: Define CFLAGS-libresolv.
55866 2011-08-17  Andreas Schwab  <schwab@redhat.com>
55868         * nss/makedb.c (compute_tables): Make variables used in nested
55869         function static.
55871 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
55873         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
55874         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
55875         if buffer was too small.
55877         * elf/pldd.c (main): Attach to all threads in the process.
55878         Rewrite /proc handling to use *at functions.
55880 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
55882         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
55883         specifies first scope to show.
55884         (dl_open_worker): Update callers.  Move printing scope of new
55885         object to before the relocation.
55886         * elf/rtld.c (dl_main): Update _dl_show_scope call.
55887         * sysdeps/generic/ldsodefs.h: Update declaration.
55889         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
55890         string for the scope number.
55892 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
55894         * nscd/servicescache.c (cache_addserv): Make sure written is always
55895         initialized.
55897 2011-08-14  Roland McGrath  <roland@hack.frob.com>
55899         * sysdeps/i386/i486/bits/atomic.h
55900         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
55901         statement expression, so as to suppress "set but not used" warning.
55902         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
55904         * string/strncat.c (STRNCAT): Use prototype definition.
55906         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
55907         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
55908         -Iprograms here.
55909         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
55910         (localedef-modules): Add localedef.
55911         (locale-modules): Add locale.
55913         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
55914         * elf/rtld.c (dl_main): Invert order of assignment in last change,
55915         to avoid a warning.
55917 2011-08-14  David S. Miller  <davem@davemloft.net>
55919         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
55920         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
55922 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
55924         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
55925         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
55926         * elf/rtld.c (dl_main): Set l_name of vDSO.
55927         Call _dl_show_scope when DL_DEBUG_SCOPES.
55928         (process_dl_debug): Recognize scopes flag and also set it for all.
55929         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
55930         Declare _dl_show_scope.
55932         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
55933         (do_dlopen): Pass caller_dlopen to dl_open.
55934         (__libc_dlopen_mode): Initialize caller_dlopen.
55936         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
55937         of libc.  Make tolower call locale-independent.  Optimize a bit by
55938         using isdigit instead of isalnum.
55939         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
55941 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
55943         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
55944         was a dependency or dynamically loaded.
55946 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
55948         * intl/l10nflist.c: Allow architecture-specific pop function.
55949         * sysdeps/x86_64/l10nflist.c: New file.
55951         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
55952         classification.
55954 2011-08-10  Andreas Schwab  <schwab@redhat.com>
55956         * include/dirent.h: Add libc_hidden_proto for scandirat and
55957         scandirat64.  Don't declare __scandirat64.
55958         * dirent/scandirat.c: Add libc_hidden_def.
55959         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
55960         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
55962 2011-08-10  David S. Miller  <davem@davemloft.net>
55964         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
55965         enum.
55966         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55967         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55968         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55970 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
55972         * Versions.def [libc]: Add GLIBC_2.15.
55973         * dirent/Makefile (routines): Add scandirat and scandirat64.
55974         * dirent/Versions [libc]: Export scandirat and scandirat64 for
55975         GLIBC_2.15.
55976         * dirent/dirent.h: Declare scandirat and scandirat64.
55977         * dirent/scandirat.c: New file.
55978         * dirent/scandirat64.c: New file.
55979         * sysdeps/wordsize-64/scandirat.c: New file.
55980         * sysdeps/wordsize-64/scandirat64.c: New file.
55981         * dirent/opendir.c: Define opendirat.
55982         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
55983         using scandirat.
55984         * dirent/scandir64.c: Adjust for scandir.c change.
55985         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
55986         __scandirat64, and __scandir_cancel_handler.
55987         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
55988         additional parameter and use openat instead of open (outside of ld.so).
55989         Add new __opendir as wrapper around __opendirat.
55990         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
55991         here without requiring old scandirat implementation.
55993 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
55995         * dirent/scandir.c (cancel_handler): Renamed to
55996         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
55997         defined.  Adjust users.
55998         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
55999         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
56001 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
56003         * string/test-string.h (IMPL): Use __STRING to expand name and then
56004         stringify it.
56006         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
56007         of cleanups.
56009 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56011         * string/Makefile: Update.
56012         (strop-tests): Append strncat.
56013         * string/test-wcscmp.c: New file.
56014         New comprehensive test for wcscmp.
56015         * string/test-strcmp.c: Update.
56016         (WIDE): New define.
56018 2011-07-22  Andreas Schwab  <schwab@redhat.com>
56020         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
56021         line.
56023 2011-07-26  Andreas Schwab  <schwab@redhat.com>
56025         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56026         encoding to ACE if AI_IDN.
56028 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
56030         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
56031         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
56033 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56035         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
56036         Fix overflow bug in strncat.
56037         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
56039         * string/test-strncat.c: Update.
56040         Add new tests for checking overflow bugs.
56042 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56044         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56045         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
56046         * sysdeps/i386/i686/multiarch/strcat.S: New file.
56047         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
56048         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
56049         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
56050         * sysdeps/i386/i686/multiarch/strncat.S: New file.
56051         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
56052         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
56054         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
56055         (USE_AS_STRCAT): Define.
56056         Add strcat and strncat support.
56057         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56059 2011-07-25  Andreas Schwab  <schwab@redhat.com>
56061         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
56062         __n bigger than INT_MAX+1.
56063         (__strncmp_g): Likewise.
56065 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
56067         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
56068         * libio/stido.h: Likewise.
56070         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
56071         (AF_NFC): Define.
56072         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
56073         (AF_NFC): Define.
56075         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
56076         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56077         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56078         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
56079         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56081         [BZ #13021]
56082         * scripts/test-installation.pl: Don't expect libnss_test1 to be
56083         installed.
56085         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
56086         typo.
56087         (_dl_x86_64_save_sse): Likewise.
56089 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
56091         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
56092         OSXSAVE.
56093         (_dl_x86_64_save_sse): Likewise.
56095         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
56097         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
56099 2011-07-21  Andreas Schwab  <schwab@redhat.com>
56101         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
56102         change.
56103         (_dl_x86_64_save_sse): Use correct AVX check.
56105 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56107         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
56108         bug in strncpy/strncat.
56109         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
56111 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
56113         * string/tester.c (test_strcat): Add tests for different alignments
56114         of source and destination.
56115         (test_strncat): Likewise.
56117 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
56119         [BZ #12852]
56120         * posix/glob.c (glob): Check passed in values before using them in
56121         expressions to avoid some overflows.
56122         (glob_in_dir): Likewise.
56124         [BZ #13007]
56125         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
56126         check for AVX enablement so that we don't crash with old kernels and
56127         new hardware.
56128         * elf/tst-audit4.c: Add same checks here.
56129         * elf/tst-audit6.c: Likewise.
56131         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
56133 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
56135         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
56137 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
56139         * po/cs.po: Update from translation team.
56140         * po/bg.po: Likewise.
56142 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
56144         * misc/sys/cdefs.h: Add support for const attribute.
56145         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
56146         to gnu_dev_{major,minor,makedev} functions.
56148 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
56150         * intl/dcigettext.c (get_output_charset): Add missing bracket.
56152 2011-07-20  Andreas Schwab  <schwab@redhat.com>
56154         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
56155         strlen results.
56157 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56159         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
56160         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
56161         register in order to avoid conflicts with the soft frame pointer
56162         being held in r11 when necessary.
56163         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
56164         (INTERNAL_VSYSCALL_NCS): Likewise.
56166 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
56168         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
56169         * elf/dl-fini.c (_dl_fini): Adjust caller.
56170         * elf/dl-close.c (_dl_close_worker): Likewise.
56171         * sysdeps/generic/ldsodefs.h: Adjust declaration.
56173 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
56175         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
56176         "aux_cache->nlibs < 0".
56178         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
56179         in the reload-count case.
56181 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56183         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56184         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
56185         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
56186         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
56187         * sysdeps/x86_64/multiarch/strcat.S: New file.
56188         * sysdeps/x86_64/multiarch/strncat.S: New file.
56189         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
56190         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
56191         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
56192         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
56193         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
56194         (USE_AS_STRCAT): Define.
56195         Add strcat and strncat support.
56196         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56197         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56198         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
56199         * string/strncat.c: Update.
56200         (USE_AS_STRNCAT): Define.
56201         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56202         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
56203         and i7.
56204         * sysdeps/x86_64/multiarch/init-arch.h
56205         (bit_Prefer_PMINUB_for_stringop): New.
56206         (index_Prefer_PMINUB_for_stringop): Likewise.
56207         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
56208         bit_Prefer_PMINUB_for_stringop.
56210 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
56212         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
56213         buffer64.
56214         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
56215         of casting of buffer.
56216         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
56217         buffer32 and buffer64.
56218         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
56219         writes instead of casting of buffer.
56220         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
56221         buffer32.
56222         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
56223         casting of buffer.
56225 2011-07-19  Andreas Schwab  <schwab@redhat.com>
56227         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
56229 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
56231         * nscd/nscd.c (termination_handler): Don't do anything for a database
56232         if it has not yet been initialized.
56234 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
56236         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56238 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
56240         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56242 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
56244         * po/nl.po: Update from translation team.
56245         * po/sv.po: Likewise.
56247 2011-07-16  Roland McGrath  <roland@hack.frob.com>
56249         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
56250         now disallowed by GCC.
56252         * configure.in (use-default-link): Default to yes if a test -shared
56253         link meets our qualifications.
56254         * configure: Regenerated.
56256         * config.make.in (output-format): New variable.
56257         * configure.in: Check for ld --print-output-format support.
56258         * configure: Regenerated.
56259         * Makerules ($(common-objpfx)format.lds)
56260         [$(output-format) != unknown]: Just use $(output-format),
56261         instead of the linker-script munging.
56263 2011-07-14  Roland McGrath  <roland@hack.frob.com>
56265         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
56266         of $(common-objpfx)shlib.lds.
56267         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
56269         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
56270         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
56272         * configure.in (-z relro check): Adjust test code to add a large
56273         writable data section after it.
56274         * configure: Regenerated.
56276 2011-07-11  Roland McGrath  <roland@hack.frob.com>
56278         * configure.in (-z relro check): Fix test code to make the variable
56279         truly const.
56280         * configure: Regenerated.
56282 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
56284         * nscd/nscd.h (struct traced_file): Define.
56285         (struct database_dyn): Remove inotify_descr, reset_res, and filename
56286         elements.  Add traced_files.
56287         (inotify_fd): Declare.
56288         (register_traced_file): Declare.
56289         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
56290         (inotify_fd): Export.
56291         (resolv_conf_descr): Remove.
56292         (nscd_init): Move inotify descriptor creation to main.
56293         Don't register files for notification here.
56294         (register_traced_file): New function.
56295         (invalidate_cache): Don't use reset_res to determine whether to call
56296         res_init, go through the list of registered files.
56297         (main_loop_poll): The inotify descriptors are now stored in the
56298         structures for the traced files.
56299         (main_loop_epoll): Likewise
56300         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
56301         to __nss_disable_nscd.
56302         * nscd/cache.c (prune_cache): There is no single inotify descriptor
56303         for a database anymore.  Check the records for all the registered
56304         files instead.
56305         * nss/Makefile (libnss_files-routines): Add files-init.
56306         (libnss_db-routines): Add db-init.
56307         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
56308         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
56309         * nss/nss_db/db-init.c: New file.
56310         * nss/nss_files/files-init.c: New file.
56311         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
56312         __nss_lookup_function.
56313         (__nss_lookup_function): Call nss_load_library.
56314         (nss_load_all_libraries): New function.
56315         (__nss_disable_nscd): Take parameter with callback function for files
56316         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
56317         used for the cached services.
56318         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
56319         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
56320         options for features to all the files in nscd.
56322         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
56324 2011-07-10  Roland McGrath  <roland@hack.frob.com>
56326         * csu/elf-init.c (__libc_csu_init): Comment typo.
56328 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
56330         * po/pl.po: Update from translation team.
56331         * po/ja.po: Likewise.
56332         * po/ru.po: Likewise.
56333         * po/ko.po: Likewise.
56334         * po/fr.po: Likewise.
56336 2011-07-09  Roland McGrath  <roland@hack.frob.com>
56338         * configure.in (.ctors/.dtors header and trailer check):
56339         Use an empirical test on a built program.
56340         * configure: Regenerated.
56342         * configure.in (-z relro check): Use an empirical test on a built DSO.
56343         Detect, but do not require, on ia64.
56344         * configure: Regenerated.
56346         * configure.in (READELF): Find it with AC_CHECK_TOOL.
56347         Update tests that use readelf to use $READELF instead.
56348         * configure: Regenerated.
56350 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
56352         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
56353         if the result is not used.
56355 2011-07-05  Andreas Jaeger  <aj@suse.de>
56357         [BZ#9696]
56358         * stdlib/tst-strtod.c: Add testcase.
56360 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
56362         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
56363         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
56364         The latter has a higher limit.  Take additional parameter to pass to
56365         the new function.
56366         (__pathconf): Pass file to __statfs_link_max.
56367         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
56368         __statfs_link_max.
56369         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
56370         __statfs_link_max.
56372         [BZ #12868]
56373         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
56374         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56375         Handle Lustre.
56376         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
56377         (__statfs_filesize_max): Likewise.
56378         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
56380 2011-07-05  Andreas Jaeger  <aj@suse.de>
56382         * resolv/res_comp.c (dn_skipname): Remove unused variable.
56384 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
56386         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
56387         `status' variable.
56388         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
56389         Likewise.
56391 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
56393         * Makefile (strop-tests): Add strncat.
56394         * string/test-strncat.c: New file.
56396 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
56398         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
56400 2011-06-21  Andreas Jaeger  <aj@suse.de>
56402         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
56403         Copy rule from iconvdata/Makefile.
56405 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
56407         [BZ #12922]
56408         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
56409         but no long options are defined, just return 'W'.
56411 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
56413         [BZ #9696]
56414         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
56416 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
56418         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
56419         netgroups to read.
56420         (innetgr): Likewise.
56422 2011-07-05  Roland McGrath  <roland@hack.frob.com>
56424         * config.make.in (install_root): Default to $(DESTDIR).
56426 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
56428         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
56430 2011-07-02  Roland McGrath  <roland@hack.frob.com>
56432         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
56434         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
56435         containing directory rather than embedding absolute directory names.
56437         * scripts/check-local-headers.sh: Rewritten using awk.
56438         Match by word, not by line.  Print error messages for matches.
56439         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
56441         * Makerules [shlib-lds-flags empty]:
56442         ($(common-objpfx)libc_pic.opts): New target.
56443         ($(common-objpfx)libc_pic.os.clean): New target.
56444         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
56446         * config.make.in (OBJCOPY): New variable.
56447         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
56448         * configure: Regenerated.
56450         * config.make.in (use-default-link): New variable.
56451         * configure.in (use_default_link): Grok --with-default-link to set it.
56452         * configure: Regenerated.
56453         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
56454         (shlib-lds, shlib-lds-flags): Define to empty.
56456         * Makerules (shlib-lds): New variable.
56457         (shlib-lds-flags): New variable.
56458         (build-shlib, build-moduile, build-module-asneeded): Use it.
56459         ($(common-objpfx)libc.so): Use $(shlib-lds).
56460         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
56461         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
56463         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
56464         DT_FLAGS/DT_FLAGS_1 with zero flags.
56466         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
56467         linker script munging.
56469 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
56471         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
56472         as 128-bit value.
56473         * crypt/sha512.c (sha512_process_block): Perform total addition using
56474         128-bit if possible.
56475         (__sha512_finish_ctx): Likewise.
56476         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
56477         as 64-bit value.
56478         * crypt/sha256.c (SWAP64): Define.
56479         (sha256_process_block): Perform total addition using 64-bit if
56480         possible.
56481         (__sha256_finish_ctx): Likewise.
56483 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
56485         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
56486         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56487         * nscd/hstcache.c (cache_addhst): Likewise.
56488         * nscd/grpcache.c (cache_addgr): Likewise.
56489         * nscd/aicache.c (addhstaiX): Likewise
56490         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
56492 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
56494         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
56495         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56496         * nscd/hstcache.c (cache_addhst): Likewise.
56497         * nscd/grpcache.c (cache_addgr): Likewise.
56498         * nscd/aicache.c (addhstaiX): Likewise
56500 2011-07-01  Andreas Schwab  <schwab@redhat.com>
56502         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
56503         domain only when needed.
56505 2011-06-30  Andreas Schwab  <schwab@redhat.com>
56507         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
56508         is always restored.
56510 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
56512         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
56513         are re-adding the entry.
56514         * nscd/servicescache.c (cache_addserv): Likewise.
56516 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
56518         * sysdeps/generic/dl-irel.h: fix protection against multiple
56519         inclusions.
56520         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
56522 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
56524         [BZ #12935]
56525         * malloc/memusage.sh: Fix quoting in message.
56526         * debug/xtrace.sh: Likewise.
56528         * configure.in: Remove support for --experimental-malloc option, make
56529         it the default.
56530         * config.make.in: Likewise.
56531         * malloc/Makefile: Likewise.
56533 2011-06-27  Andreas Schwab  <schwab@redhat.com>
56535         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
56536         two-byte characters.
56538 2011-06-27  Roland McGrath  <roland@hack.frob.com>
56540         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
56541         AC_CACHE_CHECK invocation.
56542         * configure: Regenerated.
56544         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
56546 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
56548         [BZ #12350]
56549         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
56550         bit from old_res_options.
56552         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
56554         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
56555         value type for setfct.
56557 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
56559         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
56560         __gettimeofday instead of gettimeofday.
56562 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
56564         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
56566 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
56568         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
56570         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
56571         info.
56573 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
56575         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56576         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56577         strcpy-sse2-unaligned strncpy-sse2-unaligned
56578         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
56579         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
56580         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
56581         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
56582         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
56583         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
56584         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
56585         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
56586         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
56587         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
56588         (STRCPY): Support SSE2 and SSSE3 versions.
56590 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
56592         [BZ #12874]
56593         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
56594         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
56595         kernels which artificially limit size of requests.
56597 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
56599         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56600         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56601         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
56602         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
56603         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
56604         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
56605         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
56606         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
56607         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
56608         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
56609         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
56610         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
56611         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
56612         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
56613         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
56614         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56615         Enable unaligned load optimization for Intel Core i3, i5 and i7
56616         processors.
56617         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
56618         Define.
56619         (index_Fast_Unaligned_Load): Define.
56620         (HAS_FAST_UNALIGNED_LOAD): Define.
56622 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
56624         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
56626 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
56628         [BZ #12907]
56629         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
56630         until it is clear that the information is realy needed.
56631         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
56633 2011-06-22  Andreas Schwab  <schwab@redhat.com>
56635         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
56637 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
56639         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
56640         /sys/devices/system/cpu/online if it is usable.
56642         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
56643         reading the information from the /proc filesystem to once a second.
56645 2011-06-21  Andreas Jaeger  <aj@suse.de>
56647         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
56648         NULL after inclusion of kernel headers.
56650 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
56652         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
56653         calls to internal_setent.
56655         [BZ #12885]
56656         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
56657         addresses using gethostbyname4_r ignore IPv4 addresses.
56659         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
56660         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
56662         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
56664 2011-06-20  David S. Miller  <davem@davemloft.net>
56666         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
56667         inclusions.
56668         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
56670         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
56671         (elf_irel): Use it.
56672         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
56673         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
56674         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
56675         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
56676         * sysdeps/x86_64/dl-irel.h: Likewise.
56678         * elf/dl-runtime.c: Use elf_ifunc_invoke.
56679         * elf/dl-sym.c: Likewise.
56681 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
56683         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
56684         need to dereference resplen2.
56686 2011-06-14  Andreas Schwab  <schwab@redhat.com>
56688         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
56690 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
56692         * Makeconfig: Define vardbdir and inst_vardbdir.
56693         * nss/Makefile: Add rules to install db-Makefile.
56695         * nss/nss_db/db-XXX.c: Cleanup.
56697         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
56698         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
56699         GLIBC_PRIVATE.
56700         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
56701         * nss/makedb.c: Implement -g option to specify that value strings
56702         are generated and should not be added to table iterated over for
56703         get*ent calls.
56704         * nss/nss_db/db-initgroups.c: New file.
56706         * nss/getent.c: Add support for initgroups lookups through getgrouplist
56707         interface.
56709         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
56710         (internal_getgrouplist): Adjust to name change.
56711         Update use_initgroups_entry if this is not the first call.
56712         * nss/databases.def: Add initgroups entry.
56714         * nss/makedb.c (compute_tables): Check result of multiple hash table
56715         sizes to minimize maximum chain length.
56717 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
56719         * Versions.def: Add entry for libnss_db.
56720         * shlib-versions: Likewise.
56721         * nss/Makefile: Add rules to build libnss_db.
56722         * nss/Versions: Add libnss_db information.  Organize libnss_files
56723         entries better.
56724         * nss/db-Makefile: Add gshadow support.  Change rules for the new
56725         makedb progra.  Some minor improvements to generate smaller files.
56726         * nss/nss_db/nss_db.h: Move NSS database header data structures to
56727         here from...
56728         * nss/makedb.c: ...here.
56729         Improve database format to be smaller and require less memory at
56730         runtime.
56731         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
56732         db anymore.
56733         * nss/nss_db/db-netgrp.c: Likewise.
56734         * nss/nss_db/db-open.c: Likewise.
56735         * nss/nss_files/flies-XXX.x: Adjust comments.
56736         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
56737         * nss/nss_files/files-grp.c: Likewise.
56738         * nss/nss_files/files-hosts.c: Likewise.
56739         * nss/nss_files/files-network.c: Likewise.
56740         * nss/nss_files/files-proto.c: Likewise.
56741         * nss/nss_files/files-pwd.c: Likewise.
56742         * nss/nss_files/files-rpc.c: Likewise.
56743         * nss/nss_files/files-service.c: Likewise.
56744         * nss/nss_files/files-sgrp.c: Likewise.
56745         * nss/nss_files/files-spwd.c: Likewise.
56746         * nss/nss_db/db-alias.c: Removed.
56747         * nss/nss_db/dummy-db.h: Removed.
56749 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
56751         * nss/makedb.c: Rewritten to not use database library.
56752         * nss/Makefile: Update to build new makedb program.
56754 2011-06-14  Andreas Jaeger  <aj@suse.de>
56756         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
56757         memset declaration.
56759 2011-06-10  Andreas Schwab  <schwab@redhat.com>
56761         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
56762         tmpbuf.
56764 2011-06-10  Roland McGrath  <roland@hack.frob.com>
56766         * Makerules (shlib.lds): Fail if the linker script comes out empty.
56767         * elf/Makefile ($(objpfx)ld.so): Likewise.
56769         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
56770         Don't list ld.so twice in dependencies.
56772         * posix/bug-regex31.c: Include <stdlib.h>.
56774         * nscd/hstcache.c (cache_addhst): Remove unused variable.
56776         * nis/nss_compat/compat-spwd.c
56777         (getspent_next_nss_netgr): Remove unused variable.
56778         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
56780         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
56781         nonmembers" output to use the right array.
56783         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
56785         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
56787         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
56788         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
56789         * catgets/gencat.c (read_input_file): Likewise.
56790         * locale/programs/locarchive.c (enlarge_archive): Likewise.
56792         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
56793         variable definition inside #if's controlling its use.
56795         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
56797         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
56799         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
56801         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
56802         unreachable code.
56804         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
56806         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
56807         * configure: Regenerated.
56809         * Makerules: Revert last change.
56810         * elf/Makefile: Likewise.
56812 2011-06-09  Roland McGrath  <roland@hack.frob.com>
56814         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
56815         * elf/Makefile ($(objpfx)librtld.os): Likewise.
56816         (reloc-link): Likewise.
56818 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
56820         * elf/Makefile: Add rules to build pldd.
56821         * elf/pldd.c: New file.
56822         * elf/pldd-xx.c: New file.
56824 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
56826         * version.h: Update for 2.15 development version.
56828 2011-06-07  David S. Miller  <davem@davemloft.net>
56830         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
56831         ifuncs.
56832         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
56833         elf_machine_lazy_rel): Likewise.
56834         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
56835         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
56836         elf_machine_lazy_rel): Likewise.
56837         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
56838         dl_hwcap via passed in argument.
56839         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
56840         Likewise.
56842 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56844         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
56846 2011-06-06  Roland McGrath  <roland@hack.frob.com>
56848         [BZ #12849]
56849         * manual/fdl-1.1.texi: New file, verbatim from:
56850         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
56851         * manual/lgpl-2.1.texi: New file, verbatim from:
56852         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
56853         * manual/Makefile (licenses): New variable, list those new file names.
56854         (texis): Use it.
56855         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
56857         * manual/fdl.texi: File removed.
56858         * manual/lesser.texi: File removed.
56859         * manual/libc.texinfo (Copying, Documentation License):
56860         Use new @include file names, put @appendix directive before @include.
56862 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
56864         [BZ #12841]
56865         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
56866         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
56867         (mq_open): Add __NTH.
56869 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
56871         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56872         Assume Intel Core i3/i5/i7 processor if AVX is available.
56874 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
56876         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56877         typo.
56879 2011-05-31  Andreas Schwab  <schwab@redhat.com>
56881         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
56882         memory.  Use alloca_account.  Fix memory leak when retrying.
56884 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
56886         * version.h (RELEASE): Bump for 2.14 release.
56887         * include/features.h (__GLIBC_MINOR__): Bump to 14.
56889         * config.make.in (RANLIB): Remove entry.
56891 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
56893         * po/Makefile (po-sed-cmd): Add ksh to extensions.
56894         (libc.pot): Work around missing support for .ksh extension in xgettext.
56896         [BZ #12684]
56897         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
56898         if both request failed.
56899         (send_dg): In case of server errors clear resplen or *resplen2.
56901         [BZ #12454]
56902         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
56903         when there are multiple maps.
56904         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
56905         (_dl_fini): Remove test here.
56907         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
56909 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
56911         [BZ #12350]
56912         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
56913         bit from old_res_options.
56914         (gaih_inet): Likewise.
56916         [BZ #11099]
56917         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
56918         as signed.
56920         * resolv/res_init.c (res_setoptions): Make the code more compact.
56922         [BZ #11558]
56923         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
56924         set RES_USEVC.
56926         [BZ #11634]
56927         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
56929         * malloc/malloc.h: Mark malloc hook variables as deprecated.
56931         [BZ #11781]
56932         * malloc/malloc.h: Declare malloc hook variables as volatile.
56934         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
56935         in last patch.
56937         [BZ #11799]
56938         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
56939         raise in the comment.
56940         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56941         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56942         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
56944 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
56946         [BZ #12811]
56947         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
56948         grow the buffers more if it already has to be sufficient.
56949         (build_wcs_upper_buffer): Likewise.
56950         * posix/regexec.c (check_matching): Likewise.
56951         (clean_state_log_if_needed): Likewise.
56952         (extend_buffers): Don't enlarge buffers beyond size of the input
56953         buffer.
56954         Patches mostly by Emil Wojak <emil@wojak.eu>.
56955         * posix/bug-regex32.c: New file.
56956         * posix/Makefile (tests): Add bug-regex32.
56958         * locale/findlocale.c (_nl_find_locale): Return right away if
56959         _nl_explode_name failed.
56960         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
56962         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
56964         * debug/xtrace.sh: Unify messages.
56965         * malloc/memusage.sh: Likewise.
56967         [BZ #12813]
56968         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
56969         time symbol from vDSO.  Substitute with vsyscall if not available.
56970         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
56971         __vdso_time.
56973         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
56974         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
56975         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
56976         Add sendmmsg and internal_sendmmsg.
56977         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
56978         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
56979         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
56981         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
56982         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
56983         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
56985 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
56987         [BZ #12813]
56988         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
56989         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
56990         available.
56991         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
56992         __vdso_getcpu.
56994         [BZ #12814]
56995         * iconvdata/Makefile (tests): Add bug-iconv9.
56996         * iconvdata/bug-iconv9.c: New file.
56998 2011-05-27  Andreas Schwab  <schwab@redhat.com>
57000         [BZ #12814]
57001         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
57003 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
57005         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57006         (struct user_regs_struct): Change intcs field back to cs.
57008 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
57010         * po/ja.po: Update from translation team.
57012 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
57014         [BZ #12795]
57015         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
57016         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
57018 2011-05-20  Andreas Schwab  <schwab@redhat.com>
57020         * stdlib/longlong.h: Update from GCC.
57022 2011-05-23  Andreas Schwab  <schwab@redhat.com>
57024         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
57025         parameter name.
57026         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
57027         Add parameter name.
57028         (__sysconf): Pass it down.
57030 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
57032         [BZ #12671]
57033         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
57034         some situations.
57035         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57036         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
57037         add in in __libc_use_alloca calls.  Adjust callers.
57038         (glob): Use malloc in some situations.
57040         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
57041         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
57042         pltexit.
57044 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
57046         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
57047         and CLOCK_BOOTTIME_ALARM.
57049         [BZ #12782]
57050         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
57051         is returned.
57053         * string/_strerror.c (__strerror_r): Print negative errors as signed
57054         numbers.
57056         [BZ #12777]
57057         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
57058         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
57059         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
57061         * configure.in: Fix typo in redirection and correct removal of test
57062         files in two cases.
57064         [BZ #12788]
57065         * locale/setlocale.c (new_composite_name): Fix test to check for
57066         identical name of all categories.
57068         [BZ #12792]
57069         * libio/filedoalloc.c (local_isatty): New function.
57070         (_IO_file_doallocate): Use local_isatty.
57071         * stdio-common/perror.c (perror): In case a new stream is used
57072         forward the stream error.
57073         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
57074         error flag.
57076 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
57078         [BZ #11869]
57079         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
57080         alloca.
57081         * include/alloca.h (extend_alloca_account): Define.
57083         [BZ #11857]
57084         * posix/regex.h: Fix comments with documentation of user-accessible
57085         fields after compilation and describe correct free'ing of pattern
57086         after re_compile_pattern.
57087         Patch by Reuben Thomas <rrt@sc3d.org>.
57089 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
57091         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
57092         and -mno-altivec to prevent the compiler from using Altivec and/or
57093         VSX instructions when the corresponding registers are not available.
57095 2011-05-19  Andreas Schwab  <schwab@redhat.com>
57097         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
57099 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
57101         * libio/freopen.c (freopen): Use __dup2, not dup2.
57102         * libio/freopen64.c (freopen64): Likewise.
57104 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57106         [BZ #12775]
57107         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
57108         * math/Makefile (tests): Add test-powl.
57109         (CFLAGS-test-powl.c): Define.
57110         * math/test-powl.c: New file.
57112 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57114         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
57116 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
57118         [BZ #11837]
57119         * iconvdata/gb18030.c: Update to GB18020-2005.
57121 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
57123         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
57124         RE_SYNTAX_POSIX_AWK): Update to match recent development.
57125         Patch by Aharon Robbins <arnold@skeeve.com>.
57127         [BZ #11892]
57128         * stdlib/putenv.c (putenv): Don't always create copy of the variable
57129         on the stack.
57131         [BZ #11895]
57132         * misc/pselect.c (__pselect): Handle timeout value errors hidden
57133         through underflows.
57135         [BZ #12766]
57136         * misc/error.c (error_at_line): Ensure file_name and old_file_name
57137         point to strings before performing equality test for error_one_per_line
57138         mode.
57140         [BZ #11697]
57141         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
57143         [BZ #11820]
57144         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57145         (struct user_fpregs_struct): Avoid __uint*_t types.
57147         [BZ #6420]
57148         * malloc/mtrace.c (tr_where): Add additional parameter to point to
57149         symbol info.  Use it instead of calling _dl_addr locally.
57150         (lock_and_info): New function.
57151         (tr_freehook): Call lock_and_info and pass symbol info as additional
57152         parameter to tr_where.
57153         (tr_mallochook): Likewise.
57154         (tr_reallochook): Likewise.
57155         (tr_memalignhook): Likewise.
57157         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
57158         used and couldn't be at all thread-safe.
57160 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
57162         * libio/freopen.c (freopen): Don't close old file descriptor
57163         before the new one is opened.  Instead dup the new file descriptor
57164         to the old one after the new stream is created.
57165         * libio/freopen64.c (freopen64): Likewise.
57166         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
57167         * libio/fileops.c (_IO_new_file_close_it): Handle new
57168         _IO_FLAGS2_NOCLOSE flag.
57169         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
57170         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
57171         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
57172         _IO_FLAGS2_NOCLOSE flag.
57173         * include/unistd.h: Add hidden_proto for dup3.
57174         Define __have_dup3.
57175         * io/dup3.c: Define hidden symbol.
57176         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
57178         [BZ #7101]
57179         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
57180         when an incomplete long option is used.
57181         * posix/tst-getopt_long1.c: New file.
57182         * posix/Makefile (tests): Add tst-getopt_long1.
57184         [BZ #10138]
57185         * scripts/config.guess: Update from autoconf-2.68.
57186         * scripts/config.sub: Likewise.
57188         [BZ #10157]
57189         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
57190         tests into ...
57191         (has_cpuclock): ...this.  New function.
57192         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
57193         macro here based on has_cpuclock code.
57195         [BZ #10149]
57196         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57197         First byte (not low byte) is now always NUL.
57198         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
57200         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57201         Use non-cancelable interfaces.
57203         [BZ #9809]
57204         * locale/iso-639.def: Add entry for Sorani.
57206         [BZ #11901]
57207         * include/stdlib.h: Move include protection to the right place.
57208         Define abort_msg_s.  Declare __abort_msg with it.
57209         * stdlib/abort.c (__abort_msg): Adjust type.
57210         * assert/assert.c (__assert_fail_base): New function.  Majority
57211         of code from __assert_fail.  Allocate memory for __abort_msg with
57212         mmap.
57213         (__assert_fail): Now call __assert_fail_base.
57214         * assert/assert-perr.c: Remove bulk of implementation.  Use
57215         __assert_fail_base.
57216         * include/assert.hL Declare __assert_fail_base.
57217         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
57218         mmap.
57219         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
57221 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
57223         [BZ #11952]
57224         [BZ #12453]
57225         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
57226         until all modules are registered in the DTV.
57227         * elf/Makefile: Add rules to build and run tst-tls19.
57228         * elf/tst-tls19.c: New file.
57229         * elf/tst-tls19mod1.c: New file.
57230         * elf/tst-tls19mod2.c: New file.
57231         * elf/tst-tls19mod3.c: New file.
57232         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
57234         [BZ #12083]
57235         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
57236         correctly.
57238         [BZ #12601]
57239         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
57240         two-byte sequence errors.
57241         * iconvdata/Makefile (tests): Add bug-iconv8.
57242         * iconvdata/bug-iconv8.c: New file.
57244         [BZ #12626]
57245         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
57246         buf2 definition.
57248         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
57250         [BZ #12432]
57251         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
57252         (dummy_getcfa): New function.
57253         (init): Get _Unwind_GetCFA address, use dummy if not found.
57254         (backtrace_helper): In recursion check, also check whether CFA changes.
57255         (__backtrace): Completely initialize arg.
57257         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
57258         storing incomplete byte sequence in state object.  Avoid testing for
57259         guaranteed too small input if we know there is enough data available.
57261 2011-05-11  Andreas Schwab  <schwab@redhat.com>
57263         * Makeconfig (+link-pie): Indent.
57264         * Rules (binaries-pie): Define if $(have-fpie) and
57265         $(build-shared).
57266         (binaries-shared): Also filter out $(binaries-pie).
57267         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
57268         * nscd/Makefile (others-pie): Add nscd.
57269         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
57270         ($(objpfx)nscd): Remove command override.
57271         * login/Makefile (others-pie): Add pt_chown.
57272         ($(objpfx)pt_chown): Remove command override.
57273         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
57274         remove command overrides.
57276 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
57278         * libio/tst_putwc.c: Fix error messages.
57280         [BZ #12724]
57281         * libio/fileops.c (_IO_new_file_close_it): Always flush when
57282         currently writing and seek to current position when not.
57283         * libio/Makefile (tests): Add bug-fclose1.
57284         * libio/bug-fclose1.c: New file.
57286 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
57288         [BZ #12511]
57289         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
57290         don't set DF_1_NODELETE here.
57291         (do_lookup_x): When entering new entry test for copy relocation
57292         and if necessary set DF_1_NODELETE flag.
57293         * elf/tst-unique4.cc: New file.
57294         * elf/tst-unique4.h: New file.
57295         * elf/tst-unique4lib.cc: New file.
57296         * elf/Makefile: Add rules to build and run tst-unique4.
57297         Patch by Piotr Bury <pbury@goahead.com>.
57299 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
57301         [BZ #12052]
57302         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
57304         [BZ #12625]
57305         * misc/mntent_r.c (addmntent): Flush the stream after the output
57307         [BZ #12393]
57308         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
57309         (is_trusted_path_normalize): Skip initial colon.  Append slash
57310         to empty buffer.  Duplicate is_trusted_path code but allow
57311         constructed patch to be prefix.
57312         (is_dst): Allow $ORIGIN followed by /.
57313         (_dl_dst_substitute): Correct clearing of check_for_trusted.
57314         Correct testing of result of is_trusted_path_normalize
57315         (decompose_rpath): Fix warning.
57317 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
57319         [BZ #11257]
57320         * grp/initgroups.c (internal_getgrouplist): When we found the service
57321         list through the initgroups entry in nsswitch.conf do not always
57322         continue on a successful lookup.  Don't always use the
57323         __nss_group_database value if it is set.
57324         * nss/nsswitch.conf (initgroups): Change action for successful db
57325         lookup to continue for compatibility.
57327 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
57329         [BZ #11532]
57330         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
57331         and CP774 modules.
57332         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
57333         and CP774 modules.
57334         * iconvdata/tst-tables.sh: Likewise.
57335         * iconvdata/cp770.c: New file.
57336         * iconvdata/cp771.c: New file.
57337         * iconvdata/cp772.c: New file.
57338         * iconvdata/cp773.c: New file.
57339         * iconvdata/cp774.c: New file.
57340         * iconvdata/testdata/CP770: New file.
57341         * iconvdata/testdata/CP770..UTF8: New file.
57342         * iconvdata/testdata/CP771: New file.
57343         * iconvdata/testdata/CP771..UTF8: New file.
57344         * iconvdata/testdata/CP772: New file.
57345         * iconvdata/testdata/CP772..UTF8: New file.
57346         * iconvdata/testdata/CP773: New file.
57347         * iconvdata/testdata/CP773..UTF8: New file.
57348         * iconvdata/testdata/CP774: New file.
57349         * iconvdata/testdata/CP774..UTF8: New file.
57351         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
57352         END CHARMAP line.
57353         * iconvdata/gen-8bit-gap.sh: Likewise.
57354         * iconvdata/gen-8bit.sh: Likewise.
57356         * locale/iso-639.def: Add ary entry.
57358         [BZ #11258]
57359         * locale/C-translit.h.in: Add U20A1 transliteration.
57361         [BZ #12178]
57362         * locale/iso-639.def: Add wae entry.
57363         Patch by Kevin Bortis <bortis@translate-wae.ch>.
57365         [BZ #12545]
57366         * locale/programs/localedef.c (construct_output_path): Use ssize_t
57367         for n.
57369         [BZ #12711]
57370         * locale/C-translit.h.in: Add entry for U20B9.
57371         Patch by pravin.d.s@gmail.com.
57373 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
57375         [BZ #12713]
57376         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
57377         ENAMETOOLONG use generic getcwd.
57378         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
57379         in rtld.  Use *stat64.
57380         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
57381         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
57382         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
57383         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
57384         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
57385         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
57386         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
57387         __fstatat64 macros.
57388         * include/dirent.h: Add libc_hidden_proto for rewinddir.
57389         * dirent/rewinddir.c: Add libc_hidden_def.
57390         * sysdeps/mach/hurd/rewinddir.c: Likewise.
57391         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
57393         * include/dirent.h (__alloc_dir): Add flags parameter.
57394         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
57395         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
57396         __alloc_dir.
57397         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
57398         from fdopendir if O_CLOEXEC is already set.
57400 2011-03-15  Alan Modra  <amodra@gmail.com>
57402         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
57403         l_tls_firstbyte_offset non-zero.  Save padding offset in
57404         l_tls_firstbyte_offset for later use.
57405         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
57406         freeing static tls block.
57408 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
57410         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
57411         where #ifdef was intended.  The intent is to prevent ARG_MAX from
57412         being defined by the kernel headers.
57414 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
57416         [BZ #12734]
57417         * resolv/resolv.h: Define RES_NOTLDQUERY.
57418         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
57419         no-tld-query and set RES_NOTLDQUERY.
57420         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
57421         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
57422         modern BIND to search name as TLD unless forbidden.
57424 2011-05-07  Petr Baudis  <pasky@suse.cz>
57425             Ulrich Drepper  <drepper@gmail.com>
57427         [BZ #12393]
57428         * elf/dl-load.c (fillin_rpath): Move trusted path check...
57429         (is_trusted_path): ...to here.
57430         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
57431         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
57432         using is_trusted_path_normalize() in setuid scripts.
57434 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
57436         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
57437         __BEGIN/__END_DECLS.
57439 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
57441         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
57442         NSS_STATUS_NOTFOUND if no record was found.
57444 2011-05-05  Andreas Schwab  <schwab@redhat.com>
57446         * sunrpc/Makefile (headers): Add rpc/netdb.h.
57447         (headers-not-in-tirpc): Remove rpc/netdb.h
57448         * resolv/netdb.h: Revert last change.
57450 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
57452         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
57453         circular dependency between libgcc.a and libc.a.
57455 2011-05-05  Andreas Schwab  <schwab@redhat.com>
57457         * resolv/netdb.h: Don't include <rpc/netdb.h>.
57458         * nis/Makefile: Don't install rpcsvc/*.
57459         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
57460         instead of <rpc/types.h>.
57461         (MAXHOSTNAMELEN): Define.
57463 2011-05-03  Andreas Schwab  <schwab@redhat.com>
57465         * elf/ldconfig.c (add_dir): Don't crash on empty path.
57467 2011-04-28  Maciej Babinski  <mbabinski@google.com>
57469         [BZ #12714]
57470         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
57471         gethostbyname4_r when IPv6 results are possible.
57473 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
57475         [BZ #12723]
57476         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
57477         _PC_PIPE_BUF handling.
57479 2011-04-30  Bruno Haible  <bruno@clisp.org>
57481         [BZ #12717]
57482         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
57483         * resolv/netdb.h (getnameinfo): Change type of flags parameter
57484         to 'int'.
57485         * inet/getnameinfo.c (getnameinfo): Likewise.
57487 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
57489         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
57490         to groups setting in database lookup.
57491         * nss/nsswitch.conf: Add initgroups entry.
57493 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
57495         [BZ #12685]
57496         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
57497         mode string.
57498         Patch by Eric Blake <eblake@redhat.com>.
57500 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
57502         * sunrpc/Makefile (need-export-routines): Add svc_run.
57503         (routines): Remove svc_run.
57504         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
57505         * sunrpc/clnt_perr.c (clnt_perrno): Export.
57506         * sunrpc/svc_run.c (svc_run): Likewise.
57507         * sunrpc/svc_udp.c (svcudp_create): Likewise.
57509 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
57511         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
57512         problem in reallocation in last patch.
57514 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
57516         * sunrpc/Makefile: Move inclusion of Rules.
57518 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
57520         * nss/nss_files/files-initgroups.c: New file.
57521         * nss/Makefile (libnss_files-routines): Add files-initgroups.
57522         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
57523         _nss_files_initgroups_dyn.
57525 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
57527         * elf/elf.h (R_ARM_IRELATIVE): Define.
57529 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
57531         * po/ru.po: Update from translation team.
57533 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
57535         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
57536         dependencies.
57538 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
57540         [BZ #12653]
57541         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
57542         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
57543         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57544         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57545         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57547 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
57549         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
57550         differing bytes.
57551         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57552         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57553         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57555 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
57557         [BZ #12420]
57558         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
57559         storing it.
57560         * stdlib/bug-getcontext.c: New file.
57561         * stdlib/Makefile: Add rules to build and run bug-getcontext.
57563 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57565         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
57566         instructions into .machine "z9-109".
57567         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
57568         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
57570 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57572         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
57573         between environment variables and auxiliary vector.
57575 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
57577         * Makefile: Add rules to build linkobj/libc.so.
57578         * include/libc-symbols.h: Define libc_hidden_nolink.
57579         * include/rpc/auth.h: Mark functions which are to be hidden.
57580         * include/rpc/auth_des.h: Likewise.
57581         * include/rpc/auth_unix.h: Likewise.
57582         * include/rpc/clnt.h: Likewise.
57583         * include/rpc/des_crypt.h: Likewise.
57584         * include/rpc/key_prot.h: Likewise.
57585         * include/rpc/pmap_clnt.h: Likewise.
57586         * include/rpc/pmap_prot.h: Likewise.
57587         * include/rpc/pmap_rmt.h: Likewise.
57588         * include/rpc/rpc_msg.h: Likewise.
57589         * include/rpc/svc.h: Likewise.
57590         * include/rpc/svc_auth.h: Likewise.
57591         * include/rpc/xdr.h: Likewise.
57592         * nis/Makefile: Link all DSOs against linkobj/libc.so.
57593         * nss/Makefile: Likewise.
57594         * sunrpc/Makefile: Don't install headers.  Build library with normal
57595         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
57596         * sunrpc/auth_des.c: Hide exported symbols by default, export some
57597         for the compat linking library.  Remove use of INTDEF/INTUSE.
57598         * sunrpc/auth_none.c: Likewise.
57599         * sunrpc/auth_unix.c: Likewise.
57600         * sunrpc/authdes_prot.c: Likewise.
57601         * sunrpc/authuxprot.c: Likewise.
57602         * sunrpc/clnt_gen.c: Likewise.
57603         * sunrpc/clnt_perr.c: Likewise.
57604         * sunrpc/clnt_raw.c: Likewise.
57605         * sunrpc/clnt_simp.c: Likewise.
57606         * sunrpc/clnt_tcp.c: Likewise.
57607         * sunrpc/clnt_udp.c: Likewise.
57608         * sunrpc/clnt_unix.c: Likewise.
57609         * sunrpc/des_crypt.c: Likewise.
57610         * sunrpc/des_soft.c: Likewise.
57611         * sunrpc/get_myaddr.c: Likewise.
57612         * sunrpc/key_call.c: Likewise.
57613         * sunrpc/key_prot.c: Likewise.
57614         * sunrpc/netname.c: Likewise.
57615         * sunrpc/pm_getmaps.c: Likewise.
57616         * sunrpc/pm_getport.c: Likewise.
57617         * sunrpc/pmap_clnt.c: Likewise.
57618         * sunrpc/pmap_prot.c: Likewise.
57619         * sunrpc/pmap_prot2.c: Likewise.
57620         * sunrpc/pmap_rmt.c: Likewise.
57621         * sunrpc/publickey.c: Likewise.
57622         * sunrpc/rpc_cmsg.c: Likewise.
57623         * sunrpc/rpc_common.c: Likewise.
57624         * sunrpc/rpc_dtable.c: Likewise.
57625         * sunrpc/rpc_prot.c: Likewise.
57626         * sunrpc/rpc_thread.c: Likewise.
57627         * sunrpc/rtime.c: Likewise.
57628         * sunrpc/svc.c: Likewise.
57629         * sunrpc/svc_auth.c: Likewise.
57630         * sunrpc/svc_authux.c: Likewise.
57631         * sunrpc/svc_raw.c: Likewise.
57632         * sunrpc/svc_run.c: Likewise.
57633         * sunrpc/svc_simple.c: Likewise.
57634         * sunrpc/svc_tcp.c: Likewise.
57635         * sunrpc/svc_udp.c: Likewise.
57636         * sunrpc/svc_unix.c: Likewise.
57637         * sunrpc/svcauth_des.c: Likewise.
57638         * sunrpc/xcrypt.c: Likewise.
57639         * sunrpc/xdr.c: Likewise.
57640         * sunrpc/xdr_array.c: Likewise.
57641         * sunrpc/xdr_float.c: Likewise.
57642         * sunrpc/xdr_intXX_t.c: Likewise.
57643         * sunrpc/xdr_mem.c: Likewise.
57644         * sunrpc/xdr_rec.c: Likewise.
57645         * sunrpc/xdr_ref.c: Likewise.
57646         * sunrpc/xdr_sizeof.c: Likewise.
57647         * sunrpc/xdr_stdio.c: Likewise.
57649 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
57651         [BZ #12650]
57652         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
57653         * sysdeps/ia64/dl-tls.h: Likewise.
57654         * sysdeps/powerpc/dl-tls.h: Likewise.
57655         * sysdeps/s390/dl-tls.h: Likewise.
57656         * sysdeps/sh/dl-tls.h: Likewise.
57657         * sysdeps/sparc/dl-tls.h: Likewise.
57658         * sysdeps/x86_64/dl-tls.h: Likewise.
57659         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
57661 2011-03-14  Andreas Schwab  <schwab@redhat.com>
57663         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
57664         rpath element also skip the following colon.
57665         (expand_dynamic_string_token): Add is_path parameter and pass
57666         down to DL_DST_REQUIRED and _dl_dst_substitute.
57667         (decompose_rpath): Call expand_dynamic_string_token with
57668         non-zero is_path.  Ignore empty rpaths.
57669         (_dl_map_object_from_fd): Call expand_dynamic_string_token
57670         with zero is_path.
57672 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
57674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
57675         Make cancelable.
57677 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
57679         [BZ #12655]
57680         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
57681         Patch by Filipe David Manana <fdmanana@apache.org>.
57683 2011-04-07  Andreas Schwab  <schwab@redhat.com>
57685         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
57686         Maintain aligned stack.
57687         (CHECK_RSP): Remove unused macro.
57689 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
57691         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
57692         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
57694 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
57696         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
57698         * include/features.h: Mention __USE_XOPEN2K8 in comment.
57700 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
57702         [BZ #12518]
57703         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
57704         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
57705         * sysdeps/x86_64/memmove.c: New file.
57706         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
57707         (memcpy): Renamed to ...
57708         (__new_memcpy): This.
57709         (memcpy): Provide GLIBC_2_14 memcpy.
57710         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
57711         (memcpy): Provide GLIBC_2_2_5 memcpy.
57713 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
57715         [BZ #12631]
57716         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
57718 2011-03-30  Andreas Schwab  <schwab@redhat.com>
57720         * misc/syncfs.c: New file.
57721         * misc/Makefile (routines): Add syncfs.
57722         * posix/unistd.h: Declare syncfs.
57723         * sysdeps/unix/syscalls.list: Add syncfs.
57725 2011-04-01  Andreas Schwab  <schwab@redhat.com>
57727         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
57728         open_by_handle_at.
57729         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57730         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57731         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57732         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57733         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57734         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
57735         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57737 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
57739         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
57740         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57741         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
57742         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57743         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57744         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57745         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57747         * io/Makefile: Compile fallocate.c, fallocate64.c, and
57748         sync_file_range.c with -fexceptions.
57749         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
57750         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
57751         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
57752         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
57753         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
57754         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
57755         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
57756         sync_file_range as cancellation point
57757         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
57758         now a wrapper around __call_sync_file_range with cancellation handling.
57759         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
57760         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
57761         function name to __call_sync_file_range.
57762         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
57763         Add call_sync_file_range.
57765 2011-04-01  Andreas Schwab  <schwab@redhat.com>
57767         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57768         bits/timex.h.
57770 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
57772         * iconv/iconv.h: Fix typo in comment.
57773         * io/fcntl.h: Likewise.
57774         * libio/stdio.h: Likewise.
57775         * posix/spawn.h: Likewise.
57776         * posix/unistd.h: Likewise.
57777         * stdlib/stdlib.h: Likewise.
57778         * time/time.h: Likewise.
57779         * wcsmbs/wchar.h: Likewise.
57781         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
57782         open_by_handle): Add.
57783         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
57784         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
57785         Augment a few comments.
57786         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57787         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57788         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57789         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57790         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57791         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
57792         open_by_handle.
57794         * io/fcntl.h (AT_EMPTY_PATH): Define.
57796 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
57798         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
57799         * sysdeps/unix/sysv/linux/bits/time.h: New file.
57800         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
57801         to...
57802         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
57803         * Versions.def: Add GLIBC_2.14.
57804         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
57805         Export.
57807 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
57809         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
57810         round counter.
57811         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
57813 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
57815         [BZ #12597]
57816         * string/test-strncmp.c (do_page_test): New function.
57817         (check2): Likewise.
57818         (test_main): Call check2.
57819         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
57821 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
57823         [BZ #12587]
57824         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
57825         Handle cache information in CPU leaf 4.
57826         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
57828 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
57830         [BZ #12583]
57831         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
57832         character representation.
57833         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
57835 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
57837         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
57838         END(__isnan) to END(__isnanf) to match function entry point/label
57839         EALIGN(__isnanf,...).
57841 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
57843         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
57845 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
57847         [BZ #12510]
57848         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
57849         copy from the symbol referenced in the relocation to initialize the
57850         used variable.
57851         Patch by Piotr Bury <pbury@goahead.com>.
57852         * elf/Makefile: Add rules to build and tst-unique3.
57853         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
57854         * elf/tst-unique3.cc: New file.
57855         * elf/tst-unique3.h: New file.
57856         * elf/tst-unique3lib.cc: New file.
57857         * elf/tst-unique3lib2.cc: New file.
57859         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
57861 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
57863         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
57864         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
57865         to _start.
57867 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
57869         * elf/dl-load.c (_dl_map_object): If we are looking for the first
57870         to-be-loaded object along a path to loader is ld.so.
57872 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
57873             Ulrich Drepper  <drepper@gmail.com>
57875         * sysdeps/x86_64/memset.S: After aligning destination, code
57876         branches to different locations depending on the value of
57877         misalignment, when multiarch is enabled. Fix this.
57879 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
57881         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
57882         Set _x86_64_preferred_memory_instruction for AMD processsors.
57883         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57884         Set bit_Prefer_SSE_for_memop for AMD processors.
57886 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
57888         * libio/fmemopen.c (fmemopen): Optimize a bit.
57890 2011-03-03  Andreas Schwab  <schwab@redhat.com>
57892         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
57894 2011-03-03  Roland McGrath  <roland@redhat.com>
57896         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
57898 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
57900         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
57901         __bzero_ultra1 instead of __memset_ultra1.
57903 2011-02-23  Andreas Schwab  <schwab@redhat.com>
57904             Ulrich Drepper  <drepper@gmail.com>
57906         [BZ #12509]
57907         * include/link.h (struct link_map): Add l_orig_initfini.
57908         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
57909         returning unsuccessfully.
57910         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
57911         close of a file loaded at startup, restore the original l_initfini
57912         list.
57913         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
57914         list, store the pointer.
57915         * elf/Makefile ($(objpfx)noload-mem): New rule.
57916         (noload-ENV): Define.
57917         (tests): Add $(objpfx)noload-mem.
57918         * elf/noload.c: Include <memcheck.h>.
57919         (main): Call mtrace.  Close all opened handles.
57921 2011-02-17  Andreas Schwab  <schwab@redhat.com>
57923         [BZ #12454]
57924         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
57925         dependencies are missing.
57927 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57929         Fix __if_freereq crash: Unlike the generic version which uses free,
57930         Hurd needs munmap.
57931         * sysdeps/mach/hurd/ifreq.h: New file.
57933 2011-01-27  Petr Baudis  <pasky@suse.cz>
57934             Ulrich Drepper  <drepper@gmail.com>
57936         [BZ 12445]#
57937         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
57938         to extend_alloca().
57939         * stdio-common/bug23.c: New file.
57940         * stdio-common/Makefile (tests): Add bug23.
57942 2010-09-28  Andreas Schwab  <schwab@redhat.com>
57943             Ulrich Drepper  <drepper@gmail.com>
57945         [BZ #12489]
57946         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
57947         before performing relro protection.  At old place add assertion
57948         to make sure nothing changed.
57950 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
57951             Glauber de Oliveira Costa  <glommer@gmail.com>
57953         * elf/elf.h: Add new ARM TLS relocs.
57955 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
57957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57958         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
57959         cast from r3.
57960         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
57961         'tests' variable.
57962         * sysdeps/wordsize-64/tst-writev.c: New file.
57964 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
57966         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
57967         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
57968         insns in _dl_start to prevent a TOC reference before relocs are
57969         resolved.
57971 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
57973         [BZ #12469]
57974         * Makeconfig: Remove RANLIB definition.
57975         * Makerules: Don't use RANLIB.
57976         * aclocal.m4: Remove ranlib test.
57977         * configure.in: No need to check for ranlib.
57978         * elf/rtld-Rules: Don't use RANLIB.
57980 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57982         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
57983         protection macro.
57984         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
57985         inclusion protection macro.
57987         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
57988         SIGRTMIN and SIGRTMAX and print information in that case only when
57989         SIGRTMIN is defined.
57991 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
57993         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
57994         arginfo fn returning -1.
57996         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
57997         and thousands string is zero terminated.
57999 2011-02-03  Andreas Schwab  <schwab@redhat.com>
58001         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
58002         sysdeps/unix/sysv/linux/bits/socket.h.
58004 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58006         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
58007         (__CPU_COUNT): Remove old macros.
58008         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
58009         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
58010         (__CPU_ALLOC, __CPU_FREE): Add macros.
58011         (__sched_cpualloc, __sched_cpufree): Add declarations.
58013 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
58015         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
58016         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
58017         * nscd/aicache.c (addhstaiX): Return timeout of added value.
58018         (readdhstai): Return value of addhstaiX call.
58019         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
58020         (addgrbyX): Return value returned by cache_addgr.
58021         (readdgrbyname): Return value returned by addgrbyX.
58022         (readdgrbygid): Likewise.
58023         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
58024         (addpwbyX): Return value returned by cache_addpw.
58025         (readdpwbyname): Return value returned by addhstbyX.
58026         (readdpwbyuid): Likewise.
58027         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
58028         (addservbyX): Return value returned by cache_addserv.
58029         (readdservbyname): Return value returned by addservbyX:
58030         (readdservbyport): Likewise.
58031         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
58032         (addhstbyX): Return value returned by cache_addhst.
58033         (readdhstbyname): Return value returned by addhstbyX.
58034         (readdhstbyaddr): Likewise.
58035         (readdhstbynamev6): Likewise.
58036         (readdhstbyaddrv6): Likewise.
58037         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
58038         (readdinitgroups): Return value returned by addinitgroupsX.
58039         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
58040         (prune_cache): Keep track of timeout value of re-added entries.
58041         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
58042         * nscd/nscd.h: Adjust prototypes of readd* functions.
58044 2011-02-04  Roland McGrath  <roland@redhat.com>
58046         * nis/nis_server.c (nis_servstate): Use the right name for 0.
58047         (nis_stats): Likewise.
58048         * nis/nis_modify.c (nis_modify): Likewise.
58049         * nis/nis_remove.c (nis_remove): Likewise.
58050         * nis/nis_add.c (nis_add): Likewise.
58052         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
58054         * posix/fnmatch_loop.c: Add some consts.
58056         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
58058 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
58060         [BZ #12460]
58061         * config.make.in (config-cflags-novzeroupper): Define.
58062         * configure.in: Substitute libc_cv_cc_novzeroupper.
58063         * elf/Makefile (AVX-CFLAGS): Define.
58064         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
58065         (CFLAGS-tst-auditmod4a.c): Likewise.
58066         (CFLAGS-tst-auditmod4b.c): Likewise.
58067         (CFLAGS-tst-auditmod6b.c): Likewise.
58068         (CFLAGS-tst-auditmod6c.c): Likewise.
58069         (CFLAGS-tst-auditmod7b.c): Likewise.
58070         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
58072 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
58074         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
58075         function to the callback.
58076         Patch partly by Jiri Olsa <jolsa@redhat.com>.
58078 2011-02-02  Andreas Schwab  <schwab@redhat.com>
58080         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
58081         of errno.
58083 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
58085         [BZ #11724]
58086         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
58087         of constructors.
58088         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
58089         of destructors.
58090         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
58092         [BZ #11724]
58093         * elf/Makefile: Add rules to build and run new test.
58094         * elf/tst-initorder.c: New file.
58095         * elf/tst-initorder.exp: New file.
58096         * elf/tst-initordera1.c: New file.
58097         * elf/tst-initordera2.c: New file.
58098         * elf/tst-initordera3.c: New file.
58099         * elf/tst-initordera4.c: New file.
58100         * elf/tst-initorderb1.c: New file.
58101         * elf/tst-initorderb2.c: New file.
58102         * elf/tst-order-a1.c: New file.
58103         * elf/tst-order-a2.c: New file.
58104         * elf/tst-order-a3.c: New file.
58105         * elf/tst-order-a4.c: New file.
58106         * elf/tst-order-b1.c: New file.
58107         * elf/tst-order-b2.c: New file.
58108         * elf/tst-order-main.c: New file.
58109         New test case by George Gensure <werkt0@gmail.com>.
58111 2010-10-01  Andreas Schwab  <schwab@redhat.com>
58113         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58114         decoding ACE if AI_CANONIDN.
58116 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
58118         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
58120 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
58122         * version.h (RELEASE): Bump for 2.13 release.
58123         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
58125         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
58127         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
58128         MADV_NOHUGEPAGE.
58129         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
58130         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58131         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58132         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58133         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58134         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58136         * posix/getconf.c: Update copyright year.
58137         * catgets/gencat.c: Likewise.
58138         * csu/version.c: Likewise.
58139         * debug/catchsegv.sh: Likewise.
58140         * debug/xtrace.sh: Likewise.
58141         * elf/ldconfig.c: Likewise.
58142         * elf/ldd.bash.in: Likewise.
58143         * elf/sprof.c (print_version): Likewise.
58144         * iconv/iconv_prog.c: Likewise.
58145         * iconv/iconvconfig.c: Likewise.
58146         * locale/programs/locale.c: Likewise.
58147         * locale/programs/localedef.c: Likewise.
58148         * malloc/memusage.sh: Likewise.
58149         * malloc/mtrace.pl: Likewise.
58150         * nscd/nscd.c (print_version): Likewise.
58151         * nss/getent.c: Likewise.
58153         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
58154         PF_CAIF, and PF_ALG.
58155         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58157 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
58159         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
58160         (modules-names): Use them.
58161         (ifunc-test-modules, ifunc-pie-tests): Define.
58162         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
58163         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
58164         (test-extras): Likewise.
58165         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
58166         $(compile-command.c).
58167         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
58168         (all-built-dso): Define.
58169         (check-textrel.out, check-execstack.out): Depend on it.
58171         * configure.in: Don't override --enable-multi-arch.
58173 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
58175         [BZ #6812]
58176         * nscd/hstcache.c (tryagain): Define.
58177         (cache_addhst): Return tryagain not notfound for temporary errors.
58178         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
58179         failed.
58181 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
58183         [BZ #10563]
58184         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
58185         to make the syscall.
58186         * sysdeps/unix/sysv/linux/setgroups.c: New file.
58188         [BZ #12378]
58189         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
58190         and fall back to matching as normal character if the string ends before
58191         the matching ']' is found.  This is what POSIX requires.
58192         * posix/testfnm.c: Adjust test result.
58193         * posix/globtest.sh: Adjust test result.  Add new test.
58194         * posix/tst-fnmatch.input: Likewise.
58195         * posix/tst-fnmatch2.c: Add new test.
58197 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
58199         * elf/Makefile (check-execstack): Revert last change.  Depend on
58200         check-execstack.h.
58201         (check-execstack.h): New target.
58202         (generated): Add check-execstack.h.
58203         * elf/check-execstack.c: Include "check-execstack.h".
58204         (main): Revert last change.
58205         (handle_file): Return zero if GNU_STACK is absent and
58206         DEFAULT_STACK_PERMS doesn't include PF_X.
58208 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
58210         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
58211         in child fails because the descriptor is already closed.
58212         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
58213         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
58214         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
58216         [BZ #12397]
58217         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
58218         syscall.
58220         [BZ #10484]
58221         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
58222         temporary buffer used to handle multi lookups locally.
58223         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
58225 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
58227         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
58228         loader is ld.so.
58230 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
58232         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
58233         alignment for SSE2.
58235 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
58237         [BZ #12394]
58238         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
58239         characters.  When rounding increased number of integer digits recompute
58240         number of groups.
58241         * stdio-common/tst-grouping.c: New file.
58242         * stdio-common/Makefile: Add rules to build and run tst-grouping.
58244 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
58246         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
58247         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
58249         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
58250         void.
58251         * bits/select.h: Likewise.
58253 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
58255         * po/ja.po: Update from translation team.
58257 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
58259         [BZ #11155]
58260         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
58261         implementation just like for lxstat, fxstatat, et al.
58263 2010-12-27  Jim Meyering  <meyering@redhat.com>
58265         [BZ #12348]
58266         * posix/regexec.c (build_trtable): Return failure indication upon
58267         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
58269 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
58271         [BZ #12201]
58272         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
58273         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
58274         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
58275         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
58277         [BZ #12207]
58278         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
58280         [BZ #12204]
58281         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
58282         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
58284 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
58286         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
58287         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
58288         script has SORT_BY_INIT_PRIORITY.
58289         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
58290         NO_CTORS_DTORS_SECTIONS is defined.
58291         * elf/soinit.c: Likewise.
58292         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
58293         NO_CTORS_DTORS_SECTIONS is defined.
58294         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
58295         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
58296         * sysdeps/sh/init-first.c: Likewise.
58297         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
58299 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
58301         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
58302         always use the slow path.
58304 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
58306         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
58307         similar rule which adds the sysdep directories to the header search in
58308         order to pick up the correct platform stackinfo.h.
58309         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
58310         perform test if it is, otherwise return successfully without testing.
58311         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
58312         DEFAULT_STACK_PERMS define in stackinfo.h.
58313         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
58314         defined in stackinfo.h.
58315         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
58316         DEFAULT_STACK_PERMS defined in stackinfo.h.
58317         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
58318         * sysdeps/ia64/stackinfo.h: Likewise.
58319         * sysdeps/s390/stackinfo.h: Likewise.
58320         * sysdeps/sh/stackinfo.h: Likewise.
58321         * sysdeps/sparc/stackinfo.h: Likewise.
58322         * sysdeps/x86_64/stackinfo.h: Likewise.
58323         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
58324         PF_X for powerpc64.  Retain PF_X for powerpc32.
58326 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
58328         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
58329         accurately.
58330         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
58331         GETDENTS_64BIT_ALIGNED.
58333 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
58335         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
58337 2010-12-10  Andreas Schwab  <schwab@redhat.com>
58339         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
58340         _GNU_SOURCE.
58342         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
58343         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
58344         Remove __restrict.
58345         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
58346         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
58348 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
58350         [BZ #11655]
58351         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
58352         are initialized.
58354 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
58356         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
58358 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
58360         * po/it.po: Update from translation team.
58362 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
58364         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
58365         unused codes.
58367 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
58369         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
58371 2010-11-24  Andreas Schwab  <schwab@redhat.com>
58373         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
58374         specially.
58375         (gaih_getanswer_slice): Likewise.
58377 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
58379         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
58381 2010-05-31  Petr Baudis  <pasky@suse.cz>
58383         [BZ #11149]
58384         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
58385         silently even in the chroot mode.
58387 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
58389         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
58390         last patch a bit.  Pretty printing
58392 2010-05-31  Petr Baudis <pasky@suse.cz>
58394         [BZ #10085]
58395         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
58396         initialization of skip_initgroups_dyn.
58398 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
58400         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
58401         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58403 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
58405         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
58407 2010-11-11  Andreas Schwab  <schwab@redhat.com>
58409         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
58410         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
58411         (tst-fnmatch-ENV): Set MALLOC_TRACE.
58412         ($(objpfx)tst-fnmatch-mem): New rule.
58413         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
58414         * posix/tst-fnmatch.c (main): Call mtrace.
58416 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
58418         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58419         Support Intel processor model 6 and model 0x2c.
58421 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
58423         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
58424           signed comparison.
58426 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
58428         [BZ #12205]
58429         * string/test-strncasecmp.c (check_result): New function.
58430         (do_one_test): Use it.
58431         (check1): New function.
58432         (test_main): Use it.
58433         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
58434         Support strcasecmp and strncasecmp.
58436 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
58438         [BZ #12194]
58439         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
58440         * sysdeps/x86_64/bits/byteswap.h: Likewise.
58442 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
58444         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
58445         IFUNC support.
58446         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58447         memset-x86-64.
58448         * sysdeps/x86_64/multiarch/bzero.S: New file.
58449         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
58450         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
58451         * sysdeps/x86_64/multiarch/memset.S: New file.
58452         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
58453         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58454         Set bit_Prefer_SSE_for_memop for Intel processors.
58455         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
58456         Define.
58457         (index_Prefer_SSE_for_memop): Define.
58458         (HAS_PREFER_SSE_FOR_MEMOP): Define.
58460 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
58462         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
58463         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
58465 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
58467         [BZ #12191]
58468         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
58469         (__x86_64_raw_data_cache_size_half): Likewise.
58470         (__x86_64_raw_shared_cache_size): Likewise.
58471         (__x86_64_raw_shared_cache_size_half): Likewise.
58473         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
58474         (__x86_64_raw_data_cache_size_half): Likewise.
58475         (__x86_64_raw_shared_cache_size): Likewise.
58476         (__x86_64_raw_shared_cache_size_half): Likewise.
58477         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
58478         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
58479         and __x86_64_raw_shared_cache_size_half.  Round
58480         __x86_64_data_cache_size_half, __x86_64_data_cache_size
58481         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
58482         to multiple of 256 bytes.
58484 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
58486         [BZ #12167]
58487         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
58488         of inacessible symlinks.  Verify result of symlink before returning it.
58489         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
58490         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
58492 2010-10-28  Erich Ritz  <erichritz@gmail.com>
58494         * math/math.h (isinf): Fix typo in comment.
58496 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
58498         * po/da.po: Update from translation team.
58500 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
58502         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
58503         is added to the list.
58505 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58506             Ulrich Drepper  <drepper@gmail.com>
58508         * elf/dl-object.c (_dl_new_object): Don't append the new object to
58509         the global list here.  Move code to...
58510         (_dl_add_to_namespace_list): ...here.  New function.
58511         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
58512         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
58513         * elf/dl-load.c (lose): Don't remove the element from the list.
58514         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
58515         (_dl_map_object): Likewise.
58517 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
58519         [BZ #12159]
58520         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
58521         into all bytes of SSE register.
58522         Patch by Richard Li <richardpku@gmail.com>.
58524 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
58526         [BZ #12140]
58527         * malloc/malloc.c (_int_free): Fill correct number of bytes when
58528         perturbing.
58530 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
58532         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
58533         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
58534         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
58535         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
58537         submachine.
58538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
58540 2010-10-22  Andreas Schwab  <schwab@redhat.com>
58542         * include/dlfcn.h (__RTLD_SECURE): Define.
58543         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
58544         mode & __RTLD_SECURE instead.
58545         (open_path): Rename preloaded parameter to secure.
58546         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
58547         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
58548         * elf/dl-deps.c (openaux): Likewise.
58549         * elf/rtld.c (struct map_args): Remove is_preloaded.
58550         (map_doit): Don't use it.
58551         (dl_main): Likewise.
58552         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
58553         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
58555 2010-09-09  Andreas Schwab  <schwab@redhat.com>
58557         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
58558         (sysd-rules-targets): Remove duplicates.
58559         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
58560         rtld-%.$o dependency.
58562 2010-10-18  Andreas Schwab  <schwab@redhat.com>
58564         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
58565         _dl_map_object do it.
58567 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
58569         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
58570         fast fma builtins, define the macros in the C99 standard.
58571         (FP_FAST_FMAF): Likewise.
58572         (FP_FAST_FMAL): Likewise.
58573         * sysdeps/x86_64/bits/mathdef.h: Likewise.
58575         * bits/mathdef.h: Update copyright year.
58576         * sysdeps/powerpc/bits/mathdef.h: Likewise.
58578 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
58580         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
58581         builtins, define the macros in the C99 standard.
58582         (FP_FAST_FMAF): Likewise.
58583         (FP_FAST_FMAL): Likewise.
58584         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
58585         multiply/add.
58586         (FP_FAST_FMAF): Likewise.
58588 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
58590         [BZ #3268]
58591         * math/libm-test.inc (fma_test): Some new testcases.
58592         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
58593         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
58594         y and infinite z.  Do multiplication by C already in long double.
58595         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
58596         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
58597         y and infinite z.  Do bitwise or of inexact bit into u.d.
58598         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
58599         * sysdeps/i386/fpu/s_fmaf.S: Removed.
58600         * sysdeps/i386/fpu/s_fma.S: Removed.
58601         * sysdeps/i386/fpu/s_fmal.S: Removed.
58603 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
58605         [BZ #3268]
58606         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
58607         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
58608         computation is not scheduled after fetestexcept.  Fix value
58609         of minimum denormal long double.
58611 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
58613         [BZ #3268]
58614         * math/libm-test.inc (fma_test): Add some more tests.
58615         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
58616         correctly.
58618 2010-10-15  Andreas Schwab  <schwab@redhat.com>
58620         * scripts/data/localplt-s390-linux-gnu.data: New file.
58621         * scripts/data/localplt-s390x-linux-gnu.data: New file.
58623 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
58625         [BZ #3268]
58626         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
58627         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
58628         instead of dbl-64.
58629         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
58630         inlines.
58631         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
58632         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
58633         if one of x and y is very large and the other is subnormal.
58634         * sysdeps/s390/fpu/s_fmaf.c: New file.
58635         * sysdeps/s390/fpu/s_fma.c: New file.
58636         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
58637         * sysdeps/powerpc/fpu/s_fma.S: New file.
58638         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
58639         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
58640         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
58642 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
58644         [BZ #3268]
58645         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
58646         fma tests.
58647         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
58648         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
58649         * sysdeps/i386/i686/multiarch/s_fma.c: Include
58650         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
58651         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
58652         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
58653         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
58655 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
58657         [BZ #12078]
58658         * posix/regcomp.c (parse_branch): One more memory leak plugged.
58659         * posix/bug-regex31.input: Add test case.
58661 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
58663         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
58664         * posix/bug-regex31.input: New file.
58666         [BZ #12078]
58667         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
58668         (parse_sub_exp): Fix last change, use postorder.
58670         * posix/bug-regex31.c: New file.
58671         * posix/Makefile: Add rules to build and run bug-regex31.
58673         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
58675         [BZ #12078]
58676         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
58678         [BZ #12108]
58679         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
58680         to have entries in sys_siglist.
58682         [BZ #12093]
58683         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
58684         be NULL.
58686 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
58688         [BZ #3268]
58689         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
58690         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
58691         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
58692         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
58693         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58694         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
58695         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
58696         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
58697         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
58698         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
58699         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
58700         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
58701         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
58702         * math/ftestexcept.c (fetestexcept): Likewise.
58703         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
58704         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
58705         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
58706         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
58707         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
58708         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
58709         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58711 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
58713         [BZ #12107]
58714         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
58715         newline.
58717 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
58719         * string/bug-strstr1.c: New file.
58720         * string/Makefile: Add rules to build and run bug-strstr1.
58722 2010-10-05  Eric Blake  <eblake@redhat.com>
58724         [BZ #12092]
58725         * string/str-two-way.h (two_way_long_needle): Always clear memory
58726         when skipping input due to the shift table.
58728 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
58730         [BZ #12005]
58731         * malloc/mcheck.c: Handle large requests.
58733         [BZ #12077]
58734         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
58735         for strncmp and strncasecmp.
58736         * string/stratcliff.c: Add tests for strcmp and strncmp.
58737         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
58739 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58741         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
58742         __set_fpscr.
58744 2010-09-30  Andreas Jaeger  <aj@suse.de>
58746         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
58747         (CGROUP_SUPER_MAGIC): Define.
58748         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58749         Handle btrfs and cgroup file systems.
58750         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
58751         Likewise.
58753 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
58755         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
58756         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
58758 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58760         [BZ #12067]
58761         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
58762         trying to locate the ELF header.
58764 2010-09-27  Andreas Schwab  <schwab@redhat.com>
58766         [BZ #11611]
58767         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
58768         Mask out sign-bit copies when constructing f_fsid.
58770 2010-09-24  Petr Baudis <pasky@suse.cz>
58772         * debug/stack_chk_fail_local.c: Add missing licence exception.
58773         * debug/warning-nop.c: Likewise.
58775 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
58777         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
58778         implementing getdents64 using getdents syscall, set d_type if
58779         __ASSUME_GETDENTS32_D_TYPE.
58781 2010-09-16  Andreas Schwab  <schwab@redhat.com>
58783         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
58784         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
58786 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
58788         [BZ #12037]
58789         * posix/unistd.h: Undo change of feature selection for ftruncate from
58790         2010-01-11.
58792 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
58794         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
58795         detection.
58797 2010-09-20  Andreas Schwab  <schwab@redhat.com>
58799         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
58800         fanotify_mark.
58801         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58803 2010-09-14  Andreas Schwab  <schwab@redhat.com>
58805         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
58806         variables after CHECK_SP call.
58807         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
58809 2010-09-13  Andreas Schwab  <schwab@redhat.com>
58810             Ulrich Drepper  <drepper@redhat.com>
58812         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
58813         re-relocationg ld.so.
58814         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
58815         _dl_init_paths call.
58816         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
58817         here anymore.
58819 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
58821         * resolv/res_init.c (__res_vinit): Count the default server we added.
58823 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
58824             Ulrich Drepper  <drepper@redhat.com>
58826         [BZ #11968]
58827         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58828         (____longjmp_chk): Use %ebx for saving value across system call.
58829         Add unwind info.
58831 2010-09-06  Andreas Schwab  <schwab@redhat.com>
58833         * manual/Makefile: Don't mix pattern rules with normal rules.
58835 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58837         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
58838         operation.
58839         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
58840         * libio/iofopncook.c (_IO_cookie_init): Likewise.
58841         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
58842         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
58843         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58844         Likewise.
58846 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
58848         [BZ #11979]
58849         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
58850         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
58852 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
58854         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
58855         * sysdeps/x86_64/addmul_1.S: Likewise.
58856         * sysdeps/x86_64/lshift.S: Likewise.
58857         * sysdeps/x86_64/mul_1.S: Likewise.
58858         * sysdeps/x86_64/rshift.S: Likewise.
58859         * sysdeps/x86_64/sub_n.S: Likewise.
58860         * sysdeps/x86_64/submul_1.S: Likewise.
58862 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58864         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
58865         Define __sched_param instead of SCHED_* and sched_param when
58866         <bits/sched.h> is included with __need_schedparam defined.
58867         * bits/sched.h [__need_schedparam]
58868         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
58869         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
58870         (__defined_schedparam): Define to 1.
58871         (__sched_param): New structure, identical to sched_param.
58872         (__need_schedparam): Undefine.
58874 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
58876         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
58877         (epoll_create1): Declare.
58879         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
58881 2010-08-31  Andreas Schwab  <schwab@redhat.com>
58883         [BZ #7066]
58884         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
58885         shifting retval into place.
58887 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
58889         * nis/rpcsvc/nis.h: Update copyright notice.
58890         * nis/rpcsvc/nis.x: Likewise.
58891         * nis/rpcsvc/nis_callback.h: Likewise.
58892         * nis/rpcsvc/nis_callback.x: Likewise.
58893         * nis/rpcsvc/nis_object.x: Likewise.
58894         * nis/rpcsvc/nis_tags.h: Likewise.
58895         * nis/rpcsvc/yp.h: Likewise.
58896         * nis/rpcsvc/yp.x: Likewise.
58897         * nis/rpcsvc/ypupd.h: Likewise.
58898         * nis/yp_xdr.c: Likewise.
58899         * nis/ypupdate_xdr.c: Likewise.
58901         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
58902         mainly the body of pmap_getport.  Add parameters to specify timeouts.
58903         (pmap_getport): Use __libc_rpc_getport.
58904         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
58905         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
58906         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
58908 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
58910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
58911         fanotify_mark.
58913 2010-08-27  Roland McGrath  <roland@redhat.com>
58915         * sysdeps/i386/i686/multiarch/Makefile
58916         (CFLAGS-varshift.c): New variable.
58918 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
58920         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
58921         * sysdeps/i386/i686/multiarch/varshift.c: New file.
58923         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
58925         * sysdeps/x86_64/strlen.S: Minimal code improvement.
58927 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
58929         * sysdeps/x86_64/strlen.S: Unroll the loop.
58930         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58931         strlen-sse2 strlen-sse2-bsf.
58932         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
58933         __strlen_no_bsf if bit_Slow_BSF is set.
58934         (__strlen_sse42): Removed.
58935         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
58936         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
58938 2010-08-25  Roland McGrath  <roland@redhat.com>
58940         * sysdeps/x86_64/multiarch/varshift.S: File removed.
58941         * sysdeps/x86_64/multiarch/varshift.c: New file.
58942         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
58943         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
58944         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
58945         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
58947 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
58949         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58950         strlen-sse2 strlen-sse2-bsf.
58951         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
58952         __strlen_sse2_bsf if bit_Slow_BSF is unset.
58953         (__strlen_sse2): Removed.
58954         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
58955         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
58956         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
58957         bit_Slow_BSF for Atom.
58958         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
58959         (index_Slow_BSF): Define.
58960         (HAS_SLOW_BSF): Define.
58962 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
58964         [BZ #10851]
58965         * resolv/res_init.c (__res_vinit): When no server address at all
58966         is given default to loopback.
58968 2010-08-24  Roland McGrath  <roland@redhat.com>
58970         * configure.in: Remove config-name.h generation.
58971         * configure: Regenerated.
58972         * config-name.in: File removed.
58973         * scripts/config-uname.sh: New file.
58974         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
58975         ($(objdir)config-name.h): New target.
58977         * sunrpc/rpc_parse.h: Avoid nested comment.
58979 2010-08-24  Richard Henderson  <rth@redhat.com>
58980             Ulrich Drepper  <drepper@redhat.com>
58981             H.J. Lu  <hongjiu.lu@intel.com>
58983         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
58984         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
58985         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
58986         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
58987         _mm_alignr_epi8 with _mm_loadu_si128.
58988         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
58989         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
58990         (__m128i_shift_right): Removed.
58991         * sysdeps/i386/i686/multiarch/varshift.h: New file.
58992         * sysdeps/i386/i686/multiarch/varshift.S: New file.
58993         * sysdeps/x86_64/multiarch/varshift.h: New file.
58994         * sysdeps/x86_64/multiarch/varshift.S: New file.
58996 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
58998         * configure.in: Move assembler checks to before sysdep dir checking.
59000 2010-08-20  Petr Baudis  <pasky@suse.cz>
59002         * LICENSES: Sync the sunrpc license.
59004 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
59006         * sunrpc/auth_des.c: Update copyright notice once again.
59007         * sunrpc/auth_none.c: Likewise.
59008         * sunrpc/auth_unix.c: Likewise.
59009         * sunrpc/authdes_prot.c: Likewise.
59010         * sunrpc/authuxprot.c: Likewise.
59011         * sunrpc/bindrsvprt.c: Likewise.
59012         * sunrpc/clnt_gen.c: Likewise.
59013         * sunrpc/clnt_perr.c: Likewise.
59014         * sunrpc/clnt_raw.c: Likewise.
59015         * sunrpc/clnt_simp.c: Likewise.
59016         * sunrpc/clnt_tcp.c: Likewise.
59017         * sunrpc/clnt_udp.c: Likewise.
59018         * sunrpc/clnt_unix.c: Likewise.
59019         * sunrpc/des_crypt.c: Likewise.
59020         * sunrpc/des_soft.c: Likewise.
59021         * sunrpc/get_myaddr.c: Likewise.
59022         * sunrpc/getrpcport.c: Likewise.
59023         * sunrpc/key_call.c: Likewise.
59024         * sunrpc/key_prot.c: Likewise.
59025         * sunrpc/openchild.c: Likewise.
59026         * sunrpc/pm_getmaps.c: Likewise.
59027         * sunrpc/pm_getport.c: Likewise.
59028         * sunrpc/pmap_clnt.c: Likewise.
59029         * sunrpc/pmap_prot.c: Likewise.
59030         * sunrpc/pmap_prot2.c: Likewise.
59031         * sunrpc/pmap_rmt.c: Likewise.
59032         * sunrpc/rpc/auth.h: Likewise.
59033         * sunrpc/rpc/auth_unix.h: Likewise.
59034         * sunrpc/rpc/clnt.h: Likewise.
59035         * sunrpc/rpc/des_crypt.h: Likewise.
59036         * sunrpc/rpc/key_prot.h: Likewise.
59037         * sunrpc/rpc/netdb.h: Likewise.
59038         * sunrpc/rpc/pmap_clnt.h: Likewise.
59039         * sunrpc/rpc/pmap_prot.h: Likewise.
59040         * sunrpc/rpc/pmap_rmt.h: Likewise.
59041         * sunrpc/rpc/rpc.h: Likewise.
59042         * sunrpc/rpc/rpc_des.h: Likewise.
59043         * sunrpc/rpc/rpc_msg.h: Likewise.
59044         * sunrpc/rpc/svc.h: Likewise.
59045         * sunrpc/rpc/svc_auth.h: Likewise.
59046         * sunrpc/rpc/types.h: Likewise.
59047         * sunrpc/rpc/xdr.h: Likewise.
59048         * sunrpc/rpc_clntout.c: Likewise.
59049         * sunrpc/rpc_cmsg.c: Likewise.
59050         * sunrpc/rpc_common.c: Likewise.
59051         * sunrpc/rpc_cout.c: Likewise.
59052         * sunrpc/rpc_dtable.c: Likewise.
59053         * sunrpc/rpc_hout.c: Likewise.
59054         * sunrpc/rpc_main.c: Likewise.
59055         * sunrpc/rpc_parse.c: Likewise.
59056         * sunrpc/rpc_parse.h: Likewise.
59057         * sunrpc/rpc_prot.c: Likewise.
59058         * sunrpc/rpc_sample.c: Likewise.
59059         * sunrpc/rpc_scan.c: Likewise.
59060         * sunrpc/rpc_scan.h: Likewise.
59061         * sunrpc/rpc_svcout.c: Likewise.
59062         * sunrpc/rpc_tblout.c: Likewise.
59063         * sunrpc/rpc_util.c: Likewise.
59064         * sunrpc/rpc_util.h: Likewise.
59065         * sunrpc/rpcinfo.c: Likewise.
59066         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
59067         * sunrpc/rpcsvc/key_prot.x: Likewise.
59068         * sunrpc/rpcsvc/klm_prot.x: Likewise.
59069         * sunrpc/rpcsvc/mount.x: Likewise.
59070         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
59071         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
59072         * sunrpc/rpcsvc/rex.x: Likewise.
59073         * sunrpc/rpcsvc/rstat.x: Likewise.
59074         * sunrpc/rpcsvc/rusers.x: Likewise.
59075         * sunrpc/rpcsvc/sm_inter.x: Likewise.
59076         * sunrpc/rpcsvc/spray.x: Likewise.
59077         * sunrpc/rpcsvc/yppasswd.x: Likewise.
59078         * sunrpc/rtime.c: Likewise.
59079         * sunrpc/svc.c: Likewise.
59080         * sunrpc/svc_auth.c: Likewise.
59081         * sunrpc/svc_authux.c: Likewise.
59082         * sunrpc/svc_raw.c: Likewise.
59083         * sunrpc/svc_run.c: Likewise.
59084         * sunrpc/svc_simple.c: Likewise.
59085         * sunrpc/svc_tcp.c: Likewise.
59086         * sunrpc/svc_udp.c: Likewise.
59087         * sunrpc/svc_unix.c: Likewise.
59088         * sunrpc/svcauth_des.c: Likewise.
59089         * sunrpc/xcrypt.c: Likewise.
59090         * sunrpc/xdr.c: Likewise.
59091         * sunrpc/xdr_array.c: Likewise.
59092         * sunrpc/xdr_float.c: Likewise.
59093         * sunrpc/xdr_mem.c: Likewise.
59094         * sunrpc/xdr_rec.c: Likewise.
59095         * sunrpc/xdr_ref.c: Likewise.
59096         * sunrpc/xdr_sizeof.c: Likewise.
59097         * sunrpc/xdr_stdio.c: Likewise.
59099         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
59100         handling.
59102 2010-08-19  Andreas Schwab  <schwab@redhat.com>
59104         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
59106 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
59108         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
59109         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
59110         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
59111         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
59112         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
59113         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
59114         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
59115         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
59116         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
59117         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
59118         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
59119         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
59120         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
59121         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
59123 2010-07-26  Anton Blanchard  <anton@samba.org>
59125         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
59126         * malloc/arena.c (heap_trim): Likewise.
59128 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
59130         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
59131         here.  Not...
59132         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
59133         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
59135 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
59137         * sysdeps/i386/elf/Makefile: New file.
59139 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
59141         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
59142         from fanotify_init.
59143         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
59144         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59146 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
59148         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
59149         of strncasecmp_l.
59150         * sysdeps/multiarch/strcmp.S: Likewise.
59152 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
59154         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59155         strncase_l-nonascii.
59156         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59157         Add strncase_l-ssse3.
59158         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
59159         * sysdeps/x86_64/strcmp.S: Likewise.
59160         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
59161         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
59162         * sysdeps/x86_64/strncase.S: New file.
59163         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
59164         * sysdeps/x86_64/strncase_l.S: New file.
59165         * string/Makefile (strop-tests): Add strncasecmp.
59166         * string/test-strncasecmp.c: New file.
59168         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
59169         warning.
59171         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
59172         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
59174 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
59176         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
59178 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
59180         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
59181         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
59182         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
59184 2010-05-01  Alan Modra  <amodra@gmail.com>
59186         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
59187         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
59188         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
59189         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
59190         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
59191         tidying.  Don't tail-call __sigjmp_save for static lib.
59192         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
59193         save location.
59194         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
59195         (CALL_MCOUNT): Add eh info, and nop after bl.
59196         (TAIL_CALL_SYSCALL_ERROR): New macro.
59197         (PSEUDO_RET): Use it.
59198         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59199         Correct save location of integer regs and cr.
59200         (_dl_profile_resolve): Correct cr save location.  Delete nops
59201         after bl when SHARED.  Reduce cfi size a little by better
59202         placement of cfi directives.
59203         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
59204         make a stack frame.  Instead use parm save area as a temp.
59205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
59206         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
59207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59208         Don't make a stack frame for parent, use parm save area.
59209         Increase child stack frame to 112 bytes.  Don't save unused reg,
59210         and adjust reg usage.  Set up cfi on error recovery and
59211         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
59212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59213         (__makecontext): Add dummy nop after jump to exit.
59214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
59215         Use correct parm save area and cr save, reduce stack frame.
59216         Correct cfi for possible PSEUDO_RET frame setup.
59217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
59218         Branch to local label emitted by PSEUDO_RET rather than
59219         __syscall_error.
59221 2010-08-12  Andreas Schwab  <schwab@redhat.com>
59223         [BZ #11904]
59224         * locale/programs/locale.c (print_assignment): New function.
59225         (show_locale_vars): Use it.
59227 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
59229         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
59230         field.
59231         (struct statfs64): Likewise.
59232         (_STATFS_F_FLAGS): Define.
59233         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
59234         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59235         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
59236         (ST_VALID): Define locally.
59237         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
59238         __statvfs_getflags, use the provided value.
59239         * sysdeps/unix/sysv/linux/kernel-features.h: Define
59240         __ASSUME_STATFS_F_FLAGS.
59242         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
59244         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
59245         Add sys/fanotify.h.
59246         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
59247         fanotify_mask for GLIBC_2.13.
59248         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
59249         fanotify_init and fanotify_mark.
59250         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59251         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
59253         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
59254         Add prlimit.
59255         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
59256         prlimit64 for GLIBC_2.13.
59257         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
59258         prlimit64.
59259         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
59260         syscall.
59261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
59262         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59263         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
59264         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
59265         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
59266         add prlimit alias.
59267         * sysdeps/unix/sysv/linux/prlimit.c: New file.
59269         [BZ #11903]
59270         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
59271         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
59273         * nss/Makefile: Add rules to build and run tst-nss-test1.
59274         * shlib-versions: Add entry for libnss_test1.
59275         * nss/nss_test1.c: New file.
59276         * nss/tst-nss-test1.c: New file.
59278         * nss/nsswitch.c (__nss_database_custom): Define new variable.
59279         (__nss_configure_lookup): Set appropriate entry in
59280         __nss_configure_lookup to true.
59281         * nss/nsswitch.h: Define enum with indeces of databases in
59282         databases and __nss_database_custom arrays.  Declare
59283         __nss_database_custom.
59284         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
59285         to avoid using nscd when custom rules are installed.
59286         * nss/getXXbyYY_r.c: Likewise.
59287         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59289         * nss/nss_files/files-parse.c: Whitespace fixes.
59291 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
59293         [BZ #11883]
59294         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
59295         * posix/fnmatch_loop.c: Likewise.
59297 2010-07-17  Andi Kleen  <ak@linux.intel.com>
59299         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
59300         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
59301         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
59302         * Versions.def [GLIBC_2.13]: Add.
59304 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
59306         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59307         Also fail if tpwd after pwuid call is NULL.
59309 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59311         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
59312         when converting to ms.
59314 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59316         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
59317         EOPNOTSUPP errors with ENOTTY.
59318         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
59319         EOPNOTSUPP errors with ENOTTY.
59321 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
59323         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59324         Add strcasecmp_l-ssse3.
59325         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
59326         strcasecmp.
59327         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
59328         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
59329         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
59331 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
59333         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
59335         * string/Makefile (strop-tests): Add strcasecmp.
59336         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59337         strcasecmp_l-nonascii.
59338         (gen-as-const-headers): Add locale-defines.sym.
59339         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
59340         * sysdeps/x86_64/strcasecmp.S: New file.
59341         * sysdeps/x86_64/strcasecmp_l.S: New file.
59342         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
59343         * sysdeps/x86_64/locale-defines.sym: New file.
59344         * string/test-strcasecmp.c: New file.
59346         * string/test-strcasestr.c: Test both ends of the range of characters.
59347         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
59349 2010-07-29  Roland McGrath  <roland@redhat.com>
59351         [BZ #11856]
59352         * manual/locale.texi (Yes-or-No Questions): Fix example code.
59354 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
59356         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
59357         for ld.so.
59359 2010-07-27  Andreas Schwab  <schwab@redhat.com>
59361         * manual/memory.texi (Malloc Tunable Parameters): Document
59362         M_PERTURB.
59364 2010-07-26  Roland McGrath  <roland@redhat.com>
59366         [BZ #11840]
59367         * configure.in (-fgnu89-inline check): Set and substitute
59368         gnu89_inline, not libc_cv_gnu89_inline.
59369         * configure: Regenerated.
59370         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
59372 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
59374         * string/test-strnlen.c: New file.
59375         * string/Makefile (strop-tests): Add strnlen.
59376         * string/tester.c (test_strnlen): Add a few more test cases.
59377         * string/tst-strlen.c: Better error reporting.
59379         * sysdeps/x86_64/strnlen.S: New file.
59381 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
59383         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
59384         lower-latency instructions.
59386 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
59388         * string/test-strcasestr.c: New file.
59389         * string/test-strstr.c: New file.
59390         * string/Makefile (strop-tests): Add strstr and strcasestr.
59391         * string/str-two-way.h: Don't undefine MAX.
59392         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
59394 2010-07-21  Andreas Schwab  <schwab@redhat.com>
59396         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59397         strcasestr-nonascii.
59398         (CFLAGS-strcasestr-nonascii.c): Define.
59399         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
59400         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
59401         Remove unused attribute.
59403 2010-07-20  Roland McGrath  <roland@redhat.com>
59405         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
59406         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
59407         ld.so.cache was broken.  With it, there is no way to disable dsocaps
59408         like LD_HWCAP_MASK can disable hwcaps.
59410 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
59412         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
59414 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
59416         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
59417         call in strcasestr.
59418         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
59419         __strcasestr_sse42_nonascii.
59420         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
59421         strcasestr-nonascii.c.
59422         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
59424 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
59426         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
59427         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
59428         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
59429         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
59431 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
59433         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
59434         fcntl.
59436 2010-07-06  Andreas Schwab  <schwab@redhat.com>
59438         [BZ #11577]
59439         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
59440         dl_signal_cerror.
59442 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
59444         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
59445         _PC_PIPE_BUF using F_GETPIPE_SZ.
59447 2010-07-05  Roland McGrath  <roland@redhat.com>
59449         * manual/arith.texi (Rounding Functions): Fix rint description
59450         implicit in round description.
59452 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
59454         * elf/Makefile: Fix linking for a few tests to make recent linker
59455         happy.
59457 2010-06-30  Andreas Schwab  <schwab@redhat.com>
59459         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59460         $(common-objpfx)libc_nonshared.a.
59462 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
59464         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
59465         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
59466         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
59467         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
59468         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
59469         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
59470         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
59471         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
59472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
59473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
59474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
59475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
59476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
59477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
59478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
59479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
59480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
59481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
59482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
59483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
59484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
59485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
59486         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
59487         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
59488         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
59489         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
59490         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
59491         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
59492         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
59493         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
59494         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
59495         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
59496         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
59497         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
59498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
59499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
59500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
59501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
59502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
59503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
59504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
59505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
59506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
59507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
59508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
59509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
59510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
59511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
59513 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
59515         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
59516         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
59517         * string/memmove.c (memmove): Renamed to ...
59518         (MEMMOVE): ...this.  Default to memmove.
59519         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
59520         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
59521         (END_CHK): Define.
59522         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59523         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
59524         mempcpy-ssse3-back memmove-ssse3-back.
59525         * sysdeps/x86_64/multiarch/bcopy.S: New file .
59526         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
59527         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
59528         * sysdeps/x86_64/multiarch/memcpy.S: New file.
59529         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
59530         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
59531         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
59532         * sysdeps/x86_64/multiarch/memmove.c: New file.
59533         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
59534         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
59535         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
59536         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
59537         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
59538         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
59539         Define.
59540         (index_Fast_Copy_Backward): Define.
59541         (HAS_ARCH_FEATURE): Define.
59542         (HAS_FAST_REP_STRING): Define.
59543         (HAS_FAST_COPY_BACKWARD): Define.
59545 2010-06-21  Andreas Schwab  <schwab@redhat.com>
59547         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59548         Restore proper fallback handling.
59550 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
59552         [BZ #11701]
59553         * posix/group_member.c (__group_member): Correct checking loop.
59555         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
59556         OOM in getpwuid_r correctly.  Return error number when the caller
59557         should return, otherwise -1.
59558         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
59559         call returning > 0 value.
59560         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
59562 2010-06-07  Andreas Schwab  <schwab@redhat.com>
59564         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
59565         libc_nonshared.a from targets in modules-names.
59567 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
59569         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
59570         requires it.
59572 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
59574         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
59575         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
59576         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
59577         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
59579 2010-06-02  Andreas Schwab  <schwab@redhat.com>
59581         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
59583 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
59585         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
59586         and F_GETPIPE_SZ.
59587         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59588         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59589         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59590         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59591         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59592         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
59594 2010-06-14  Roland McGrath  <roland@redhat.com>
59596         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
59598 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
59600         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
59601         __REDIRECT followed by __THROW.
59602         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
59603         * posix/getopt.h (getopt): Likewise.
59605 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
59607         * hurd/lookup-at.c (__file_name_lookup_at): Accept
59608         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
59609         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
59610         in AT_FLAGS.
59611         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
59612         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
59614 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
59616         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
59618 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
59620         [BZ #11640]
59621         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59622         Properly check family and model.
59624 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
59626         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
59628 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
59630         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
59632 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
59634         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
59635         symbol reference.
59637 2010-05-19  Andreas Schwab  <schwab@redhat.com>
59639         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
59640         symbol reference.
59642 2010-05-21  Andreas Schwab  <schwab@redhat.com>
59644         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
59645         and internal_recvmmsg.
59646         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
59647         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
59648         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
59649         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
59651         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
59652         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
59653         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
59655 2010-05-20  Andreas Schwab  <schwab@redhat.com>
59657         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
59659 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
59661         POWER7 optimizations.
59662         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
59663         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
59665 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
59667         * version.h: Update for 2.13 development version.
59669 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
59671         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
59672         exceptions.  Return 0.
59674 2010-05-07  Roland McGrath  <roland@redhat.com>
59676         * elf/ldconfig.c (main): Add a const.
59678 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
59680         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
59681         (args_options): Add no-idn option.
59682         (ahosts_keys_int): Add idn_flags to ai_flags.
59683         (parse_option): Handle 'i' option to clear idn_flags.
59685         * malloc/malloc.c (_int_free): Possible race in the most recently
59686         added check.  Only act on the data if no current modification
59687         happened.
59689 See ChangeLog.17 for earlier changes.